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

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

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, #1a1a2e 0%, #0a0a0a 50%);
    z-index: -1;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-50px) translateX(-50px); }
    75% { transform: translateY(-150px) translateX(100px); }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    min-height: 60px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-center {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-center a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #4169e1);
    transition: width 0.3s;
}

.nav-center a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.5);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #8a2be2, #4169e1, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5)); }
    to { filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.8)); }
}

.hero p {
    font-size: 20px;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.6);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(26, 26, 46, 0.6);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #aaa;
    line-height: 1.6;
}

.stats {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 100px auto;
    padding: 60px 20px;
    background: rgba(26, 26, 46, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    flex-wrap: wrap;
    gap: 40px;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #aaa;
    margin-top: 10px;
}

/* Game Cards on Features Page */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.game-card {
    background: rgba(26, 26, 46, 0.6);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    text-align: center;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3);
}

.game-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 30px;
    overflow: hidden;
}

.game-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.features-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.features-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.6);
}

/* Fullscreen Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    overflow-y: auto;
}

.modal.active {
    display: block;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-tabs {
    display: flex;
    gap: 20px;
}

.tab-btn {
    padding: 12px 30px;
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    color: #fff;
    border-color: transparent;
}

.tab-btn:hover {
    border-color: rgba(138, 43, 226, 0.8);
}

.close-modal {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    color: #8a2be2;
    transform: rotate(90deg);
}

.modal-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 50px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Content Layout */
.content-with-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.media-section {
    background: rgba(26, 26, 46, 0.4);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.media-section img,
.media-section video {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.features-list {
    background: rgba(26, 26, 46, 0.4);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.features-list h3 {
    font-size: 32px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.features-list h4 {
    color: #8a2be2;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.features-list ul {
    list-style: none;
}

.features-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
    color: #ddd;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    color: #666;
    margin-top: 100px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-center {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero p {
        font-size: 18px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 60px auto;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
        margin: 60px auto;
        padding: 40px 20px;
    }

    .stat {
        min-width: 100%;
    }

    .stat-number {
        font-size: 42px;
    }

    .game-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 60px auto;
    }

    .content-with-media {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .modal-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .modal-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal-content {
        padding: 40px 20px;
    }

    .features-list {
        padding: 30px 20px;
    }

    .features-list h3 {
        font-size: 26px;
    }

    .features-list li {
        font-size: 15px;
        padding: 12px 0;
    }

    footer {
        padding: 30px 20px;
        margin-top: 60px;
        font-size: 14px;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .logo {
        font-size: 20px;
    }

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

    .feature-card h3 {
        font-size: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .game-icon {
        width: 120px;
        height: 120px;
    }

    .game-card h2 {
        font-size: 24px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}