:root {
    --color-pink: #1dc725;
    --color-green: #39ff14;
    --color-yellow: #ffff00;
    --color-red: #ff3131;
    --color-plum: #8b008b;
    --color-blue: #75c519;
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #111;
    color: white;
    line-height: 1.6;
}

header {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--color-pink), var(--color-blue));
    -webkit-background-clip: text;
    color: transparent;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-pink);
    transform: scaleX(0);
    transition: transform 0.3s;
}

nav a:hover::after {
    transform: scaleX(1);
}

nav a.active {
    color: var(--color-pink);
}

main {
    padding-top: 80px;
}

.hero, .about-hero, .games-hero, .contact-hero, .terms-hero {
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(139,0,139,0.3));
    position: relative;
    overflow: hidden;
}

.hero::before, .about-hero::before, .games-hero::before, .contact-hero::before, .terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('') center/cover;
    z-index: -1;
    filter: hue-rotate(90deg);
}

.about-hero::before {
    background: url('') center/cover;
    filter: hue-rotate(180deg);
}

.games-hero::before {
    background: url('https://images.pexels.com/photos/1670977/pexels-photo-1670977.jpeg') center/cover;
    filter: hue-rotate(270deg);
}

.contact-hero::before {
    background: url('') center/cover;
    filter: hue-rotate(45deg);
}

.terms-hero::before {
    background: url('https://images.pexels.com/photos/3165335/pexels-photo-3165335.jpeg') center/cover;
    filter: hue-rotate(135deg);
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--color-pink), var(--color-blue));
    -webkit-background-clip: text;
    color: transparent;
}

.features {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    background: #000;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.featured-games, .games-grid {
    padding: 4rem 2rem;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--color-pink), var(--color-blue));
    -webkit-background-clip: text;
    color: transparent;
}

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

.game-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    padding: 1rem;
    text-align: center;
}

.play-button {
    display: block;
    background: var(--color-pink);
    color: white;
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    transition: background-color 0.3s;
}

.play-button:hover {
    background: var(--color-blue);
}

.about-content {
    padding: 4rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.vision-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.vision-card:hover {
    transform: translateY(-10px);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-blue);
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-pink);
    border-radius: 5px;
    color: white;
    font-family: inherit;
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--color-pink);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-button:hover {
    background: var(--color-blue);
}

.game-detail {
    margin-bottom: 4rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.game-detail h2 {
    padding: 2rem;
    margin: 0;
}

.game-detail img {
    width: 100%;
    height: auto;
    display: block;
}

.game-detail iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.terms-content {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.terms-container {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 10px;
}

.terms-container h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 2rem;
}

.terms-container h2:first-child {
    margin-top: 0;
}

.terms-container p {
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

footer {
    text-align: center;
    padding: 2rem;
    background: #000;
    color: #666;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .game-detail iframe {
        height: 400px;
    }
}