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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    background: #0a0e27;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3b82f6;
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8), rgba(59, 130, 246, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0a0e27;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

.badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(59, 130, 246, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

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

/* Sections */
section {
    padding: 5rem 5%;
}

.section-dark {
    background: #0a0e27;
}

.section-light {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.section-blue {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

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

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3b82f6;
}

.feature-card p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

/* Screenshots Grid */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.screenshot-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
}

.screenshot-card:hover {
    transform: scale(1.05);
    border-color: #3b82f6;
}

.screenshot-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.screenshot-content {
    padding: 1.5rem;
}

.screenshot-content h3 {
    margin-bottom: 1rem;
    color: #3b82f6;
}

.screenshot-content ul {
    list-style: none;
}

.screenshot-content li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.screenshot-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
}

/* Difficulty Sliders */
.difficulty-sliders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.slider-card {
    background: rgba(30, 41, 59, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.slider-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #3b82f6;
}

.slider-card p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #1e293b;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* Video Container */
.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    background: rgba(10, 14, 39, 0.5);
    border-radius: 12px;
    padding: 4rem;
    text-align: center;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

/* Download Section */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.download-requirements,
.download-instructions {
    background: rgba(30, 41, 59, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.download-requirements h3,
.download-instructions h3 {
    color: #3b82f6;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.download-requirements ul,
.download-instructions ol {
    color: #cbd5e1;
    line-height: 2;
}

.download-instructions ol {
    padding-left: 1.5rem;
}

.download-links {
    margin-top: 1rem;
}

.download-links a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s;
}

.download-links a:hover {
    color: #60a5fa;
}

/* Footer */
footer {
    background: #050814;
    padding: 3rem 5%;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

footer h4 {
    color: #3b82f6;
    margin-bottom: 1rem;
}

footer p,
footer a {
    color: #94a3b8;
    text-decoration: none;
    line-height: 1.8;
    display: block;
}

footer a:hover {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .features-grid,
    .screenshots-grid,
    .difficulty-sliders,
    .download-grid {
        grid-template-columns: 1fr;
    }
}

/* Contributor Page Specific Styles */
.hero-small {
    height: 60vh;
    background: linear-gradient(135deg, #5b21b6, #3b82f6);
}

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

.stat-card {
    background: rgba(59, 130, 246, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3b82f6;
    display: block;
    margin-bottom: 0.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-badge {
    background: rgba(59, 130, 246, 0.2);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.timeline-content {
    background: rgba(30, 41, 59, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    flex: 1;
}

.timeline-content h3 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.community-card {
    background: rgba(30, 41, 59, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    color: white;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.community-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.contributor-card {
    background: rgba(30, 41, 59, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

.contributor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.contributor-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contributor-commits {
    color: #64748b;
    font-size: 0.9rem;
}