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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #22d3ee;
    --success-color: #10b981;
    --error-color: #ef4444;
    --bg-dark: #000000;
    --bg-card: #111111;
    --bg-input: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --border-color: #333333;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.5);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --border-radius: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    min-height: 100vh;
}

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

.nav-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background-color: var(--primary-color);
    color: white;
}

main {
    padding-top: 60px;
}

section {
    padding: 60px 0;
}

.hero-section {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

.gameplay-section {
    background: var(--bg-dark);
    padding-top: 30px;
}

.video-carousel {
    max-width: 1000px;
    margin: 0 auto 60px;
    position: relative;
}

.swiper {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden !important;
    position: relative;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    background: var(--bg-card);
}

.video-wrapper iframe,
.video-wrapper .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

.video-thumbnail {
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 2;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-primary);
    background: #2a2a2a;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #444;
    box-shadow: var(--shadow-md);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #3a3a3a;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination {
    position: static;
    margin-top: 20px;
    text-align: center;
}

.swiper-pagination-bullet {
    background: #444;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    transition: background 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.waitlist-section {
    background: var(--bg-dark);
}

.contact-section {
    background: var(--bg-dark);
}

.form-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 2rem;
}

.form-card > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: var(--bg-card);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.message-display {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
    animation: slideIn 0.3s ease;
}

.message-display.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: block;
}

.message-display.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    background: var(--bg-card);
    color: var(--text-secondary);
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

footer p {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .nav-content {
        padding: 12px 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    section {
        padding: 40px 0;
    }

    .video-carousel {
        margin-bottom: 40px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    .form-card {
        padding: 30px 20px;
    }

    .game-features {
        gap: 20px;
    }

    .feature {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .form-card {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}