/* Base reset and design tokens */
:root {
    --primary-dark: #0b0f1e;
    --secondary-dark: #131a2e;
    --accent-cyan: #00f0ff;
    --accent-magenta: #ff00aa;
    --text-light: #e8ecf5;
    --text-muted: #a0a9bb;
    --heading-font: 'Segoe UI', 'Helvetica Neue', sans-serif;
    --body-font: 'Inter', 'Roboto', Arial, sans-serif;
    --radius: 14px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: var(--body-font);
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    line-height: 1.2;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.hdr {
    background: rgba(11, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hdr__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hdr__logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.hdr__logo img {
    border-radius: 8px;
}

.hdr__logo-text {
    font-size: 1.3rem;
    font-weight: 700;
}

.hdr__logo-accent {
    color: var(--accent-cyan);
}

.hdr__nav {
    display: flex;
}

.hdr__list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.hdr__link {
    color: var(--text-muted);
    padding: 0.5rem 0;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hdr__link:hover,
.hdr__link--active {
    color: var(--accent-cyan);
}

.hdr__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hdr__burger-line {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-light);
    margin: 5px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn--sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn--neon {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.btn--neon:hover {
    background: var(--accent-cyan);
    color: var(--primary-dark);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-light);
}

.btn--ghost {
    background: transparent;
    border: none;
    color: var(--text-muted);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0a0f1e 0%, #1a2a45 50%, #0b1325 100%);
    padding: 6rem 2rem;
    text-align: center;
}

.hero__title {
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 1.2rem;
    color: var(--text-light);
}

.hero__desc {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero__cta-wrap {
    margin-top: 1.5rem;
}

/* Intro */
.intro {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.intro__inner {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: var(--radius);
}

.intro__title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--accent-cyan);
}

.intro__text {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Game grid */
.game-grid {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.game-grid__title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.game-card {
    background: var(--secondary-dark);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.game-card__media {
    position: relative;
}

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

.game-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-cyan);
    color: var(--primary-dark);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-weight: 700;
}

.game-card__body {
    padding: 1.5rem;
}

.game-card__name {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.game-card__excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Future quote */
.future-quote {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 1200px;
}

.future-quote__inner {
    max-width: 800px;
    margin: 0 auto;
}

.future-quote__title {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.future-quote__text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Footer */
.ftr {
    background: var(--secondary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 1.5rem 1rem;
}

.ftr__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
}

.ftr__brand {
    margin-bottom: 1rem;
}

.ftr__logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.ftr__logo img {
    border-radius: 6px;
}

.ftr__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.ftr__heading {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.ftr__list {
    list-style: none;
}

.ftr__list li {
    margin-bottom: 0.5rem;
}

.ftr__list a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.ftr__list a:hover {
    color: var(--accent-cyan);
}

.ftr__address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.8;
}

.ftr__address a {
    color: var(--text-muted);
}

.ftr__address a:hover {
    color: var(--accent-cyan);
}

.ftr__bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.ftr__bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-dark);
    border-top: 2px solid var(--accent-cyan);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    padding: 1.2rem 1.5rem;
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner__text {
    flex: 1;
    min-width: 300px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.cookie-banner__link {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cookie-settings {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
}

.cookie-settings__panel {
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    min-width: 300px;
    box-shadow: var(--shadow);
}

.cookie-settings__panel h3 {
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.cookie-settings__panel label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.cookie-settings__panel input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: var(--accent-cyan);
}

/* About page */
.about-main {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero {
    text-align: center;
    padding: 3rem 0;
}

.about-hero__title {
    font-size: 2.6rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-hero__sub {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.about-mission {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: var(--radius);
}

.about-mission__text {
    flex: 3;
}

.about-mission__title {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.about-mission__text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-mission__stat {
    flex: 1;
    text-align: center;
}

.about-mission__stat-number {
    font-size: 4rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

.about-mission__stat-label {
    color: var(--text-muted);
}

.about-team__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.2s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.team-card h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.team-card p:first-of-type {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.future-quote--about {
    margin: 3rem auto;
}

/* Blog page */
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.blog-posts__title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-posts__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
}

.blog-posts__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post-item {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    background: var(--secondary-dark);
    border-radius: var(--radius);
    overflow: hidden;
    align-items: center;
}

.blog-post-item__media {
    flex: 1;
}

.blog-post-item__media img {
    height: 100%;
    object-fit: cover;
}

.blog-post-item__content {
    flex: 2;
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.blog-post-item__title {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.blog-post-item__excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Contact page */
.contact-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.contact-info__title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-info__text {
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 2rem;
}

.contact-info__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-info__item {
    background: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.contact-info__item h3 {
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.contact-info__item p,
.contact-info__item address {
    color: var(--text-light);
    font-style: normal;
}

.contact-info__item a {
    color: var(--text-light);
}

.contact-form-section {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: var(--radius);
}

.contact-form-section__title {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-form__field {
    margin-bottom: 1.2rem;
}

.contact-form__field label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--primary-dark);
    color: var(--text-light);
    font-family: var(--body-font);
    font-size: 1rem;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal__content {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: var(--radius);
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow);
}

.modal__content h2 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.modal__content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* FAQ page */
.faq-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.faq-intro__title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: center;
}

.faq-intro__text {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.faq-item {
    background: var(--secondary-dark);
    border-radius: var(--radius);
    padding: 1.8rem;
    margin-bottom: 1.2rem;
}

.faq-item__question {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin-bottom: 0.8rem;
}

.faq-item__answer {
    color: var(--text-muted);
}

/* Post pages */
.post-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.post__title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.post__hero-img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.post__body h2 {
    font-size: 1.6rem;
    color: var(--accent-cyan);
    margin: 2rem 0 1rem;
}

.post__body p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

/* Legal pages */
.legal-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-content__title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.legal-content__intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.legal-content__body h2 {
    color: var(--accent-cyan);
    margin: 1.5rem 0 0.8rem;
    font-size: 1.4rem;
}

.legal-content__body p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-content__address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.8;
    background: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hdr__nav {
        display: none;
    }

    .hdr__nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hdr__list {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hdr__burger {
        display: block;
    }

    .hero__title {
        font-size: 2rem;
    }

    .ftr__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-post-item {
        flex-direction: column;
    }

    .blog-post-item__content {
        padding: 0 1.5rem 1.5rem;
    }

    .about-mission {
        flex-direction: column;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }
}