/* ============================================
   BAUHAUS STYLE — Ninja Veggie Slice
   CSS Architecture: BEM
   ============================================ */

/* 1. Variables */
:root {
    --color-red: #e53935;
    --color-blue: #1565c0;
    --color-yellow: #fdd835;
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-off-white: #f5f2eb;
    --color-gray: #e0ddd5;
    --color-dark-gray: #4a4a4a;
    --color-light-gray: #f9f7f2;
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Archivo', sans-serif;
    --header-height: 70px;
    --max-width: 1200px;
    --radius: 4px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.14);
    --transition: 0.3s ease;
}

/* 2. Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-black);
    background-color: var(--color-off-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-black);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-dark-gray);
}

/* 4. Layout */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section__title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--color-red);
    margin: 1rem auto 0;
}

/* 5. Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid var(--color-black);
    background: var(--color-yellow);
    color: var(--color-black);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.btn--play {
    padding: 1.1rem 3.5rem;
    font-size: 1.4rem;
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-black);
    box-shadow: 6px 6px 0 var(--color-black);
}

.btn--play:hover {
    box-shadow: 2px 2px 0 var(--color-black);
    transform: translate(4px, 4px);
}

.btn--read {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    background: var(--color-blue);
    color: var(--color-white);
    border-width: 2px;
}

.btn--read:hover {
    background: var(--color-black);
}

/* 6. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--color-white);
    border-bottom: 4px solid var(--color-black);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-black);
    text-decoration: none;
    position: relative;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--color-red);
    margin-right: 8px;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-black);
    transition: var(--transition);
    position: relative;
}

.nav-menu__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-red);
    transition: var(--transition);
}

.nav-menu__link:hover::after,
.nav-menu__link--active::after {
    width: 100%;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.burger__line {
    width: 28px;
    height: 3px;
    background: var(--color-black);
    transition: var(--transition);
}

.burger.active .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger.active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* 7. Hero */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 5rem;
    background: var(--color-white);
    border-bottom: 4px solid var(--color-black);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--color-yellow);
    opacity: 0.3;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: var(--color-blue);
    opacity: 0.15;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.game-showcase {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.game-showcase__badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--color-blue);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--color-black);
}

.game-showcase__icon {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 4px solid var(--color-black);
    margin: 0 auto 2rem;
    box-shadow: 8px 8px 0 var(--color-yellow);
}

.game-showcase__title {
    font-size: 3.4rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.game-showcase__desc {
    font-size: 1.2rem;
    color: var(--color-dark-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* 8. Features */
.features {
    background: var(--color-off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    position: relative;
    background: var(--color-white);
    border: 3px solid var(--color-black);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:nth-child(1) {
    box-shadow: 6px 6px 0 var(--color-red);
}

.feature-card:nth-child(2) {
    box-shadow: 6px 6px 0 var(--color-blue);
}

.feature-card:nth-child(3) {
    box-shadow: 6px 6px 0 var(--color-yellow);
}

.feature-card:hover {
    transform: translate(-3px, -3px);
}

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

.feature-card__title {
    margin-bottom: 0.8rem;
}

.feature-card__text {
    font-size: 0.95rem;
}

/* 9. FAQ Accordion */
.faq {
    background: var(--color-white);
    border-top: 4px solid var(--color-black);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 3px solid var(--color-black);
    margin-bottom: 1rem;
    background: var(--color-off-white);
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    user-select: none;
    transition: var(--transition);
}

.faq-item__question:hover {
    background: var(--color-yellow);
}

.faq-item__icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-red);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-item__answer {
    max-height: 400px;
    padding: 0 1.5rem 1.5rem;
}

.faq-item__answer p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 10. CTA Section */
.cta {
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-red), var(--color-yellow), var(--color-blue));
}

.cta__title {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta__text {
    color: var(--color-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 11. Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    position: relative;
    background: var(--color-white);
    border: 3px solid var(--color-black);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: 6px 6px 0 var(--color-red);
    transform: translate(-3px, -3px);
}

.blog-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--color-black);
    background: var(--color-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-card__content {
    padding: 1.5rem;
}

.blog-card__badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: var(--color-yellow);
    border: 2px solid var(--color-black);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.blog-card__title {
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
}

.blog-card__excerpt {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card__meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--color-dark-gray);
    margin-bottom: 1.2rem;
}

/* 12. Page Content */
.page-hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 3rem;
    background: var(--color-white);
    border-bottom: 4px solid var(--color-black);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-red), var(--color-yellow), var(--color-blue));
}

.page-content {
    padding: 4rem 0;
}

.page-content__inner {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-yellow);
}

.page-content h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.page-content ul,
.page-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.page-content ul {
    list-style: square;
}

.page-content ol {
    list-style: decimal;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: var(--color-dark-gray);
}

.page-content a {
    color: var(--color-blue);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--color-red);
}

/* Guide specific */
.guide-step {
    background: var(--color-white);
    border: 3px solid var(--color-black);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.guide-step__number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--color-red);
    color: var(--color-white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--color-black);
}

.guide-step__title {
    margin-bottom: 0.8rem;
}

/* 13. Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group__label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.form-group__input,
.form-group__textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 3px solid var(--color-black);
    background: var(--color-white);
    transition: var(--transition);
}

.form-group__input:focus,
.form-group__textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 4px 4px 0 var(--color-blue);
}

.form-group__textarea {
    min-height: 160px;
    resize: vertical;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
    background: var(--color-yellow);
    border: 3px solid var(--color-black);
    margin-top: 1rem;
}

.form-success.visible {
    display: block;
}

/* 14. Footer */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    border-top: 6px solid var(--color-red);
    padding: 3rem 0 1.5rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer__desc {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-yellow);
    margin-bottom: 1rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: var(--color-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--color-white);
}

.footer__bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* 15. Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: var(--color-white);
    border: 3px solid var(--color-black);
    box-shadow: 8px 8px 0 var(--color-black);
    padding: 1.5rem;
    z-index: 9999;
}

.cookie-consent__text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-consent__text a {
    color: var(--color-blue);
    text-decoration: underline;
}

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

/* 16. Stars */
.stars {
    color: #ffc107;
}

/* Article card pattern */
.article-card {
    position: relative;
}

.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.offer-card, .card {
    position: relative;
}

/* Blog card image placeholder */
.blog-card__thumb {
    width: 100%;
    height: 200px;
    border-bottom: 3px solid var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-card__thumb--red   { background: var(--color-red); }
.blog-card__thumb--blue  { background: var(--color-blue); }
.blog-card__thumb--yellow{ background: var(--color-yellow); }

/* Article page styles */
.article-page {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 5rem;
}

.article-header {
    background: var(--color-white);
    border-bottom: 4px solid var(--color-black);
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-red), var(--color-yellow), var(--color-blue));
}

.article-header h1 {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
}

.article-meta .category {
    border: 2px solid var(--color-black);
    padding: 0.2rem 0.8rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-body {
    padding: 3rem 0;
}

.article-body__inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-yellow);
}

.article-body h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.article-body ul,
.article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-body ul {
    list-style: square;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--color-dark-gray);
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-nav {
    background: var(--color-off-white);
    border-top: 4px solid var(--color-black);
    padding: 2rem 0;
}

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

.article-callout {
    background: var(--color-yellow);
    border: 3px solid var(--color-black);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: 5px 5px 0 var(--color-black);
}

.article-callout p {
    margin: 0;
    font-weight: 600;
    color: var(--color-black);
}

/* About page stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-box {
    background: var(--color-white);
    border: 3px solid var(--color-black);
    padding: 1.5rem;
    text-align: center;
}

.stat-box__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-red);
    display: block;
}

.stat-box__label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark-gray);
}

/* 17. Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }
    .game-showcase__title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 4px solid var(--color-black);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2.2rem; }
    .game-showcase__title { font-size: 2.4rem; }
    .game-showcase__icon { width: 120px; height: 120px; }
    .btn--play { padding: 0.9rem 2.5rem; font-size: 1.2rem; }

    .cookie-consent {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 10px;
    }

    .article-nav__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .game-showcase__title { font-size: 2rem; }
    .section { padding: 3rem 0; }
}