/* ============================================
   sharspeaks.com - site71-de
   CSS ARCHITECTURE: SMACSS (Layout, Module, State, Theme)
   PALETTE: Navy & Gold (elegant)
   EFFECT: Soft gradients, light shadows
   TYPOGRAPHY: Playfair Display + Lato
   BUTTONS: Outline with fill on hover
   ============================================ */

:root {
    --navy-deep: #1a2744;
    --gold-accents: #c9a227;
    --cream-light: #faf8f5;
    --slate-mid: #4a5568;
    --white-pure: #ffffff;
    --navy-soft: #2d3a52;
    --gold-light: #e5c76b;
    --border-subtle: rgba(26, 39, 68, 0.12);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --header-height: 72px;
    --max-width: 1100px;
    --nav-gap: 1.75rem;
    --radius: 12px;
    --shadow-card: 0 4px 20px rgba(26, 39, 68, 0.08);
    --transition: 0.25s ease;
}

@media (max-width: 600px) {
    :root { --header-height: 64px; }
}

*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-body);
    color: var(--navy-deep);
    background: linear-gradient(180deg, var(--cream-light) 0%, #f0ebe3 100%);
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    width: 100% !important;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* Layout */
.layout-wrap {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.layout-wrap--narrow {
    max-width: 720px;
}

/* Module: Header - no Start button, spaced items */
.layout-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white-pure);
    box-shadow: 0 2px 12px var(--border-subtle);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.layout-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: var(--header-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 2rem;
    flex-wrap: nowrap;
}

.module-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--navy-deep);
    margin-right: auto;
    margin-left: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.module-logo__badge {
    background: var(--gold-accents);
    color: var(--navy-deep);
    padding: 0.25rem 0.55rem;
    font-size: 0.65rem;
    border-radius: 6px;
    font-weight: 700;
}

.module-nav {
    margin-left: auto;
}

.module-nav__list {
    display: flex;
    align-items: center;
    gap: var(--nav-gap);
    flex-wrap: nowrap;
    justify-content: flex-end;
    white-space: nowrap;
}

.module-nav__link {
    color: var(--slate-mid);
    font-weight: 500;
    padding: 0.45rem 0.35rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.module-nav__link:hover,
.module-nav__link.is-active {
    color: var(--navy-deep);
    background: rgba(201, 162, 39, 0.1);
}

/* Burger - mobile only */
.module-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--navy-deep);
    color: var(--white-pure);
    border-radius: 8px;
    padding: 8px;
}

.module-burger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

@media (max-width: 768px) {
    .module-burger { display: flex; }
    .module-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white-pure);
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        display: none;
        z-index: 999;
    }
    .module-nav.is-open { display: block; }
    .module-nav__list { flex-direction: column; gap: 0.25rem; }
    .module-nav__link { padding: 0.85rem; display: block; text-align: center; }
}

/* Hero */
.module-hero {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 3rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--cream-light) 0%, rgba(201, 162, 39, 0.06) 100%);
}

.module-hero__inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.module-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: var(--navy-deep);
    margin: 0 0 0.5rem;
}

.module-hero__title-accent {
    color: var(--gold-accents);
    display: block;
    margin-top: 0.35rem;
}

.module-hero__subtitle {
    font-size: 1.05rem;
    color: var(--slate-mid);
    max-width: 580px;
    margin: 0 auto 1.5rem;
    line-height: 1.65;
}

.module-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Buttons - outline style */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn--primary {
    background: var(--navy-deep);
    color: var(--white-pure);
    border: 2px solid var(--navy-deep);
}

.btn--primary:hover {
    background: var(--navy-soft);
    border-color: var(--navy-soft);
}

.btn--secondary {
    background: transparent;
    color: var(--navy-deep);
    border: 2px solid var(--gold-accents);
}

.btn--secondary:hover {
    background: var(--gold-accents);
    color: var(--navy-deep);
}

.btn--large { padding: 0.9rem 1.75rem; font-size: 1.05rem; }

.module-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.theme-badge {
    background: var(--navy-soft);
    color: var(--white-pure);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Section */
.module-sec {
    padding: 3rem 0;
}

.module-sec__head {
    text-align: center;
    margin-bottom: 2rem;
}

.module-sec__title {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    color: var(--navy-deep);
    margin: 0 0 0.5rem;
}

.module-sec__subtitle {
    color: var(--slate-mid);
    max-width: 560px;
    margin: 0 auto;
}

/* Games grid - centered */
.module-games-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3vw, 2rem);
    justify-content: center;
    align-items: stretch;
    max-width: var(--max-width);
    margin: 0 auto;
}

.module-game-card {
    flex: 0 0 auto;
    width: clamp(280px, 28vw, 340px);
    max-width: 340px;
    min-width: 280px;
    background: var(--white-pure);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.module-game-card__img-wrap {
    aspect-ratio: 1;
    background: var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.module-game-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.module-game-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.module-game-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--navy-deep);
    margin: 0 0 0.5rem;
}

.module-game-card__desc {
    font-size: 0.9rem;
    color: var(--slate-mid);
    line-height: 1.5;
    margin: 0 0 1rem;
    flex: 1;
}

.module-game-card__rating {
    color: var(--gold-accents);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .module-games-grid { flex-direction: column; align-items: center; }
    .module-game-card { width: 100%; max-width: 380px; }
}

/* Benefits row - centered */
.module-benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    max-width: var(--max-width);
    margin: 0 auto;
}

.module-benefit-box {
    flex: 1 1 280px;
    max-width: 320px;
    background: var(--white-pure);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.module-benefit-box__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.module-benefit-box__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--navy-deep);
    margin: 0 0 0.5rem;
}

.module-benefit-box__text {
    font-size: 0.9rem;
    color: var(--slate-mid);
    line-height: 1.5;
    margin: 0;
}

/* FAQ */
.module-faq-list {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.module-faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--white-pure);
}

.module-faq-q {
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--navy-deep);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-faq-icon {
    font-size: 1.2rem;
    color: var(--gold-accents);
}

.module-faq-a {
    padding: 0 1.25rem 1rem;
    display: none;
}

.module-faq-item.is-open .module-faq-a {
    display: block;
}

.module-faq-a p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--slate-mid);
    line-height: 1.6;
}

/* Disclaimer block */
.module-disclaimer {
    background: var(--navy-deep);
    color: var(--cream-light);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.module-disclaimer__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 0 0 1rem;
    color: var(--gold-light);
}

.module-disclaimer__text {
    max-width: 720px;
    margin: 0 auto 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.module-disclaimer__company {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.95;
}

.module-disclaimer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.25rem 0;
}

.module-disclaimer__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.module-disclaimer__logos a {
    display: inline-block;
}

.disclaimer-logo {
    height: 40px;
    background: var(--cream-light);
    padding: 6px 10px;
    border-radius: 8px;
    opacity: 0.92;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.disclaimer-logo:hover {
    opacity: 1;
    border-color: var(--gold-accents);
}

/* Footer */
.module-footer {
    background: var(--navy-soft);
    color: var(--cream-light);
    padding: 2rem 1.5rem;
    text-align: center;
}

.module-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto 2rem;
    text-align: center;
}

.module-footer__col h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    color: var(--gold-light);
}

.module-footer__list a {
    color: var(--cream-light);
    opacity: 0.9;
}

.module-footer__list a:hover {
    opacity: 1;
    color: var(--gold-light);
}

.module-footer__col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.module-footer__copyright {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
    opacity: 0.9;
}

.module-footer__copyright p {
    margin: 0.35rem 0;
}

/* State: modals */
.is-hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden !important;
}

/* Age modal */
.state-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 39, 68, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.state-modal-content {
    background: var(--white-pure);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.state-modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--navy-deep);
    margin: 0 0 1rem;
}

.state-modal-text {
    font-size: 0.95rem;
    color: var(--slate-mid);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.state-modal-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.state-modal-warning {
    font-size: 0.8rem;
    color: var(--slate-mid);
    margin-top: 1rem;
}

/* Cookie banner */
.state-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    color: var(--cream-light);
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 1500;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.state-cookie-banner a {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Кнопка «Akzeptieren» всегда с контрастным текстом в баннере */
.state-cookie-banner .btn--secondary {
    background: var(--gold-accents);
    color: var(--navy-deep);
    border-color: var(--gold-accents);
}

.state-cookie-banner .btn--secondary:hover {
    background: var(--gold-light);
    color: var(--navy-deep);
    border-color: var(--gold-light);
}

/* Page content centered - for Blog, Guides, Reviews */
.page-content-centered {
    text-align: center;
}

.page-content-centered .layout-wrap {
    text-align: center;
}

.page-content-centered .module-sec__head,
.page-content-centered .module-sec__title,
.page-content-centered .module-sec__subtitle {
    text-align: center;
}

.page-content-centered .article-body,
.page-content-centered .review-body,
.page-content-centered .guide-body {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.page-content-centered .article-body p,
.page-content-centered .review-body p,
.page-content-centered .guide-body p {
    text-align: center;
}

/* Blog/guides/reviews cards - centered */
.module-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 0 auto;
    max-width: var(--max-width);
}

.module-card {
    flex: 1 1 300px;
    max-width: 340px;
    background: var(--white-pure);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.module-card:hover {
    box-shadow: 0 8px 28px rgba(26, 39, 68, 0.12);
}

.module-card__icon {
    font-size: 2rem;
    padding: 1rem 0 0.5rem;
}

.module-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--navy-deep);
    margin: 0 0 0.5rem;
    padding: 0 1rem;
}

.module-card__text {
    font-size: 0.9rem;
    color: var(--slate-mid);
    line-height: 1.5;
    padding: 0 1rem 1.25rem;
    margin: 0;
}

.module-card a {
    display: block;
    color: inherit;
}

/* Account tabs */
.module-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.module-tab-btn {
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    border-radius: var(--radius);
    background: var(--cream-light);
    color: var(--slate-mid);
    border: 2px solid var(--border-subtle);
}

.module-tab-btn.is-active {
    background: var(--navy-deep);
    color: var(--white-pure);
    border-color: var(--navy-deep);
}

.module-tab-panel {
    display: none;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.module-tab-panel.is-active {
    display: block;
}

.module-tab-panel .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.module-tab-panel label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--navy-deep);
}

.module-tab-panel input[type="text"],
.module-tab-panel input[type="email"],
.module-tab-panel input[type="password"],
.module-tab-panel textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-family: var(--font-body);
}

.module-tab-panel textarea {
    min-height: 120px;
    resize: vertical;
}

.module-tab-panel button[type="submit"] {
    margin-top: 0.5rem;
}
