@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;700&display=swap');

:root {
    --color-primary: #FF5733; 
    --color-secondary: #33FF57; 
    --color-background: #1A1A2E; 
    --color-text-light: #E0FBFC; 
    --color-text-dark: #1A1A2E;
    --color-accent-blue: #4E4EFF; 
    --font-heading: 'Bebas Neue', sans-serif; 
    --font-body: 'Roboto', sans-serif; 
    --spacing-unit: 1rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.4);
}

.button:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 51, 0.6);
}



.header {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--color-accent-blue);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo-link {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text-light);
}

.header__logo {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    border-radius: 10px;
    border: 2px solid var(--color-primary);
}

.header__nav {
    display: block;
}

.nav__list {
    display: flex;
    list-style: none;
}

.nav__item {
    margin-left: 1.5rem;
}

.nav__link {
    font-weight: 700;
    color: var(--color-text-light);
    transition: color 0.3s, border-bottom 0.3s;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}

.nav__link:hover {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

.header__download-button {
    
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-color: var(--color-secondary);
    background-color: var(--color-secondary);
}
.header__download-button:hover {
    color: var(--color-secondary);
}




.hero-section {
    background: linear-gradient(135deg, var(--color-background) 0%, #0c0c16 100%);
    padding: 8rem 0 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero__container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    flex: 1;
    z-index: 1;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-primary);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero__subtitle {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero__text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero__image-wrapper {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.hero__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero__image:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero__call-to-action {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.store-badge {
    display: inline-block;
    max-width: 180px;
}

.store-badge__image {
    width: 100%;
    transition: transform 0.2s ease;
}

.store-badge__image:hover {
    transform: scale(1.05);
}

.hero__disclaimer {
    font-size: 0.9rem;
    color: rgba(224, 251, 252, 0.7);
    width: 100%;
    margin-top: 0.5rem;
}



.section {
    padding: 6rem 0;
    position: relative;
    z-index: 5;
}

.section--description {
    background-color: #0c0c16;
}

.section--features {
    background: linear-gradient(90deg, #1A1A2E 0%, var(--color-accent-blue) 100%);
}

.section--how-to-play {
    background-color: #0c0c16;
}

.section--cta-footer {
    background-color: var(--color-accent-blue);
    color: var(--color-text-dark);
    text-align: center;
    padding: 4rem 0;
}

.section-divider {
    border: none;
    height: 5px;
    background: repeating-linear-gradient(
        45deg,
        var(--color-accent-blue),
        var(--color-accent-blue) 10px,
        var(--color-background) 10px,
        var(--color-background) 20px
    );
    margin: 0;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--color-primary);
}

.section--features .section__title {
    color: var(--color-text-light);
    text-shadow: 0 0 10px var(--color-primary);
}

.section__subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-secondary);
}

.section__text {
    max-width: 800px;
    margin: 1.5rem auto;
    font-size: 1.1rem;
}



.features-list-wrapper {
    display: flex;
    justify-content: center;
}

.features-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
}

.features-list__item {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid var(--color-secondary);
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.features-list__item:hover {
    transform: translateX(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.section--legal-content {
    padding-top: 2rem;
    min-height: 70vh;
}
.legal-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.8;
}
.legal-text__heading {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
.legal-text p, .legal-text li {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.legal-text__list {
    padding-left: 1.5rem;
    list-style-type: disc;
}



.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 3px solid var(--color-accent-blue);
}

.gallery__image:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(78, 78, 255, 0.6);
    border-color: var(--color-primary);
}



.how-to-play__content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.how-to-play__steps {
    flex: 1;
    list-style: none;
    counter-reset: step-counter;
}

.how-to-play__step {
    counter-increment: step-counter;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    position: relative;
    padding-left: 3rem;
}

.how-to-play__step::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(255, 87, 51, 0.6);
}

.how-to-play__image-wrapper {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.how-to-play__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 5px solid var(--color-secondary);
}



.cta-footer__title {
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-footer__text {
    color: var(--color-text-dark);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-footer__call-to-action {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.cta-footer__disclaimer {
    color: rgba(26, 26, 46, 0.8);
    font-size: 0.9rem;
}



.footer {
    background-color: #11111f;
    padding: 3rem 0 1rem;
    border-top: 5px solid var(--color-accent-blue);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer__column {
    min-width: 180px;
    flex-grow: 1;
}

.footer__heading {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.footer__list {
    list-style: none;
}

.footer__item {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: rgba(224, 251, 252, 0.6);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--color-secondary);
}

.footer__contact-info {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer__store-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__store-badges .store-badge {
    max-width: 160px;
}

.footer__bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(224, 251, 252, 0.1);
}

.footer__copyright {
    font-size: 0.85rem;
    color: rgba(224, 251, 252, 0.6);
}

.footer__link--domain {
    color: rgba(224, 251, 252, 0.6);
}

.footer__link--domain:hover {
    color: var(--color-primary);
}



@media (max-width: 1024px) {
    .header__nav {
        display: none; 
    }

    .header__container {
        justify-content: center;
    }

    .header__download-button {
        display: none; 
    }

    .hero__container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero__content {
        order: 2;
    }

    .hero__image-wrapper {
        order: 1;
    }

    .hero__image {
        transform: none; 
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section__title {
        font-size: 2.5rem;
    }

    .hero__call-to-action {
        justify-content: center;
    }

    .how-to-play__content {
        flex-direction: column;
        gap: 2rem;
    }

    .how-to-play__image-wrapper {
        max-width: 100%;
        order: 1;
    }

    .how-to-play__steps {
        order: 2;
    }

    .footer__container {
        flex-direction: column;
        text-align: center;
    }

    .footer__column {
        min-width: 100%;
    }

    .footer__store-badges {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .footer__store-badges .store-badge {
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .hero__call-to-action {
        flex-direction: column;
    }

    .store-badge {
        max-width: 100%;
    }

    .hero__disclaimer {
        text-align: center;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }
}