/**
 * site43-de (VieScape.com)
 * ARCHITECTURE: SMACSS (Layout, Module, State)
 * PALETTE: Zen (zen-white, calm-gray, pure-black, whisper-silver, stone-charcoal, mist-light)
 * EFFECT: Glassmorphism
 * TYPOGRAPHY: Merriweather + Source Sans Pro
 * BUTTONS: Gradient Fill
 * COMPANY: VERTIV INFRASTRUCTURE LTD
 */

* { box-sizing: border-box; max-width: 100%; }
html, body { margin: 0; padding: 0; overflow-x: hidden !important; width: 100% !important; }
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--stone-charcoal);
    background: linear-gradient(160deg, var(--mist-light) 0%, var(--calm-gray) 50%, var(--whisper-silver) 100%);
}
.page-main { flex: 1 0 auto; }

:root {
    --zen-white: #fafafa;
    --calm-gray: #e0e0e0;
    --pure-black: #0a0a0a;
    --whisper-silver: #d3d3d3;
    --stone-charcoal: #3c3c3c;
    --mist-light: #f5f5f5;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --header-height: 70px;
}
@media (max-width: 600px) { :root { --header-height: 60px; } }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.is-hidden { display: none !important; }

/* Layout */
.l-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; }
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; }

/* Module: Header */
.m-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}
.m-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.m-header__logo { display: flex; align-items: center; gap: 0.75rem; }
.m-header__brand { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--pure-black); }
.m-header__badge {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: var(--zen-white);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
}
.m-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; flex-wrap: nowrap; align-items: center; }
.m-nav__link { color: var(--stone-charcoal); font-weight: 600; font-size: 0.9rem; white-space: nowrap; transition: color 0.2s; }
.m-nav__link:hover, .m-nav__link.is-active { color: var(--pure-black); }
.m-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.m-header__burger span { width: 24px; height: 3px; background: var(--stone-charcoal); border-radius: 2px; }
@media (max-width: 1024px) {
    .m-header__burger { display: flex; }
    .m-header__nav { display: none; }
    .m-header__nav.is-open {
        display: block;
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0; right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 1rem;
    }
    .m-nav { flex-direction: column; gap: 0.5rem; flex-wrap: wrap; }
    .m-nav__link { font-size: 1rem; white-space: normal; }
}

/* Module: Hero */
.m-hero {
    padding-top: 120px;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(245, 245, 245, 0.5);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.m-hero__inner { max-width: 700px; padding: 2rem 1rem; }
.m-hero__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; color: var(--pure-black); }
.m-hero__title-accent { color: #2e7d32; }
.m-hero__subtitle { margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.6; color: var(--stone-charcoal); }
.m-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons: Gradient Fill */
.btn-gradient {
    display: inline-block;
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s, box-shadow 0.3s;
}
.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s;
}
.btn-gradient:hover { box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4); }
.btn-gradient:hover::before { left: 100%; }
.btn-gradient--secondary {
    background: linear-gradient(135deg, var(--stone-charcoal), #555);
    color: #ffffff;
}
.btn-gradient--large { padding: 14px 28px; font-size: 1.1rem; }
.btn-gradient--small { padding: 8px 16px; font-size: 0.9rem; }
/* Ensure button text is always high-contrast (overrides .content-inner a) */
a.btn-gradient, a.btn-gradient--secondary,
.btn-gradient, .btn-gradient--secondary {
    color: #ffffff !important;
    text-decoration: none !important;
}

.section-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 0.5rem; color: var(--pure-black); text-align: center; }
.section-desc { margin-bottom: 2rem; color: var(--stone-charcoal); opacity: 0.95; text-align: center; }
.breadcrumb-nav { margin-bottom: 1rem; padding: 0.5rem 0; font-size: 0.9rem; color: var(--stone-charcoal); opacity: 0.8; text-align: center; }
.breadcrumb-nav a { color: #2e7d32; }

/* Games grid – glass cards */
.m-games-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.m-game-card {
    flex: 0 0 auto;
    width: clamp(280px, 25vw, 350px);
    max-width: 350px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.m-game-card__img-wrap { aspect-ratio: 16/10; overflow: hidden; background: var(--calm-gray); display: flex; align-items: center; justify-content: center; }
.m-game-card__img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.m-game-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.m-game-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--pure-black); }
.m-game-card__desc { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; flex: 1; color: var(--stone-charcoal); }
.m-game-card__btn { margin-top: auto; text-align: center; }
@media (max-width: 768px) {
    .m-games-grid { flex-direction: column; align-items: center; }
    .m-game-card { width: 100%; max-width: 400px; }
}

/* Benefits, testimonials, leaderboard – glass */
.m-benefits-row, .m-testimonials-row, .m-leaderboard-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.m-benefit-box, .m-testimonial-box, .m-leaderbox {
    flex: 1 1 240px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.m-benefit-box__icon, .m-leaderbox__rank { font-size: 2rem; margin-bottom: 0.75rem; color: #2e7d32; }
.m-benefit-box__title, .m-leaderbox__name { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--pure-black); }
.m-benefit-box__text, .m-testimonial-box__text { font-size: 0.95rem; color: var(--stone-charcoal); line-height: 1.6; }
.m-testimonial-box__author { font-size: 0.9rem; color: var(--whisper-silver); }
.m-leaderbox { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

/* FAQ */
.m-faq-list { max-width: 700px; margin: 0 auto; }
.m-faq-item { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.m-faq-item__question {
    width: 100%;
    padding: 1rem 0;
    text-align: left;
    background: none;
    border: none;
    color: var(--stone-charcoal);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.m-faq-item__question span { color: #2e7d32; font-size: 1.2rem; transition: transform 0.2s; }
.m-faq-item.is-open .m-faq-item__question span { transform: rotate(45deg); }
.m-faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.m-faq-item__answer p { padding: 0 0 1rem; margin: 0; color: var(--stone-charcoal); line-height: 1.5; }
.m-faq-item.is-open .m-faq-item__answer { max-height: 200px; }

/* Disclaimer – glass */
.m-disclaimer {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    color: var(--stone-charcoal);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem 0;
    text-align: center;
}
.m-disclaimer .section-wrap { max-width: 800px; margin-left: auto; margin-right: auto; }
.m-disclaimer__title { font-size: 1.1rem; margin-bottom: 1rem; color: var(--pure-black); text-align: center; }
.m-disclaimer__text, .m-disclaimer__address { margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--stone-charcoal); text-align: center; }
.m-disclaimer__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; justify-content: center; }
.m-disclaimer__badge {
    background: rgba(46, 125, 50, 0.15);
    border: 1px solid rgba(46, 125, 50, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pure-black);
}
.m-compliance { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-top: 1.5rem; }
.m-compliance a { display: flex; align-items: center; }
.m-compliance__img {
    height: 35px !important;
    width: auto !important;
    max-width: 120px !important;
    background: var(--zen-white);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    object-fit: contain;
}
.m-compliance__img:hover { box-shadow: 0 0 12px rgba(0, 0, 0, 0.1); }

/* Footer */
.m-footer {
    background: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(8px);
    color: var(--stone-charcoal);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem 1rem 1rem;
}
.m-footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.m-footer__title { font-size: 1rem; margin-bottom: 0.75rem; color: var(--pure-black); }
.m-footer__text { font-size: 0.9rem; color: var(--stone-charcoal); line-height: 1.5; }
.m-footer__links { list-style: none; margin: 0; padding: 0; }
.m-footer__links li { margin-bottom: 0.5rem; }
.m-footer__links a { color: var(--stone-charcoal); transition: color 0.2s; }
.m-footer__links a:hover { color: #2e7d32; }
.m-footer__bottom { max-width: 1200px; margin: 0 auto; padding-top: 1rem; border-top: 1px solid rgba(0, 0, 0, 0.08); text-align: center; font-size: 0.85rem; opacity: 0.9; }
.m-footer__bottom p { margin: 0.25rem 0; }

/* Content inner */
.content-inner .section-wrap { padding-top: calc(var(--header-height) + 2rem); max-width: 1200px; margin-left: auto; margin-right: auto; }
.content-inner .section-title { margin-bottom: 1.5rem; text-align: center; }
.content-inner .section-wrap > p:first-of-type { text-align: center; }
.content-inner p, .content-inner ul { color: var(--stone-charcoal); line-height: 1.75; margin-bottom: 1.25rem; font-size: 1.0625rem; }
.content-inner ul { padding-left: 1.5rem; }
.content-inner a { color: #2e7d32; text-decoration: underline; }
.content-inner .section-wrap > p { max-width: 72ch; margin-left: auto; margin-right: auto; text-align: center; }

/* Centered text for About & Responsible Play */
.content-inner .section-wrap.text-center { text-align: center; }
.content-inner .section-wrap.text-center > p { margin-left: auto; margin-right: auto; }
.content-inner .section-wrap.text-center ul { list-style-position: inside; padding-left: 0; }
.content-inner .section-wrap.text-center h2 { margin-top: 1.5rem; }

/* Guides list – glass */
.m-guides-list { list-style: none; margin: 0; padding: 0; }
.m-guides-list__item { margin-bottom: 1.5rem; padding: 1.25rem; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); text-align: center; }
.m-guides-list__link { display: block; text-decoration: none; color: inherit; text-align: center; }
.m-guides-list__title { font-size: 1.15rem; margin-bottom: 0.5rem; color: #2e7d32; text-align: center; }
.m-guides-list__desc { margin: 0; font-size: 0.95rem; color: var(--stone-charcoal); text-align: center; }

/* Reviews list */
.m-reviews-list { list-style: none; margin: 0; padding: 0; }
.m-reviews-list__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
@media (max-width: 600px) { .m-reviews-list__item { grid-template-columns: 1fr; text-align: center; } }
.m-reviews-list__img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.m-reviews-list__title { font-size: 1.15rem; margin-bottom: 0.25rem; color: var(--pure-black); text-align: center; }
.m-reviews-list__desc { margin: 0; font-size: 0.95rem; color: var(--stone-charcoal); text-align: center; }
.m-reviews-list__item > div:not(.m-reviews-list__buttons) { text-align: center; }
.m-reviews-list__buttons { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }

/* Account */
.page-account .section-wrap { text-align: center; }
.page-account .section-wrap .section-title { text-align: center; display: block; }
.page-account .section-wrap > p { text-align: center; max-width: 72ch; margin-left: auto; margin-right: auto; }
.page-account .account-tabs { justify-content: center; }
.page-account .account-panel { margin-left: auto; margin-right: auto; max-width: 480px; text-align: left; }
.account-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.account-tabs__btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--stone-charcoal);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
}
.account-tabs__btn:hover { border-color: #2e7d32; color: #2e7d32; }
.account-tabs__btn.is-active { background: linear-gradient(135deg, #2e7d32, #388e3c); color: var(--zen-white); border-color: transparent; }
.account-panel { display: none; }
.account-panel.is-visible { display: block; }
.account-panel__title { margin-bottom: 1rem; color: var(--pure-black); }
.account-panel__subtitle { margin: 1.5rem 0 0.75rem; color: var(--stone-charcoal); }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--stone-charcoal); font-weight: 600; }
.form-label--inline { display: inline; margin-left: 0.5rem; }
.form-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    color: var(--stone-charcoal);
    font-family: var(--font-body);
    font-size: 1rem;
}
.form-input:focus { outline: none; border-color: #2e7d32; box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-checkbox { margin-right: 0.5rem; }

/* Blog filters */
.blog-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; justify-content: center; }
.blog-filters__btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--stone-charcoal);
    font-family: var(--font-body);
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
}
.blog-filters__btn:hover, .blog-filters__btn.is-active { background: rgba(46, 125, 50, 0.15); border-color: #2e7d32; color: #2e7d32; }

/* Cookie banner – glass */
.cookie-banner {
    position: fixed;
    bottom: 20px; right: 20px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.cookie-banner p { margin: 0 0 0.75rem; color: var(--stone-charcoal); font-size: 0.95rem; }
.cookie-banner a { color: #2e7d32; text-decoration: underline; }

/* Age modal – glass */
.age-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1001; padding: 1rem; }
.age-modal__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}
.age-modal__title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--pure-black); }
.age-modal__text { margin-bottom: 0.75rem; color: var(--stone-charcoal); }
.age-modal__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.age-modal__warning { font-size: 0.85rem; margin-top: 1rem; opacity: 0.8; color: var(--stone-charcoal); }

/* Article */
.article-meta { font-size: 0.9rem; opacity: 0.9; margin-bottom: 0.75rem; color: var(--stone-charcoal); }
.article-content { max-width: 72ch; margin-left: auto; margin-right: auto; }
.article-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; color: var(--pure-black); font-size: 1.35rem; line-height: 1.3; }
.article-content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; color: #2e7d32; font-size: 1.15rem; }
.article-content p { margin-bottom: 1.25rem; color: var(--stone-charcoal); line-height: 1.75; font-size: 1.0625rem; }
.article-content ul { margin-bottom: 1.25rem; padding-left: 1.5rem; color: var(--stone-charcoal); line-height: 1.75; }
.article-content li { margin-bottom: 0.5rem; }
.article-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.m-guides-list__desc, .m-reviews-list__desc { color: var(--stone-charcoal); line-height: 1.6; }
.m-faq-item__answer p { color: var(--stone-charcoal); line-height: 1.7; }
.m-disclaimer__text, .m-disclaimer__address { color: var(--stone-charcoal); line-height: 1.6; }
