/* ==========================================================================
   AURA ARCADE — STYLES & GLASSMORPHISM DESIGN SYSTEM
   Theme System: Day/Night Shader Theme, Frosted Glass, Smooth Motion Graphics
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (THEME VARIABLES)
   -------------------------------------------------------------------------- */
:root {
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Theme: Night Shader (Default) */
body.theme-dark {
    --bg-primary: #0a0a0d;
    --bg-secondary: #121216;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.68);
    --text-muted: rgba(255, 255, 255, 0.45);
    
    --glass-bg: rgba(22, 22, 28, 0.6);
    --glass-bg-hover: rgba(34, 34, 44, 0.75);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(255, 255, 255, 0.25);
    --glass-blur: blur(20px);
    --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.45);

    --nav-bg: rgba(10, 10, 13, 0.7);
    --nav-border: rgba(255, 255, 255, 0.08);

    --accent-color: #ffffff;
    --accent-inverse: #000000;
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    --cursor-color: #ffffff;
}

/* Theme: Day Shader */
body.theme-light {
    --bg-primary: #f4f4f7;
    --bg-secondary: #e4e4e8;
    --text-primary: #09090b;
    --text-secondary: rgba(9, 9, 11, 0.7);
    --text-muted: rgba(9, 9, 11, 0.48);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-hover: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-hover: rgba(0, 0, 0, 0.18);
    --glass-blur: blur(20px);
    --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.06);

    --nav-bg: rgba(244, 244, 247, 0.8);
    --nav-border: rgba(0, 0, 0, 0.06);

    --accent-color: #09090b;
    --accent-inverse: #ffffff;
    --gradient-text: linear-gradient(135deg, #09090b 0%, #52525b 100%);
    --cursor-color: #000000;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

body.custom-cursor-active {
    cursor: none;
}
body.custom-cursor-active a, 
body.custom-cursor-active button,
body.custom-cursor-active input {
    cursor: none;
}

/* Custom Dot Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--cursor-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out, background-color var(--transition-smooth), width 0.2s, height 0.2s;
}

.custom-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--cursor-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0.85;
    mix-blend-mode: difference;
    transition: transform 0.15s ease-out, opacity 0.2s, width 0.2s, height 0.2s, border-color var(--transition-smooth);
}

.custom-cursor-hover .custom-cursor {
    width: 16px;
    height: 16px;
}
.custom-cursor-hover .custom-cursor-follower {
    width: 52px;
    height: 52px;
    opacity: 1;
    border-width: 2px;
}

.shader-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
}

/* --------------------------------------------------------------------------
   3. STICKY BLUR NAVIGATION BAR
   -------------------------------------------------------------------------- */
.glass-navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--nav-border);
    transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.brand-icon {
    width: 28px;
    height: 28px;
    color: var(--text-primary);
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

.brand-title small {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-top: -2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill-btn, .icon-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.pill-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 8px;
    user-select: none;
}

.icon-btn {
    width: 42px;
    height: 42px;
}

.pill-btn:hover, .icon-btn:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. LANDING HERO SECTION
   -------------------------------------------------------------------------- */
.landing-section {
    min-height: calc(85vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.landing-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    backdrop-filter: var(--glass-blur);
}

.landing-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.6;
}

.landing-cta-box {
    margin: 10px 0;
}

.cta-enter-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    outline: none;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-smooth);
    animation: ctaPulse 3s infinite ease-in-out;
}

.cta-enter-btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}

.prompt-pills-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.prompt-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 6px;
}

.prompt-pill {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: var(--glass-blur);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.prompt-pill:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. GAME SELECTION GRID SECTION
   -------------------------------------------------------------------------- */
.dashboard-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 24px 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.section-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--glass-shadow);
    transition: background var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth);
}

.game-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                background 0.4s ease;
}

.game-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: var(--glass-bg-hover);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 255, 255, 0.1);
}

.game-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.game-card:hover .game-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: scale(1.05);
}

.game-card-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.game-card:hover .game-card-icon-box {
    transform: scale(1.18) rotate(-6deg);
    background: rgba(255, 255, 255, 0.18);
}

.game-card-icon {
    width: 30px;
    height: 30px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.game-card-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.game-card-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.game-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border);
}

.high-score-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.high-score-badge i {
    width: 14px;
    height: 14px;
    color: var(--text-primary);
}

.high-score-badge strong {
    color: var(--text-primary);
}

.play-card-btn {
    background: var(--glass-bg-hover);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.game-card:hover .play-card-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   6. ACTIVE GAME VIEWPORT MODAL
   -------------------------------------------------------------------------- */
.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.game-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.game-modal-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.game-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.game-title-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-title-badge i {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.game-title-badge h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hud-score-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
}

.hud-item {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.hud-item strong {
    font-size: 1rem;
    color: var(--text-primary);
    margin-left: 4px;
}

.game-control-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-action-btn {
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.game-action-btn:hover {
    background: var(--glass-bg-hover);
    transform: scale(1.08);
}

/* Canvas Viewport */
.canvas-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 520px;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

#game-canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.game-overlay-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    gap: 16px;
    z-index: 10;
}

.game-overlay-banner.hidden {
    display: none;
}

.game-overlay-banner h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
}

.game-overlay-banner p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Fullscreen Mode Styling */
.canvas-wrapper:fullscreen, 
.canvas-wrapper:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
}

/* Mobile Touch Control Pad */
.mobile-touch-pad {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 900px), (pointer: coarse) {
    .mobile-touch-pad {
        display: flex;
    }
}

.dpad-left-right {
    display: flex;
    gap: 12px;
    width: 100%;
}

.touch-btn {
    flex: 1;
    padding: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: manipulation;
}

.touch-btn:active {
    background: var(--glass-bg-hover);
    transform: scale(0.96);
}

.touch-action-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* --------------------------------------------------------------------------
   7. LEADERBOARD & AUTH MODALS
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

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

.modal-card {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
}

.small-modal {
    max-width: 420px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-title-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-icon {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--text-primary);
}

.tab-buttons-row {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    overflow-x: auto;
}

.tab-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.leaderboard-table-container {
    max-height: 280px;
    overflow-y: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.leaderboard-table th, .leaderboard-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.leaderboard-table th {
    color: var(--text-muted);
    font-weight: 600;
}

.leaderboard-table td {
    color: var(--text-primary);
    font-weight: 500;
}

/* Auth Input Form */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.input-group label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-group input {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
}

.full-width-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   8. DEVELOPER DIAGNOSTIC LOG MODAL
   -------------------------------------------------------------------------- */
.dev-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.dev-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.dev-modal-card {
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dev-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.dev-title-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-icon {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
}

.dev-modal-body {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.dev-status-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
}

.dev-log-container {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 14px;
}

.dev-log-container h4 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#dev-log-output {
    font-family: monospace;
    font-size: 0.8rem;
    color: #34d399;
    white-space: pre-wrap;
    max-height: 180px;
    overflow-y: auto;
}

.dev-guide-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 16px;
}

.dev-guide-box h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.dev-guide-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   9. FOOTER CREDITS
   -------------------------------------------------------------------------- */
.app-footer {
    text-align: center;
    padding: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    margin-top: 40px;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-blur);
}

.app-footer strong {
    color: var(--text-primary);
}

.heart-icon {
    width: 14px;
    height: 14px;
    color: #ef4444;
    vertical-align: middle;
    fill: #ef4444;
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 900px), (pointer: coarse), (hover: none) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    body.custom-cursor-active,
    body.custom-cursor-active a,
    body.custom-cursor-active button,
    body.custom-cursor-active input {
        cursor: auto !important;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 16px;
    }
    .landing-title {
        font-size: 2.5rem;
    }
    .landing-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .brand-title small {
        display: none;
    }
    .pill-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    .landing-title {
        font-size: 2rem;
    }
}
