/* ==========================================================
   DESIGN SYSTEM - NEON GREEN SLOTVERSE
   ========================================================== */

:root {
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Background Colors */
    --bg-primary: #07110d;
    --bg-secondary: #10251b;
    --glass-surface: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(34, 197, 94, 0.2);

    /* Accent Gradients & Glow Colors */
    --gradient-green: linear-gradient(135deg, #22c55e, #4ade80);
    --glow-green: rgba(34, 197, 94, 0.45);

    --gradient-lime: linear-gradient(135deg, #84cc16, #bef264);
    --glow-lime: rgba(132, 204, 22, 0.45);

    --gradient-emerald: linear-gradient(135deg, #10b981, #34d399);
    --glow-emerald: rgba(16, 185, 129, 0.4);

    /* Typography Colors */
    --text-primary: #f0fdf4;
    --text-secondary: #bbf7d0;
    --text-muted: #6b7280;

    /* Spacing Constants */
    --section-spacing: 120px;
}

/* ==========================================================
   RESET & BASE STYLES
   ========================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #10251b;
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Container Structure */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utility */
.gradient-text {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

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

/* ==========================================================
   BACKGROUND & GLOW SYSTEMS
   ========================================================== */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, rgba(34,197,94,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    transition: width 0.3s ease, height 0.3s ease;
}

.background-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--glow-green);
    top: 5%;
    left: 10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--glow-lime);
    top: 40%;
    right: 5%;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--glow-emerald);
    bottom: 10%;
    left: 15%;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================
   BUTTONS SYSTEM
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-green);
    color: #07110d;
}

.btn-glow {
    box-shadow: 0 4px 20px var(--glow-green);
}

.btn-glow:hover {
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.7);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--glass-surface);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: #4ade80;
    color: #4ade80;
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    margin-right: 8px;
}

/* ==========================================================
   HEADER / NAVIGATION SYSTEM
   ========================================================== */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1240px;
    background: rgba(16, 37, 27, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1000;
    transition: all 0.4s ease;
}

.main-header.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    background: rgba(7, 17, 13, 0.95);
}

.header-energy-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, #22c55e, #84cc16, transparent);
    animation: flowLine 4s linear infinite;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.6rem;
    letter-spacing: -2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================
   MOBILE MENU OVERLAY
   ========================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 17, 13, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    padding: 40px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-nav-link:hover {
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.6);
}

/* ==========================================================
   HERO SECTION SYSTEM
   ========================================================== */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: var(--section-spacing);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-container {
    margin-bottom: 24px;
}

.cyber-badge {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--glass-border);
    color: #4ade80;
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.legal-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-left: 2px solid #22c55e;
    padding-left: 16px;
    max-width: 500px;
    line-height: 1.4;
}

.disclaimer-icon {
    margin-right: 4px;
}

/* Hero Slot Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.neon-card-3d {
    background: rgba(16, 37, 27, 0.4);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 197, 94, 0.15);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.neon-card-3d:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-inner {
    position: relative;
}

.cyber-grid-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(34,197,94,0.1) 0%, transparent 80%);
    pointer-events: none;
}

.slot-reels-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    background: rgba(7, 17, 13, 0.8);
    border-radius: 18px;
    padding: 24px 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reel-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.symbol {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.glow-symbol {
    animation: pulseGlowSymbol 2s infinite alternate;
}

.card-bottom-bar {
    display: flex;
    justify-content: center;
}

.jackpot-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #4ade80;
}

.blinking {
    width: 8px;
    height: 8px;
    background-color: #bef264;
    border-radius: 50%;
    box-shadow: 0 0 10px #bef264;
    animation: blinkSpeed 1s infinite;
}

/* ==========================================================
   MAIN GAME SECTION (CORE FOCUS)
   ========================================================== */
.game-section {
    padding: var(--section-spacing) 0;
    background: radial-gradient(100% 100% at 50% 0%, rgba(16, 37, 27, 0.4) 0%, transparent 100%);
}

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

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #4ade80;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.game-wrapper {
    background: rgba(16, 37, 27, 0.45);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(18px);
}

.game-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-stat {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.btn-info {
    background: var(--glass-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-info:hover {
    border-color: #22c55e;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.game-frame-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9);
}

.frame-overlay-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.15);
    pointer-events: none;
    z-index: 5;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    z-index: 1;
}

.loader-container {
    position: absolute;
    inset: 0;
    background: #07110d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
}

.game-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================
   FEATURES SECTION
   ========================================================== */
.features-section {
    padding: var(--section-spacing) 0;
}

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

.feature-card {
    background: rgba(16, 37, 27, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.card-neon-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid transparent;
    pointer-events: none;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(16, 37, 27, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(34, 197, 94, 0.1);
}

.feature-card:hover .card-neon-border {
    border-color: rgba(34, 197, 94, 0.4);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-green);
}

.feature-card:hover .feature-icon path {
    stroke: #07110d;
}

.feature-icon {
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.about-section {
    padding: var(--section-spacing) 0;
    position: relative;
}

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

.about-text-content {
    display: flex;
    flex-direction: column;
}

.about-body {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-metrics {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #4ade80;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Graphic Cube */
.about-graphics {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 350px;
}

.about-graphic-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(34,197,94,0.3) 0%, transparent 75%);
    filter: blur(20px);
}

.glowing-cube {
    width: 140px;
    height: 140px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 12s infinite linear;
}

.cube-face {
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(16, 37, 27, 0.85);
    border: 2px solid #22c55e;
    box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #bef264;
    border-radius: 12px;
}

.front  { transform: rotateY(0deg) translateZ(70px); }
.back   { transform: rotateY(180deg) translateZ(70px); }
.right  { transform: rotateY(90deg) translateZ(70px); }
.left   { transform: rotateY(-90deg) translateZ(70px); }
.top    { transform: rotateX(90deg) translateZ(70px); }
.bottom { transform: rotateX(-90deg) translateZ(70px); }

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact-section {
    padding: var(--section-spacing) 0;
}

.contact-glass-panel {
    background: rgba(16, 37, 27, 0.45);
    border: 2px solid rgba(34, 197, 94, 0.25);
    border-radius: 28px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
}

.panel-accent-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(132,204,22,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-inner-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

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

.contact-sub {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-channel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.channel-icon {
    font-size: 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.channel-details {
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.channel-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.channel-link:hover {
    color: #4ade80;
}

.channel-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.channel-sub-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.form-input {
    background: rgba(7, 17, 13, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
    background: rgba(7, 17, 13, 0.9);
}

textarea.form-input {
    resize: none;
}

.form-feedback {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    display: none;
}

.form-feedback.success {
    color: #4ade80;
    display: block;
}

.form-feedback.error {
    color: #ef4444;
    display: block;
}

/* ==========================================================
   FOOTER SECTION
   ========================================================== */
.main-footer {
    background: #040a08;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
}

.footer-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-column .logo-area {
    margin-bottom: 20px;
}

.footer-disclaimer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.6;
}

.footer-address-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 2px solid rgba(34, 197, 94, 0.15);
    padding-left: 40px;
}

.footer-column-title {
    font-family: var(--font-heading);
    color: #4ade80;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-address-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.footer-support-email {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-mail-link {
    color: #4ade80;
    font-weight: 500;
}

.footer-mail-link:hover {
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legal-link:hover {
    color: #4ade80;
}

/* ==========================================================
   MODALS SYSTEM
   ========================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 8, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(16, 37, 27, 0.95);
    border: 2px solid rgba(34, 197, 94, 0.4);
    box-shadow: 0 20px 80px rgba(0,0,0,0.8), 0 0 50px rgba(34, 197, 94, 0.2);
    border-radius: 24px;
    width: 100%;
    max-width: 640px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #4ade80;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-body {
    max-height: 440px;
    overflow-y: auto;
    padding-right: 12px;
}

/* Modal Scrollbar Customization */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(34, 197, 94, 0.3);
    border-radius: 3px;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-body strong {
    color: #4ade80;
}

.how-to-list {
    padding-left: 20px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.how-to-list li {
    line-height: 1.5;
}

/* ==========================================================
   KEYFRAME ANIMATIONS
   ========================================================== */
@keyframes flowLine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes pulseGlowSymbol {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(34,197,94,0.4));
    }
    100% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(34,197,94,0.8));
    }
}

@keyframes blinkSpeed {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ==========================================================
   RESPONSIVE LAYOUT SYSTEM
   ========================================================== */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-headline {
        font-size: 3rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .legal-disclaimer {
        margin-left: auto;
        margin-right: auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-text-content {
        align-items: center;
        text-align: center;
    }
    .about-metrics {
        justify-content: center;
    }
    .contact-inner-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-address-column {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(34, 197, 94, 0.15);
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    .desktop-nav, .header-cta .btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-headline {
        font-size: 2.4rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .contact-glass-panel {
        padding: 30px 20px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
    }
}