/* ============================================
   SunyDale.com - site90-de
   CSS ARCHITECTURE: SMACSS (Layout, Module, State, Theme)
   PALETTE: Zen (zen-white, calm-gray, pure-black, whisper-silver, stone-charcoal, mist-light)
   EFFECT: Glassmorphism
   TYPOGRAPHY: Quicksand + Open Sans
   BUTTONS: 3D Effect
   ============================================ */

:root {
    --zen-white: #fafafa;
    --calm-gray: #e0e0e0;
    --pure-black: #0a0a0a;
    --whisper-silver: #d3d3d3;
    --stone-charcoal: #3c3c3c;
    --mist-light: #f5f5f5;
    --sundale-font-heading: 'Quicksand', sans-serif;
    --sundale-font-body: 'Open Sans', sans-serif;
    --header-height: 70px;
    --sundale-max: 1100px;
    --sundale-radius: 12px;
    --sundale-glow: rgba(184, 134, 11, 0.35);
}

@media (max-width: 600px) {
    :root { --header-height: 60px; }
}

*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
}

body {
    font-family: var(--sundale-font-body);
    color: var(--stone-charcoal);
    background-color: var(--zen-white);
    background-image: linear-gradient(180deg, var(--mist-light) 0%, var(--zen-white) 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: 0.3s ease; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* Layout */
.sundale-wrap {
    width: 100%;
    max-width: var(--sundale-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Module: Header */
.sundale-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--calm-gray);
    z-index: 1000;
}

.sundale-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: var(--header-height);
    padding: 0 1.5rem;
}

.sundale-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--sundale-font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--pure-black);
    flex-shrink: 0;
}

.sundale-logo__badge {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: var(--zen-white);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
}

.sundale-nav {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 1.5rem;
    border-left: 1px solid var(--whisper-silver);
    margin-left: 0.5rem;
}

.sundale-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.sundale-nav__link {
    color: var(--stone-charcoal);
    font-weight: 600;
    font-size: 0.95rem;
}

.sundale-nav__link:hover { color: #b8860b; }

.sundale-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    padding: 4px;
    color: var(--pure-black);
}

.sundale-burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    transition: 0.3s ease;
}

.sundale-burger.sundale-burger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.sundale-burger.sundale-burger--active span:nth-child(2) { opacity: 0; }
.sundale-burger.sundale-burger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .sundale-burger { display: flex; }
    .sundale-nav__list {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        display: none;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--calm-gray);
    }
    .sundale-nav__list.sundale-nav__list--open { display: flex; }
}

/* Module: Buttons (3D Effect) */
.sundale-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--sundale-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--sundale-radius);
    background: linear-gradient(180deg, #d4af37 0%, #b8860b 100%);
    color: var(--zen-white);
    box-shadow: 0 5px 0 #8b6914;
    transform: translateY(-2px);
    transition: all 0.15s ease;
}

.sundale-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 0 #8b6914;
}

.sundale-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #8b6914;
}

.sundale-btn--primary {
    background: linear-gradient(180deg, #d4af37 0%, #b8860b 100%);
    color: var(--zen-white);
}

/* State */
.sundale-is-hidden { display: none !important; }
.sundale-body-no-scroll { overflow: hidden !important; }

/* Module: Modals */
.sundale-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.sundale-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--sundale-radius);
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    color: var(--stone-charcoal);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.sundale-modal-title { font-family: var(--sundale-font-heading); margin: 0 0 1rem; font-size: 1.25rem; color: var(--pure-black); }
.sundale-modal-text { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--stone-charcoal); }
.sundale-modal-buttons { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }

.sundale-cookie-banner {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--calm-gray);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 1500;
    color: var(--stone-charcoal);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.sundale-cookie-banner p { margin: 0 0 0.75rem; font-size: 0.9rem; }
.sundale-cookie-banner a { color: #b8860b; text-decoration: underline; }

@media (max-width: 480px) {
    .sundale-cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}

/* Layout: Hero */
.sundale-hero {
    padding-top: 120px;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background-attachment: scroll;
    text-align: center;
}

.sundale-hero__inner {
    width: 100%;
    max-width: var(--sundale-max);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.sundale-hero__title {
    font-family: var(--sundale-font-heading);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    color: var(--pure-black);
    margin: 0 0 1rem;
    line-height: 1.25;
}

.sundale-hero__title-accent { color: #b8860b; }

.sundale-hero__subtitle {
    font-size: 1.05rem;
    color: var(--stone-charcoal);
    max-width: 560px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .sundale-hero { padding-top: 100px; }
    .sundale-hero__inner { padding: 2rem 1rem; }
}

/* Layout: Sections */
.sundale-section { padding: 3rem 0; }
.sundale-section__head { margin-bottom: 2rem; text-align: center; }
.sundale-section__title {
    font-family: var(--sundale-font-heading);
    font-size: 1.75rem;
    color: var(--pure-black);
    margin: 0 0 0.5rem;
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.sundale-page-content { padding-top: calc(var(--header-height) + 2rem); }
.sundale-section__subtitle { margin: 0; color: var(--stone-charcoal); font-size: 1rem; }

.sundale-article-body {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.sundale-article-body p { text-align: center; }

/* Module: Games grid */
.sundale-games-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

.sundale-game-card {
    flex: 0 0 auto;
    width: clamp(280px, 25vw, 350px);
    max-width: 350px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--sundale-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.sundale-game-card:hover {
    box-shadow: 0 12px 40px var(--sundale-glow);
    border-color: rgba(184, 134, 11, 0.3);
}

.sundale-game-card__img-wrap { aspect-ratio: 1; overflow: hidden; background: var(--mist-light); }
.sundale-game-card__img { width: 100%; height: 100%; object-fit: cover; }
.sundale-game-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sundale-game-card__body .sundale-btn { align-self: center; }
.sundale-game-card__title { font-family: var(--sundale-font-heading); font-size: 1.2rem; margin: 0 0 0.5rem; color: var(--pure-black); }
.sundale-game-card__desc { font-size: 0.9rem; color: var(--stone-charcoal); margin: 0 0 0.75rem; flex: 1; line-height: 1.4; }
.sundale-game-card__rating { font-size: 0.85rem; color: #666; margin: 0 0 1rem; }

/* Module: Benefits */
.sundale-benefits-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.25rem, 2vw, 2rem);
    max-width: 1100px;
    margin: 0 auto;
}

.sundale-benefit-box {
    flex: 1 1 260px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--sundale-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.sundale-benefit-box__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.sundale-benefit-box__title { font-family: var(--sundale-font-heading); font-size: 1.15rem; margin: 0 0 0.5rem; color: var(--pure-black); }
.sundale-benefit-box__text { font-size: 0.9rem; color: var(--stone-charcoal); margin: 0; line-height: 1.45; }

@media (max-width: 900px) {
    .sundale-benefits-row { flex-direction: column; align-items: center; }
}

/* Module: FAQ */
.sundale-faq-list { max-width: 700px; margin: 0 auto; }
.sundale-faq-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--sundale-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.sundale-faq-q {
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: var(--sundale-font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--pure-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sundale-faq-icon { font-size: 1.2rem; color: #b8860b; transition: transform 0.3s; }
.sundale-faq-item.sundale-faq-item--open .sundale-faq-icon { transform: rotate(45deg); }

.sundale-faq-a { display: none; padding: 0 1.25rem 1rem; }
.sundale-faq-item.sundale-faq-item--open .sundale-faq-a { display: block; }
.sundale-faq-a p { margin: 0; font-size: 0.95rem; color: var(--stone-charcoal); line-height: 1.5; text-align: left; }

/* Module: Disclaimer */
.sundale-disclaimer {
    background: linear-gradient(135deg, var(--stone-charcoal) 0%, var(--pure-black) 100%);
    color: var(--zen-white);
    padding: 2.5rem 0;
    margin-top: 2rem;
}

.sundale-disclaimer__title {
    font-family: var(--sundale-font-heading);
    font-size: 1.2rem;
    margin: 0 0 1rem;
    text-align: center;
    color: #d4af37;
}

.sundale-disclaimer__text,
.sundale-disclaimer__company {
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 0.75rem;
    text-align: center;
}

.sundale-disclaimer__text a,
.sundale-disclaimer__company a {
    color: #d4af37;
    text-decoration: underline;
}

.sundale-disclaimer__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.sundale-disclaimer__badges span {
    background: rgba(212, 175, 55, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.sundale-disclaimer__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.sundale-disclaimer__logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-sizing: border-box;
}

.sundale-disclaimer-logo {
    height: 42px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain;
    vertical-align: middle;
}

.sundale-disclaimer-logo:hover {
    opacity: 1;
    border: 1px solid #d4af37;
}

/* Module: Footer */
.sundale-footer {
    background: var(--stone-charcoal);
    color: var(--whisper-silver);
    padding: 2rem 0 1.5rem;
}

.sundale-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.sundale-footer__col {
    text-align: center;
}
.sundale-footer__col h3 {
    font-family: var(--sundale-font-heading);
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: var(--zen-white);
}
.sundale-footer__col p {
    text-align: center;
}

.sundale-footer__list { padding: 0; list-style: none; }
.sundale-footer__list li { margin-bottom: 0.4rem; }
.sundale-footer__list li a { display: inline-block; }
.sundale-footer__list a { color: var(--whisper-silver); }
.sundale-footer__list a:hover { color: #d4af37; }

.sundale-footer__copy {
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: var(--whisper-silver);
}

/* Page: Blog, Guides, Reviews - centered content */
.sundale-content-center {
    text-align: center;
    max-width: var(--sundale-max);
    margin: 0 auto;
}

.sundale-content-center .sundale-section__title,
.sundale-content-center .sundale-section__subtitle,
.sundale-content-center .sundale-article-body,
.sundale-content-center .sundale-article-body p {
    text-align: center;
}

.sundale-card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sundale-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--sundale-radius);
    padding: 1.5rem;
    flex: 1 1 280px;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.sundale-card__title { font-family: var(--sundale-font-heading); font-size: 1.1rem; margin: 0 0 0.5rem; }
.sundale-card__text { font-size: 0.9rem; color: var(--stone-charcoal); margin: 0 0 1rem; line-height: 1.45; text-align: center; }

/* Account tabs */
.sundale-form-group { margin-bottom: 1rem; text-align: left; }
.sundale-form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.sundale-form-group input[type="text"],
.sundale-form-group input[type="email"],
.sundale-form-group input[type="password"] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--calm-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.sundale-account-tabs__nav { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; justify-content: center; }
.sundale-account-tabs__btn {
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--mist-light);
    color: var(--stone-charcoal);
    transition: all 0.2s;
}

.sundale-account-tabs__btn--active { background: #b8860b; color: var(--zen-white); }
.sundale-account-tabs__panel { display: none; max-width: 400px; margin: 0 auto; }
.sundale-account-tabs__panel--visible { display: block; }
