/**
 * site65-de | TonDawRight.com
 * CSS ARCHITECTURE: BEM (Block Element Modifier)
 * PALETTE: Discovery (ocean-teal, jungle-green, deep-ocean, sand-cream, coral-warm, canopy-dark)
 * EFFECT: Glassmorphism
 * TYPOGRAPHY: Montserrat + Poppins (Geometric)
 * BUTTONS: Gradient Fill
 * COMPANY: LIMIT UNLIMITED TECHNOLOGIES LTD
 * YEAR: 2026
 */

* { 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(--sand-cream);
    background: var(--deep-ocean);
    background-image:
        radial-gradient(ellipse 100% 70% at 50% 0%, rgba(0, 150, 136, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 80% 100%, rgba(76, 175, 80, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, var(--deep-ocean) 0%, var(--canopy-dark) 100%);
    background-attachment: scroll;
}
.page-main { flex: 1 0 auto; }

:root {
    --ocean-teal: #009688;
    --jungle-green: #4caf50;
    --deep-ocean: #0d3b4c;
    --sand-cream: #f5f0e6;
    --coral-warm: #ff8a65;
    --canopy-dark: #1b2e1b;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', 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 content */
.ton-wrap {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
    text-align: center;
}
.ton-wrap--narrow { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.content-inner .ton-wrap { text-align: center; }
.content-inner .ton-wrap h1,
.content-inner .ton-wrap h2,
.content-inner .ton-wrap p,
.content-inner .ton-wrap ul { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Block: Header */
.ton-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(13, 59, 76, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--ocean-teal);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}
.ton-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ton-header__logo { display: flex; align-items: center; gap: 0.75rem; }
.ton-header__brand { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--sand-cream); }
.ton-header__badge {
    background: linear-gradient(135deg, var(--ocean-teal), var(--jungle-green));
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
}
.ton-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; flex-wrap: nowrap; align-items: center; }
.ton-nav__link { color: var(--sand-cream); font-weight: 600; font-size: 0.9rem; white-space: nowrap; transition: color 0.2s; }
.ton-nav__link:hover, .ton-nav__link.is-active { color: var(--ocean-teal); }
.ton-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.ton-header__burger span { width: 24px; height: 3px; background: var(--sand-cream); border-radius: 2px; }
@media (max-width: 1024px) {
    .ton-header__burger { display: flex; }
    .ton-header__nav { display: none; }
    .ton-header__nav.is-open {
        display: block;
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0; right: 0;
        background: rgba(13, 59, 76, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 2px solid var(--ocean-teal);
        padding: 1rem;
        z-index: 999;
    }
    .ton-nav { flex-direction: column; gap: 0.5rem; }
    .ton-nav__link { font-size: 1rem; white-space: normal; }
}

/* Block: Hero */
.ton-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-attachment: scroll;
}
.ton-hero__inner { max-width: 800px; margin: 0 auto; }
.ton-hero__title { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--sand-cream); margin: 0 0 0.5rem; line-height: 1.2; }
.ton-hero__title-accent { color: var(--ocean-teal); }
.ton-hero__subtitle { font-size: 1.05rem; color: var(--sand-cream); opacity: 0.95; margin: 0 0 1.5rem; }
.ton-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Block: Button (Gradient Fill) */
.ton-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--ocean-teal), var(--jungle-green));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ton-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s;
}
.ton-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 150, 136, 0.4); }
.ton-btn:hover::before { left: 100%; }
.ton-btn--secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid var(--ocean-teal);
    color: var(--sand-cream);
}
.ton-btn--secondary:hover { background: rgba(0, 150, 136, 0.25); }
.ton-btn--large { padding: 1rem 2rem; font-size: 1.05rem; }
.ton-btn--small { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Block: Section titles – centered */
.ton-section-title { font-size: 1.75rem; color: var(--sand-cream); margin: 0 0 0.5rem; text-align: center; }
.ton-section-desc { color: var(--sand-cream); opacity: 0.9; margin: 0 0 1.5rem; text-align: center; }

/* Block: Game card (Glassmorphism) */
.ton-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    margin: 0 auto;
}
.ton-game-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.ton-game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 150, 136, 0.15); }
.ton-game-card__img-wrap { aspect-ratio: 1; overflow: hidden; }
.ton-game-card__img { width: 100%; height: 100%; object-fit: cover; }
.ton-game-card__body { padding: 1.25rem; text-align: center; }
.ton-game-card__title { font-size: 1.2rem; color: var(--sand-cream); margin: 0 0 0.5rem; }
.ton-game-card__desc { font-size: 0.9rem; color: var(--sand-cream); opacity: 0.9; margin: 0 0 1rem; }
.ton-game-card__btn { text-align: center; }

/* Block: Benefits */
.ton-benefits-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; text-align: center; }
.ton-benefit-box {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}
.ton-benefit-box__title { color: var(--ocean-teal); margin: 0 0 0.5rem; font-size: 1.1rem; }
.ton-benefit-box__text { margin: 0; font-size: 0.95rem; color: var(--sand-cream); opacity: 0.9; }

/* Block: FAQ */
.ton-faq-list { list-style: none; margin: 0; padding: 0; max-width: 720px; margin-left: auto; margin-right: auto; text-align: left; }
.ton-faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.ton-faq-item__question {
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    color: var(--sand-cream);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ton-faq-item__answer { padding: 0 0 1rem; color: var(--sand-cream); opacity: 0.9; display: none; }
.ton-faq-item.is-open .ton-faq-item__answer { display: block; }

/* Block: Age modal */
.ton-age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}
.ton-age-modal__content {
    background: rgba(13, 59, 76, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--ocean-teal);
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
}
.ton-age-modal__title { color: var(--sand-cream); margin: 0 0 1rem; }
.ton-age-modal__text { color: var(--sand-cream); margin: 0 0 0.5rem; }
.ton-age-modal__buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.ton-age-modal__warning { font-size: 0.85rem; margin-top: 1rem; opacity: 0.85; }

/* Block: Cookie banner */
.ton-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 59, 76, 0.98);
    border-top: 2px solid var(--ocean-teal);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 1500;
    flex-wrap: wrap;
}
.ton-cookie-banner p { margin: 0; color: var(--sand-cream); font-size: 0.95rem; }
.ton-cookie-banner a { color: var(--ocean-teal); text-decoration: underline; }
.ton-cookie-banner.is-hidden { display: none !important; }

/* Block: Disclaimer */
.ton-disclaimer {
    background: rgba(0, 0, 0, 0.25);
    padding: 2rem 0;
    text-align: center;
}
.ton-disclaimer__title { color: var(--coral-warm); font-size: 1.1rem; margin: 0 0 1rem; }
.ton-disclaimer__text { color: var(--sand-cream); font-size: 0.9rem; margin: 0 0 0.75rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.ton-disclaimer__address { font-size: 0.85rem; margin: 1rem auto; max-width: 720px; }
.ton-disclaimer__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.ton-disclaimer__badge {
    background: rgba(0, 150, 136, 0.3);
    color: var(--sand-cream);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Block: Compliance logos */
.ton-compliance {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}
.ton-compliance__img {
    height: 40px !important;
    width: auto !important;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: opacity 0.2s, box-shadow 0.2s;
}
.ton-compliance__img:hover { opacity: 1; box-shadow: 0 0 12px rgba(0, 150, 136, 0.4); }

/* Block: Footer */
.ton-footer {
    background: var(--canopy-dark);
    padding: 2rem 1rem 1rem;
    text-align: center;
}
.ton-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
    text-align: center;
}
.ton-footer__title { color: var(--ocean-teal); font-size: 1rem; margin: 0 0 0.75rem; }
.ton-footer__links { list-style: none; margin: 0; padding: 0; }
.ton-footer__links a { color: var(--sand-cream); opacity: 0.9; }
.ton-footer__links a:hover { color: var(--ocean-teal); }
.ton-footer__text { margin: 0; font-size: 0.9rem; color: var(--sand-cream); opacity: 0.9; }
.ton-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 0.85rem; color: var(--sand-cream); opacity: 0.85; }

/* Content pages: centered */
.content-inner { padding: calc(var(--header-height) + 2rem) 0 2rem; }
.content-inner h1 { text-align: center; margin-bottom: 1rem; }
.content-inner h2 { text-align: center; margin: 1.5rem 0 0.5rem; }
.content-inner p, .content-inner ul { text-align: center; margin-left: auto; margin-right: auto; }
.content-inner ul { list-style: none; padding: 0; max-width: 560px; margin-left: auto; margin-right: auto; }
.content-inner ul li { margin: 0.5rem 0; }

/* Blog / Guides / Reviews listing – card-style, centered */
.ton-article-list, .ton-guide-list, .ton-review-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.ton-article-list li, .ton-guide-list li, .ton-review-list li {
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ton-article-list li:hover, .ton-guide-list li:hover, .ton-review-list li:hover {
    border-color: var(--ocean-teal);
    box-shadow: 0 6px 24px rgba(0, 150, 136, 0.15);
    transform: translateY(-2px);
}
.ton-article-list a, .ton-guide-list a, .ton-review-list a {
    display: block;
    padding: 1.25rem 1.5rem;
    color: var(--sand-cream);
    text-decoration: none;
    text-align: center;
    transition: color 0.2s;
}
.ton-article-list a:hover, .ton-guide-list a:hover, .ton-review-list a:hover {
    color: var(--ocean-teal);
}
.ton-article-list a strong, .ton-guide-list a strong, .ton-review-list a strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ocean-teal);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}
.ton-article-list a:hover strong, .ton-guide-list a:hover strong, .ton-review-list a:hover strong {
    color: var(--jungle-green);
}
.ton-article-list a small, .ton-guide-list a small, .ton-review-list a small {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--sand-cream);
    opacity: 0.85;
}

/* Article/Guide/Review single – centered */
.ton-article-body, .ton-guide-body, .ton-review-body {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}
.ton-article-body h2, .ton-guide-body h2, .ton-review-body h2 { text-align: center; }
.ton-article-body p, .ton-guide-body p, .ton-review-body p { text-align: center; }
.ton-breadcrumb { text-align: center; margin-bottom: 1rem; font-size: 0.9rem; }
.ton-breadcrumb a { color: var(--ocean-teal); }

/* Account page: tabs & forms (centered) */
.page-account .ton-wrap { text-align: center; }
.ton-account-tabs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.ton-account-tabs__btn {
    padding: 0.6rem 1.2rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--ocean-teal);
    color: var(--sand-cream);
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.ton-account-tabs__btn.is-active { background: var(--ocean-teal); color: #fff; }
.ton-account-tabs__btn:hover:not(.is-active) { background: rgba(0,150,136,0.2); }
.ton-account-panel { display: none; max-width: 480px; margin: 0 auto; text-align: center; }
.ton-account-panel.is-visible { display: block; }
.ton-account-panel__title { margin: 0 0 1rem; color: var(--sand-cream); }
.ton-form-group { margin-bottom: 1rem; text-align: left; }
.ton-form-group label, .ton-form-label { display: block; margin-bottom: 0.35rem; color: var(--sand-cream); font-size: 0.95rem; }
.ton-form-input, .ton-form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: var(--sand-cream);
    font-family: var(--font-body);
    font-size: 1rem;
}
.ton-form-textarea { min-height: 120px; resize: vertical; }
.ton-form-input::placeholder, .ton-form-textarea::placeholder { color: rgba(245,240,230,0.5); }
.ton-form-checkbox { margin-right: 0.5rem; }
.ton-form-label-inline { display: inline; font-size: 0.9rem; }
