 :root {
            --primary: #6C63FF;
            --primary-dark: #554FD8;
            --secondary: #00D4AA;
            --accent: #FF6B8B;
            --dark: #ffffff;
            --dark-light: #3a6b6e;
            --light: #F5F5F7;
            --text: #E2E2E2;
            --text-secondary: #A0A0B0;
            --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
            --gradient-accent: linear-gradient(135deg, var(--primary), var(--accent));
            --neon-glow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
        }

      

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Montserrat", sans-serif;
            transition: background-color 0.3s, color 0.3s;
        }

        body {
            background: var(--dark);
            color: var(--text);
            overflow-x: hidden;
        }

        html {
            scroll-behavior: smooth;
        }

        /* Loading Screen */
        #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--dark);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s;
        }

        .loading-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 40px;
            transform: scale(0);
            animation: logoReveal 1s ease forwards 0.5s;
        }

        .logo-icon {
            font-size: 32px;
            background: var(--gradient);
            background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 0 10px var(--primary));
        }

        .logo-text {
            font-family: "Orbitron", sans-serif;
            font-size: 28px;
            font-weight: 700;
            background: var(--gradient);
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
        }

        .cyber-spinner {
            width: 80px;
            height: 80px;
            border: 5px solid rgba(108, 99, 255, 0.3);
            border-top: 5px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            box-shadow: 0 0 15px var(--primary);
        }

        .loading-progress {
            margin-top: 20px;
            font-size: 14px;
            color: var(--text-secondary);
        }

        /* Header Styles */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(108, 99, 255, 0.2);
            transition: all 0.3s ease;
        }

        
        .header-scrolled {
            padding: 6px 0;
            box-shadow: 0 5px 20px rgb(255, 255, 255);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-menu {
            display: flex;
            gap: 30px;
        }

        .nav-link {
            color: var(--text);
            font-weight: 500;
            font-size: 16px;
            transition: all 0.3s ease;
            position: relative;
            text-decoration: none;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background: var(--gradient);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-actions {
            display: flex;
            gap: 15px;
            align-items: center;
            margin-left: auto;
        }

        .btn {
            padding: 10px 22px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            outline: none;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 7px 20px rgba(108, 99, 255, 0.4);
        }

        .btn-outline {
            background: transparent;
            color: var(--text);
            border: 1px solid var(--primary);
        }

        .btn-outline:hover {
            background: rgba(108, 99, 255, 0.1);
        }

        .btn-wallet {
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .theme-toggle {
            width: 50px;
            height: 26px;
            background: var(--dark-light);
            border-radius: 50px;
            position: relative;
            cursor: pointer;
            border: 1px solid var(--primary);
            box-shadow: var(--neon-glow);
            transition: all 0.3s ease;
        }

        .theme-toggle::before {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary);
            top: 2px;
            left: 3px;
            transition: all 0.3s ease;
            box-shadow: 0 0 10px var(--primary);
        }

        [data-theme="light"] .theme-toggle::before {
            left: 26px;
            background: var(--secondary);
            box-shadow: 0 0 10px var(--secondary);
        }

        .mobile-toggle {
            display: none;
            font-size: 26px;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 90px;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .hero-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 30% 30%, rgba(108, 99, 255, 0.1), transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 212, 170, 0.1), transparent 50%);
        }

        .parallax-bg {
            position: absolute;
            width: 100%;
            height: 120%;
            top: -10%;
            left: 0;
            z-index: -2;
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5%;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .hero-text {
            animation: fadeInUp 1s ease;
        }

        .hero-title {
            font-family: "Orbitron", sans-serif;
            font-size: 3.4rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 18px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .hero-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-top: 30px;
        }

        .stat {
            text-align: center;
            min-width: 120px;
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 700;
            background: var(--gradient);
            background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 5px;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .hero-visual {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: float 6s ease-in-out infinite;
        }

        .crypto-card {
            width: 280px;
            height: 170px;
            background: var(--dark-light);
            border-radius: 15px;
            padding: 18px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(108, 99, 255, 0.2);
        }

        .crypto-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient);
        }

        .card-chip {
            width: 40px;
            height: 30px;
            background: linear-gradient(135deg, #FFD700, #FFA500);
            border-radius: 5px;
            margin-bottom: 18px;
        }

        .card-number {
            font-family: "Orbitron", sans-serif;
            font-size: 1.1rem;
            letter-spacing: 2px;
            margin-bottom: 18px;
        }

        .card-details {
            display: flex;
            justify-content: space-between;
        }

        .card-holder,
        .card-expiry {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        .card-name {
            font-size: 0.9rem;
            font-weight: 600;
        }

        .floating-coins {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .coin {
            position: absolute;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            animation: floatCoin 10s linear infinite;
        }

        .coin:nth-child(1) {
            top: 10%;
            left: 10%;
            background: linear-gradient(135deg, #F7931A, #FFCE56);
        }

        .coin:nth-child(2) {
            top: 70%;
            left: 20%;
            background: linear-gradient(135deg, #627EEA, #7C9AFF);
            animation-delay: -2s;
        }

        .coin:nth-child(3) {
            top: 30%;
            right: 15%;
            background: linear-gradient(135deg, #00D4AA, #00FFC4);
            animation-delay: -4s;
        }

        .coin:nth-child(4) {
            bottom: 20%;
            right: 10%;
            background: linear-gradient(135deg, #FF6B8B, #FF8EA3);
            animation-delay: -6s;
        }

        /* Section Styles */
        .section {
            padding: 80px 5%;
            position: relative;
        }

        .section-title {
            font-family: "Orbitron", sans-serif;
            font-size: 2.2rem;
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .section-subtitle {
            text-align: center;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto 40px;
            font-size: 1.02rem;
            line-height: 1.6;
        }

        /* Crypto Charts */
        .charts-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
            margin-top: 30px;
        }

        .chart-card {
            background: var(--dark-light);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(108, 99, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .chart-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient);
        }

        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .chart-title {
            font-size: 1.05rem;
            font-weight: 600;
        }

        .chart-price {
            font-family: "Orbitron", sans-serif;
            font-size: 1rem;
            font-weight: 700;
            background: var(--gradient);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .chart-change {
            font-size: 0.85rem;
            margin-left: 8px;
        }

        .positive {
            color: #00D4AA;
        }

        .negative {
            color: #FF6B8B;
        }

        .chart-wrapper {
            height: 180px;
            position: relative;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .about-text h2 {
            font-family: "Orbitron", sans-serif;
            font-size: 2rem;
            margin-bottom: 18px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .about-text p {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 18px;
        }

        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
            margin-top: 15px;
        }

        .feature {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .feature-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background: var(--dark-light);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            color: var(--primary);
            flex-shrink: 0;
        }

        .feature-text h4 {
            font-size: 1rem;
            margin-bottom: 4px;
        }

        .feature-text p {
            font-size: 0.88rem;
            color: var(--text-secondary);
            margin: 0;
        }

        .about-visual {
            position: relative;
            display: flex;
            justify-content: center;
        }

        .visual-card {
            width: 100%;
            max-width: 380px;
            background: var(--dark-light);
            border-radius: 15px;
            padding: 24px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(108, 99, 255, 0.2);
            position: relative;
            overflow: hidden;
        }

        .visual-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(0, 212, 170, 0.05));
            z-index: -1;
        }

        /* Services Section */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
        }

        .service-card {
            background: var(--dark-light);
            border-radius: 15px;
            padding: 24px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(108, 99, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-icon {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--dark);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            margin: 0 auto 16px;
            color: var(--primary);
            border: 2px solid rgba(108, 99, 255, 0.2);
        }

        .service-card h3 {
            font-size: 1.15rem;
            margin-bottom: 10px;
        }

        .service-card p {
            color: var(--text-secondary);
            line-height: 1.55;
            font-size: 0.95rem;
        }

        /* Web3 / DeFi Hub */
        .web3-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 22px;
        }

        .web3-card {
            background: var(--dark-light);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(108, 99, 255, 0.15);
            position: relative;
            overflow: hidden;
        }

        .web3-tag {
            display: inline-block;
            padding: 3px 9px;
            border-radius: 999px;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            background: rgba(108, 99, 255, 0.1);
            margin-bottom: 8px;
        }

        .web3-card h3 {
            font-size: 1rem;
            margin-bottom: 6px;
        }

        .web3-card p {
            font-size: 0.92rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .web3-metrics {
            margin-top: 10px;
            font-size: 0.83rem;
            color: var(--text-secondary);
        }

        /* News Section */
        .news-grid {
            display: grid;
            grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
            gap: 30px;
        }

        .news-list {
            list-style: none;
        }

        .news-item {
            padding: 14px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .news-item:last-child {
            border-bottom: none;
        }

        .news-title {
            font-size: 0.98rem;
            margin-bottom: 4px;
        }

        .news-title a {
            color: inherit;
            text-decoration: none;
        }

        .news-title a:hover {
            color: var(--primary);
        }

        .news-meta {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .news-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 999px;
            font-size: 0.7rem;
            margin-right: 8px;
            background: rgba(0, 212, 170, 0.12);
        }

        .news-sidebar {
            background: var(--dark-light);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(108, 99, 255, 0.15);
        }

        /* FAQ Section */
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--dark-light);
            border-radius: 10px;
            margin-bottom: 12px;
            overflow: hidden;
            border: 1px solid rgba(108, 99, 255, 0.1);
        }

        .faq-question {
            padding: 16px 18px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 0.98rem;
        }

        .faq-question:hover {
            background: rgba(108, 99, 255, 0.05);
        }

        .faq-answer {
            padding: 0 18px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            color: var(--text-secondary);
            font-size: 0.93rem;
        }

        .faq-item.active .faq-answer {
            padding: 0 18px 14px;
            max-height: 500px;
        }

        .faq-toggle {
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-toggle {
            transform: rotate(45deg);
        }

        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 40px;
        }

        .contact-info h3 {
            font-size: 1.4rem;
            margin-bottom: 18px;
        }

        .contact-info p {
            color: var(--text-secondary);
            font-size: 0.96rem;
        }

        .contact-details {
            margin-top: 24px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 16px;
        }

        .contact-icon {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: var(--dark-light);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            color: var(--primary);
        }

        .contact-text h4 {
            font-size: 1rem;
            margin-bottom: 3px;
        }

        .contact-text p {
            color: var(--text-secondary);
            margin: 0;
            font-size: 0.9rem;
        }

        .contact-form {
            background: var(--dark-light);
            border-radius: 15px;
            padding: 22px;
            border: 1px solid rgba(108, 99, 255, 0.1);
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
            font-size: 0.92rem;
        }

        .form-control {
            width: 100%;
            padding: 10px 12px;
            background: var(--dark);
            border: 1px solid rgba(108, 99, 255, 0.2);
            border-radius: 8px;
            color: var(--text);
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
        }

        textarea.form-control {
            min-height: 110px;
            resize: vertical;
        }

        /* Auth Pages */
        .auth-container {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 100px 5% 50px;
            z-index: 2000;
        }

        .auth-card {
            background: var(--dark-light);
            border-radius: 20px;
            padding: 28px;
            width: 100%;
            max-width: 420px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(108, 99, 255, 0.2);
            position: relative;
            overflow: hidden;
        }

        .auth-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient);
        }

        .auth-header {
            text-align: center;
            margin-bottom: 18px;
        }

        .auth-title {
            font-family: "Orbitron", sans-serif;
            font-size: 1.6rem;
            margin-bottom: 6px;
            background: var(--gradient);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .auth-subtitle {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .auth-form .form-group {
            margin-bottom: 14px;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.86rem;
        }

        .forgot-password {
            color: var(--primary);
            font-size: 0.86rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        .auth-footer {
            text-align: center;
            margin-top: 16px;
            color: var(--text-secondary);
            font-size: 0.86rem;
        }

        .auth-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .auth-link:hover {
            text-decoration: underline;
        }

        /* Footer */
        footer {
            background: var(--dark-light);
            padding: 50px 5% 26px;
            border-top: 1px solid rgba(108, 99, 255, 0.1);
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 30px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-logo {
            margin-bottom: 14px;
        }

        .footer-about p {
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: 16px;
            font-size: 0.94rem;
        }

        .social-links {
            display: flex;
            gap: 12px;
        }

        .social-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--dark);
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--text);
            transition: all 0.3s ease;
            font-size: 0.96rem;
        }

        .social-link:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        .footer-heading {
            font-size: 1.05rem;
            margin-bottom: 14px;
            position: relative;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--gradient);
        }

        .footer-links {
            list-style: none;
            padding-left: 0;
        }

        .footer-links li {
            margin-bottom: 8px;
        }

        .footer-links a {
            color: var(--text-secondary);
            transition: all 0.3s ease;
            font-size: 0.9rem;
            text-decoration: none;
        }

        .footer-links a:hover {
            color: var(--primary);
            padding-left: 4px;
        }

        .footer-bottom {
            margin-top: 40px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.84rem;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(24px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-14px);
            }
        }

        @keyframes floatCoin {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            25% {
                transform: translateY(-16px) rotate(90deg);
            }
            50% {
                transform: translateY(0) rotate(180deg);
            }
            75% {
                transform: translateY(12px) rotate(270deg);
            }
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes logoReveal {
            0% {
                transform: scale(0);
                opacity: 0;
            }
            70% {
                transform: scale(1.05);
                opacity: 1;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Staggered fade-down for mobile nav links */
        @keyframes fadeDown {
            0% {
                opacity: 0;
                transform: translateY(-8px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .nav-menu.active .nav-link {
            opacity: 0;
            animation: fadeDown 0.4s ease forwards;
        }

        .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.05s; }
        .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.12s; }
        .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.19s; }
        .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.26s; }
        .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.33s; }
        .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.40s; }
        .nav-menu.active .nav-link:nth-child(7) { animation-delay: 0.47s; }
        .nav-menu.active .nav-link:nth-child(8) { animation-delay: 0.54s; }

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .hero-content,
            .about-content,
            .contact-container,
            .news-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .hero-title {
                font-size: 2.6rem;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {

            /* MOBILE HEADER BEHAVIOUR */
            .nav-container {
                padding: 12px 5%;
            }

            .nav-menu {
                position: fixed;
                top: 60px;
                right: -100%;
                width: 70%;
                height: calc(100vh - 60px);
                background: var(--dark);
                flex-direction: column;
                align-items: flex-start;
                padding: 18px 20px;
                gap: 14px;
                transition: right 0.35s ease;
                box-shadow: -4px 0 18px rgba(0, 0, 0, 0.6);
                z-index: 999;
            }

            .nav-menu.active {
                right: 0;
            }

            .nav-link {
                width: 100%;
                font-size: 1rem;
                opacity: 1; /* reset for desktop/mobile switching */
            }

            .nav-actions > .btn,
            .nav-actions > .theme-toggle {
                display: none !important; /* hide buttons & theme toggle on mobile */
            }

            .mobile-toggle {
                display: inline-flex;
                margin-left: 10px;
            }

            body.menu-open {
                overflow: hidden;
            }

            .logo-text {
                font-size: 20px;
            }

            .hero-content {
                grid-template-columns: 1fr;
            }

            .hero {
                padding-top: 80px;
            }

            .hero-title {
                font-size: 2.2rem;
            }

            .hero-stats {
                flex-direction: column;
                gap: 16px;
            }

            .about-features {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .auth-card {
                padding: 22px 16px;
            }

            .hero-actions {
                flex-direction: column;
                align-items: stretch;
            }
        }