:root {
    --primary-color: #00d1c1; /* Institutional Cyan */
    --primary-glow: rgba(0, 209, 193, 0.4);
    --secondary-color: #040506; /* Deepest Black */
    --card-bg: rgba(20, 24, 28, 0.6);
    --text-primary: #f5f7f9;
    --text-secondary: rgba(245, 247, 249, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(4, 5, 6, 0.8);
    --font-main: 'Outfit', 'Inter', sans-serif;
    --glow: 0 10px 40px rgba(0, 209, 193, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #010101;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-teal { color: var(--primary-color); }
.text-gray { color: var(--text-secondary); }

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: #00b3a5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 209, 193, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

/* Header */
header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

header.scrolled {
    height: 72px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
    mix-blend-mode: screen; /* Perfect for white logo on black background */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.nav-btns {
    display: flex;
    gap: 15px;
}

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

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3; /* Behind background image and overlay */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: slowZoom 30s ease-infinite;
}

@keyframes slowZoom {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(1, 1, 1, 0.4) 0%, rgba(1, 1, 1, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 82px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 30px;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), #00f2e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Advantages Section */
.advantages {
    padding: 120px 0;
}

.adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.adv-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.section-head h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-head p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.adv-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.adv-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.adv-item h4 {
    margin-bottom: 10px;
}

.adv-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Investment Plans */
.plans {
    padding: 120px 0;
    background: #050505;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.plan-card {
    background: var(--card-bg);
    padding: 60px 50px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.plan-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.plan-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.plan-card .price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.plan-card .price span {
    font-size: 16px;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
}

.plan-features li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 15px;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* Reviews (Vertical Ticker) */
.reviews-section {
    padding: 120px 0;
}

.reviews-container {
    display: flex;
    gap: 30px;
    height: 700px;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.review-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-column-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: scrollUp 40s linear infinite;
}

.review-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.review-stars {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #000;
    border-top: 1px solid var(--border-color);
}

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

.footer-col h4 {
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* ============================================
   AUTH PAGES (Login / Register)
   ============================================ */

.auth-card {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 440px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: fadeUp 0.6s ease;
}

.auth-card.register {
    max-width: 600px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header img {
    height: 38px;
    margin-bottom: 25px;
    mix-blend-mode: screen;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.auth-header p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.auth-form .form-group {
    margin-bottom: 20px;
    width: 100%;
}

.auth-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: rgba(255,255,255,0.25);
    font-size: 14px;
    z-index: 1;
}

.input-wrapper i.toggle-password {
    left: auto;
    right: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.input-wrapper i.toggle-password:hover {
    color: var(--primary-color);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper select option {
    background-color: #14181c !important; /* Dark match to var(--card-bg) */
    color: #fff !important;
}

.input-wrapper input::placeholder {
    color: rgba(255,255,255,0.4);
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    background: rgba(0, 209, 193, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 209, 193, 0.1);
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.remember-me a {
    color: var(--primary-color);
    font-size: 12px;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    text-decoration: underline;
}

.w-100 { width: 100%; }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Registration Grid */
.auth-form.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

.col-6 {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
}

.col-12 {
    flex: 0 0 100%;
    width: 100%;
}

/* ============================================
   FINAL.HTML — ALTERNATE LANDING STYLES
   ============================================ */

/* Ticker Fixed */
.ticker-fixed {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 4px 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(0, 209, 193, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: rgba(0, 209, 193, 0.03);
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(0, 209, 193, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-box i {
    font-size: 22px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 100px 0;
}

/* Plan Cards (final.html variant) */
.plan-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.plan-percent {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.plan-percent span {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.plan-card.popular {
    border-color: var(--primary-color);
    background: rgba(0, 209, 193, 0.03);
    position: relative;
}

.plan-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 4px 14px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 0 0 8px 8px;
}

/* Buttons for alternate landing */
.btn-access {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-access:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 209, 193, 0.05);
}

/* Nav Links for final.html */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

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

/* Logo Wrapper */
.logo-wrapper {
    display: flex;
    align-items: center;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

/* Review Card (final.html additions) */
.review-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.review-text {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.author-role {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
}

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

/* Footer (final.html overrides) */
.footer-text {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
}

footer .footer-links h5 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

footer .footer-links a {
    display: block;
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   RESPONSIVENESS
   ============================================ */

@media (max-width: 991px) {
    .hero h1 { font-size: 48px; }
    .adv-grid { grid-template-columns: 1fr; gap: 60px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .plans-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .nav-btns { display: none; }
    .nav-actions { display: none; }

    /* Hamburger visible */
    .hamburger { display: flex; }

    /* Mobile Menu */
    nav ul,
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 30px 40px;
        gap: 0;
        z-index: 1000;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255,255,255,0.06);
    }

    nav ul.active,
    .nav-links.active {
        right: 0;
    }

    nav ul li a,
    .nav-links li a {
        font-size: 16px;
        padding: 16px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .hero h1 {
        font-size: 36px !important;
    }

    .hero p {
        font-size: 15px !important;
    }

    /* Fix hero buttons on mobile */
    .hero-content > .hero-btns-container {
        flex-direction: column !important;
    }
    .hero-content > .hero-btns-container > a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Fix headings on mobile */
    .section-head h2 {
        font-size: 32px !important;
    }

    .adv-list { grid-template-columns: 1fr !important; }
    .feature-grid { grid-template-columns: 1fr !important; }
    .plans-grid { grid-template-columns: 1fr !important; }
    .reviews-container { flex-direction: column !important; height: 500px !important; gap: 20px !important; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent) !important; -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent) !important; }
    .review-column { display: none !important; }
    .review-column:first-child { display: flex !important; }
    .review-column-inner { animation: scrollUp 30s linear infinite !important; gap: 20px !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

    /* Auth Pages */
    .auth-card {
        margin: 20px;
        padding: 35px 25px;
    }

    .auth-card.register {
        max-width: 100%;
    }

    .col-6 {
        flex: 0 0 100%;
        width: 100%;
    }

    .auth-form.row {
        gap: 0;
    }

    footer .footer-grid,
    footer > .container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        margin: 10px;
        padding: 30px 20px;
    }

    .auth-header h2 {
        font-size: 22px;
    }
}

 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . m o b i l e - a u t h   {   d i s p l a y :   b l o c k   ! i m p o r t a n t ;   } 
         . n a v - b t n s   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   } 
 } 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . m o b i l e - a u t h   {   d i s p l a y :   b l o c k   ! i m p o r t a n t ;   } 
         . n a v - b t n s   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   } 
 } 
 @ m e d i a   ( m i n - w i d t h :   7 6 9 p x )   { 
         . m o b i l e - a u t h   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   } 
 } 
  
 
@media (max-width: 768px) {
    .mobile-auth { display: block !important; }
    .nav-btns { display: none !important; }
}
@media (min-width: 769px) {
    .mobile-auth { display: none !important; }
}

/* ---------- Global Loader & Animations ---------- */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--secondary-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#global-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}
.loader-spinner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 1.5s ease infinite alternate;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.6; }
}
