/* ============================================
   site27-de | tailsaloft.com | DE Social Casino
   CSS ARCHITECTURE: Atomic CSS / Utility-First
   PALETTE: Retro/Vintage (vintage-cream, rusty-orange, old-brown, sepia-tan, aged-gold, worn-gray)
   EFFECT: Neumorphism (soft shadows, embossed cards)
   TYPOGRAPHY: Bold Display (Oswald + Raleway)
   BUTTONS: 3D Effect (box-shadow depth)
   ============================================ */

:root {
    --header-height: 70px;
    /* Retro Vintage theme */
    --vintage-cream: #fffdd0;
    --rusty-orange: #cd5c5c;
    --old-brown: #8b4513;
    --sepia-tan: #deb887;
    --aged-gold: #b8860b;
    --worn-gray: #696969;
    --text-on-light: #2c2c2c;
    --neuro-light: #e8e4dc;
    --neuro-shadow: #c4bfb5;
    --neuro-highlight: #ffffff;
}

@media (max-width: 600px) {
    :root { --header-height: 60px; }
}

* { box-sizing: border-box; max-width: 100%; }

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    color: var(--text-on-light);
    background: var(--neuro-light);
}

/* Layout */
.l-page { min-height: 100vh; }

/* Header - Neumorphism */
.c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--neuro-light);
    box-shadow: 8px 8px 16px var(--neuro-shadow), -8px -8px 16px var(--neuro-highlight);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.c-header__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--old-brown);
}

.c-header__badge {
    background: var(--aged-gold);
    color: var(--vintage-cream);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

.c-header__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    margin: 0;
}

.c-header__nav { display: flex; align-items: center; margin-left: auto; }

.c-header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.c-header__link {
    color: var(--old-brown);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    transition: all 0.2s;
}

.c-header__link:hover {
    background: var(--neuro-shadow);
    color: var(--text-on-light);
    box-shadow: inset 4px 4px 8px var(--neuro-shadow);
}

.c-header__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.c-header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--old-brown);
    margin: 5px 0;
}

@media (max-width: 768px) {
    .c-header__menu {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--neuro-light);
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: none;
    }
    .c-header__menu.state-is-open { display: flex; }
    .c-header__toggle { display: block; }
}

/* Hero - Neumorphism */
.m-hero {
    padding-top: 120px;
    min-height: calc(100vh - var(--header-height));
    background: linear-gradient(145deg, var(--sepia-tan) 0%, var(--neuro-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.m-hero__title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    margin: 0 0 0.5rem;
    color: var(--old-brown);
}

.m-hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 1.5rem;
    color: var(--worn-gray);
}

/* Buttons - 3D Effect */
.u-btn {
    display: inline-block;
    background: var(--aged-gold);
    color: var(--vintage-cream);
    border: none;
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 5px 0 #8b6914;
    border-radius: 8px;
    transition: all 0.1s;
}

.u-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #8b6914;
}

.u-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8b6914;
}

.u-btn--secondary {
    background: var(--worn-gray);
    box-shadow: 0 5px 0 #4a4a4a;
}

.u-btn--secondary:hover { box-shadow: 0 7px 0 #4a4a4a; }
.u-btn--secondary:active { box-shadow: 0 2px 0 #4a4a4a; }

/* Section */
.l-section { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Benefits - Neumorphism cards */
.m-benefits { padding: 3rem 0; }

.m-benefits__title {
    text-align: center;
    color: var(--old-brown);
    font-family: 'Oswald', sans-serif;
    margin-bottom: 2rem;
}

.m-benefits__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
}

.m-benefit-card {
    flex: 0 1 300px;
    background: var(--neuro-light);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 12px 12px 24px var(--neuro-shadow), -12px -12px 24px var(--neuro-highlight);
    text-align: center;
}

.m-benefit-card__icon { width: 64px; height: 64px; margin-bottom: 1rem; }

.m-benefit-card__title {
    font-family: 'Oswald', sans-serif;
    color: var(--aged-gold);
    margin: 0 0 0.5rem;
}

.m-benefit-card__text { margin: 0; color: var(--worn-gray); }

/* Games section */
.m-games { padding: 3rem 0; background: var(--sepia-tan); }

.m-games__title {
    text-align: center;
    color: var(--old-brown);
    font-family: 'Oswald', sans-serif;
    margin-bottom: 2rem;
}

.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: var(--neuro-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 12px 12px 24px var(--neuro-shadow), -12px -12px 24px var(--neuro-highlight);
}

.m-game-card__img-wrap {
    padding: 1rem;
    background: var(--vintage-cream);
}

.m-game-card__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.m-game-card__body { padding: 1.5rem; }

.m-game-card__title {
    font-family: 'Oswald', sans-serif;
    color: var(--old-brown);
    margin: 0 0 0.5rem;
}

.m-game-card__text { margin: 0 0 1rem; color: var(--worn-gray); font-size: 0.9rem; }

@media (max-width: 768px) {
    .m-games-grid { flex-direction: column; align-items: center; }
    .m-game-card { width: 100%; max-width: 400px; }
}

/* FAQ */
.m-faq { padding: 3rem 0; }

.m-faq__title {
    text-align: center;
    color: var(--old-brown);
    font-family: 'Oswald', sans-serif;
    margin-bottom: 2rem;
}

.m-faq__item {
    background: var(--neuro-light);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 8px 8px 16px var(--neuro-shadow), -8px -8px 16px var(--neuro-highlight);
    overflow: hidden;
}

.m-faq__item summary {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--old-brown);
}

.m-faq__item p { padding: 0 1.5rem 1rem; margin: 0; color: var(--worn-gray); }

/* Disclaimer */
.m-disclaimer {
    padding: 2rem 0;
    background: var(--old-brown);
    color: var(--vintage-cream);
    text-align: center;
}

.m-disclaimer .l-section { text-align: center; }

.m-disclaimer__title { margin-bottom: 1rem; }

.m-disclaimer__text { margin: 0.5rem 0; font-size: 0.9rem; }

.m-disclaimer__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.m-disclaimer__badge {
    background: var(--aged-gold);
    color: var(--vintage-cream);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 8px;
}

/* Footer */
.c-footer {
    background: var(--worn-gray);
    color: var(--vintage-cream);
    padding: 2rem 1rem;
}

.c-footer__grid { max-width: 1200px; margin: 0 auto; }

.c-footer__row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.c-footer__section { flex: 1; min-width: 200px; }

.c-footer__heading {
    font-family: 'Oswald', sans-serif;
    margin: 0 0 1rem;
    font-size: 1rem;
}

.c-footer__link {
    display: block;
    color: var(--vintage-cream);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.c-footer__link:hover { text-decoration: underline; }

.c-footer__compliance { width: 100%; text-align: center; }

.c-footer__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.c-footer__logo {
    height: 35px !important;
    width: auto !important;
    max-width: 120px !important;
    background: rgba(255,255,255,0.95);
    padding: 8px;
    border-radius: 8px;
}

.c-footer__age-icon { height: 28px; vertical-align: middle; }

.c-footer__copyright {
    text-align: center;
    font-size: 0.85rem;
    margin: 0;
    margin-top: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Modal */
.m-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.m-modal__content {
    background: var(--neuro-light);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    box-shadow: 20px 20px 40px var(--neuro-shadow), -20px -20px 40px var(--neuro-highlight);
}

.m-modal__title { font-family: 'Oswald', sans-serif; margin: 0 0 1rem; color: var(--old-brown); }

.m-modal__body p { margin: 0.5rem 0; }

.m-modal__buttons { display: flex; gap: 1rem; margin-top: 1rem; }

/* Cookie banner */
.m-cookie {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: var(--neuro-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 12px 12px 24px var(--neuro-shadow);
    z-index: 9999;
}

.m-cookie a { color: var(--aged-gold); }

.m-cookie .u-btn { margin-top: 0.5rem; }

.state-hidden { display: none !important; }

/* Account tabs */
.m-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }

.m-tabs__tab {
    padding: 0.75rem 1.25rem;
    border: none;
    background: var(--neuro-shadow);
    color: var(--text-on-light);
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
}

.m-tabs__tab.state-is-active {
    background: var(--aged-gold);
    color: var(--vintage-cream);
}

.m-panel.state-hidden { display: none !important; }

/* Page content */
.l-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 2rem; min-height: 60vh; }

.l-page-title {
    font-family: 'Oswald', sans-serif;
    color: var(--old-brown);
    margin: 0 0 1rem;
}

.l-page-title--small { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }

.m-content-card {
    background: var(--neuro-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 12px 12px 24px var(--neuro-shadow), -12px -12px 24px var(--neuro-highlight);
    margin-bottom: 1rem;
}

.m-content-card label { display: block; margin-bottom: 0.5rem; font-weight: 600; }

.m-content-card input,
.m-content-card textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--neuro-shadow);
    border-radius: 8px;
    background: var(--vintage-cream);
    color: var(--text-on-light);
    box-sizing: border-box;
}

.m-content-card .u-btn { margin-top: 0.5rem; }
