* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --primary-color: #c9a66b;
    --primary-color-hover: #d5b47d;
    --accent-color: #7b9095;
    --accent-color-hover: #8ba1a7;
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --bg-dark: rgba(0, 0, 0, 0.75);
    --bg-light: rgba(255, 255, 255, 0.05);
    --bg-section: rgba(0, 0, 0, 0.85);
    --border-color: rgba(255, 255, 255, 0.15);
    --success-color: #a4bc96;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    position: relative;
    opacity: 0.95;
    transition: opacity 1s ease;
    overflow-x: hidden;
}

body.loaded {
    opacity: 1;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
}

.video-container video {
    min-width: 120%;
    min-height: 120%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    padding: 3rem 2rem;
    background: var(--bg-dark);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    animation: fadeIn 1.2s ease-out;
}

.title {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(201, 166, 107, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    transition: transform 0.3s;
}

.title:hover {
    transform: translateY(-3px);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Waitlist Styling */
.waitlist-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#email-form {
    display: flex;
    flex-direction: column;
}

.input-group {
    display: flex;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    box-shadow: 0 2px 15px rgba(201, 166, 107, 0.2);
    border-color: var(--primary-color);
}

input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 0.9rem;
    background: var(--bg-light);
    color: var(--text-color);
    outline: none;
    text-transform: lowercase;
    letter-spacing: 1px;
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.email-submit {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.email-submit:hover {
    background: var(--primary-color-hover);
}

.email-submit i {
    font-size: 1rem;
}

.or-divider {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    margin: 1rem 0;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.or-divider span {
    padding: 0 20px;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.telegram-btn:hover {
    background: var(--accent-color-hover);
    transform: translateY(-2px);
}

.telegram-icon {
    width: 20px;
    height: 20px;
}

.success-message {
    background: rgba(164, 188, 150, 0.1);
    color: var(--success-color);
    padding: 15px 20px;
    border-radius: 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(164, 188, 150, 0.3);
    transition: all 0.3s ease;
}

.success-message i {
    margin-right: 8px;
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b7a;
    padding: 15px 20px;
    border-radius: 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.error-message i {
    margin-right: 8px;
}

.hidden {
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.8) 15%, 
        rgba(0, 0, 0, 0.95) 30%, 
        rgba(0, 0, 0, 1) 50%);
}

/* Common Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-intro {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    background: rgba(0, 0, 0, 0.9);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.problem-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Solution Section */
.solution-section {
    background: rgba(0, 0, 0, 0.95);
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tech-feature {
    text-align: center;
    padding: 1.5rem;
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tech-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.tech-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.vision-statement {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
    text-align: center;
}

.vision-statement h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-statement p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.vision-statement p:last-child {
    margin-bottom: 0;
}

.vision-goal {
    font-size: 1.2rem !important;
    color: var(--text-color) !important;
    background: rgba(201, 166, 107, 0.1);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

/* Game Section */
.game-section {
    background: rgba(0, 0, 0, 0.9);
}

.game-flow {
    margin: 3rem 0;
    position: relative;
    padding-left: 4rem;
}

.game-flow::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 2rem;
    bottom: 2rem;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Other Core Elements Section */
.other-elements-section {
    margin-top: 3rem;
    position: relative;
    padding-left: 6rem;
}

.other-elements-section::before {
    content: '';
    position: absolute;
    left: 3rem;
    top: 3rem;
    bottom: 2rem;
    width: 2px;
    background: var(--primary-color);
    border-style: dotted;
    border-width: 0 0 0 2px;
    border-color: var(--primary-color);
    background: none;
    border-left: 2px dotted var(--primary-color);
}

.other-elements-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.flow-step.indented {
    margin-left: -2rem;
    position: relative;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    transition: transform 0.3s ease;
    flex-direction: column;
    overflow: hidden;
}

.flow-step:hover {
    transform: translateY(-5px);
}

.flow-step.reverse {
    flex-direction: column;
}

.flow-step.reverse:hover {
    transform: translateY(-5px);
}

.flow-step-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}

.flow-step.reverse .flow-step-content-wrapper {
    flex-direction: row;
}

.step-number {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.85);
    z-index: 2;
}

.step-visual {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Expand Indicator */
.expand-indicator {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.expand-indicator i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.flow-step:hover .expand-indicator {
    opacity: 1;
    transform: scale(1.1);
}

.flow-step:hover .expand-indicator i {
    color: var(--primary-color);
    animation: none;
    transform: rotate(180deg);
}

.flow-step.expanded .expand-indicator {
    opacity: 1;
    transform: scale(1.1);
}

.flow-step.expanded .expand-indicator i {
    color: var(--primary-color);
    animation: none;
    transform: rotate(180deg);
}

.risk-reward {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.risk-section,
.reward-section {
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.risk-section:hover,
.reward-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.risk-section {
    border-top: 4px solid #dc3545;
}

.reward-section {
    border-top: 4px solid #28a745;
}

.risk-section h3,
.reward-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.risk-section h3 i {
    color: #dc3545;
}

.reward-section h3 i {
    color: #28a745;
}

.risk-section p,
.reward-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Economy Section */
.economy-section {
    background: rgba(0, 0, 0, 0.95);
}

.economy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.economy-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.economy-card:hover {
    transform: translateY(-5px);
}

.economy-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.economy-icon.no-pay2win {
    position: relative;
}

.monetization-icon {
    position: relative;
    display: inline-block;
}

.solana-icon {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 2px solid var(--primary-color);
}

.red-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #dc3545;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}

.economy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.economy-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.vision-conclusion {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin-top: 3rem;
}

.vision-conclusion h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.vision-conclusion p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.vision-conclusion .cta-scroll-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.vision-conclusion .cta-scroll-top:hover {
    background: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 166, 107, 0.3);
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-buttons .cta-scroll-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-buttons .cta-scroll-top:hover {
    background: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 166, 107, 0.3);
}

/* Social Buttons */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-btn img {
    width: 16px;
    height: 16px;
}

.x-btn {
    background: #000000;
    color: white;
}

.x-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.github-btn {
    background: #333333;
    color: white;
}

.github-btn:hover {
    background: #404040;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 51, 51, 0.4);
}

/* CTA Section */
.cta-section {
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-scroll-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.cta-scroll-top:hover {
    background: var(--primary-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 166, 107, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
        letter-spacing: 3px;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .flow-step,
    .flow-step.reverse {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    /* Disable hover transforms on mobile */
    .flow-step:hover,
    .flow-step.reverse:hover {
        transform: none;
    }
    
    /* Mobile-specific expanded state */
    .flow-step.expanded {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(201, 166, 107, 0.3);
    }
    
    .risk-reward {
        grid-template-columns: 1fr;
    }
    
    .problem-grid,
    .tech-showcase,
    .economy-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .step-number {
        font-size: 2rem;
    }
}

.step-image {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.4s ease;
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.flow-step:hover .step-image,
.flow-step.expanded .step-image {
    max-height: 500px;
    opacity: 1;
}

.flow-step.expanded .step-image {
    max-height: 500px;
    opacity: 1;
}

/* Concept Art Overlay */
.concept-art-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.concept-art-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-color);
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    border: 1px solid var(--primary-color);
    backdrop-filter: blur(4px);
    z-index: 10;
}