/* ==========================================================================
   INSTAGRAM WEB DARK THEME DESIGN SYSTEM (MATHEUS INÁCIO PORTFOLIO)
   ========================================================================== */
:root {
    /* Instagram Web Official Minimalist Dark Theme */
    --ig-bg: #000000;
    --ig-surface: #000000;
    --ig-card-bg: #000000;
    --ig-border: #262626;
    --ig-hover-bg: #121212;
    
    --ig-text-primary: #f5f5f5;
    --ig-text-secondary: #a8a8a8;
    --ig-text-muted: #737373;
    
    --ig-blue: #0095f6;
    --ig-blue-hover: #1877f2;
    --ig-heart-red: #ff3040;
    
    --primary-purple: #0095f6;
    --primary-blue: #0095f6;
    --primary-gradient: linear-gradient(135deg, #0095f6 0%, #38bdf8 100%);
    --ig-story-gradient: linear-gradient(45deg, #0052d4 0%, #0095f6 50%, #38bdf8 100%);
    --dirso-gradient: linear-gradient(135deg, #0095f6 0%, #38bdf8 100%);
    --purple-glow: rgba(0, 149, 246, 0.15);
    --card-shadow: none;

    /* Helvetica Font */
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Overrides for Instagram Web */
[data-theme="light"] {
    --ig-bg: #ffffff;
    --ig-surface: #fafafa;
    --ig-card-bg: #ffffff;
    --ig-border: #dbdbdb;
    --ig-hover-bg: rgba(0, 0, 0, 0.05);
    
    --ig-text-primary: #000000;
    --ig-text-secondary: #737373;
    --ig-text-muted: #8e8e8e;
}

/* RESET & LAYOUT */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.ig-dark-body {
    font-family: var(--font-body);
    background-color: var(--ig-bg);
    color: var(--ig-text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

.ig-gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* App Shell Layout */
.ig-app-shell {
    display: flex;
    min-height: 100vh;
}

/* LEFT SIDEBAR */
.ig-sidebar {
    width: 255px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    border-right: 1px solid var(--ig-border);
    padding: 20px 10px;
    z-index: 100;
    background: var(--ig-bg);
}

.ig-sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ig-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.ig-logo-text {
    white-space: nowrap;
    display: inline-flex;
    gap: 4px;
}

.ig-logo-icon {
    font-size: 1.8rem;
    color: var(--primary-purple);
}

.ig-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ig-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ig-text-primary);
    white-space: nowrap;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    position: relative;
}

.ig-nav-item span {
    white-space: nowrap;
}

.ig-nav-item i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.ig-nav-item:hover, .ig-nav-item.active {
    background-color: var(--ig-hover-bg);
    font-weight: 700;
}

.ig-nav-item.active i {
    color: var(--primary-purple);
}

.ig-unread-badge {
    position: absolute;
    right: 16px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ig-sidebar-footer {
    margin-top: auto;
}

/* MAIN FEED AREA */
.ig-main-content {
    margin-left: 255px;
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    gap: 40px;
}

.ig-feed-container {
    width: 100%;
    max-width: 630px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* STORIES HIGHLIGHTS BAR */
.ig-stories-bar {
    background: var(--ig-card-bg);
    border: 1px solid var(--ig-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ig-stories-bar::-webkit-scrollbar { display: none; }

.ig-stories-scroll {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.ig-story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.ig-story-ring {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.ig-story-item:hover .ig-story-ring {
    transform: scale(1.05);
}

.gradient-ring { background: var(--ig-story-gradient); }
.red-ring, .blue-ring, .cyan-ring, .purple-ring, .green-ring { background: var(--ig-story-gradient); }

.ig-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--ig-bg);
}

.ig-story-badge-inner {
    width: 100%;
    height: 100%;
    background: var(--ig-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0095f6;
    font-size: 1.2rem;
}

.ig-story-label {
    font-size: 0.75rem;
    color: var(--ig-text-secondary);
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* INSTAGRAM POST CARD */
.ig-post-card {
    background: var(--ig-card-bg);
    border: 1px solid var(--ig-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ig-post-card:hover {
    border-color: rgba(123, 0, 173, 0.3);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(123, 0, 173, 0.12);
}

/* Post Header */
.ig-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ig-post-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ig-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.ig-username-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ig-username {
    font-weight: 700;
    font-size: 0.95rem;
}

.ig-verified-icon {
    color: var(--ig-blue);
    font-size: 0.85rem;
}

.ig-post-dot {
    color: var(--ig-text-muted);
    font-size: 0.75rem;
}

.ig-follow-btn {
    color: var(--ig-blue);
    font-weight: 700;
    font-size: 0.85rem;
}

.ig-follow-btn:hover {
    color: var(--ig-blue-hover);
}

.ig-collab-tag {
    font-size: 0.75rem;
    color: var(--ig-text-secondary);
    background: var(--ig-hover-bg);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.ig-post-location {
    font-size: 0.75rem;
    color: var(--ig-text-secondary);
    display: block;
}

.ig-post-more-btn {
    font-size: 1.1rem;
    color: var(--ig-text-secondary);
}

/* Post Media */
.ig-post-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000000;
    overflow: hidden;
    border: none;
}

.ig-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.ig-post-video-iframe, .ig-post-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    background: #000000;
}

/* BRAND LOGOS CAROUSEL */
.ig-carousel-counter {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ig-text-secondary);
    background: var(--ig-hover-bg);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.ig-carousel-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.ig-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.ig-carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.1);
}

.arrow-left { left: 16px; }
.arrow-right { right: 16px; }

.ig-carousel-slides {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ig-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.ig-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.3s ease;
}

.ig-logo-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    padding: 18px 18px 48px 18px;
}

.ig-slide-name {
    position: absolute;
    bottom: 16px;
    background: rgba(14, 14, 18, 0.85);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    z-index: 5;
    pointer-events: none;
}

/* RECOMMENDATIONS CAROUSEL STYLING */
.ig-rec-carousel-media {
    background: #000000;
    aspect-ratio: 1 / 1;
    width: 100%;
}

.ig-rec-img-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ig-rec-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

.ig-linkedin-badge-pill {
    background: #0077b5;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.ig-rec-author-block {
    margin-bottom: 6px;
}

.ig-rec-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ig-text-primary);
}

.ig-rec-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-purple);
    display: block;
}

.ig-rec-quote-text {
    font-size: 0.925rem;
    color: var(--ig-text-secondary);
    line-height: 1.6;
    font-style: italic;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 18px;
    border-left: 3px solid var(--primary-purple);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 8px 0;
}

.ig-rec-link-bar {
    margin-top: 4px;
}

.ig-rec-linkedin-link {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ig-rec-linkedin-link:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Services Container inside Post */
.ig-services-container {
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(99, 0, 138, 0.15) 0%, rgba(0, 39, 138, 0.15) 100%);
}

.ig-services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ig-service-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ig-border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.ig-service-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.ig-service-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.ig-service-item p {
    font-size: 0.85rem;
    color: var(--ig-text-secondary);
}

/* Post Action Bar */
.ig-post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.ig-actions-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ig-action-btn {
    font-size: 1.5rem;
    color: var(--ig-text-primary);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.ig-action-btn:hover {
    transform: scale(1.1);
    color: var(--ig-text-secondary);
}

.ig-case-details-pill {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-gradient);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Post Likes */
.ig-post-likes {
    padding: 0 16px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Post Caption & Copy */
.ig-post-caption {
    padding: 0 16px 12px;
    font-size: 0.925rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ig-caption-username {
    font-weight: 700;
    margin-right: 6px;
}

.ig-caption-body {
    color: var(--ig-text-secondary);
    font-size: 0.9rem;
}

.ig-hashtags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ig-hashtags span {
    color: var(--ig-blue);
    font-size: 0.85rem;
    font-weight: 600;
}

.ig-post-stats-strip {
    display: flex;
    gap: 10px;
    margin: 8px 0;
}

.ig-stat-pill {
    background: var(--ig-hover-bg);
    border: 1px solid var(--ig-border);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--ig-text-secondary);
}

.ig-comments-preview {
    padding: 0 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ig-view-comments-btn {
    color: var(--ig-text-muted);
    font-size: 0.85rem;
    text-align: left;
}

.ig-comment-single {
    font-size: 0.85rem;
}

.ig-comment-single strong {
    font-weight: 700;
    margin-right: 6px;
}

.ig-comment-single span {
    color: var(--ig-text-secondary);
}

.ig-post-time {
    font-size: 0.7rem;
    color: var(--ig-text-muted);
    letter-spacing: 0.05em;
    margin-top: 4px;
    display: block;
}

.ig-post-comment-input-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--ig-border);
}

.ig-emoji-icon {
    font-size: 1.3rem;
    color: var(--ig-text-secondary);
}

.ig-comment-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ig-text-primary);
    font-size: 0.9rem;
    font-family: inherit;
}

.ig-comment-post-btn {
    color: var(--ig-blue);
    font-weight: 700;
    font-size: 0.875rem;
}

.ig-calc-widget-media {
    padding: 24px;
    background: var(--ig-surface);
    max-height: none;
}

.ig-calc-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* RIGHT SIDEBAR */
.ig-right-sidebar {
    width: 320px;
    display: flex;
    flex-direction: column;
}

.ig-profile-widget {
    position: sticky;
    top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ig-profile-user-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ig-profile-avatar-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.ig-profile-username {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 1rem;
}

.ig-profile-fullname {
    display: block;
    font-size: 0.85rem;
    color: var(--ig-text-secondary);
}

.ig-profile-sub {
    font-size: 0.75rem;
    color: var(--ig-text-muted);
}

.ig-profile-bio-card {
    background: var(--ig-surface);
    border: 1px solid var(--ig-border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.ig-profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.ig-stat-box {
    display: flex;
    flex-direction: column;
}

.ig-stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ig-text-primary);
}

.ig-stat-lbl {
    font-size: 0.75rem;
    color: var(--ig-text-muted);
}

.ig-suggestions-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 540px;
    overflow-y: auto;
    padding-right: 6px;
}

.ig-suggestions-box::-webkit-scrollbar {
    width: 4px;
}

.ig-suggestions-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.ig-suggestions-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ig-text-secondary);
}

.ig-see-all {
    color: var(--ig-text-primary);
    font-size: 0.75rem;
}

.ig-suggestion-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ig-sug-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.ig-sug-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ig-sug-username {
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ig-sug-sub {
    font-size: 0.75rem;
    color: var(--ig-text-muted);
}

.ig-sug-link {
    color: var(--ig-blue);
    font-size: 0.8rem;
    font-weight: 700;
}

.ig-right-footer {
    font-size: 0.7rem;
    color: var(--ig-text-muted);
    letter-spacing: 0.05em;
    margin-top: 10px;
}

/* BUTTONS & CALCULATOR */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
}

.btn-primary:hover { opacity: 0.9; }
.btn-block { width: 100%; }

.platform-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.platform-btn {
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--ig-hover-bg);
    border: 1px solid var(--ig-border);
    color: var(--ig-text-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-btn.active {
    border-color: var(--primary-purple);
    background: var(--ig-hover-bg);
    color: var(--ig-text-primary);
}

.custom-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--ig-border);
    outline: none;
    -webkit-appearance: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-purple);
    cursor: pointer;
}

.result-box {
    padding: 12px;
    background: var(--ig-hover-bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-purple);
    margin-bottom: 10px;
}

.result-label { font-size: 0.75rem; color: var(--ig-text-muted); }
.result-number { font-size: 1.6rem; font-weight: 800; display: block; }
.result-sub { font-size: 0.75rem; color: var(--accent-emerald); }

/* MODAL SYSTEM */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: none !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-backdrop.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.modal-card {
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    background: var(--ig-surface);
    border: 1px solid var(--ig-border);
    border-radius: var(--radius-lg);
}

.modal-lg { max-width: 760px; }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.2rem;
    color: var(--ig-text-secondary);
}

.modal-header { margin-bottom: 20px; }
.modal-title { font-size: 1.5rem; margin-bottom: 6px; }
.modal-desc { color: var(--ig-text-secondary); font-size: 0.9rem; }

.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--ig-text-secondary); }

.form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--ig-bg);
    border: 1px solid var(--ig-border);
    color: var(--ig-text-primary);
    font-size: 0.9rem;
    outline: none;
}

.form-input:focus { border-color: var(--ig-blue); }

.form-success-message { text-align: center; padding: 30px 20px; }
.success-icon { font-size: 3rem; color: var(--accent-emerald); margin-bottom: 12px; }

/* MOBILE INSTAGRAM APP INTERFACE STYLES */
.ig-mobile-top-bar, .ig-mobile-bottom-bar {
    display: none;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1100px) {
    .ig-right-sidebar { display: none; }
}

@media (max-width: 768px) {
    /* Top Header Bar */
    .ig-mobile-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 54px;
        background: var(--ig-bg);
        border-bottom: 1px solid var(--ig-border);
        padding: 0 16px;
        z-index: 900;
    }

    .ig-mobile-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--ig-text-primary);
    }

    .ig-mobile-top-actions {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .ig-mobile-icon-btn {
        position: relative;
        font-size: 1.4rem;
        color: var(--ig-text-primary);
    }

    /* Hide Desktop Sidebar on Mobile Devices */
    .ig-sidebar {
        display: none !important;
    }

    /* Main Feed Layout Adjustments */
    .ig-main-content {
        margin-left: 0 !important;
        padding: 54px 0 60px 0 !important;
    }

    .ig-feed-container {
        max-width: 100% !important;
    }

    /* Stories Bar on Mobile */
    .ig-stories-bar {
        padding: 12px 10px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    /* Native Edge-to-Edge Instagram Mobile Feed Posts */
    .ig-post-card {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        margin-bottom: 12px !important;
    }

    .ig-post-header {
        padding: 10px 14px !important;
    }

    .ig-post-actions {
        padding: 12px 14px 6px 14px !important;
    }

    .ig-post-likes, .ig-post-caption, .ig-comments-preview, .ig-post-comment-input-box {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* Fixed Instagram App Mobile Bottom Navigation Bar */
    .ig-mobile-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 52px;
        background: var(--ig-bg);
        border-top: 1px solid var(--ig-border);
        z-index: 900;
    }

    .ig-mobile-nav-item {
        font-size: 1.35rem;
        color: var(--ig-text-primary);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ig-mobile-nav-avatar {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--ig-text-primary);
    }

    /* Native Bottom Sheet Drawer Modals for Mobile */
    .modal-backdrop {
        align-items: flex-end !important;
    }

    .modal-card {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
        position: fixed !important;
        bottom: 0 !important;
        max-height: 88vh !important;
        padding: 24px 18px !important;
    }

    .form-row { grid-template-columns: 1fr; }
}

/* FEATURE STYLES: TOOL STACK & CV BUTTON */
.ig-tools-stack-box {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--ig-border);
}

.ig-tools-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.ig-tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--ig-text-primary);
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--ig-border);
    color: var(--ig-text-primary);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* ==========================================================================
   CAROUSEL CARDS DESIGN SYSTEM (BIO, LOGOS GRID, RECOMMENDATIONS)
   ========================================================================== */

/* BIO CAROUSEL CARDS */
.bio-card-slide {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background: #0a0a0a;
    border: 1px solid #262626;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #f5f5f5;
    box-sizing: border-box;
}

.bio-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #262626;
    padding-bottom: 14px;
}

.bio-card-icon {
    width: 44px;
    height: 44px;
    background: #141414;
    border: 1px solid #262626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ig-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bio-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.bio-card-subtitle {
    font-size: 0.8rem;
    color: #a8a8a8;
    margin-top: 2px;
}

.bio-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bio-card-list li {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #cccccc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bio-card-list li i {
    color: var(--ig-blue);
    margin-top: 3px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bio-card-list strong {
    color: #ffffff;
}

/* BRAND LOGOS GRID SLIDES */
.logo-grid-slide {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background: #000000;
    border: 1px solid #262626;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.logo-grid-category {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #0095f6;
    border-bottom: 1px solid #262626;
    padding-bottom: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    flex: 1;
    width: 100%;
    height: 100%;
    background: #262626;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid #262626;
}

.logo-grid-item {
    background: #ffffff;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.logo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

/* RECOMMENDATIONS HERO BANNER SLIDE CARDS (EXACT MATCH TO STABLE BANNER EXAMPLE 3) */
.rec-card-slide {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #262626;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.rec-banner-content {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.rec-card-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border: none;
}

.rec-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.rec-card-user-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.rec-card-user-info span {
    font-size: 0.78rem;
    color: #38bdf8;
    font-weight: 700;
    display: block;
    margin-top: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.rec-banner-quote {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #ffffff;
    font-style: italic;
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.8);
    margin: 4px 0;
}

.rec-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border: none;
}

.rec-card-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: #38bdf8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
    border: 1px solid rgba(0, 149, 246, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.rec-card-linkedin-btn:hover {
    background: #0095f6;
    color: #ffffff;
}

.ig-swipe-hint-pill {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #333333;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* ==========================================================================
   CS2 C4 BOMB EASTER EGG GAME STYLES
   ========================================================================== */
.c4-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(12px);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.c4-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.c4-tactical-banner {
    background: #d97706;
    color: #000000;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: c4BannerPulse 1.5s infinite alternate;
}

.c4-tactical-banner.defused {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(22, 163, 74, 0.8);
    animation: none;
}

.c4-tactical-banner.exploded {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.8);
    animation: none;
}

@keyframes c4BannerPulse {
    from { transform: scale(1); box-shadow: 0 0 15px rgba(217, 119, 6, 0.4); }
    to { transform: scale(1.04); box-shadow: 0 0 30px rgba(217, 119, 6, 0.8); }
}

.c4-bomb-container {
    background: #18181b;
    border: 3px solid #27272a;
    border-radius: 16px;
    width: 360px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    user-select: none;
}

.c4-bomb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 12px;
}

.c4-wire {
    height: 6px;
    flex: 1;
    margin: 0 4px;
    border-radius: 3px;
}
.c4-wire.red { background: #ef4444; }
.c4-wire.yellow { background: #eab308; }
.c4-wire.blue { background: #3b82f6; }

.c4-status-led {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 12px #dc2626;
    animation: ledBlink 0.8s infinite alternate;
}

.c4-status-led.green {
    background: #22c55e;
    box-shadow: 0 0 14px #22c55e;
    animation: none;
}

@keyframes ledBlink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.c4-lcd-screen {
    background: #09090b;
    border: 2px solid #27272a;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: monospace;
}

.c4-lcd-timer {
    font-size: 1.1rem;
    color: #ef4444;
    font-weight: bold;
    letter-spacing: 2px;
}

.c4-lcd-code {
    font-size: 1.6rem;
    font-weight: bold;
    color: #facc15;
    letter-spacing: 4px;
    min-height: 34px;
}

.c4-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.c4-key {
    background: #27272a;
    color: #f4f4f5;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.c4-key:hover {
    background: #3f3f46;
}

.c4-key:active {
    transform: scale(0.94);
    background: #52525b;
}

.c4-key-clear {
    background: #7f1d1d;
    color: #fca5a5;
    border-color: #991b1b;
}
.c4-key-clear:hover { background: #991b1b; }

.c4-key-enter {
    background: #14532d;
    color: #86efac;
    border-color: #166534;
    font-size: 0.85rem;
}
.c4-key-enter:hover { background: #166534; }

.c4-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a1a1aa;
    margin-top: 2px;
}

.c4-close-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
}

/* EXPLODED SITE PHYSICS ANIMATION & FLASH/SHAKE EFFECTS */
body.site-crashing {
    overflow: hidden;
}

.explosion-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999999;
    pointer-events: none;
    animation: flashFade 0.9s ease-out forwards;
}

@keyframes flashFade {
    0% { opacity: 0.95; background: #ff4500; }
    30% { opacity: 0.85; background: #ffffff; }
    100% { opacity: 0; }
}

.shake-anim {
    animation: c4ScreenShake 0.9s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes c4ScreenShake {
    10%, 90% { transform: translate3d(-8px, 4px, 0) rotate(-2deg); }
    20%, 80% { transform: translate3d(10px, -8px, 0) rotate(3deg); }
    30%, 50%, 70% { transform: translate3d(-12px, 10px, 0) rotate(-3deg); }
    40%, 60% { transform: translate3d(12px, -10px, 0) rotate(2deg); }
}

.site-exploded .ig-post-card,
.site-exploded .ig-sidebar,
.site-exploded .ig-stories-bar,
.site-exploded .ig-mobile-top-bar,
.site-exploded .ig-mobile-bottom-bar,
.site-exploded .bio-card-slide,
.site-exploded .logo-grid-item,
.site-exploded .rec-card-slide {
    transition: transform 2.2s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 1.8s ease !important;
    pointer-events: none;
}

/* RESPAWN OVERLAY */
.respawn-overlay {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(300px);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, visibility 0.4s ease;
}

.respawn-overlay.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.respawn-card {
    background: #18181b;
    border: 2px solid #ef4444;
    padding: 16px 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4), 0 0 50px rgba(0,0,0,0.9);
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

/* ==========================================================================
   KONAMI CODE ACHIEVEMENTS & RGB NEON MODE
   ========================================================================== */
.achievement-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: rgba(18, 18, 20, 0.96);
    border: 2px solid #eab308;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 35px rgba(234, 179, 8, 0.4), 0 0 20px rgba(0,0,0,0.8);
    z-index: 9999999;
    transform: translateX(140%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

.achievement-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.achievement-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #000000;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.7);
}

.achievement-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.achievement-header {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #eab308;
    text-transform: uppercase;
}

.achievement-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

/* ==========================================================================
   AUTHENTIC 2006 ORKUT RETRO THEME (KONAMI CODE ACTIVATED ONLY)
   ========================================================================== */

/* Hidden by default */
.orkut-container {
    display: none;
}

/* WHEN ORKUT MODE IS ACTIVE */
body.orkut-mode {
    background-color: #D4DDED !important;
    color: #000000 !important;
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
    margin: 0;
    padding: 0;
}

/* Hide modern Instagram UI elements when Orkut Mode is active */
body.orkut-mode .ig-mobile-top-bar,
body.orkut-mode .ig-mobile-bottom-bar,
body.orkut-mode .ig-app-shell {
    display: none !important;
}

/* Show Orkut container */
body.orkut-mode .orkut-container {
    display: block !important;
    width: 100%;
}

/* Typography & Links */
body.orkut-mode a {
    color: #1155CC !important;
    text-decoration: none !important;
}
body.orkut-mode a:hover {
    text-decoration: underline !important;
}

/* TOP BAR */
body.orkut-mode .orkut-top-bar {
    background-color: #E41870 !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    padding: 6px 0 !important;
}
body.orkut-mode .orkut-top-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}
body.orkut-mode .orkut-user-status {
    color: #FFFFFF;
}
body.orkut-mode .orkut-user-status a {
    color: #FFFFFF !important;
    margin: 0 4px;
}
body.orkut-mode .orkut-search-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
body.orkut-mode .orkut-search {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 2px;
    padding: 1px 4px;
}
body.orkut-mode .orkut-search input {
    font-size: 11px;
    padding: 2px 5px;
    border: none;
    outline: none;
    color: #000;
}
body.orkut-mode .orkut-search button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}
body.orkut-mode .orkut-logo {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -1px;
    color: #FFFFFF;
    line-height: 1;
}

/* SUB NAV */
body.orkut-mode .orkut-sub-nav {
    background-color: #A6BCE3 !important;
    padding: 5px 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    border-bottom: 1px solid #7B9ACF;
}
body.orkut-mode .orkut-nav-inner a {
    color: #1155CC !important;
    margin: 0 8px;
    font-weight: bold;
}
body.orkut-mode .orkut-nav-inner a.active {
    color: #000000 !important;
    text-decoration: none !important;
    cursor: default;
}

/* MAIN GRID */
body.orkut-mode .orkut-main-grid {
    max-width: 960px;
    margin: 15px auto;
    display: grid;
    grid-template-columns: 200px 1fr 250px;
    gap: 12px;
    padding: 0 10px;
}

@media (max-width: 820px) {
    body.orkut-mode .orkut-main-grid {
        grid-template-columns: 1fr;
    }
}

/* CARDS */
body.orkut-mode .orkut-card, 
body.orkut-mode .orkut-content-card {
    background: #FFFFFF !important;
    border: 1px solid #B0C4DE !important;
    border-radius: 4px !important;
    margin-bottom: 12px !important;
    overflow: hidden;
    color: #333333 !important;
}

/* LEFT COL */
body.orkut-mode .orkut-avatar-main {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #B0C4DE;
}
body.orkut-mode .orkut-profile-meta {
    padding: 10px;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    color: #333;
}
body.orkut-mode .orkut-action-menu ul {
    list-style: none;
    padding: 8px 10px;
    margin: 0;
}
body.orkut-mode .orkut-action-menu li {
    margin-bottom: 6px;
    font-size: 11px;
}

/* CENTER COL */
body.orkut-mode .orkut-profile-header {
    background: #FFFFFF;
    border: 1px solid #B0C4DE;
    padding: 14px;
    border-radius: 4px;
    margin-bottom: 12px;
}
body.orkut-mode .orkut-name-title {
    font-size: 20px;
    color: #000000;
    margin: 0 0 10px 0;
    font-weight: bold;
}
body.orkut-mode .orkut-badges {
    font-size: 11px;
}
body.orkut-mode .orkut-badge-row {
    margin-bottom: 10px;
}
body.orkut-mode .orkut-ratings {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
body.orkut-mode .rating-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
body.orkut-mode .rating-label {
    color: #666666;
}
body.orkut-mode .rating-icons {
    font-size: 12px;
}

/* TABS */
body.orkut-mode .orkut-tabs {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: bold;
}
body.orkut-mode .orkut-tab {
    color: #1155CC;
    margin-right: 10px;
    cursor: pointer;
}
body.orkut-mode .orkut-tab.active {
    color: #000000;
}

/* CONTENT CARDS */
body.orkut-mode .orkut-card-title {
    background-color: #3B5998 !important; 
    color: #FFFFFF !important;
    font-size: 12px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    font-weight: bold !important;
}
body.orkut-mode .orkut-card-title a {
    color: #FFFFFF !important;
}
body.orkut-mode .orkut-card-body {
    padding: 12px;
    font-size: 11px;
    border-bottom: 3px solid #E41870 !important;
    line-height: 1.5;
}

/* SCRAPS */
body.orkut-mode .scraps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.orkut-mode .orkut-scrap {
    display: flex;
    gap: 10px;
}
body.orkut-mode .scrap-avatar {
    width: 48px;
    height: 48px;
    border: 1px solid #CCC;
    object-fit: cover;
    border-radius: 2px;
}
body.orkut-mode .scrap-content {
    flex: 1;
    background: #F4F8FE;
    padding: 8px 10px;
    border: 1px solid #B0C4DE;
    border-radius: 4px;
}
body.orkut-mode .scrap-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-weight: bold;
    font-size: 11px;
}
body.orkut-mode .scrap-author {
    color: #1155CC;
}
body.orkut-mode .scrap-date {
    color: #666666;
    font-weight: normal;
}
body.orkut-mode .scrap-text {
    margin-bottom: 4px;
    font-size: 11px;
}
body.orkut-mode .scrap-reply {
    font-size: 10px;
    color: #1155CC;
}

/* ORKUT SCRAPBOOK FORM STYLES */
body.orkut-mode .orkut-form-input,
body.orkut-mode .orkut-form-textarea {
    width: 100%;
    border: 1px solid #B0C4DE;
    padding: 6px 8px;
    font-family: Arial, Trebuchet MS, sans-serif;
    font-size: 11px;
    border-radius: 2px;
    outline: none;
    box-sizing: border-box;
}
body.orkut-mode .orkut-form-input:focus,
body.orkut-mode .orkut-form-textarea:focus {
    border-color: #3B5998;
    background: #FAFCFF;
}
body.orkut-mode .orkut-btn-post {
    background: linear-gradient(180deg, #6B88BA 0%, #3B5998 100%);
    border: 1px solid #2B4373;
    color: #ffffff;
    font-family: Trebuchet MS, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 3px;
    cursor: pointer;
}
body.orkut-mode .orkut-btn-post:hover {
    background: #3B5998;
}

/* RIGHT COL */
body.orkut-mode .right-box .orkut-card-body {
    padding: 5px;
    border-bottom: 3px solid #E41870;
}
body.orkut-mode .orkut-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px;
    border-bottom: 3px solid #E41870;
}
body.orkut-mode .orkut-grid-3x3 img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #CCC;
    border-radius: 2px;
}
body.orkut-mode .communities .comm-item {
    text-align: center;
    font-size: 10px;
    overflow: hidden;
}
body.orkut-mode .comm-count {
    display: block;
    color: #666666;
    font-size: 9px;
    margin-top: 1px;
}

.respawn-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #ef4444;
}

.respawn-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #a1a1aa;
}

.respawn-btn {
    background: #0095f6;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 149, 246, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
    margin-top: 6px;
}

.respawn-btn:hover {
    transform: scale(1.05);
    background: #1877f2;
}

/* ==========================================================================
   WINAMP 2.0 RETRO LO-FI / SYNTHWAVE PLAYER STYLES
   ========================================================================== */
.winamp-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 290px;
    background: linear-gradient(180deg, #3a3a3a 0%, #1f1f1f 100%);
    border: 2px solid #555555;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(0, 255, 0, 0.2);
    z-index: 99999;
    font-family: 'Courier New', monospace;
    user-select: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.winamp-player.minimized .winamp-body {
    display: none;
}

.winamp-title-bar {
    background: linear-gradient(90deg, #000080 0%, #1040a0 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px 4px 0 0;
    cursor: move;
}

.winamp-title-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.spin-icon.playing {
    animation: spinDisc 3s linear infinite;
    color: #00ff00;
}

@keyframes spinDisc {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.winamp-title-actions {
    display: flex;
    gap: 4px;
}

.winamp-title-actions button {
    background: #333333;
    border: 1px solid #777777;
    color: #ffffff;
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
    line-height: 1;
    border-radius: 2px;
}
.winamp-title-actions button:hover { background: #555; }

.winamp-body {
    padding: 8px;
    background: #141414;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* LCD DISPLAY */
.winamp-lcd {
    background: #000000;
    border: 1px solid #00ff00;
    border-radius: 4px;
    padding: 6px 8px;
    color: #00ff00;
    box-shadow: inset 0 0 8px rgba(0, 255, 0, 0.4);
}

.winamp-lcd-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.winamp-time {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.winamp-kbps {
    font-size: 0.62rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #00cc00;
}

.winamp-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    margin-bottom: 6px;
    background: #051505;
    padding: 2px;
    border-radius: 2px;
}

.eq-bar {
    flex: 1;
    background: #00ff00;
    height: 30%;
    transition: height 0.15s ease;
    border-radius: 1px;
}

.winamp-equalizer.active .eq-bar:nth-child(1) { animation: waEq 0.4s infinite alternate ease-in-out; }
.winamp-equalizer.active .eq-bar:nth-child(2) { animation: waEq 0.6s infinite alternate ease-in-out 0.1s; }
.winamp-equalizer.active .eq-bar:nth-child(3) { animation: waEq 0.3s infinite alternate ease-in-out 0.2s; }
.winamp-equalizer.active .eq-bar:nth-child(4) { animation: waEq 0.5s infinite alternate ease-in-out 0.05s; }
.winamp-equalizer.active .eq-bar:nth-child(5) { animation: waEq 0.7s infinite alternate ease-in-out 0.15s; }
.winamp-equalizer.active .eq-bar:nth-child(6) { animation: waEq 0.4s infinite alternate ease-in-out 0.25s; }
.winamp-equalizer.active .eq-bar:nth-child(7) { animation: waEq 0.6s infinite alternate ease-in-out 0.12s; }
.winamp-equalizer.active .eq-bar:nth-child(8) { animation: waEq 0.3s infinite alternate ease-in-out 0.18s; }

@keyframes waEq {
    0% { height: 15%; background: #00aa00; }
    100% { height: 95%; background: #00ff00; }
}

.winamp-marquee {
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.68rem;
    color: #00ff00;
}

/* CONTROLS ROW */
.winamp-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.winamp-buttons {
    display: flex;
    gap: 3px;
}

.winamp-btn {
    background: linear-gradient(180deg, #444 0%, #222 100%);
    border: 1px solid #666;
    color: #ffffff;
    font-size: 0.65rem;
    padding: 4px 6px;
    border-radius: 3px;
    cursor: pointer;
}

.winamp-btn:hover { background: #555; color: #00ff00; }
.winamp-btn:active { background: #111; }

.winamp-volume-box {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #000;
    padding: 3px 6px;
    border-radius: 3px;
    border: 1px solid #333;
}

/* ==========================================================================
   AUTHENTIC STEAM 2014 RETRO MODE (body.steam-mode)
   ========================================================================== */
body.steam-mode {
    background: #1b2838 !important;
    color: #c6d4df !important;
    font-family: "Motiva Sans", Arial, Helvetica, sans-serif !important;
}

body.steam-mode .ig-app-shell,
body.steam-mode .orkut-container,
body.steam-mode .ig-mobile-header {
    display: none !important;
}

body.steam-mode .steam-container {
    display: block !important;
}

.steam-container {
    display: none;
    min-height: 100vh;
    background: radial-gradient(circle at top, #1b2838 0%, #0d141d 100%);
    padding-bottom: 60px;
}

/* STEAM TOP BAR */
.steam-top-bar {
    background: #171a21;
    border-bottom: 1px solid #2a475e;
    height: 60px;
}

.steam-top-inner {
    max-width: 1060px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.steam-logo-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.steam-logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.steam-main-nav {
    display: flex;
    gap: 20px;
}

.steam-main-nav a {
    color: #b8b6b4;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.15s ease;
}
.steam-main-nav a:hover,
.steam-main-nav a.active {
    color: #1a9fff;
    text-decoration: none;
}

.steam-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.steam-install-btn {
    background: #5c7e10;
    border: none;
    color: #ffffff;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 2px;
    cursor: pointer;
}
.steam-install-btn:hover { background: #79992c; }

.steam-user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #c6d4df;
    cursor: pointer;
}

.steam-user-badge img {
    width: 28px;
    height: 28px;
    border-radius: 2px;
}

.steam-exit-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
}
.steam-exit-btn:hover { background: #ff3040; border-color: #ff3040; }

/* STEAM PROFILE WRAPPER */
.steam-profile-wrapper {
    max-width: 1060px;
    margin: 30px auto 0 auto;
    padding: 0 16px;
}

.steam-profile-header {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(27,40,56,0.8) 100%);
    border: 1px solid #2a475e;
    border-radius: 4px;
    padding: 24px;
    display: flex;
    gap: 24px;
    position: relative;
    margin-bottom: 20px;
}

.steam-avatar-box {
    position: relative;
}

.steam-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    border: 3px solid #57cbde;
    object-fit: cover;
    box-shadow: 0 0 12px rgba(87, 203, 222, 0.4);
}

.steam-user-headline {
    flex: 1;
}

.steam-display-name {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 4px;
}

.steam-user-location {
    font-size: 0.85rem;
    color: #8f98a0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.steam-summary-bio {
    font-size: 0.95rem;
    color: #acb2b8;
    line-height: 1.5;
    max-width: 600px;
}

.steam-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.steam-level-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
}

.steam-level-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #e0a96d;
    background: #171a21;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 900;
}

.steam-profile-actions {
    display: flex;
    gap: 8px;
}

.steam-btn {
    background: linear-gradient(180deg, #3d6c8d 0%, #2e5470 100%);
    border: 1px solid #5788a9;
    color: #67c1f5;
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.steam-btn:hover { background: #5788a9; color: #fff; text-decoration: none; }

/* STEAM COLUMNS */
.steam-profile-columns {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.steam-showcase-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #2a475e;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.steam-showcase-header {
    background: linear-gradient(90deg, #1f2f42 0%, #17202b 100%);
    padding: 12px 16px;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2a475e;
}

.steam-sub-text {
    font-size: 0.8rem;
    color: #8f98a0;
    font-weight: normal;
}

.steam-showcase-body {
    padding: 16px;
}

.steam-comment-item {
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.steam-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    object-fit: cover;
}

.steam-comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.steam-comment-author {
    color: #67c1f5;
    font-size: 0.9rem;
}

.steam-comment-date {
    color: #626366;
    font-size: 0.75rem;
}

.steam-comment-text {
    color: #acb2b8;
    font-size: 0.85rem;
}

.steam-sidebar-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #2a475e;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
}

.steam-status-label {
    font-size: 0.75rem;
    color: #8f98a0;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.steam-status-game {
    font-size: 1.1rem;
    color: #90ba3c;
    font-weight: bold;
}

.steam-status-detail {
    font-size: 0.8rem;
    color: #8f98a0;
    margin-top: 4px;
}

.steam-box-header {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 12px;
    border-bottom: 1px solid #2a475e;
    padding-bottom: 6px;
}

.steam-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.steam-badge-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.steam-badge-item span {
    display: block;
    font-size: 0.7rem;
    color: #c6d4df;
    margin-top: 4px;
}

.winamp-slider {
    width: 60px;
    accent-color: #00ff00;
    cursor: pointer;
}

/* FLOATING LAUNCH BUTTON */
.winamp-launch-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #1040a0, #000080);
    border: 2px solid #00ff00;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 99998;
    transition: transform 0.2s ease;
}

.winamp-launch-btn:hover {
    transform: scale(1.06);
}
