/* === CSS Variables === */
:root {
    --bg-deep: #020405;
    --accent-cyan: #06b6d4;
    --accent-cyan-glow: #00f3ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --pedestal-dark: #05080a;
}

/* === Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Body === */
body {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 70%, rgba(30, 40, 50, 0.8), transparent 60%),
        radial-gradient(ellipse 60% 30% at 50% 80%, rgba(6, 182, 212, 0.08), transparent 50%),
        linear-gradient(to bottom, #0a0a0a 0%, #151820 50%, #0a0a0a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Header === */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(to bottom, rgba(11, 16, 21, 0.9), transparent);
    position: relative;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.brand svg {
    color: var(--accent-cyan);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-cyan-glow);
}

/* === Auth Header Styles === */
#user-greeting {
    display: none;
    gap: 10px;
    align-items: center;
}

#user-greeting.visible {
    display: flex;
}

#login-register-buttons {
    display: flex;
    gap: 15px;
}

.auth-button {
    background: none;
    border: none;
}

/* === Sidebar === */
.sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 50;
    background: rgba(30, 35, 45, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0;
    backdrop-filter: blur(10px);
}

.sidebar-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 20px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: none;
    position: relative;
}

.sidebar-text:first-child {
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-text:hover {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
}

.sidebar-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: transparent;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sidebar-text:first-child::before {
    border-radius: 7px 7px 0 0;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, transparent 100%);
}

.sidebar-text:last-child::before {
    border-radius: 0 0 7px 7px;
    background: linear-gradient(0deg, var(--accent-cyan) 0%, transparent 100%);
}

.sidebar-text:hover::before {
    opacity: 1;
}

.sidebar-text:first-child {
    border-radius: 8px 8px 0 0;
}

.sidebar-text:last-child {
    border-radius: 0 0 8px 8px;
}

/* === Main Stage & Carousel === */
.main-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1200px;
    padding-bottom: 80px;
    width: 100%;
    overflow: hidden;
    z-index: 10;
}

.page-title {
    text-align: center;
    margin-top: 40px;
    font-size: 1.8rem;
    font-family: 'Eurostile', 'Exo 2', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.carousel-wrapper {
    width: 100%;
    max-width: 1400px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 60px;
}

.platforms-container {
    display: flex;
    gap: 40px;
    padding: 40px 60px 100px 60px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    transform-style: preserve-3d;
    align-items: flex-end;
}

.platforms-container::-webkit-scrollbar {
    display: none;
}

/* === Navigation Buttons === */
.nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--accent-cyan);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

/* === Swipe Indicator (Mobile) === */
.swipe-indicator {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.swipe-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
    transition: all 0.3s ease;
}

.swipe-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.swipe-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    animation: fadeHint 3s ease-in-out forwards;
}

@keyframes fadeHint {
    0%, 70% { opacity: 0.7; }
    100% { opacity: 0; display: none; }
}

/* === Pedestal Item === */
.pedestal-item {
    position: relative;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.4s ease;
    margin: 0 20px;
    padding-bottom: 40px;
    -webkit-box-reflect: below 10px linear-gradient(to bottom, transparent 60%, rgba(255, 255, 255, 0.2));
}

.pedestal-item:hover {
    transform: translateY(-10px);
}

/* Hologram Circle */
.hologram-glass {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.5);
    box-shadow:
        0 0 20px rgba(6, 182, 212, 0.1),
        inset 0 0 20px rgba(6, 182, 212, 0.05);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -30px;
    position: relative;
    z-index: 5;
    transition: all 0.4s ease;
}

.pedestal-item:hover .hologram-glass {
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.2), inset 0 0 30px rgba(6, 182, 212, 0.1);
    transform: translateY(-15px) scale(1.05);
}

.app-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.8));
    transition: all 0.4s ease;
}

.pedestal-item:hover .app-icon {
    color: var(--accent-cyan-glow);
    filter: drop-shadow(0 0 12px rgba(0, 243, 255, 1));
}

/* Platform Base */
.platform-base {
    width: 180px;
    height: 40px;
    background: linear-gradient(to bottom, #111827, #000);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow:
        0 -1px 3px rgba(255, 255, 255, 0.1) inset,
        0 0 10px rgba(6, 182, 212, 0.4),
        0 5px 20px rgba(0, 0, 0, 0.8);
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.platform-base::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 0 #06b6d4, 0 4px 20px rgba(6, 182, 212, 0.6);
    z-index: -1;
    transition: all 0.4s ease;
}

.pedestal-item:hover .platform-base::after {
    box-shadow: 0 4px 0 #00f3ff, 0 4px 40px rgba(0, 243, 255, 0.8);
}

.app-label {
    margin-top: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.pedestal-item:hover .app-label {
    color: var(--accent-cyan-glow);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* === Footer === */
.command-footer {
    position: fixed;
    bottom: 40px;
    left: 0;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.footer-tech {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.1em;
    padding-top: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.description-box {
    position: relative;
    height: 60px;
    width: 500px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.05), transparent);
    color: var(--accent-cyan);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 200;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: none;
    margin-top: -22px;
    overflow: hidden;
}

/* Ambient Glow Animation */
.ambient-glow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow:
        0 0 10px var(--accent-cyan),
        0 0 20px var(--accent-cyan),
        0 0 40px rgba(6, 182, 212, 0.5);
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9);
        box-shadow:
            0 0 8px var(--accent-cyan),
            0 0 16px rgba(6, 182, 212, 0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow:
            0 0 15px var(--accent-cyan),
            0 0 30px var(--accent-cyan),
            0 0 50px rgba(6, 182, 212, 0.6);
    }
}

/* === About Panel === */
.about-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 500px;
    max-width: 90vw;
    background: rgba(11, 16, 21, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    z-index: 150;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 60px 40px;
    overflow-y: auto;
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.5);
}

.about-panel.open {
    transform: translateX(0);
}

.close-btn-panel {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn-panel:hover {
    color: var(--accent-cyan);
}

.panel-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 40px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role-title {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.role-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.section-header {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.expertise-list {
    list-style: none;
    margin-bottom: 40px;
}

.expertise-list li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.tag:hover {
    border-color: var(--accent-cyan);
    color: #fff;
    background: rgba(6, 182, 212, 0.1);
}

/* === Modal === */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.9);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.settings-modal.visible {
    display: flex;
}

.settings-modal-content {
    background: #0f172a;
    padding: 32px;
    border-radius: 24px;
    width: 400px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.settings-modal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 24px;
    color: #fff;
}

.modal-footer {
    margin-top: 20px;
    text-align: right;
}

/* === Form Elements === */
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 12px;
}

.form-button {
    width: 100%;
    background: var(--accent-cyan);
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.form-button:hover {
    background: var(--accent-cyan-glow);
}

.close-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
}

.close-btn.auto-width {
    width: auto;
}

/* === Mobile Menu Button === */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Mobile Navigation Overlay === */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.open {
    display: flex;
    opacity: 1;
}

.mobile-nav-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.close-mobile-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-mobile-nav:hover,
.close-mobile-nav:active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 15px 30px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.mobile-auth-section {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

@media (max-width: 480px) {
    .mobile-auth-section {
        display: flex;
    }
}

/* === Responsive === */
@media (max-width: 900px) {
    .page-title {
        text-align: center;
        left: 0;
        width: 100%;
        margin-top: 20px;
        font-size: 1.2rem;
    }

    .carousel-wrapper {
        margin-top: 40px;
        width: 100%;
    }

    .nav-btn {
        display: none;
    }

    .platforms-container {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 40px 20px 80px 20px;
        justify-content: flex-start;
        gap: 20px;
    }

    .pedestal-item {
        scroll-snap-align: center;
        min-width: 200px;
        -webkit-box-reflect: none;
    }

    .sidebar {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Show swipe indicator */
    .swipe-indicator {
        display: flex;
    }

    /* Footer repositioned for mobile */
    .command-footer {
        position: relative;
        bottom: auto;
        padding: 20px;
        margin-top: auto;
    }

    .description-box {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 50px;
        margin-top: 0;
    }

    .ambient-glow {
        display: none;
    }
}

/* === Tablet Breakpoint === */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }

    .brand {
        font-size: 0.95rem;
    }

    .header-controls {
        gap: 10px;
    }

    #login-register-buttons {
        gap: 8px;
    }

    .auth-button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .page-title {
        font-size: 1.1rem;
        letter-spacing: 2px;
        padding: 0 20px;
    }

    .carousel-wrapper {
        margin-top: 30px;
    }

    .platforms-container {
        padding: 30px 15px 70px 15px;
        gap: 15px;
    }

    .pedestal-item {
        min-width: 180px;
        margin: 0 10px;
        padding-bottom: 30px;
    }

    .hologram-glass {
        width: 110px;
        height: 110px;
    }

    .app-icon {
        width: 45px;
        height: 45px;
    }

    .platform-base {
        width: 140px;
        height: 32px;
    }

    .app-label {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
        margin-top: 20px;
    }

    /* About panel full width */
    .about-panel {
        width: 100%;
        max-width: 100%;
        padding: 60px 25px;
    }

    .panel-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .role-title {
        font-size: 1rem;
    }

    .role-desc {
        font-size: 0.95rem;
    }

    /* Modal responsive */
    .settings-modal-content {
        width: 90vw;
        max-width: 400px;
        padding: 24px;
    }

    .description-box {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* === Mobile Breakpoint === */
@media (max-width: 480px) {
    .site-header {
        padding: 12px 15px;
    }

    .brand {
        font-size: 0.85rem;
        gap: 8px;
    }

    .brand svg {
        width: 20px;
        height: 20px;
    }

    /* Hide auth buttons text on very small screens, keep in mobile nav */
    #login-register-buttons {
        display: none;
    }

    #user-greeting span:first-child {
        display: none;
    }

    .page-title {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-top: 15px;
    }

    .carousel-wrapper {
        margin-top: 20px;
    }

    .platforms-container {
        padding: 20px 10px 60px 10px;
        gap: 10px;
    }

    .pedestal-item {
        min-width: 160px;
        margin: 0 5px;
        padding-bottom: 25px;
    }

    .hologram-glass {
        width: 90px;
        height: 90px;
        margin-bottom: -20px;
    }

    .app-icon {
        width: 38px;
        height: 38px;
    }

    .platform-base {
        width: 120px;
        height: 28px;
    }

    .app-label {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        margin-top: 15px;
    }

    .about-panel {
        padding: 50px 20px;
    }

    .close-btn-panel {
        top: 15px;
        right: 15px;
    }

    .panel-title {
        font-size: 1.3rem;
    }

    .section-header {
        font-size: 1rem;
    }

    .tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .settings-modal-content {
        width: 95vw;
        padding: 20px;
        border-radius: 16px;
    }

    .form-input {
        padding: 14px 12px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .form-button {
        padding: 14px;
        font-size: 1rem;
    }

    .command-footer {
        padding: 15px;
    }

    .description-box {
        font-size: 0.8rem;
        padding: 8px 12px;
        min-height: 44px;
    }

    .mobile-nav-link {
        font-size: 1.2rem;
        padding: 12px 24px;
        min-width: 180px;
    }
}

/* === Touch-friendly active states === */
@media (hover: none) and (pointer: coarse) {
    .pedestal-item:active .hologram-glass {
        border-color: rgba(0, 243, 255, 0.5);
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.2), inset 0 0 30px rgba(6, 182, 212, 0.1);
        transform: translateY(-10px) scale(1.03);
    }

    .pedestal-item:active .app-icon {
        color: var(--accent-cyan-glow);
        filter: drop-shadow(0 0 12px rgba(0, 243, 255, 1));
    }

    .pedestal-item:active .platform-base::after {
        box-shadow: 0 4px 0 #00f3ff, 0 4px 40px rgba(0, 243, 255, 0.8);
    }

    .pedestal-item:active .app-label {
        color: var(--accent-cyan-glow);
        text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    }

    /* Ensure touch targets are large enough */
    .nav-link,
    .auth-button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
