/*
 * PROJECT: muertetico.com
 * DOMAIN: muertetico.com
 * GAME: Ninja Veggie Slice
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Геймификация (фиолетовый #6c5ce7, желтый #ffd93d)
 * - Effect: Neon Glow
 * - Fonts: Fredoka One (heading) + Quicksand (body)
 * - Buttons: 3D Effect
 *
 * Created: 2026-01-15
 */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
    --ninja-purple: #6c5ce7;
    --ninja-purple-dark: #4a3dbf;
    --ninja-purple-light: #a29bfe;
    --veggie-yellow: #ffd93d;
    --veggie-yellow-dark: #f0c000;
    --slash-red: #ff4757;
    --leaf-green: #55efc4;
    --night-bg: #1a1040;
    --card-bg: #241a5a;
    --card-bg-2: #2d2070;
    --text-light: #f0ecff;
    --text-muted: #b2a8e0;
    --border-glow: rgba(108, 92, 231, 0.5);
    --font-heading: 'Fredoka One', cursive;
    --font-body: 'Quicksand', sans-serif;
    --header-height: 70px;
}

/* ===== RESET & BASE ===== */
*, *::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);
    background-color: var(--night-bg);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== MANDATORY RULES ===== */
.article-card__overlay { position: absolute; inset: 0; z-index: 1; }
.article-card, .offer-card, .card { position: relative; }
.stars { color: #ffc107; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-light);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text-muted); font-weight: 500; }

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--alt { background-color: var(--card-bg); }

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 16, 64, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border-glow);
    padding: 1rem 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--veggie-yellow);
    text-shadow: 0 0 10px var(--veggie-yellow), 0 0 20px rgba(255, 217, 61, 0.5);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.logo:hover { color: var(--text-light); }

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

.nav__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav__link:hover, .nav__link--active {
    color: var(--veggie-yellow);
    background: rgba(255, 217, 61, 0.1);
}

.nav__play {
    background: var(--ninja-purple);
    color: var(--text-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1rem;
    box-shadow: 0 0 12px var(--ninja-purple), 0 4px 0 var(--ninja-purple-dark);
    transition: transform 0.15s, box-shadow 0.15s;
}

.nav__play:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--ninja-purple), 0 6px 0 var(--ninja-purple-dark);
    color: var(--veggie-yellow);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.nav__toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1040 0%, #2d1b69 50%, #1a1040 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__particle {
    position: absolute;
    border-radius: 50%;
    animation: float-particle 6s ease-in-out infinite;
    opacity: 0.15;
}

.hero__particle--1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--ninja-purple), transparent);
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.hero__particle--2 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--veggie-yellow), transparent);
    top: 50%; right: -50px;
    animation-delay: 2s;
}

.hero__particle--3 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, var(--leaf-green), transparent);
    bottom: -50px; left: 30%;
    animation-delay: 4s;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero__content { flex: 1; }

.hero__badge {
    display: inline-block;
    background: rgba(255, 217, 61, 0.15);
    border: 1px solid var(--veggie-yellow);
    color: var(--veggie-yellow);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero__title {
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(108, 92, 231, 0.6);
}

.hero__title span { color: var(--veggie-yellow); }

.hero__description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-play {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 0.9rem 2.5rem;
    background: var(--veggie-yellow);
    color: var(--night-bg);
    border-radius: 50px;
    font-weight: 400;
    box-shadow: 0 6px 0 var(--veggie-yellow-dark), 0 0 20px rgba(255, 217, 61, 0.4);
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
    z-index: 2;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 var(--veggie-yellow-dark), 0 0 30px rgba(255, 217, 61, 0.6);
    color: var(--night-bg);
}

.btn-play:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 var(--veggie-yellow-dark);
}

.btn-secondary {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--ninja-purple-light);
    border-radius: 50px;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    position: relative;
    z-index: 2;
}

.btn-secondary:hover {
    background: rgba(108, 92, 231, 0.2);
    border-color: var(--ninja-purple);
    box-shadow: 0 0 15px var(--border-glow);
    transform: translateY(-2px);
}

.hero__image-wrap {
    flex-shrink: 0;
    width: 320px;
    text-align: center;
}

.hero__icon {
    width: 220px;
    height: 220px;
    border-radius: 28px;
    margin: 0 auto;
    box-shadow: 0 0 40px var(--ninja-purple), 0 0 80px rgba(108, 92, 231, 0.3);
    animation: icon-glow 3s ease-in-out infinite;
    object-fit: cover;
}

@keyframes icon-glow {
    0%, 100% { box-shadow: 0 0 40px var(--ninja-purple), 0 0 80px rgba(108, 92, 231, 0.3); }
    50% { box-shadow: 0 0 60px var(--ninja-purple), 0 0 120px rgba(108, 92, 231, 0.5); }
}

.hero__stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.hero__stat {
    text-align: center;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 0.7rem 1.2rem;
}

.hero__stat-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--veggie-yellow);
    display: block;
}

.hero__stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== FEATURES ===== */
.features { padding: 5rem 0; }

.section__header { text-align: center; margin-bottom: 3rem; }

.section__title {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.section__title span { color: var(--veggie-yellow); }

.section__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px var(--border-glow), 0 10px 30px rgba(0,0,0,0.3);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--veggie-yellow);
    margin-bottom: 0.5rem;
}

.feature-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== HOW TO PLAY PREVIEW ===== */
.how-preview { padding: 5rem 0; background: var(--card-bg); }

.how-preview__inner {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.how-preview__content { flex: 1; }

.how-preview__steps { margin: 2rem 0; }

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step__number {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--ninja-purple);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px var(--ninja-purple);
}

.step__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

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

.how-preview__image { flex-shrink: 0; width: 320px; }

.how-preview__visual {
    background: linear-gradient(135deg, var(--card-bg-2), var(--night-bg));
    border: 2px solid var(--border-glow);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 0 30px var(--border-glow);
}

.how-preview__emoji { font-size: 5rem; display: block; margin-bottom: 1rem; }

.how-preview__tagline {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--veggie-yellow);
    margin: 0;
}

/* ===== BLOG PREVIEW ===== */
.blog-preview { padding: 5rem 0; }

.blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--border-glow), 0 10px 30px rgba(0,0,0,0.3);
}

.article-card__thumbnail {
    height: 160px;
    background: linear-gradient(135deg, var(--ninja-purple), var(--card-bg-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.article-card__content {
    padding: 1.5rem;
}

.article-card__meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.article-card__category {
    background: rgba(108, 92, 231, 0.2);
    border: 1px solid var(--ninja-purple);
    color: var(--ninja-purple-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card__date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
    position: relative;
    z-index: 2;
}

.article-card:hover .article-card__title { color: var(--veggie-yellow); }

.article-card__excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.blog-preview__cta { text-align: center; }

/* ===== FAQ ===== */
.faq { padding: 5rem 0; background: var(--card-bg); }

.faq__list { max-width: 760px; margin: 0 auto; }

.faq__item {
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--night-bg);
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s;
}

.faq__question:hover { color: var(--veggie-yellow); }

.faq__question.is-open { color: var(--veggie-yellow); }

.faq__icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--ninja-purple-light);
    transition: transform 0.3s;
}

.faq__question.is-open .faq__icon { transform: rotate(45deg); }

.faq__answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq__answer.is-open { display: block; }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--ninja-purple-dark), var(--card-bg-2));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 217, 61, 0.1) 0%, transparent 70%);
}

.cta-section__inner { position: relative; z-index: 1; }

.cta-section__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-section__text {
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background: #0e0826;
    border-top: 2px solid var(--border-glow);
    padding: 3rem 0 1.5rem;
}

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

.footer__brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-heading);
    color: var(--veggie-yellow);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer__link {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer__bottom {
    border-top: 1px solid var(--border-glow);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, #1a1040 0%, #2d1b69 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 2px solid var(--border-glow);
}

.page-hero__title { color: var(--text-light); margin-bottom: 0.75rem; }
.page-hero__title span { color: var(--veggie-yellow); }
.page-hero__subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 1.25rem 0;
}

.breadcrumb__link { color: var(--ninja-purple-light); transition: color 0.2s; }
.breadcrumb__link:hover { color: var(--veggie-yellow); }
.breadcrumb__sep { color: var(--text-muted); }

/* ===== ABOUT PAGE ===== */
.about-content { padding: 5rem 0; }

.about-content__inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.about-content__text { flex: 1; }
.about-content__text p { font-size: 1rem; line-height: 1.8; }

.about-content__aside { flex-shrink: 0; width: 300px; }

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 0 20px var(--border-glow);
}

.about-card__title {
    font-family: var(--font-heading);
    color: var(--veggie-yellow);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-card__list { display: flex; flex-direction: column; gap: 0.6rem; }

.about-card__item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-card__item-icon { flex-shrink: 0; }

.team-section { padding: 4rem 0; background: var(--card-bg); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.team-card {
    background: var(--night-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--border-glow);
}

.team-card__avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ninja-purple), var(--ninja-purple-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--ninja-purple-light);
    font-weight: 600;
    margin: 0;
}

/* ===== HOW TO PLAY PAGE ===== */
.htp-section { padding: 5rem 0; }

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

.htp-block {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 2rem;
}

.htp-block__icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.htp-block__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--veggie-yellow);
    margin-bottom: 0.75rem;
}

.htp-block__text { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

.htp-steps { margin-bottom: 3rem; }

.htp-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 1.5rem;
}

.htp-step__num {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ninja-purple), var(--ninja-purple-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-light);
    box-shadow: 0 0 15px var(--ninja-purple);
}

.htp-step__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.htp-step__desc { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

.tips-section { padding: 5rem 0; background: var(--card-bg); }

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.tip-card {
    background: var(--night-bg);
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.tip-card:hover { transform: translateY(-4px); }

.tip-card__icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }

.tip-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--veggie-yellow);
    margin-bottom: 0.5rem;
}

.tip-card__text { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ===== BLOG PAGE ===== */
.blog-section { padding: 5rem 0; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ===== ARTICLE PAGE ===== */
.article-page { padding: 4rem 0; }

.article-page__inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.article-body h2 { font-size: 1.5rem; color: var(--text-light); margin: 2rem 0 0.75rem; }
.article-body h3 { font-size: 1.2rem; color: var(--ninja-purple-light); margin: 1.5rem 0 0.5rem; }
.article-body p { color: var(--text-muted); line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); }
.article-body li { margin-bottom: 0.4rem; font-weight: 500; }
.article-body strong { color: var(--veggie-yellow); }

.article-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-meta__cat {
    background: rgba(108, 92, 231, 0.2);
    border: 1px solid var(--ninja-purple);
    color: var(--ninja-purple-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta__date { font-size: 0.85rem; color: var(--text-muted); }
.article-meta__read { font-size: 0.85rem; color: var(--text-muted); }

.article-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-light);
    margin-bottom: 2rem;
}

.article-sidebar { position: sticky; top: 100px; }

.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--veggie-yellow);
    margin-bottom: 1rem;
}

.sidebar-play {
    display: block;
    width: 100%;
    background: var(--veggie-yellow);
    color: var(--night-bg);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-align: center;
    padding: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 0 var(--veggie-yellow-dark);
    transition: transform 0.15s, box-shadow 0.15s;
    margin-bottom: 1rem;
}

.sidebar-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--veggie-yellow-dark);
    color: var(--night-bg);
}

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

.sidebar-links a {
    font-size: 0.9rem;
    color: var(--ninja-purple-light);
    font-weight: 600;
    transition: color 0.2s;
}

.sidebar-links a:hover { color: var(--veggie-yellow); }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 5rem 0; }

.contact-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(108, 92, 231, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info__label {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--veggie-yellow);
    margin-bottom: 0.2rem;
}

.contact-info__value { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--night-bg);
    border: 1.5px solid var(--border-glow);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--ninja-purple);
    box-shadow: 0 0 10px var(--border-glow);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
    width: 100%;
    background: var(--ninja-purple);
    color: var(--text-light);
    border: none;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 0 var(--ninja-purple-dark), 0 0 20px var(--border-glow);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--ninja-purple-dark), 0 0 30px rgba(108, 92, 231, 0.6);
}

.btn-submit:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 var(--ninja-purple-dark);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
    color: var(--leaf-green);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* ===== LEGAL PAGES ===== */
.legal-content { padding: 4rem 0; }

.legal-content__body {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 3rem;
}

.legal-content__body h2 {
    font-size: 1.4rem;
    color: var(--veggie-yellow);
    margin: 2rem 0 0.75rem;
}

.legal-content__body h2:first-child { margin-top: 0; }

.legal-content__body p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.legal-content__body ul {
    padding-left: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-content__body ul li { margin-bottom: 0.4rem; font-weight: 500; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1.5px solid var(--border-glow);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 640px;
    width: calc(100% - 3rem);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.3);
    z-index: 200;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    min-width: 200px;
}

.cookie-banner__text a {
    color: var(--ninja-purple-light);
    text-decoration: underline;
}

.cookie-banner__btn {
    background: var(--veggie-yellow);
    color: var(--night-bg);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--veggie-yellow-dark);
    transition: transform 0.15s;
    flex-shrink: 0;
}

.cookie-banner__btn:hover { transform: translateY(-1px); }

.cookie-banner.hidden { display: none; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--ninja-purple);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 15px var(--ninja-purple);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero__inner { flex-direction: column; text-align: center; }
    .hero__description { max-width: 100%; }
    .hero__actions { justify-content: center; }
    .hero__image-wrap { width: 100%; }

    .how-preview__inner { flex-direction: column; }
    .how-preview__image { width: 100%; }

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

    .article-page__inner { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }

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

    .contact-section__inner { grid-template-columns: 1fr; }

    .about-content__inner { flex-direction: column; }
    .about-content__aside { width: 100%; }
}

@media (max-width: 768px) {
    .nav { display: none; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--night-bg);
        border-bottom: 2px solid var(--border-glow);
        padding: 1rem 1.5rem;
        z-index: 50;
    }
    .nav__toggle { display: flex; }
    .header__inner { position: relative; flex-wrap: wrap; }

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

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

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

@media (max-width: 480px) {
    .section { padding: 3rem 0; }
    .hero { padding: 3rem 0 2.5rem; }
    .hero__icon { width: 160px; height: 160px; }
    .hero__stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .team-grid { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: 1fr 1fr; }
}