/* ================================================
   RUBINUM CLASSIC - Landing Page Styles
   ================================================ */

/* CSS Variables */
:root {
    /* Colors - Warm Palette */
    --bg-dark: #251a17;
    --bg-secondary: #2e2220;
    --bg-tertiary: #3a2d2a;
    --bg-card: #352825;

    /* Reds */
    --accent-red: #821f1d;
    --accent-red-bright: #fa512a;
    --accent-red-medium: #c75031;

    /* Oranges */
    --accent-orange: #d4633a;
    --accent-orange-light: #e8845c;
    --accent-cream: #d7bea8;

    /* Green */
    --accent-green: #2ecc71;

    /* Browns */
    --brown: #955620;
    --brown-dark: #5d3a2f;
    --brown-darker: #4f241f;

    /* Beiges */
    --beige: #cab6a5;
    --beige-light: #d7bea8;

    --text-primary: #ffffff;
    --text-secondary: #cab6a5;
    --text-muted: #8a7a6d;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

/* ================================================
   Light Theme
   ================================================ */
[data-theme="light"] {
    /* Backgrounds - Warm beige/cream */
    --bg-dark: #d4c4b5;
    --bg-secondary: #c9b9a8;
    --bg-tertiary: #e8ddd0;
    --bg-card: #f5f0ea;

    /* Reds stay similar */
    --accent-red: #821f1d;
    --accent-red-bright: #e85a38;
    --accent-red-medium: #c75031;

    /* Oranges */
    --accent-orange: #d4633a;
    --accent-orange-light: #e8845c;
    --accent-cream: #8b7355;

    /* Browns */
    --brown: #7a5230;
    --brown-dark: #5d3a2f;
    --brown-darker: #4a3828;

    /* Beiges */
    --beige: #6b5a48;
    --beige-light: #8b7a68;

    /* Text - Dark for readability */
    --text-primary: #2a1810;
    --text-secondary: #4a3828;
    --text-muted: #6b5a48;
}

/* Light theme specific overrides */
[data-theme="light"] .navbar {
    background: rgba(74, 56, 40, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(74, 56, 40, 0.98);
}

[data-theme="light"] .nav-menu a {
    color: #d4c4b5;
}

[data-theme="light"] .nav-menu a:hover {
    color: #fff;
}

[data-theme="light"] .hero-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(74, 56, 40, 0.85) 0%,
            rgba(74, 56, 40, 0.3) 20%,
            transparent 35%
        ),
        radial-gradient(
            ellipse at center,
            rgba(74, 56, 40, 0.1) 0%,
            rgba(74, 56, 40, 0.3) 60%,
            rgba(74, 56, 40, 0.6) 100%
        ),
        linear-gradient(
            0deg,
            rgba(212, 196, 181, 1) 0%,
            rgba(212, 196, 181, 0.7) 8%,
            rgba(212, 196, 181, 0.3) 20%,
            transparent 45%
        );
}

[data-theme="light"] .section-title {
    color: #2a1810;
}

[data-theme="light"] .section-label {
    color: #c75031;
}

[data-theme="light"] .feature-tab {
    background: #f5f0ea;
    border-color: #c9b9a8;
}

[data-theme="light"] .feature-tab:hover {
    border-color: #d4633a;
}

[data-theme="light"] .feature-tab.active {
    background: linear-gradient(135deg, #c75031 0%, #821f1d 100%);
}

[data-theme="light"] .feature-headline {
    color: #2a1810;
}

[data-theme="light"] .status-tab {
    background: #f5f0ea;
    border-color: #c9b9a8;
    color: #4a3828;
}

[data-theme="light"] .status-tab:hover {
    border-color: #d4633a;
    color: #d4633a;
}

[data-theme="light"] .status-tab.active {
    background: linear-gradient(135deg, #4a3828 0%, #821f1d 100%);
    color: #fff;
}

[data-theme="light"] .system-item {
    background: #f5f0ea;
    border-color: #c9b9a8;
}

[data-theme="light"] .concept-card,
[data-theme="light"] .dev-card {
    background: #f5f0ea;
    border-color: #c9b9a8;
}

[data-theme="light"] .concept-card h3,
[data-theme="light"] .dev-card h3 {
    color: #2a1810;
}

[data-theme="light"] .features-overlay {
    background: linear-gradient(
        135deg,
        rgba(212, 196, 181, 0.85) 0%,
        rgba(201, 185, 168, 0.9) 50%,
        rgba(212, 196, 181, 0.85) 100%
    );
}

[data-theme="light"] .register-overlay {
    background: linear-gradient(
        135deg,
        rgba(212, 196, 181, 0.95) 0%,
        rgba(201, 185, 168, 0.9) 50%,
        rgba(212, 196, 181, 0.95) 100%
    );
}

[data-theme="light"] .register-form {
    background: linear-gradient(135deg, #f5f0ea 0%, #e8ddd0 100%);
    border-color: #c9b9a8;
}

[data-theme="light"] .form-group input {
    background: #fff;
    border-color: #c9b9a8;
    color: #2a1810;
}

[data-theme="light"] .form-group input::placeholder {
    color: #8b7a68;
}

[data-theme="light"] .footer {
    background: linear-gradient(180deg, #4a3828 0%, #2a1810 100%);
}

[data-theme="light"] .footer-bottom p,
[data-theme="light"] .footer-nav a,
[data-theme="light"] .footer-divider {
    color: #c9b9a8;
}

[data-theme="light"] .discord-float {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

/* Light theme DEV Roadmap overrides */
[data-theme="light"] .roadmap-title {
    color: #2a1810;
}

[data-theme="light"] .roadmap-subtitle {
    color: #5a4838;
}

[data-theme="light"] .timeline-progress {
    background: rgba(42, 24, 16, 0.15);
}

[data-theme="light"] .timeline-node {
    background: #fff;
    border-color: #c9b9a8;
}

[data-theme="light"] .timeline-node svg {
    color: #5a4838;
}

[data-theme="light"] .timeline-item.completed .timeline-node {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

[data-theme="light"] .timeline-item.completed .timeline-node svg {
    color: #1a1a1a;
    stroke-width: 2;
}

[data-theme="light"] .timeline-item.active .timeline-node {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

[data-theme="light"] .timeline-item.active .timeline-node svg {
    color: #1a1a1a;
}

[data-theme="light"] .timeline-item.upcoming .timeline-node,
[data-theme="light"] .timeline-item.launch .timeline-node {
    background: #fff;
    border-color: #c9b9a8;
}

[data-theme="light"] .timeline-item.upcoming .timeline-node svg,
[data-theme="light"] .timeline-item.launch .timeline-node svg {
    color: #8b7a68;
}

[data-theme="light"] .timeline-label {
    color: #5a4838;
}

[data-theme="light"] .timeline-item.completed .timeline-label {
    color: var(--accent-green);
}

[data-theme="light"] .timeline-item.active .timeline-label {
    color: var(--accent-orange);
}

[data-theme="light"] .timeline-item:hover .timeline-label {
    color: var(--accent-orange);
}

[data-theme="light"] .timeline-card {
    background: #f5f0ea;
    border-color: #c9b9a8;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .timeline-card h4 {
    color: var(--accent-orange);
}

[data-theme="light"] .timeline-card li {
    color: #5a4838;
}

[data-theme="light"] .timeline-card li::before {
    color: var(--accent-orange);
}

[data-theme="light"] .progress-bar {
    background: rgba(42, 24, 16, 0.15);
}

/* Light theme button overrides */
[data-theme="light"] .btn-contact {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #f5f0ea;
}

[data-theme="light"] .btn-contact:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-orange-light);
    color: var(--accent-orange-light);
}


[data-theme="light"] .btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--accent-red-medium);
    color: var(--accent-red-medium);
}

[data-theme="light"] .btn-secondary:hover {
    background: var(--accent-red-medium);
    color: #fff;
    box-shadow:
        0 6px 20px rgba(199, 80, 49, 0.4),
        0 0 30px rgba(199, 80, 49, 0.2);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 6px 30px rgba(199, 80, 49, 0.4);
}

[data-theme="light"] .status-tab.active {
    background: linear-gradient(135deg, var(--accent-red-medium) 0%, var(--accent-red) 100%);
}

[data-theme="light"] .mist {
    background: linear-gradient(
        to top,
        rgba(15, 8, 5, 1) 0%,
        rgba(15, 8, 5, 0.85) 30%,
        rgba(15, 8, 5, 0.5) 60%,
        transparent 100%
    );
}

/* ================================================
   Reset & Base
   ================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ================================================
   Container
   ================================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   Buttons
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red-medium) 0%, var(--accent-red) 100%);
    color: #fff;
    box-shadow:
        0 4px 15px rgba(199, 80, 49, 0.4),
        0 8px 30px rgba(130, 31, 29, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-red-bright) 0%, var(--accent-red-medium) 100%);
    box-shadow:
        0 6px 20px rgba(250, 81, 42, 0.5),
        0 12px 40px rgba(199, 80, 49, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Animated Join Now Button */
@keyframes scalePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-primary.btn-animated {
    animation: scalePulse 2s ease-in-out infinite;
}

.btn-primary.btn-animated:hover {
    animation: none;
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(20, 14, 12, 0.6);
    color: #fff;
    border: 1px solid rgba(212, 99, 58, 0.5);
    backdrop-filter: blur(12px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(212, 99, 58, 0.2);
    border-color: var(--accent-orange);
    color: #fff;
    box-shadow:
        0 6px 20px rgba(212, 99, 58, 0.3),
        0 0 30px rgba(212, 99, 58, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 10px 20px;
    font-size: 13px;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.btn-contact {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--brown-dark);
    padding: 10px 20px;
    font-size: 13px;
}

.btn-contact:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* Theme Switch */
.theme-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.theme-switch svg {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-normal);
}

.theme-switch .icon-moon {
    color: #f5f0ea;
}

.theme-switch .switch-slider {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-normal);
    transform: translateX(-20px);
}

/* Light mode - slider moves right (to sun) */
[data-theme="light"] .theme-switch .switch-slider {
    transform: translateX(20px);
    background: #4a3828;
}

[data-theme="light"] .theme-switch .icon-sun {
    color: #fff;
}

[data-theme="light"] .theme-switch .icon-moon {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .theme-switch {
    background: rgba(255, 255, 255, 0.25);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lang-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
}

.lang-arrow {
    transition: transform var(--transition-normal);
}

.lang-dropdown.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: var(--bg-card);
    border: 1px solid var(--brown-dark);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.lang-dropdown.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-secondary);
    font-size: 13px;
    transition: all var(--transition-fast);
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-option:hover {
    background: rgba(212, 99, 58, 0.1);
    color: var(--accent-orange);
}

.lang-option.active {
    color: var(--accent-orange);
    background: rgba(212, 99, 58, 0.1);
}

/* Light theme */
[data-theme="light"] .lang-toggle {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .lang-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .lang-menu {
    background: #f5f0ea;
    border-color: #c9b9a8;
}

[data-theme="light"] .lang-option {
    color: #4a3828;
}

[data-theme="light"] .lang-option:hover,
[data-theme="light"] .lang-option.active {
    background: rgba(199, 80, 49, 0.1);
    color: var(--accent-red-medium);
}

.btn-full {
    width: 100%;
}

/* ================================================
   Section Headers
   ================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.brush-stroke {
    width: 120px;
    height: 8px;
    margin: 0 auto;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-red-medium) 20%,
        var(--accent-red) 50%,
        var(--accent-red-medium) 80%,
        transparent 100%
    );
    border-radius: 4px;
    opacity: 0.9;
}

/* ================================================
   Navigation
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(37, 26, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(202, 182, 165, 0.15);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(37, 26, 23, 0.98);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width var(--transition-normal);
}

.nav-menu a:hover {
    color: var(--accent-orange);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Fire Particles */
.fire-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.fire-particles .particle {
    position: absolute;
    bottom: -20px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ff6b35 0%, #ff4500 40%, #d4633a 70%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    animation: fireFloat 4s ease-in infinite;
    box-shadow:
        0 0 10px #ff6b35,
        0 0 20px #ff4500,
        0 0 30px rgba(212, 99, 58, 0.5);
}

/* Distribute particles across the screen */
.fire-particles .particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 3.5s; }
.fire-particles .particle:nth-child(2) { left: 10%; animation-delay: 0.5s; animation-duration: 4s; }
.fire-particles .particle:nth-child(3) { left: 15%; animation-delay: 1s; animation-duration: 3.8s; }
.fire-particles .particle:nth-child(4) { left: 20%; animation-delay: 0.3s; animation-duration: 4.2s; }
.fire-particles .particle:nth-child(5) { left: 25%; animation-delay: 1.5s; animation-duration: 3.6s; }
.fire-particles .particle:nth-child(6) { left: 30%; animation-delay: 0.8s; animation-duration: 4.5s; }
.fire-particles .particle:nth-child(7) { left: 35%; animation-delay: 2s; animation-duration: 3.9s; }
.fire-particles .particle:nth-child(8) { left: 40%; animation-delay: 0.2s; animation-duration: 4.1s; }
.fire-particles .particle:nth-child(9) { left: 45%; animation-delay: 1.2s; animation-duration: 3.7s; }
.fire-particles .particle:nth-child(10) { left: 50%; animation-delay: 0.6s; animation-duration: 4.3s; }
.fire-particles .particle:nth-child(11) { left: 55%; animation-delay: 1.8s; animation-duration: 3.4s; }
.fire-particles .particle:nth-child(12) { left: 60%; animation-delay: 0.4s; animation-duration: 4.4s; }
.fire-particles .particle:nth-child(13) { left: 65%; animation-delay: 1.3s; animation-duration: 3.5s; }
.fire-particles .particle:nth-child(14) { left: 70%; animation-delay: 0.9s; animation-duration: 4.6s; }
.fire-particles .particle:nth-child(15) { left: 75%; animation-delay: 2.2s; animation-duration: 3.8s; }
.fire-particles .particle:nth-child(16) { left: 80%; animation-delay: 0.7s; animation-duration: 4s; }
.fire-particles .particle:nth-child(17) { left: 85%; animation-delay: 1.6s; animation-duration: 3.6s; }
.fire-particles .particle:nth-child(18) { left: 90%; animation-delay: 0.1s; animation-duration: 4.2s; }
.fire-particles .particle:nth-child(19) { left: 95%; animation-delay: 1.9s; animation-duration: 3.9s; }
.fire-particles .particle:nth-child(20) { left: 98%; animation-delay: 2.5s; animation-duration: 4.1s; }

/* Vary particle sizes */
.fire-particles .particle:nth-child(odd) {
    width: 6px;
    height: 6px;
}

.fire-particles .particle:nth-child(3n) {
    width: 10px;
    height: 10px;
}

.fire-particles .particle:nth-child(5n) {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ffa500 0%, #ff6b35 50%, transparent 100%);
}

@keyframes fireFloat {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(1);
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(30px) scale(0.3);
    }
}

/* Mist/Fog */
.mist-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.mist {
    position: absolute;
    width: 200%;
    height: 300px;
    bottom: -50px;
    left: -50%;
    background: linear-gradient(
        to top,
        rgba(37, 26, 23, 0.8) 0%,
        rgba(37, 26, 23, 0.4) 30%,
        rgba(93, 58, 47, 0.2) 60%,
        transparent 100%
    );
    filter: blur(20px);
    animation: mistDrift 20s ease-in-out infinite;
}

.mist-1 {
    animation-delay: 0s;
    opacity: 0.7;
}

.mist-2 {
    animation-delay: -7s;
    opacity: 0.5;
    height: 250px;
    filter: blur(30px);
}

.mist-3 {
    animation-delay: -14s;
    opacity: 0.6;
    height: 200px;
    filter: blur(15px);
}

@keyframes mistDrift {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    25% {
        transform: translateX(5%) scaleY(1.1);
    }
    50% {
        transform: translateX(-3%) scaleY(0.9);
    }
    75% {
        transform: translateX(3%) scaleY(1.05);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Multi-layer gradient for better text readability */
    background:
        /* Top fade for navbar */
        linear-gradient(
            180deg,
            rgba(37, 26, 23, 0.85) 0%,
            rgba(37, 26, 23, 0.3) 20%,
            transparent 35%
        ),
        /* Center vignette for content area */
        radial-gradient(
            ellipse at center,
            rgba(37, 26, 23, 0.2) 0%,
            rgba(37, 26, 23, 0.4) 60%,
            rgba(37, 26, 23, 0.7) 100%
        ),
        /* Bottom fade for scroll transition */
        linear-gradient(
            0deg,
            rgba(37, 26, 23, 1) 0%,
            rgba(37, 26, 23, 0.7) 8%,
            rgba(37, 26, 23, 0.3) 20%,
            transparent 45%
        ),
        /* Subtle color tint */
        linear-gradient(
            135deg,
            rgba(130, 31, 29, 0.1) 0%,
            transparent 50%,
            rgba(79, 36, 31, 0.15) 100%
        );
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 500px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    max-width: 500px;
    line-height: 1.5;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Launch Badge - Elegant style matching landing aesthetic */
.launch-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(37, 26, 23, 0.95) 0%, rgba(46, 34, 32, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid var(--brown-dark);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    transition: all 0.3s ease;
    overflow: hidden;
}

.launch-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

.launch-badge:hover {
    transform: translateY(-2px);
    border-color: var(--accent-orange);
}

.launch-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.launch-badge .separator {
    width: 4px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 50%;
}

.launch-date {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-orange);
    letter-spacing: 1px;
}

/* Hide unused elements */
.launch-badge .corner,
.launch-badge .badge-particle {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

@keyframes shimmer {
    0% { left: -100%; }
    60%, 100% { left: 150%; }
}

@keyframes textGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(212, 99, 58, 0.4)) drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(212, 99, 58, 0.7)) drop-shadow(0 0 50px rgba(255, 215, 0, 0.4));
    }
}

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.8; transform: translateY(-10px) scale(1); }
    80% { opacity: 0.8; transform: translateY(-30px) scale(1); }
    100% { opacity: 0; transform: translateY(-40px) scale(0); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ================================================
   Features Section
   ================================================ */
.features {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.features-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.features-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -3px;
    opacity: 0.3;
}

.features-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(37, 26, 23, 0.85) 0%,
        rgba(46, 34, 32, 0.9) 50%,
        rgba(37, 26, 23, 0.85) 100%
    );
    z-index: 1;
}

.features .container {
    position: relative;
    z-index: 2;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), var(--accent-orange), var(--accent-red), transparent);
    opacity: 0.6;
    z-index: 3;
}

/* Feature Tabs */
.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px 25px;
    background: var(--bg-card);
    border: 1px solid var(--brown-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 140px;
}

.feature-tab:hover {
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

.feature-tab.active {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--brown-darker) 100%);
    border-color: var(--accent-red-medium);
    box-shadow: 0 10px 30px rgba(130, 31, 29, 0.3);
}

.tab-number {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-orange);
    letter-spacing: 2px;
}

.feature-tab.active .tab-number {
    color: var(--accent-orange-light);
}

.tab-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-tab.active .tab-title {
    color: var(--text-primary);
}

/* Feature Content */
.feature-content-wrapper {
    position: relative;
}

.feature-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.feature-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-headline {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--accent-cream);
    text-align: center;
    margin-bottom: 30px;
}

/* Feature Layout (Side by Side) */
.feature-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-image {
    flex: 1;
    max-width: 600px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 2px solid var(--brown-dark);
    position: relative;
}

.feature-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.feature-info {
    flex: 1;
    max-width: 450px;
}

.feature-info .feature-headline {
    text-align: left;
    margin-bottom: 20px;
}

.feature-info .feature-description {
    text-align: left;
    margin: 0;
    max-width: none;
}

.feature-info .feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
}

.feature-info .feature-list li {
    font-size: 14px;
    color: var(--text-primary);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.feature-info .feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

/* Feature Slideshow (Legacy) */
.feature-slideshow {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 2px solid var(--brown-dark);
}

.feature-slideshow .swiper-slide {
    height: auto;
    position: relative;
}

/* Slide Text Overlay */
.slide-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
    padding: 15px 40px;
    background: linear-gradient(135deg, rgba(45, 30, 25, 0.95) 0%, rgba(80, 45, 30, 0.9) 50%, rgba(55, 35, 28, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 99, 58, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 10;
    text-align: center;
}

.slide-text-right {
    right: 120px;
}

.slide-text-left {
    left: 30px;
    text-align: left;
}

.slide-text-bottom {
    top: auto;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.slide-text-bottom .feature-list {
    text-align: center;
}

.slide-text-bottom .feature-list li {
    padding-left: 0;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-text-bottom .feature-list li::before {
    display: none;
}

.slide-text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.slide-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.slide-text .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.slide-text .feature-list li {
    font-size: 14px;
    color: var(--text-primary);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}

.slide-text .feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.slide-text .feature-list li:last-child {
    color: var(--text-secondary);
}

.feature-slideshow .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.feature-slideshow .swiper-button-prev,
.feature-slideshow .swiper-button-next {
    color: var(--accent-orange);
    background: rgba(37, 26, 23, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 20;
    margin-top: -22px;
}

.feature-slideshow .swiper-button-prev:hover,
.feature-slideshow .swiper-button-next:hover {
    background: var(--accent-orange);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(212, 99, 58, 0.4);
}

.feature-slideshow .swiper-button-prev:active,
.feature-slideshow .swiper-button-next:active {
    transform: scale(0.95);
}

.feature-slideshow .swiper-button-prev::after,
.feature-slideshow .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.feature-slideshow .swiper-pagination {
    position: absolute;
    bottom: 15px;
}

.feature-slideshow .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.feature-slideshow .swiper-pagination-bullet-active {
    background: var(--accent-orange);
    opacity: 1;
}

.feature-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ================================================
   Status Section
   ================================================ */
.status {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

/* Status Tabs */
.status-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.status-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background: var(--bg-card);
    border: 1px solid var(--brown-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.status-tab svg {
    width: 20px;
    height: 20px;
}

.status-tab:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.status-tab.active {
    background: linear-gradient(135deg, var(--brown-darker) 0%, var(--accent-red) 100%);
    border-color: var(--accent-red-medium);
    color: var(--text-primary);
}

.status-tab.active svg {
    stroke: var(--accent-orange);
}

/* Status Content */
.status-content-wrapper {
    position: relative;
    min-height: 400px;
}

.status-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.status-content.active {
    display: block;
}

/* Systems Grid */
.systems-intro h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--accent-cream);
    text-align: center;
    margin-bottom: 40px;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.system-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 15px;
    background: var(--bg-card);
    border: 1px solid var(--brown-dark);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.system-item.no-click {
    cursor: default;
}

.system-item:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 155, 0, 0.1);
}

.system-icon-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

img.system-icon {
    max-width: 35px;
    max-height: 35px;
    object-fit: contain;
}

span.system-icon {
    font-size: 28px;
}

.system-item span:last-child {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Systems Gallery Container */
.systems-gallery-container {
    max-width: 900px;
    margin: 30px auto 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 2px solid var(--brown-medium);
    background: var(--bg-card);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.systems-gallery-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

.systems-gallery-container img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: saturate(0.7);
}

/* Concept Card */
.concept-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--brown-dark);
    text-align: left;
}

.concept-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.concept-subtitle {
    font-size: 16px;
    color: var(--accent-orange);
    margin-bottom: 30px;
    font-weight: 500;
}

.concept-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.concept-text p:last-child {
    margin-bottom: 0;
}

.concept-text strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* DEV Roadmap */
.dev-roadmap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.roadmap-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 10px;
}

.roadmap-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 16px;
}

/* Timeline */
.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    padding: 0 20px;
}

.timeline-progress {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--brown-dark);
    border-radius: 2px;
}

.timeline-progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-orange) 100%);
    border-radius: 2px;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 10px var(--accent-orange);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-orange), 0 0 30px var(--accent-orange);
    }
}

/* Timeline Items */
.timeline-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 3px solid var(--brown-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.timeline-node svg {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

/* Completed Phase */
.timeline-item.completed .timeline-node {
    background: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

.timeline-item.completed .timeline-node svg {
    color: #1a1a1a;
    stroke-width: 2;
}

/* Active Phase */
.timeline-item.active .timeline-node {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item.active .timeline-node svg {
    color: var(--bg-dark);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 122, 49, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 122, 49, 0.8), 0 0 60px rgba(212, 122, 49, 0.4);
        transform: scale(1.05);
    }
}

/* Upcoming Phase */
.timeline-item.upcoming .timeline-node,
.timeline-item.launch .timeline-node {
    background: var(--bg-card);
    border-color: var(--brown-dark);
}

/* Hover Effects */
.timeline-item:hover .timeline-node {
    transform: scale(1.1);
    border-width: 4px;
}

.timeline-item.completed:hover .timeline-node {
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.6);
}

.timeline-item.active:hover .timeline-node {
    box-shadow: 0 0 50px rgba(212, 122, 49, 0.9);
}

.timeline-item.upcoming:hover .timeline-node,
.timeline-item.launch:hover .timeline-node {
    border-color: var(--accent-orange);
}

.timeline-item.upcoming:hover .timeline-node svg,
.timeline-item.launch:hover .timeline-node svg {
    color: var(--accent-orange);
}

/* Timeline Labels */
.timeline-label {
    margin-top: 15px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: color 0.3s ease;
}

.timeline-item.completed .timeline-label {
    color: var(--accent-green);
}

.timeline-item.active .timeline-label {
    color: var(--accent-orange);
}

.timeline-item:hover .timeline-label {
    color: var(--accent-orange);
}

/* Timeline Cards */
.timeline-card {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--brown-dark);
    border-radius: var(--border-radius-md);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.timeline-item:hover .timeline-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.timeline-card h4 {
    font-family: var(--font-heading);
    color: var(--accent-orange);
    font-size: 16px;
    margin-bottom: 12px;
}

.timeline-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-card li {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.timeline-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-size: 10px;
}

/* Progress Bar in Card */
.progress-bar {
    margin-top: 15px;
    height: 6px;
    background: var(--brown-dark);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-orange) 100%);
    border-radius: 3px;
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Dev Actions */
.dev-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================
   Register Section
   ================================================ */
.register {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.register-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.register-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.register-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(37, 26, 23, 0.95) 0%,
        rgba(46, 34, 32, 0.9) 50%,
        rgba(37, 26, 23, 0.95) 100%
    );
    z-index: 1;
}

.register .container {
    position: relative;
    z-index: 2;
}

.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.register-info .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.register-info .brush-stroke {
    margin: 0;
    transform: translateY(-15px);
}

.register-info > p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
}

.register-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.register-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.register-benefits li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red-bright) 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(230, 155, 0, 0.5);
}

.register-form {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--brown-darker) 100%);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--brown-dark);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--brown-dark);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(230, 155, 0, 0.15);
}

.form-helper {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Password Strength Indicator */
.password-strength-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.password-strength-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

.strength-bars {
    display: flex;
    gap: 4px;
    flex: 1;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background: var(--brown-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-bar.active {
    transform: scaleY(1.5);
}

.strength-bar.active.weak {
    background: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}

.strength-bar.active.medium {
    background: #f39c12;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.4);
}

.strength-bar.active.strong {
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}

.strength-text {
    font-size: 12px;
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}

.register-form .btn {
    margin-top: 10px;
}

.form-note {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* ================================================
   Footer
   ================================================ */
.footer {
    background: linear-gradient(180deg, var(--brown-darker) 0%, var(--bg-dark) 100%);
    padding: 60px 0 30px;
    border-top: 2px solid var(--brown-dark);
}

.footer-content {
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--accent-orange);
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.3;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #5865F2;
    color: white !important;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.discord-link:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* Made with love */
.made-with-love {
    margin-top: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.heart-container {
    position: relative;
    display: inline-block;
}

.heart {
    color: #e74c3c;
    font-size: 16px;
    display: inline-block;
    animation: heartbeat 1.2s ease-in-out infinite;
}

.sparkles {
    position: absolute;
    inset: -8px;
    pointer-events: none;
}

.sparkles::before,
.sparkles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 50%;
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkles::before {
    top: 0;
    left: 50%;
    animation-delay: 0s;
}

.sparkles::after {
    bottom: 2px;
    right: 0;
    animation-delay: 0.5s;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
        box-shadow: 0 0 6px var(--accent-orange), 0 0 10px var(--accent-orange-light);
    }
}

/* ================================================
   Discord Sidebar
   ================================================ */
.discord-sidebar {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
}

.discord-float {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #5865F2;
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(88, 101, 242, 0.4);
    transition: all var(--transition-normal);
}

.discord-float:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(88, 101, 242, 0.5);
}

.discord-label {
    display: inline;
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1024px) {
    .register-wrapper {
        gap: 50px;
    }

    .systems-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-logo {
        max-width: 300px;
    }

    .hero-tagline {
        font-size: 16px;
        max-width: 350px;
    }

    .feature-tabs {
        gap: 8px;
    }

    .feature-tab {
        padding: 15px 18px;
        min-width: auto;
    }

    .feature-headline {
        font-size: 22px;
    }

    .feature-layout {
        flex-direction: column;
        gap: 25px;
    }

    .feature-image {
        max-width: 100%;
    }

    .feature-info {
        max-width: 100%;
    }

    .feature-info .feature-headline,
    .feature-info .feature-description {
        text-align: center;
    }

    .feature-slideshow .swiper-slide img {
        aspect-ratio: 2 / 1;
    }

    .status-tabs {
        flex-direction: column;
        align-items: center;
    }

    .status-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .concept-card,
    .dev-card {
        padding: 30px;
    }

    .register-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .register-info .section-header {
        text-align: center;
    }

    .register-info .brush-stroke {
        margin: 0 auto;
    }

    .discord-label {
        display: none;
    }

    .discord-float {
        padding: 15px;
        border-radius: 50%;
    }

    /* Roadmap Timeline Responsive */
    .timeline {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .timeline-progress {
        display: none;
    }

    .timeline-node {
        width: 50px;
        height: 50px;
    }

    .timeline-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 15px;
        opacity: 1;
        visibility: visible;
    }

    .timeline-item:hover .timeline-card {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .feature-tab {
        padding: 12px 15px;
    }

    .tab-title {
        font-size: 11px;
    }

    .systems-grid {
        grid-template-columns: 1fr;
    }

    .register-form {
        padding: 25px;
    }

    .dev-actions {
        flex-direction: column;
    }
}

/* ================================================
   System Modal
   ================================================ */
.system-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.system-modal.active {
    opacity: 1;
    visibility: visible;
}

.system-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.system-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--brown-dark);
    border-radius: var(--border-radius-lg);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.system-modal.active .system-modal-content {
    transform: scale(1) translateY(0);
}

.system-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--brown-dark);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.system-modal-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.system-modal-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-dark);
    position: relative;
}

.system-modal-media img,
.system-modal-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.system-modal-media video.active {
    display: block;
}

.system-modal-media img.active {
    display: block;
}

.system-modal-multi-images {
    display: none;
    width: 100%;
    height: 100%;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.system-modal-multi-images.active {
    display: grid;
}

.system-modal-multi-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.system-modal-info {
    padding: 25px 30px 30px;
}

.system-modal-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--accent-cream);
    margin-bottom: 12px;
}

.system-modal-info p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.system-modal-info p strong {
    color: var(--accent-orange);
    font-weight: 600;
}

.system-modal-info ul {
    margin: 15px 0;
    padding-left: 25px;
    list-style-type: disc;
}

.system-modal-info li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.system-modal-info li strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* Light theme modal */
[data-theme="light"] .system-modal-content {
    background: #f5f0ea;
    border-color: #c9b9a8;
}

[data-theme="light"] .system-modal-info h3 {
    color: #2a1810;
}

[data-theme="light"] .system-modal-info p {
    color: #5a4a3a;
}

[data-theme="light"] .system-modal-info li {
    color: #5a4a3a;
}

@media (max-width: 600px) {
    .system-modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .system-modal-info {
        padding: 20px;
    }

    .system-modal-info h3 {
        font-size: 18px;
    }

    .system-modal-info p {
        font-size: 14px;
    }
}

/* ================================================
   Running Monkey Easter Egg
   ================================================ */
.running-monkey {
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 280px;
    height: 280px;
    z-index: 9999;
    pointer-events: all;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.running-monkey img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.monkey-popup {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--accent-orange);
    color: var(--bg-dark);
    padding: 15px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.monkey-popup strong {
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 16px;
}

.monkey-popup::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--accent-orange);
}

.running-monkey.show-popup .monkey-popup {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Fix text orientation when monkey runs left to right */
.running-monkey.run-left-to-right .monkey-popup {
    transform: translateX(-50%) scaleX(-1) scale(0);
}

.running-monkey.run-left-to-right.show-popup .monkey-popup {
    transform: translateX(-50%) scaleX(-1) scale(1);
}

.running-monkey.active {
    opacity: 1;
}

/* Animation for running left to right */
@keyframes runLeftToRight {
    0% {
        left: -200px;
        transform: scaleX(-1);
    }
    100% {
        left: calc(100% + 200px);
        transform: scaleX(-1);
    }
}

/* Animation for running right to left */
@keyframes runRightToLeft {
    0% {
        left: calc(100% + 200px);
        transform: scaleX(1);
    }
    100% {
        left: -200px;
        transform: scaleX(1);
    }
}

.running-monkey.run-left-to-right {
    animation: runLeftToRight 9s linear forwards;
}

.running-monkey.run-right-to-left {
    animation: runRightToLeft 9s linear forwards;
}

/* ================================================
   Scroll Progress Bar
   ================================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-orange) 50%, var(--accent-orange-light) 100%);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(212, 122, 49, 0.5);
}

/* ================================================
   Scroll to Top Button
   ================================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-red-medium) 0%, var(--accent-red) 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(130, 31, 29, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(130, 31, 29, 0.6);
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-medium) 100%);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top svg {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}
