/**
 * site58-de (CanonsOnline.com)
 * ARCHITECTURE: SMACSS (layout, module, state, theme)
 * PALETTE: Canon Heritage (british-navy, canon-red, parchment-cream, herald-gold, ink-charcoal, paper-white)
 * EFFECT: Pattern Backgrounds (geometric)
 * TYPOGRAPHY: Merriweather + Source Sans Pro (Classic Editorial)
 * BUTTONS: 3D Effect (box-shadow depth)
 * COMPANY: DUN & BRADSTREET LIMITED
 */

* { 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(--ink-charcoal);
    background-color: var(--british-navy);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 28px, rgba(212, 175, 55, 0.03) 28px, rgba(212, 175, 55, 0.03) 56px);
}
.page-main { flex: 1 0 auto; }

:root {
    --british-navy: #1a2332;
    --canon-red: #b22234;
    --parchment-cream: #f5f0e6;
    --herald-gold: #c9a227;
    --ink-charcoal: #e0dcd4;
    --paper-white: #fafaf8;
    --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 – centered */
.layout-wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
    text-align: center;
}
.layout-wrap--narrow { max-width: 800px; }

/* Module: Header */
.layout-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: var(--british-navy);
    border-bottom: 3px solid var(--herald-gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    z-index: 1000;
}
.layout-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.layout-header__logo { display: flex; align-items: center; gap: 0.75rem; }
.layout-header__brand { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--paper-white); }
.layout-header__badge {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: var(--paper-white);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
}
.module-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; flex-wrap: nowrap; align-items: center; }
.module-nav__link { color: var(--ink-charcoal); font-weight: 600; font-size: 0.9rem; white-space: nowrap; transition: color 0.2s; }
.module-nav__link:hover, .module-nav__link.is-active { color: var(--herald-gold); }
.layout-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.layout-header__burger span { width: 24px; height: 3px; background: var(--ink-charcoal); border-radius: 2px; }
@media (max-width: 1024px) {
    .layout-header__burger { display: flex; }
    .layout-header__nav { display: none; }
    .layout-header__nav.is-open {
        display: block;
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0; right: 0;
        background: var(--british-navy);
        border-bottom: 3px solid var(--herald-gold);
        padding: 1rem;
    }
    .module-nav { flex-direction: column; gap: 0.5rem; flex-wrap: wrap; }
    .module-nav__link { font-size: 1rem; white-space: normal; }
}

/* Module: Hero */
.module-hero {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.12) 0%, transparent 55%), var(--british-navy);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 28px, rgba(201, 162, 39, 0.02) 28px, rgba(201, 162, 39, 0.02) 56px), radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.12) 0%, transparent 55%);
    background-color: var(--british-navy);
}
.module-hero__inner { max-width: 720px; margin: 0 auto; padding: 2rem 1rem; }
.module-hero__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; color: var(--paper-white); }
.module-hero__title-accent { color: var(--herald-gold); }
.module-hero__subtitle { margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.6; color: var(--ink-charcoal); }
.module-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons: 3D Effect */
.btn-3d {
    display: inline-block;
    background: var(--herald-gold);
    border: none;
    color: var(--british-navy);
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 5px 0 #9a7b1a;
    transform: translateY(-2px);
    transition: transform 0.1s, box-shadow 0.1s;
}
.btn-3d:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 0 #9a7b1a;
}
.btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #9a7b1a;
}
.btn-3d--secondary {
    background: var(--ink-charcoal);
    color: var(--british-navy);
    box-shadow: 0 5px 0 #8a8580;
}
.btn-3d--secondary:hover { box-shadow: 0 7px 0 #8a8580; }
.btn-3d--secondary:active { box-shadow: 0 1px 0 #8a8580; }
.btn-3d--large { padding: 14px 28px; font-size: 1.1rem; }
.btn-3d--small { padding: 8px 16px; font-size: 0.9rem; box-shadow: 0 3px 0 #9a7b1a; }
/* Button text: dark color for readability on gold and light grey */
a.btn-3d { color: var(--british-navy) !important; text-decoration: none !important; }
a.btn-3d--secondary { color: var(--british-navy) !important; text-decoration: none !important; }
button.btn-3d, button.btn-3d--secondary { color: var(--british-navy); }

.section-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 0.5rem; color: var(--paper-white); text-align: center; }
.section-desc { margin-bottom: 2rem; color: var(--ink-charcoal); opacity: 0.95; text-align: center; }
.breadcrumb-nav { margin-bottom: 1rem; padding: 0.5rem 0; font-size: 0.9rem; color: var(--ink-charcoal); opacity: 0.8; text-align: center; }
.breadcrumb-nav a { color: var(--herald-gold); }

/* Games grid – centered */
.module-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;
}
.module-game-card {
    flex: 0 0 auto;
    width: clamp(280px, 25vw, 350px);
    max-width: 350px;
    min-width: 280px;
    background: #252d3a;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(201, 162, 39, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.module-game-card__img-wrap { aspect-ratio: 16/10; overflow: hidden; background: var(--british-navy); display: flex; align-items: center; justify-content: center; }
.module-game-card__img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.module-game-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; text-align: center; }
.module-game-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--paper-white); }
.module-game-card__desc { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; flex: 1; color: var(--ink-charcoal); }
.module-game-card__btn { margin-top: auto; text-align: center; }
@media (max-width: 768px) {
    .module-games-grid { flex-direction: column; align-items: center; }
    .module-game-card { width: 100%; max-width: 400px; }
}

/* Benefits – centered */
.module-benefits-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.module-benefit-box {
    flex: 1 1 240px;
    max-width: 340px;
    background: #252d3a;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.module-benefit-box__icon { font-size: 2rem; margin-bottom: 0.75rem; color: var(--herald-gold); }
.module-benefit-box__title { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--paper-white); }
.module-benefit-box__text { font-size: 0.95rem; color: var(--ink-charcoal); line-height: 1.6; }

/* FAQ – centered */
.module-faq-list { max-width: 700px; margin: 0 auto; text-align: left; }
.module-faq-item { border-bottom: 1px solid rgba(201, 162, 39, 0.2); }
.module-faq-item__question {
    width: 100%;
    padding: 1rem 0;
    text-align: left;
    background: none;
    border: none;
    color: var(--ink-charcoal);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.module-faq-item__question span { color: var(--herald-gold); font-size: 1.2rem; transition: transform 0.2s; }
.module-faq-item.is-open .module-faq-item__question span { transform: rotate(45deg); }
.module-faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.module-faq-item__answer p { padding: 0 0 1rem; margin: 0; color: var(--ink-charcoal); line-height: 1.5; }
.module-faq-item.is-open .module-faq-item__answer { max-height: 220px; }

/* Age modal & Cookie banner */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 35, 50, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}
.age-modal__content {
    background: var(--british-navy);
    border: 2px solid var(--herald-gold);
    border-radius: 16px;
    padding: 2rem;
    max-width: 440px;
    text-align: center;
}
.age-modal__title { color: var(--paper-white); margin-bottom: 1rem; font-size: 1.35rem; }
.age-modal__text { color: var(--ink-charcoal); margin-bottom: 0.75rem; }
.age-modal__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.age-modal__warning { font-size: 0.9rem; margin-top: 1rem; color: var(--herald-gold); }
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--british-navy);
    border-top: 2px solid var(--herald-gold);
    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.3);
}
.cookie-banner p { margin: 0; color: var(--ink-charcoal); font-size: 0.95rem; }
.cookie-banner a { color: var(--herald-gold); }

/* Disclaimer – centered */
.module-disclaimer {
    background: #141c28;
    color: var(--ink-charcoal);
    border-top: 3px solid var(--herald-gold);
    padding: 2rem 0;
    text-align: center;
}
.module-disclaimer .layout-wrap { max-width: 800px; margin-left: auto; margin-right: auto; }
.module-disclaimer__title { font-size: 1.1rem; margin-bottom: 1rem; color: var(--paper-white); text-align: center; }
.module-disclaimer__text, .module-disclaimer__address { margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--ink-charcoal); text-align: center; }
.module-disclaimer__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; justify-content: center; }
.module-disclaimer__badge {
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--paper-white);
}
.module-compliance { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-top: 1.5rem; }
.module-compliance a { display: flex; align-items: center; }
.module-compliance__img {
    height: 35px !important;
    width: auto !important;
    max-width: 120px !important;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    object-fit: contain;
}
.module-compliance__img:hover { box-shadow: 0 0 12px var(--herald-gold); }

/* Footer – centered */
.layout-footer {
    background: var(--british-navy);
    color: var(--ink-charcoal);
    border-top: 3px solid var(--herald-gold);
    padding: 2rem 1rem 1rem;
    text-align: center;
}
.layout-footer__grid {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.layout-footer__title { font-size: 1rem; margin-bottom: 0.75rem; color: var(--paper-white); }
.layout-footer__text { font-size: 0.9rem; color: var(--ink-charcoal); line-height: 1.5; }
.layout-footer__links { list-style: none; margin: 0; padding: 0; }
.layout-footer__links li { margin-bottom: 0.5rem; }
.layout-footer__links a { color: var(--ink-charcoal); transition: color 0.2s; }
.layout-footer__links a:hover { color: var(--herald-gold); }
.layout-footer__bottom { max-width: 1200px; margin: 0 auto; padding-top: 1rem; border-top: 1px solid rgba(201, 162, 39, 0.3); font-size: 0.85rem; opacity: 0.9; }
.layout-footer__bottom p { margin: 0.25rem 0; }

/* Content inner – centered */
.content-inner .layout-wrap { padding-top: calc(var(--header-height) + 2rem); text-align: center; }
.content-inner .section-title { margin-bottom: 1.5rem; text-align: center; }
.content-inner p, .content-inner ul { color: var(--ink-charcoal); line-height: 1.75; margin-bottom: 1.25rem; font-size: 1.0625rem; max-width: 72ch; margin-left: auto; margin-right: auto; text-align: center; }
.content-inner ul { padding-left: 1.5rem; list-style-position: inside; }
.content-inner a { color: var(--herald-gold); text-decoration: underline; }
.content-inner .layout-wrap.text-center ul { list-style-position: inside; padding-left: 0; }
.content-inner .layout-wrap.text-center h2 { margin-top: 1.5rem; color: var(--paper-white); text-align: center; }
.table-of-contents {
    display: block;
    margin: 1.5rem auto;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.25rem;
    max-width: 480px;
    width: fit-content;
    background: rgba(37, 45, 58, 0.8);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    text-align: center;
}
.table-of-contents h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--paper-white); }
.table-of-contents ul { list-style: none; padding-left: 0; margin: 0; }
.table-of-contents li { margin-bottom: 0.4rem; }
.table-of-contents a { color: var(--ink-charcoal); text-decoration: none; }
.table-of-contents a:hover { color: var(--herald-gold); }

/* Guides list – centered */
.module-guides-list { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; }
.module-guides-list__item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #252d3a;
    border-radius: 16px;
    border: 2px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-align: center;
}
.module-guides-list__link { display: block; text-decoration: none; color: inherit; text-align: center; }
.module-guides-list__title { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--herald-gold); text-align: center; }
.module-guides-list__desc { margin: 0; font-size: 0.95rem; color: var(--ink-charcoal); text-align: center; }

/* Reviews list – centered */
.module-reviews-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; }
.module-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: #252d3a;
    border-radius: 16px;
    border: 2px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
@media (max-width: 600px) { .module-reviews-list__item { grid-template-columns: 1fr; text-align: center; } }
.module-reviews-list__img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.module-reviews-list__title { font-size: 1.15rem; margin-bottom: 0.25rem; color: var(--paper-white); text-align: center; }
.module-reviews-list__desc { margin: 0; font-size: 0.95rem; color: var(--ink-charcoal); text-align: center; }
.module-reviews-list__item > div:not(.module-reviews-list__buttons) { text-align: center; }
.module-reviews-list__buttons { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }

/* Blog / Articles list – centered */
.module-articles-list { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; }
.module-articles-list__item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #252d3a;
    border-radius: 16px;
    border: 2px solid rgba(201, 162, 39, 0.2);
    text-align: center;
}
.module-articles-list__link { display: block; text-decoration: none; color: inherit; }
.module-articles-list__title { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--herald-gold); }
.module-articles-list__meta { font-size: 0.85rem; color: var(--ink-charcoal); opacity: 0.9; }

/* Account & Forms */
.page-account .layout-wrap { text-align: center; }
.page-account .account-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; }
.page-account .account-tabs__btn { padding: 0.6rem 1.2rem; background: #252d3a; border: 2px solid rgba(201, 162, 39, 0.3); color: var(--ink-charcoal); border-radius: 8px; cursor: pointer; font-family: var(--font-body); font-weight: 600; }
.page-account .account-tabs__btn.is-active { border-color: var(--herald-gold); color: var(--herald-gold); }
.page-account .account-panel { display: none; margin-left: auto; margin-right: auto; max-width: 480px; text-align: left; }
.page-account .account-panel.is-visible { display: block; }
.page-account .account-panel__title { color: var(--paper-white); margin-bottom: 1rem; text-align: center; }
.page-account .account-panel__subtitle { font-size: 0.9rem; color: var(--herald-gold); margin-bottom: 0.5rem; text-align: center; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; margin-bottom: 0.35rem; color: var(--ink-charcoal); font-size: 0.95rem; }
.form-label--inline { display: inline; margin-left: 0.5rem; }
.form-input { width: 100%; padding: 0.6rem 0.75rem; background: #252d3a; border: 2px solid rgba(201, 162, 39, 0.3); border-radius: 8px; color: var(--paper-white); font-family: var(--font-body); }
.form-input::placeholder { color: var(--ink-charcoal); opacity: 0.7; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-checkbox { margin: 0; }
.form-group button[type="submit"] { margin-top: 0.5rem; }
.article-footer { margin-top: 1.5rem; text-align: center; }
.article-footer .btn-3d { margin: 0 0.35rem; }
