/* 
=======================================
   Aethra - Premium Digital Assets
   Core Stylesheet
=======================================
*/

:root {
    /* Color Palette - Crimson Red & Black */
    --bg-primary: #050202;
    --bg-secondary: #0a0404;
    --bg-tertiary: #140808;
    --bg-glass: rgba(15, 5, 5, 0.85);
    --bg-glass-hover: rgba(25, 10, 10, 0.95);

    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #888888;

    --accent-primary: #ff1a1a;
    /* Crimson Red */
    --accent-secondary: #cc0000;
    /* Deep Red */
    --accent-glow: rgba(255, 26, 26, 0.4);

    --status-safe: #10b981;
    --status-warning: #f59e0b;
    --status-danger: #ef4444;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-spacing: 120px;

    /* Borders & Radius */
    --border-subtle: 1px solid rgba(255, 26, 26, 0.15);
    --border-glow: 1px solid rgba(255, 26, 26, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Aliases used in glass panels */
    --glass-bg: rgba(229, 53, 53, 0.04);
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.4;
    animation: pulse-glow 8s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    50% { transform: scale(1.1) translate(20px, -20px); opacity: 0.5; }
    100% { transform: scale(0.95) translate(-20px, 20px); opacity: 0.25; }
}

.bg-glow-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.15;
    animation: drift 15s infinite alternate ease-in-out;
}

.bg-glow-2 {
    bottom: -10%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    opacity: 0.12;
    animation: drift 20s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(-30px, 30px) rotate(5deg); }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), #ff6b6b, var(--accent-primary));
    background-size: 300% 300%;
    animation: gradient-shift 6s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-green {
    color: var(--status-safe);
}

.text-primary {
    color: var(--accent-primary);
}

/* Layout Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

main section {
    padding: var(--section-spacing) 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Common Components */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-panel:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 53, 53, 0.15);
    border-color: rgba(229, 53, 53, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn i {
    font-size: 1.2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(229, 53, 53, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translateY(-100%);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(229, 53, 53, 0.6);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: var(--border-subtle);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.w-full {
    width: 100%;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-pill);
    color: var(--status-safe);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--status-safe);
    box-shadow: 0 0 8px var(--status-safe);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.status-badge.safe {
    background: rgba(16, 185, 129, 0.15);
    color: var(--status-safe);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #040d12;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 229, 255, 0.3);
    z-index: 10;
}

/* Navigation */
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1100px;
    z-index: 1000;
    padding: 12px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    top: 12px;
    padding: 10px 24px;
    background: rgba(4, 13, 18, 0.85);
    border-color: rgba(229, 53, 53, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 53, 53, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header .container {
    padding: 0;
    max-width: 100%;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: var(--border-subtle);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 2px;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--accent-secondary);
}

.lang-divider {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    opacity: 0;
    animation: fade-in-up 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    animation: fade-in-up 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fade-in-up 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s forwards;
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.stats-row {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Hero Graphic Area */
.hero-graphic {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-orb {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(0, 201, 167, 0.3));
    filter: blur(40px);
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.decorative-card {
    position: relative;
    width: 320px;
    padding: 24px;
    z-index: 10;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.4);
    animation: float-card 8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--status-safe);
    box-shadow: 0 0 10px var(--status-safe);
}

.status-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-card {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-12deg) rotateX(8deg) translateY(-15px);
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-glass-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-primary);
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-text {
    color: var(--text-secondary);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-normal);
}

.product-card.highlight {
    border: var(--border-glow);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-image-wrapper {
    position: relative;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: var(--border-subtle);
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

.product-card.highlight .product-placeholder {
    color: rgba(0, 229, 255, 0.15);
}

.product-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 48px;
}

.product-features-list {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-footer {
    padding-top: 24px;
    border-top: var(--border-subtle);
}

.product-price {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Footer Section */
.footer {
    border-top: var(--border-subtle);
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--text-primary);
}

/* Responsive Design (Phone, Tablet, PC, TV) */

/* Large Screens (PC & TV) */
@media (min-width: 1400px) {
    :root {
        --container-width: 1300px;
        --section-spacing: 140px;
    }
    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 2000px) {
    :root {
        --container-width: 1600px;
        --section-spacing: 180px;
    }
    .hero-title {
        font-size: 6.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
        max-width: 700px;
    }
    body {
        font-size: 1.1rem;
    }
}

/* Tablets and Mid-size Laptops */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .hero-graphic {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (Phones) */
@media (max-width: 768px) {
    /* Performance Optimizations for Mobile */
    .bg-glow {
        filter: blur(40px); /* Massive performance gain, was 140px */
        animation: none; /* Disable heavy drift animations on mobile */
        opacity: 0.2;
    }
    
    .noise-overlay {
        display: none; /* Kills scroll performance on mobile */
    }

    .glass-panel, .product-card, .store-card {
        /* Reduce blur radius and shadow complexity for GPU */
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }
    
    .glass-panel:hover, .product-card:hover, .store-card:hover {
        transform: none; /* Disable hover lifts on touch devices */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }

    .nav-list,
    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    /* Fixed full screen mobile menu mechanics */
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    body.mobile-menu-open .nav-list {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--bg-primary); /* Remove blur here for perf */
        z-index: 999;
        padding: 120px 24px 24px;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
    }

    body.mobile-menu-open .nav-link {
        font-size: 1.2rem;
    }

    body.mobile-menu-open .header-actions {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        z-index: 1000;
        gap: 16px;
        align-items: center;
    }

    .hero-title {
        font-size: 2.2rem;
        word-break: break-word;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 16px;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 20px;
    }

    .features-grid, .products-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .header {
        width: 95%;
        padding: 10px 16px;
        top: 12px;
    }

    .badge {
        margin-bottom: 16px;
        font-size: 0.8rem;
    }
}

/* ─── Profile Button & Dropdown ─── */
.profile-btn-wrap {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.profile-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #020c10;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 220px;
    background: var(--bg-secondary);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 8px;
    z-index: 200;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-item.admin-item {
    color: var(--accent-primary);
}

.dropdown-item.admin-item:hover {
    background: rgba(0, 229, 255, 0.08);
}

.dropdown-item i {
    font-size: 1.1rem;
}