
        @import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+39+Text&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

:root {
            /* Dawn/Dusk Color Palette */
            --primary: #FF6B6B;
            --accent-start: #FF6B6B;  /* Dawn red */
            --accent-mid: #FFD93D;     /* Golden hour */
            --accent-end: #4ECDC4;     /* Twilight teal */

            /* Background colors with warmer tones */
            --dark-bg: #0F0E17;        /* Deep night with purple hint */
            --dark-card: #1A1825;      /* Card background */

            /* Supporting colors */
            --sunset-orange: #FFA500;   /* Sunset orange */
            --twilight-purple: #8B5CF6; /* Twilight purple */
            --dawn-pink: #FFC0CB;       /* Dawn pink */
            --sky-blue: #87CEEB;        /* Sky blue */

            /* UI elements */
            --glass: rgb(255 255 255 / 5%);
            --text-primary: #fff;
            --text-secondary: #a1a1aa;
            --border: rgb(255 255 255 / 10%);
        }

        body {
            margin: 0;
            font-family: 'Merriweather', 'Gowun Dodum', -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
            line-height: 1.6;
            color: rgb(108, 129, 180);
            background-color: var(--dark-bg);
        }

        .container {
            max-width: 1200px;
            padding: 0 20px;
            margin: 0 auto;
        }

        h1, h2, h3 {
            font-weight: 900;
        }

        h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
        }
        
        .gradient-text {
            background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .long-shadow-text {
            color: #fff;
            text-shadow: 0 0 0 #fff;
            animation: long-shadow-animation 5s linear infinite alternate;
        }

        @keyframes long-shadow-animation {
            0% {
                text-shadow: 0 0 0 #fff;
            }
            100% {
                text-shadow: 
                    1px 1px 0 #ccc, 
                    2px 2px 0 #bbb, 
                    3px 3px 0 #aaa, 
                    4px 4px 0 #999, 
                    5px 5px 0 #888, 
                    6px 6px 0 #777, 
                    7px 7px 0 #666, 
                    8px 8px 0 #555, 
                    9px 9px 0 #444, 
                    10px 10px 0 #333, 
                    11px 11px 0 #222, 
                    12px 12px 0 #111;
            }
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            font-weight: 700;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .btn-primary {
            color: var(--text-primary);
            background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
            box-shadow: 0 4px 15px rgb(0 0 0 / 20%);
        }
        
        .btn-primary:hover {
            box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
            transform: translateY(-3px);
            background: linear-gradient(135deg, var(--sunset-orange), var(--accent-mid), var(--sky-blue));
        }

        .btn-secondary {
            color: var(--text-primary);
            background: var(--glass);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background: rgb(255 255 255 / 10%);
        }

        /* Aurora Background */
        .aurora-background {
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .aurora {
            position: absolute;
            border-radius: 50%;
            opacity: 0.3;
            filter: blur(100px);
        }

        .aurora-1 {
            top: -25vw;
            left: -25vw;
            width: 50vw;
            height: 50vw;
            background: radial-gradient(circle, var(--dawn-pink), var(--sunset-orange), var(--accent-start));
            animation: aurora-move 20s infinite ease-in-out;
        }

        .aurora-2 {
            right: -20vw;
            bottom: -20vw;
            width: 40vw;
            height: 40vw;
            background: radial-gradient(circle, var(--sky-blue), var(--accent-end), var(--twilight-purple));
            animation: aurora-move 25s infinite ease-in-out reverse;
        }

        @keyframes aurora-move {
            0% { transform: translate(0, 0); }
            50% { transform: translate(100vw, 50vh); }
            100% { transform: translate(0, 0); }
        }

        /* Header */
        #main-header {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 100;
            width: 100%;
            padding: 20px 0;
            transition: background-color 0.3s ease;
        }
        
        #main-header.scrolled {
            background-color: rgb(10 10 10 / 70%);
            backdrop-filter: blur(10px);
        }

        #main-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* World Clocks Section Styles */
        .world-clocks-section {
            margin-top: 60px;
            padding: 40px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 30px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .clocks-title {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 40px;
            background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 700;
        }

        .world-clocks-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            justify-items: center;
        }

        .clock-item {
            text-align: center;
        }

        .clock-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 20px;
            transition: all 0.3s ease;
        }

        .clock-wrapper:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: 0 20px 40px rgba(167, 139, 250, 0.2);
        }

        .clock-face {
            width: 120px;
            height: 120px;
            border: 3px solid var(--accent-start);
            border-radius: 50%;
            position: relative;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            box-shadow:
                0 0 30px rgba(255, 217, 61, 0.3),
                inset 0 0 20px rgba(255, 107, 107, 0.2);
        }

        .clock-face.large {
            width: 150px;
            height: 150px;
        }

        .clock-number {
            position: absolute;
            width: 30px;
            height: 30px;
            text-align: center;
            line-height: 30px;
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: 600;
            left: 50%;
            top: 10px;
            transform-origin: center 65px;
            transform: translateX(-50%) rotate(calc(30deg * var(--i)));
        }

        .clock-face.large .clock-number {
            top: 10px;
            transform-origin: center 65px;
        }

        .clock-hand {
            position: absolute;
            left: 50%;
            bottom: 50%;
            transform-origin: center bottom;
            border-radius: 4px;
            transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
        }

        .hour-hand {
            width: 4px;
            height: 35px;
            background: linear-gradient(to top, var(--accent-start), transparent);
            box-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
        }

        .minute-hand {
            width: 3px;
            height: 45px;
            background: linear-gradient(to top, var(--accent-end), transparent);
            box-shadow: 0 0 10px rgba(244, 114, 182, 0.5);
        }

        .second-hand {
            width: 2px;
            height: 55px;
            background: #ff6b6b;
            box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
        }

        .clock-center-dot {
            position: absolute;
            width: 12px;
            height: 12px;
            background: radial-gradient(circle, var(--text-primary), var(--accent-start));
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
            box-shadow: 0 0 20px rgba(167, 139, 250, 0.6);
        }

        .clock-info {
            display: flex;
            flex-direction: column;
            gap: 5px;
            align-items: center;
        }

        .clock-info .city {
            font-size: 1.2rem;
            color: var(--text-primary);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .clock-info .time {
            font-size: 1.5rem;
            color: var(--text-primary);
            font-weight: 900;
            font-variant-numeric: tabular-nums;
            background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .clock-info .date {
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .world-clocks-section {
                padding: 20px;
                margin-top: 40px;
            }

            .world-clocks-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .clock-face.large {
                width: 100px;
                height: 100px;
            }

            .hour-hand {
                height: 25px;
            }

            .minute-hand {
                height: 35px;
            }

            .second-hand {
                height: 40px;
            }

            .clocks-title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .world-clocks-grid {
                grid-template-columns: 1fr;
            }
        }

        .hamburger-menu {
            z-index: 101;
            display: none; /* Hidden by default on desktop */
            padding: 10px;
            cursor: pointer;
            background: none;
            border: none;
        }

        .hamburger-menu span {
            display: block;
            width: 25px;
            height: 3px;
            margin-bottom: 5px;
            background-color: var(--text-primary);
            transition: transform 0.3s ease;
        }

        .hamburger-menu.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        .nav-wrapper {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        /* Modern Language Selector */
        .language-selector {
            position: relative;
        }

        .lang-trigger {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .lang-trigger:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(167, 139, 250, 0.2);
        }

        .lang-trigger.active {
            background: rgba(167, 139, 250, 0.1);
            border-color: var(--accent-start);
        }

        .lang-flag {
            font-size: 1.2rem;
            line-height: 1;
        }

        .lang-code {
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .lang-arrow {
            transition: transform 0.3s ease;
        }

        .lang-trigger.active .lang-arrow {
            transform: rotate(180deg);
        }

        .lang-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            min-width: 200px;
            background: rgba(20, 20, 20, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: all 0.3s ease;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            z-index: 1001;
        }

        .lang-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .lang-option {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            padding: 10px 12px;
            background: transparent;
            border: none;
            border-radius: 8px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .lang-option:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateX(5px);
        }

        .lang-option.active {
            background: linear-gradient(90deg, rgba(255, 107, 107, 0.2), rgba(255, 217, 61, 0.15));
        }

        .lang-option.active::after {
            content: '✓';
            position: absolute;
            right: 12px;
            color: var(--accent-start);
            font-weight: bold;
        }

        .lang-option .lang-flag {
            font-size: 1.4rem;
            width: 28px;
            text-align: center;
        }

        .lang-option .lang-name {
            flex: 1;
            text-align: left;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .lang-option .lang-native {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-left: auto;
        }

        /* Mobile adjustments */
        @media (max-width: 768px) {
            .language-selector {
                order: -1;
            }

            .lang-trigger {
                padding: 6px 10px;
            }

            .lang-trigger .lang-code {
                display: none;
            }

            .lang-dropdown {
                position: fixed;
                top: 50%;
                left: 50%;
                right: auto;
                transform: translate(-50%, -50%) scale(0.95);
                width: 90%;
                max-width: 300px;
            }

            .lang-dropdown.active {
                transform: translate(-50%, -50%) scale(1);
            }
        }

        /* Mobile Navigation Styles */
        @media (max-width: 768px) {
            .hamburger-menu {
                display: block;
                position: relative;
                z-index: 1002;
            }

            .nav-wrapper {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                height: 100vh;
                background-color: var(--dark-bg);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: right 0.3s ease-in-out;
                z-index: 1000;
            }

            .nav-wrapper.active {
                right: 0;
            }

            .nav-wrapper nav {
                width: 100%;
                text-align: center;
            }

            .nav-wrapper nav ul {
                flex-direction: column;
                gap: 30px;
                padding: 20px;
            }

            .nav-wrapper nav a {
                font-size: 1.2rem;
                color: var(--text-primary);
                display: block;
                padding: 10px;
                transition: background-color 0.3s ease;
            }

            .nav-wrapper nav a:hover {
                background-color: var(--glass);
                border-radius: 8px;
            }

            .header-actions {
                flex-direction: column;
                gap: 20px;
                margin-top: 30px;
            }

            .header-actions .btn {
                width: 200px;
                text-align: center;
            }

            #lang-switcher {
                padding: 10px 20px;
                font-size: 1rem;
                background-color: var(--glass);
                border: 1px solid var(--border);
                border-radius: 8px;
                color: var(--text-primary);
            }

            .container {
                padding: 0 15px;
            }

            h1 {
                font-size: clamp(2rem, 8vw, 3rem);
            }

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

            .policy-content {
                padding: 20px;
                margin: 40px auto;
            }

            .policy-content h1 {
                font-size: 2rem;
            }

            .policy-content h2 {
                font-size: 1.5rem;
            }

            .world-map-container {
                height: 300px;
            }

            .time-display {
                padding: 20px;
            }

            .current-time {
                font-size: 2rem;
            }

            .schedule-belt {
                height: 80px;
            }

            .belt-item {
                font-size: 0.8rem;
                padding: 8px 16px;
            }

            .app-store-badge img {
                height: 45px;
            }

            #final-cta .btn-large {
                box-sizing: border-box;
                width: 100%;
            }

            #main-footer .container {
                flex-direction: column;
                text-align: center;
            }

            .footer-col {
                width: 100%;
                min-width: unset;
                margin-bottom: 20px;
            }

            .footer-col ul {
                padding: 0;
            }

            .footer-col li {
                margin-bottom: 5px;
            }

            .copyright {
                margin-top: 10px;
            }
        }

                .logo {
            /* font-weight: 900; Removed */
            display: flex;
            gap: 10px;
            align-items: center;
            font-family: 'Libre Barcode 39 Text', cursive;
            font-size: 2.5rem; /* Increased font size */
            color: #fff;
        }

        .header-logo {
            width: auto;
            height: 40px; /* Adjusted to match font size */
        }

        nav ul {
            display: flex;
            gap: 20px;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        nav a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s;
        }

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

        /* Hero Section */
        #hero {
            position: relative; /* For absolute positioning of video */
            padding-top: 100px; /* Adjusted for fixed header */
            padding-bottom: 100px;
            min-height: 100vh; /* Make hero section fill viewport height */
            overflow: hidden; /* Hide video overflow */
            text-align: center;
        }

        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            z-index: -1;
            width: auto;
            min-width: 100%;
            height: auto;
            min-height: 100%;
            object-fit: cover;
            transform: translate(-50%, -50%);
        }

        .hero-video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1; /* Below content, above video */
            width: 100%;
            height: 100%;
            background: rgb(0 0 0 / 60%); /* Dark overlay for text readability */
        }

        .featured-article-card .badge {
            display: inline-block;
            padding: 8px 16px;
            margin-bottom: 20px;
            color: var(--text-secondary);
            background: var(--glass);
            border: 1px solid var(--border);
            border-radius: 999px;
        }

        #hero .badge {
            display: inline-block;
            padding: 8px 16px;
            margin-bottom: 20px;
            color: var(--text-secondary);
            background: var(--glass);
            border: 1px solid var(--border);
            border-radius: 999px;
        }

        .policy-content h1 {
            margin-bottom: 20px;
            font-size: 2.5rem;
        }

        #hero h1 {
            margin-bottom: 20px;
        }

        #hero .subtitle {
            max-width: 600px;
            margin: 0 auto 30px;
            font-size: 1.1rem;
            color: var(--text-secondary);
        }
        
        #hero .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
        }

        /* Interactive World Map Container */
        .world-map-container {
            position: relative;
            width: 100%;
            height: 400px;
            margin: 60px auto 0;
            overflow: visible;
        }

        /* Map Dots Container */
        .map-dots {
            position: relative;
            width: 100%;
            height: 100%;
        }

        /* City Dot Styling */
        .city-dot {
            position: absolute;
            width: 12px;
            height: 12px;
            cursor: pointer;
            z-index: 10;
            transform: translate(-50%, -50%);
        }

        /* Dot Core */
        .dot-core {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
            box-shadow: 0 0 10px rgba(255, 217, 61, 0.5);
            z-index: 2;
        }

        /* Pulse Animation Ring */
        .pulse-ring {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 1px solid var(--accent-mid);
            animation: pulse-animation 3s ease-out infinite;
            z-index: 1;
        }

        @keyframes pulse-animation {
            0% {
                width: 12px;
                height: 12px;
                opacity: 1;
            }
            100% {
                width: 40px;
                height: 40px;
                opacity: 0;
            }
        }

        /* City Tooltip */
        .city-tooltip {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg,
                rgba(15, 14, 23, 0.95),
                rgba(30, 29, 38, 0.95));
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 217, 61, 0.3);
            border-radius: 12px;
            padding: 12px 16px;
            min-width: 150px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            pointer-events: none;
            z-index: 20;
        }

        .city-tooltip::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid rgba(255, 217, 61, 0.3);
        }

        .city-dot:hover .city-tooltip {
            opacity: 1;
            visibility: visible;
            bottom: 25px;
        }

        .city-dot:hover .dot-core {
            transform: translate(-50%, -50%) scale(1.5);
            box-shadow: 0 0 20px rgba(255, 217, 61, 0.8);
        }

        /* Tooltip Content */
        .city-name {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .city-time {
            display: block;
            font-size: 18px;
            font-weight: 700;
            color: var(--accent-mid);
            margin-bottom: 2px;
        }

        .city-date {
            display: block;
            font-size: 11px;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Time-based Color Coding */
        .city-dot[data-period="dawn"] .dot-core {
            background: linear-gradient(135deg, #FF6B6B, #FFD93D);
        }
        .city-dot[data-period="dawn"] .pulse-ring {
            border-color: #FF6B6B;
        }

        .city-dot[data-period="day"] .dot-core {
            background: linear-gradient(135deg, #FFD93D, #FFE66D);
        }
        .city-dot[data-period="day"] .pulse-ring {
            border-color: #FFD93D;
        }

        .city-dot[data-period="dusk"] .dot-core {
            background: linear-gradient(135deg, #4ECDC4, #44A08D);
        }
        .city-dot[data-period="dusk"] .pulse-ring {
            border-color: #4ECDC4;
        }

        .city-dot[data-period="night"] .dot-core {
            background: linear-gradient(135deg, #667eea, #764ba2);
        }
        .city-dot[data-period="night"] .pulse-ring {
            border-color: #667eea;
        }

        /* Speech Bubbles Container */
        .speech-bubbles-container {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 15;
        }

        /* Speech Bubble Styling */
        .speech-bubble {
            position: absolute;
            background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.95),
                rgba(255, 255, 255, 0.9));
            color: #333;
            padding: 8px 12px;
            border-radius: 16px;
            font-size: 13px;
            max-width: 200px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            opacity: 0;
            transform: translateY(10px) scale(0.8);
            animation: bubble-appear 4s ease-in-out;
            white-space: nowrap;
            font-weight: 500;
        }

        /* Speech Bubble Tail */
        .speech-bubble::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 20px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid rgba(255, 255, 255, 0.95);
        }

        /* Bubble Animation */
        @keyframes bubble-appear {
            0% {
                opacity: 0;
                transform: translateY(10px) scale(0.8);
            }
            20% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
            80% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
            100% {
                opacity: 0;
                transform: translateY(-10px) scale(0.9);
            }
        }

        /* Emoji in Speech Bubble */
        .speech-bubble .emoji {
            margin-right: 4px;
            font-size: 16px;
        }

        /* Connection Lines SVG */
        .connection-lines-svg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 4;
        }

        /* Connection Path Animation */
        .connection-path {
            fill: none;
            stroke: url(#connectionGradient);
            stroke-width: 2;
            stroke-linecap: round;
            opacity: 0;
            stroke-dasharray: 1000;
            stroke-dashoffset: 1000;
            animation: drawConnection 5s ease-in-out;
        }

        @keyframes drawConnection {
            0% {
                opacity: 0;
                stroke-dashoffset: 1000;
            }
            20% {
                opacity: 0.8;
                stroke-dashoffset: 1000;
            }
            50% {
                opacity: 1;
                stroke-dashoffset: 0;
            }
            80% {
                opacity: 1;
                stroke-dashoffset: 0;
            }
            100% {
                opacity: 0;
                stroke-dashoffset: 0;
            }
        }

        /* Pulse Effect on Connection */
        .connection-pulse {
            fill: var(--accent-mid);
            opacity: 0;
            r: 3;
            animation: pulseAlongLine 5s ease-in-out;
        }

        @keyframes pulseAlongLine {
            0%, 40% {
                opacity: 0;
            }
            50% {
                opacity: 1;
            }
            60%, 100% {
                opacity: 0;
            }
        }

        /* Connected Speech Bubbles */
        .speech-bubble.connected {
            background: linear-gradient(135deg,
                rgba(255, 217, 61, 0.95),
                rgba(255, 255, 255, 0.9));
            box-shadow: 0 0 20px rgba(255, 217, 61, 0.4);
            animation: connectedBubble 5s ease-in-out;
        }

        @keyframes connectedBubble {
            0% {
                opacity: 0;
                transform: translateY(10px) translateX(-50%) scale(0.8);
            }
            20% {
                opacity: 1;
                transform: translateY(0) translateX(-50%) scale(1);
            }
            80% {
                opacity: 1;
                transform: translateY(0) translateX(-50%) scale(1);
            }
            100% {
                opacity: 0;
                transform: translateY(-10px) translateX(-50%) scale(0.9);
            }
        }

        /* City Dot Glow Effect */
        .city-dot.connecting .dot-core {
            animation: glowConnect 5s ease-in-out;
        }

        @keyframes glowConnect {
            0%, 100% {
                box-shadow: 0 0 10px rgba(255, 217, 61, 0.5);
            }
            50% {
                box-shadow: 0 0 30px rgba(255, 217, 61, 1);
                transform: translate(-50%, -50%) scale(1.8);
            }
        }



        /* Small Mobile Devices (320px - 480px) */
        @media (max-width: 480px) {
            h1 {
                font-size: 1.75rem;
            }

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

            .hero-video {
                display: block; /* Show video on mobile too */
                min-width: 120%; /* Ensure full coverage on mobile */
                min-height: 120%;
            }

            .hero-video-overlay {
                background:
                    linear-gradient(160deg,
                        rgba(255, 107, 107, 0.15) 0%,
                        rgba(255, 217, 61, 0.1) 25%,
                        rgba(78, 205, 196, 0.15) 50%,
                        rgba(102, 126, 234, 0.1) 75%,
                        rgba(15, 14, 23, 0.85) 100%),
                    rgba(0, 0, 0, 0.4); /* Additional dark overlay for text readability */
                opacity: 0.95;
            }

            /* Add subtle texture pattern for mobile */
            #hero::after {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background:
                    radial-gradient(circle at 25% 25%, rgba(255, 217, 61, 0.08) 0%, transparent 40%),
                    radial-gradient(circle at 75% 75%, rgba(78, 205, 196, 0.08) 0%, transparent 40%),
                    radial-gradient(circle at 50% 10%, rgba(255, 107, 107, 0.06) 0%, transparent 35%);
                z-index: -1;
                pointer-events: none;
            }

            #hero .subtitle {
                font-size: 0.95rem;
                text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
                color: rgba(255, 255, 255, 0.95);
            }

            /* Mobile text enhancements */
            #hero h1 {
                text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
                color: #ffffff;
            }

            #hero .badge {
                background: rgba(255, 255, 255, 0.2);
                color: rgba(255, 255, 255, 0.9);
                border: 1px solid rgba(255, 255, 255, 0.3);
                backdrop-filter: blur(10px);
                text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
            }

            #hero .cta-buttons {
                flex-direction: column;
                width: 100%;
                padding: 0 20px;
                gap: 15px;
                max-width: 300px;
                margin: 0 auto;
            }

            #hero .cta-buttons .btn {
                width: 100%;
                min-height: 48px; /* Touch target size */
                max-width: 280px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 0.95rem;
                padding: 12px 20px;
                box-sizing: border-box;
            }

            /* Ensure buttons don't overflow container */
            .container {
                max-width: 100%;
                overflow-x: hidden;
            }

            .world-map-container {
                height: 250px;
                margin: 30px auto 0;
            }

            /* Show all dots on mobile - same as desktop */

            .city-dot {
                width: 10px;
                height: 10px;
            }

            .city-tooltip {
                min-width: 100px;
                padding: 6px 10px;
                font-size: 11px;
            }

            .city-name {
                font-size: 11px;
            }

            .city-time {
                font-size: 14px;
            }

            .city-date {
                font-size: 9px;
            }

            /* Mobile Speech Bubble Optimization */
            .speech-bubble {
                max-width: 160px;
                padding: 6px 10px;
                font-size: 11px;
                border-radius: 12px;
            }

            .speech-bubble.connected {
                max-width: 180px;
                font-size: 10px;
            }

            /* Mobile Connection Lines */
            .connection-path {
                stroke-width: 1.5;
            }

            /* Reduce animation intensity on mobile */
            .city-dot.connecting .dot-core {
                animation: glowConnectMobile 5s ease-in-out;
            }

            @keyframes glowConnectMobile {
                0%, 100% {
                    box-shadow: 0 0 8px rgba(255, 217, 61, 0.4);
                }
                50% {
                    box-shadow: 0 0 15px rgba(255, 217, 61, 0.8);
                    transform: translate(-50%, -50%) scale(1.3);
                }
            }

            /* Optimize touch targets */
            .city-dot {
                min-width: 44px;
                min-height: 44px;
            }

            .city-dot .dot-core,
            .city-dot .pulse-ring {
                width: 10px;
                height: 10px;
            }

            /* Mobile-specific city positioning adjustments */
            .city-dot[data-city="New York"] {
                left: 28% !important;
                top: 30% !important;
            }

            .city-dot[data-city="Los Angeles"] {
                left: 18% !important;
                top: 45% !important;
            }

            .city-dot[data-city="London"] {
                left: 45% !important;
                top: 25% !important;
            }

            .city-dot[data-city="Tokyo"] {
                left: 75% !important;
                top: 35% !important;
            }

            .city-dot[data-city="Seoul"] {
                left: 72% !important;
                top: 30% !important;
            }

            .city-dot[data-city="Sydney"] {
                left: 78% !important;
                top: 65% !important;
            }

            .city-dot[data-city="Singapore"] {
                left: 68% !important;
                top: 50% !important;
            }

            .city-dot[data-city="Dubai"] {
                left: 55% !important;
                top: 40% !important;
            }

            /* Reduce performance impact on mobile */
            .pulse-ring {
                animation-duration: 4s; /* Slower animation */
            }

            .speech-bubble {
                animation-duration: 3s; /* Faster bubble animation */
            }

            .bento-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .bento-card {
                padding: 20px;
            }

            .bento-card h3 {
                font-size: 1.2rem;
            }

            .bento-card p {
                font-size: 0.9rem;
            }
        }

        /* Tablet Devices (769px - 1024px) */
        @media (min-width: 769px) and (max-width: 1024px) {
            .container {
                padding: 0 30px;
            }

            .bento-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .bento-card.large {
                grid-column: span 2;
            }

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

            #hero .cta-buttons {
                flex-wrap: wrap;
                justify-content: center;
            }

            .world-map-container {
                height: 350px;
            }

            /* Show more dots on tablet */
            .city-dot:nth-child(6),
            .city-dot:nth-child(9) {
                display: block;
            }
        }

        /* Large Desktop (1200px+) */
        @media (min-width: 1200px) {
            .container {
                max-width: 1200px;
            }

            .bento-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        /* Touch Device Optimizations */
        @media (hover: none) and (pointer: coarse) {
            /* Ensure all interactive elements are at least 44x44px */
            .btn, button, a, input, select, textarea {
                min-height: 44px;
                min-width: 44px;
            }

            /* Remove hover effects on touch devices */
            .btn:hover {
                transform: none;
            }

            /* Increase tap target spacing */
            nav a {
                padding: 12px;
            }

            /* Optimize form inputs for touch */
            input, select, textarea {
                font-size: 16px; /* Prevents zoom on iOS */
                padding: 12px;
            }
        }

        /* Accessibility: Reduced Motion */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                transition-duration: 0.01ms !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
            }
        }

        /* Policy Pages */
        .policy-content {
            max-width: 800px;
            padding: 40px;
            margin: 80px auto;
            background: var(--dark-card);
            border: 1px solid var(--border);
            border-radius: 16px;
        }

        

        .policy-content h2 {
            padding-bottom: 10px;
            margin-top: 40px;
            margin-bottom: 15px;
            font-size: 1.8rem;
            border-bottom: 1px solid var(--border);
        }

        .policy-content p, .policy-content li {
            line-height: 1.8;
            color: var(--text-secondary);
        }

        .policy-content ul {
            padding-left: 20px;
        }

        .policy-content strong {
            font-weight: 700;
            color: var(--text-primary);
        }

        /* Sections */
        .section {
            padding: 80px 0;
        }

        .section-title {
            margin-bottom: 50px;
            font-size: 2.5rem;
            text-align: center;
        }
        
        /* Bento Grid */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .bento-card {
            padding: 24px;
            background: var(--dark-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .bento-card:hover {
            box-shadow: 0 8px 25px rgb(0 0 0 / 30%);
            transform: translateY(-5px);
        }

        .bento-card h3 {
            margin-top: 0;
            font-size: 1.5rem;
        }
        
        .bento-card p {
            color: var(--text-secondary);
        }

        /* Scrolling Banner */
        .scrolling-banner {
            overflow: hidden;
            padding: 20px 0;
            background-color: var(--dark-card);
            display: flex;
            white-space: nowrap;
        }

        .scrolling-banner-track {
            flex-shrink: 0;
            animation: scroll-left 40s linear infinite;
        }

        .scrolling-banner-track span {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-secondary);
            margin: 0 40px;
        }

        @keyframes scroll-left {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-100%);
            }
        }

        /* Testimonials */
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .testimonial-card {
            padding: 30px;
            background: var(--dark-card);
            border: 1px solid var(--border);
            border-radius: 16px;
        }

        .testimonial-text {
            font-size: 1.1rem;
            color: var(--text-primary);
            margin-bottom: 20px;
        }

        .testimonial-author {
            font-weight: 700;
            color: var(--text-secondary);
        }

        .testimonial-container {
            display: flex;
            gap: 20px;
            justify-content: center;
        }

        .testimonial-column-container {
            width: 350px; /* Adjust width as needed */
            overflow: hidden;
            height: 500px; /* Adjust height as needed */
            -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
        }

        .testimonial-column {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .testimonial-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        #testimonial-column-1 .testimonial-content, #testimonial-column-3 .testimonial-content {
            animation: scroll-up 60s linear infinite;
        }

        #testimonial-column-2 .testimonial-content {
            animation: scroll-down 60s linear infinite;
        }

        @keyframes scroll-up {
            from {
                transform: translateY(0);
            }
            to {
                transform: translateY(calc(-100% - 20px));
            }
        }

        @keyframes scroll-down {
            from {
                transform: translateY(calc(-100% - 20px));
            }
            to {
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            .testimonial-container {
                flex-direction: column;
            }

            .testimonial-column-container {
                width: 100%;
            }
        }

        /* FAQ */
        .faq-grid {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            border-bottom: 1px solid var(--border);
        }

        .faq-question {
            width: 100%;
            padding: 20px;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            background: none;
            border: none;
            text-align: left;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-question::after {
            content: '+';
            font-size: 2rem;
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-question::after {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out;
        }

        .faq-answer p {
            padding: 0 20px 20px;
            color: var(--text-secondary);
        }

                .faq-item.active .faq-answer {
            max-height: 1000px;
        }

        @media (width >= 768px) {
            .bento-grid {
                grid-template-rows: repeat(3, auto);
                grid-template-columns: repeat(4, 1fr);
            }

            .bento-card.large {
                grid-row: span 2;
                grid-column: span 2;
            }

            .bento-card.wide {
                grid-column: span 2;
            }
        }

        /* Tabs */
        .tabs-container {
            max-width: 800px;
            padding: 30px;
            margin: 0 auto;
            background: var(--dark-card);
            border: 1px solid var(--border);
            border-radius: 16px;
        }

        .tab-nav {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .tab-btn {
            padding: 10px 20px;
            font-size: 1rem;
            color: var(--text-secondary);
            cursor: pointer;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 8px;
            transition: all 0.3s;
        }

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

        .tab-content {
            display: none;
            text-align: center;
        }

        .tab-content.active {
            display: block;
        }
        
        .tab-content h3 {
            margin-bottom: 10px;
            font-size: 1.8rem;
        }

        .tab-content p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            color: var(--text-secondary);
        }

        /* Blog & Resources */
        .featured-article-card {
            padding: 40px;
            margin-bottom: 40px;
            text-align: center;
            background: linear-gradient(135deg, rgb(167 139 250 / 10%), rgb(244 114 182 / 10%));
            border: 1px solid var(--border);
            border-radius: 16px;
        }

        

        .featured-article-card h3 {
            margin-bottom: 15px;
            font-size: 2rem;
        }

        .featured-article-card p {
            max-width: 600px;
            margin: 0 auto 20px;
            color: var(--text-secondary);
        }

        .meta-data {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--text-secondary);
        }

        .text-link {
            font-weight: 700;
            color: var(--accent-start);
            text-decoration: none;
        }

        .text-link:hover {
            text-decoration: underline;
        }

        .article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .article-card {
            padding: 24px;
            background: var(--dark-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .article-card:hover {
            box-shadow: 0 8px 25px rgb(0 0 0 / 30%);
            transform: translateY(-5px);
        }

        .card-icon {
            margin-bottom: 10px;
            font-size: 2rem;
        }

        .article-card h4 {
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .article-card p {
            margin-bottom: 15px;
            color: var(--text-secondary);
        }

        /* Stats Section */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .stat-card {
            padding: 30px;
            text-align: center;
            background: var(--dark-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .stat-card:hover {
            box-shadow: 0 8px 25px rgb(0 0 0 / 30%);
            transform: translateY(-5px);
        }

        .stat-value {
            margin-bottom: 10px;
            font-size: 3rem;
            font-weight: 900;
            background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .stat-label {
            margin-bottom: 5px;
            font-size: 1.2rem;
            color: var(--text-primary);
        }

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

        /* Carousel */
        .carousel-container {
            position: relative;
            max-width: 700px;
            height: 150px; /* Adjust as needed */
            margin: 0 auto;
            text-align: center;
        }

        .carousel-slide {
            position: absolute;
            width: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
        }

        .carousel-slide.active {
            opacity: 1;
        }

        .carousel-slide h4 {
            margin-bottom: 10px;
            font-size: 1.5rem;
            color: var(--accent-start);
        }

        .carousel-slide p {
            font-size: 1.1rem;
            color: var(--text-secondary);
        }

        /* Download App Section */
        #download-app .container {
            text-align: center;
        }

        #download-app .subtitle {
            max-width: 450px;
            margin: 0 auto 30px;
            font-size: 1.1rem;
            color: var(--text-secondary);
        }

        #final-cta .subtitle {
            max-width: 600px;
            margin: 0 auto 30px;
            font-size: 1.1rem;
            color: var(--text-secondary);
        }

        .btn-large {
            padding: 16px 32px;
            font-size: 1.2rem;
        }

        .app-badges {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 30px;
        }

        .app-badges img {
            height: 50px;
            opacity: 0.8;
            transition: opacity 0.3s;
        }

        .app-badges img:hover {
            opacity: 1;
        }

        /* Download Section Title Styling */
        .download-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .download-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
        }

        .download-logo {
            font-family: 'Libre Barcode 39 Text', cursive;
            font-size: 3.5rem;
            background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
            letter-spacing: 2px;
        }

        /* Live Activity Feed */
        /* Modern Notification System */
        #notification-container {
            position: fixed;
            right: 20px;
            bottom: 30px;
            z-index: 1000;
            pointer-events: none;
        }

        .notification {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            min-width: 320px;
            max-width: 420px;
            padding: 16px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 16px;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateX(400px);
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            pointer-events: all;
        }

        .notification.show {
            opacity: 1;
            transform: translateX(0);
        }

        .notification.hide {
            opacity: 0;
            transform: translateX(400px);
        }

        .notification-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--sunset-orange) 0%, var(--accent-mid) 100%);
            border-radius: 12px;
            color: white;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 217, 61, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 217, 61, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 217, 61, 0);
            }
        }

        .notification-content {
            flex: 1;
            min-width: 0;
        }

        .notification-title {
            font-size: 14px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 4px;
            letter-spacing: 0.3px;
        }

:root {
  --hue: 27;
  --sat: 69%;
  --white: hsl(0, 0%, 100%);
  --purple-primary: rgba(132, 0, 255, 1);
  --purple-glow: rgba(132, 0, 255, 0.2);
  --purple-border: rgba(132, 0, 255, 0.8);
  --border-color: #392e4e;
  --background-dark: #060010;
  color-scheme: light dark;
}

.card-grid {
  display: grid;
  gap: 0.5em;
  padding: 0.75em;
  max-width: 54em;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  aspect-ratio: 4/3;
  min-height: 200px;
  width: 100%;
  max-width: 100%;
  padding: 1.25em;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--background-dark);
  font-weight: 300;
  overflow: hidden;
  transition: all 0.3s ease;

  --glow-x: 50%;
  --glow-y: 50%;
  --glow-intensity: 0;
  --glow-radius: 200px;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card__header,
.card__content {
  display: flex;
  position: relative;
  color: var(--white);
}

.card__header {
  gap: 0.75em;
  justify-content: space-between;
}

.card__content {
  flex-direction: column;
}

.card__label {
  font-size: 16px;
}

.card__title,
.card__description {
  --clamp-title: 1;
  --clamp-desc: 2;
}

.card__title {
  font-weight: 400;
  font-size: 16px;
  margin: 0 0 0.25em;
}

.card__description {
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.9;
}

.card--text-autohide .card__title,
.card--text-autohide .card__description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card--text-autohide .card__title {
  -webkit-line-clamp: var(--clamp-title);
  line-clamp: var(--clamp-title);
}

.card--text-autohide .card__description {
  -webkit-line-clamp: var(--clamp-desc);
  line-clamp: var(--clamp-desc);
}

@media (max-width: 599px) {
  .card-grid {
    grid-template-columns: 1fr;
    width: 90%;
    margin: 0 auto;
    padding: 0.5em;
  }

  .card {
    width: 100%;
    min-height: 180px;
  }
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card:nth-child(3) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .card:nth-child(4) {
    grid-column: 1 / span 2;
    grid-row: 2 / span 2;
  }

  .card:nth-child(6) {
    grid-column: 4;
    grid-row: 3;
  }
}

/* Border glow effect */
.card--border-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 6px;
  background: radial-gradient(
    var(--glow-radius) circle at var(--glow-x) var(--glow-y),
    rgba(132, 0, 255, calc(var(--glow-intensity) * 0.8)) 0%,
    rgba(132, 0, 255, calc(var(--glow-intensity) * 0.4)) 30%,
    transparent 60%
  );
  border-radius: inherit;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: subtract;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.card--border-glow:hover::after {
  opacity: 1;
}

.card--border-glow:hover {
  box-shadow:
    0 4px 20px rgba(46, 24, 78, 0.4),
    0 0 30px var(--purple-glow);
}

.particle-container {
  position: relative;
  overflow: hidden;
}

.particle::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: rgba(132, 0, 255, 0.2);
  border-radius: 50%;
  z-index: -1;
}

.particle-container:hover {
  box-shadow:
    0 4px 20px rgba(46, 24, 78, 0.2),
    0 0 30px var(--purple-glow);
}

/* Global spotlight styles */
.global-spotlight {
  mix-blend-mode: screen;
  will-change: transform, opacity;
  z-index: 200 !important;
  pointer-events: none;
}

.bento-section {
  position: relative;
  user-select: none;
}

        .notification-message {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.4;
            margin-bottom: 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .notification-time {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 500;
        }

        .notification-close {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.2s ease;
            padding: 0;
        }

        .notification-close:hover {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.8);
        }

        /* Progress bar for notification */
        .notification::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--dawn-pink) 0%, var(--sunset-orange) 100%);
            border-radius: 0 0 16px 16px;
            transform-origin: left;
            animation: progress 5s linear forwards;
        }

        @keyframes progress {
            from {
                transform: scaleX(1);
            }
            to {
                transform: scaleX(0);
            }
        }

        /* Hide notification on mobile to avoid clutter */
        @media (max-width: 768px) {
            #notification-container {
                right: 10px;
                bottom: 20px;
            }

            .notification {
                min-width: calc(100vw - 20px);
                max-width: calc(100vw - 20px);
            }
        }

        @media (max-width: 480px) {
            #notification-container {
                display: none;
            }
        }
        
        /* Footer */
        #main-footer {
            padding: 50px 0;
            background: var(--dark-card);
            border-top: 1px solid var(--border);
        }
        
        #main-footer .container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: space-between;
        }
        
        .footer-col {
            flex: 1;
            min-width: 200px;
        }
        
        .footer-col h4 {
            margin-bottom: 15px;
        }
        
        .footer-col ul {
            padding: 0;
            margin: 0;
            list-style: none;
        }
        
        .footer-col li {
            margin-bottom: 10px;
        }
        
        .footer-col a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-col a:hover {
            color: var(--text-primary);
        }

        .copyright {
            width: 100%;
            margin-top: 30px;
            font-size: 0.9rem;
            color: var(--text-secondary);
            text-align: center;
        }
