/* ============================================================
   PROJECT: youconnecthere.com (site42-de) – Adviesbureau Van Mil
   CSS ARCHITECTURE: SMACSS (Layout, Module, State)
   PALETTE: Connection Theme (connect-blue, link-cyan, signal-green)
   EFFECT: Glassmorphism
   TYPOGRAPHY: Montserrat + Raleway
   BUTTON STYLE: Outline Morph
   ============================================================ */

:root {
    --ych-connect-blue: #2563eb;
    --ych-connect-dark: #1e40af;
    --ych-link-cyan: #06b6d4;
    --ych-signal-green: #10b981;
    --ych-hub-purple: #8b5cf6;
    --ych-wire-silver: #94a3b8;
    --ych-network-dark: #0f172a;
    --ych-network-light: #f8fafc;
    --ych-text: #1e293b;
    --ych-muted: #64748b;
    --ych-border: rgba(37, 99, 235, 0.2);
    --ych-shadow: rgba(15, 23, 42, 0.1);
    --header-height: 78px;
    font-size: clamp(15px, 1.05vw, 17px);
}

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

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* Layout */
.l-ych-wrap { width: min(1140px, 92vw); margin: 0 auto; }

/* Module: Header */
.m-ych-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(248, 250, 252, 0.98); border-bottom: 2px solid var(--ych-border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem min(4vw, 2rem); height: var(--header-height);
}

.m-ych-header__brand { display: flex; align-items: center; gap: 0.75rem; }

.m-ych-header__home {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'Montserrat', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--ych-connect-dark);
}

.m-ych-badge {
    display: inline-flex; padding: 0.25rem 0.6rem; border-radius: 8px;
    background: linear-gradient(135deg, var(--ych-link-cyan), rgba(6, 182, 212, 0.2));
    color: var(--ych-connect-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
}

.m-ych-burger {
    display: none; width: 44px; height: 44px; border: 2px solid var(--ych-border); border-radius: 8px;
    background: var(--ych-network-light); color: var(--ych-connect-dark); position: relative; cursor: pointer;
}

.m-ych-burger span {
    position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ych-connect-dark);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.m-ych-burger span:nth-child(1) { top: 14px; }
.m-ych-burger span:nth-child(2) { top: 21px; }
.m-ych-burger span:nth-child(3) { top: 28px; }

.m-ych-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.m-ych-burger.is-open span:nth-child(2) { opacity: 0; }
.m-ych-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.m-ych-nav { display: flex; align-items: center; }
.m-ych-nav__list {
    display: flex; align-items: center; gap: 1.2rem; list-style: none; margin: 0; padding: 0;
}

.m-ych-nav__link { padding: 0.25rem 0; font-weight: 600; color: var(--ych-text); transition: color 0.2s ease; }
.m-ych-nav__link:hover { color: var(--ych-connect-blue); }

main { padding-top: var(--header-height); }

/* Module: Hero */
.m-ych-hero {
    position: relative; overflow: hidden;
    padding: clamp(100px, 18vw, 160px) 0 clamp(60px, 12vw, 100px);
    background: linear-gradient(180deg, var(--ych-network-light) 0%, rgba(6, 182, 212, 0.08) 50%, var(--ych-network-light) 100%);
    background-attachment: scroll;
}

.m-ych-hero__content { position: relative; z-index: 2; max-width: 640px; }

.m-ych-hero__title {
    font-family: 'Montserrat', sans-serif; font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 700;
    margin-bottom: 1rem; color: var(--ych-text); line-height: 1.25;
}

.m-ych-hero__subtitle {
    color: var(--ych-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.5rem;
}

.m-ych-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem; }
.m-ych-hero__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.m-ych-title {
    font-family: 'Montserrat', sans-serif; font-size: clamp(1.65rem, 3.5vw, 2.2rem); font-weight: 700;
    margin-bottom: 1rem; color: var(--ych-text);
}

.m-ych-lead { margin: 0 0 2rem; color: var(--ych-muted); line-height: 1.7; }

.m-ych-tag {
    display: inline-flex; align-items: center; padding: 0.35rem 0.8rem; border-radius: 999px;
    background: rgba(37, 99, 235, 0.12); color: var(--ych-text); font-size: 0.85rem;
}

/* Module: Button – Outline Morph */
.m-ych-btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.5rem;
    border-radius: 12px; border: 2px solid var(--ych-connect-blue); background: transparent;
    color: var(--ych-connect-blue); font-weight: 600; font-family: 'Raleway', sans-serif; cursor: pointer;
    transition: all 0.3s ease; position: relative; z-index: 1;
}

.m-ych-btn::before {
    content: ''; position: absolute; inset: 0; background: var(--ych-connect-blue);
    z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}

.m-ych-btn:hover { color: #fff; }
.m-ych-btn:hover::before { transform: scaleX(1); }

.m-ych-btn--primary { border-color: var(--ych-connect-blue); color: var(--ych-connect-blue); }
.m-ych-btn--secondary { border-color: var(--ych-link-cyan); color: var(--ych-link-cyan); }
.m-ych-btn--secondary::before { background: var(--ych-link-cyan); }

/* Module: Age gate & Cookie */
.m-ych-age {
    position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.9); padding: 1rem; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.m-ych-age.state-visible { opacity: 1; visibility: visible; }

.m-ych-age__window {
    background: var(--ych-network-light); border-radius: 16px; max-width: 420px; width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); border: 2px solid var(--ych-border);
}

.m-ych-age__header { padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--ych-border); }
.m-ych-age__title { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; margin: 0; color: var(--ych-text); }
.m-ych-age__content { padding: 1.5rem; }
.m-ych-age__content p { margin: 0 0 0.8rem; color: var(--ych-text); line-height: 1.6; }
.m-ych-age__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }

.m-ych-cookie {
    position: fixed; bottom: 20px; right: 20px; z-index: 1999; max-width: 340px; padding: 1.2rem;
    background: rgba(248, 250, 252, 0.98); border: 2px solid var(--ych-connect-blue); border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12); opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.m-ych-cookie.state-visible { opacity: 1; visibility: visible; }
.m-ych-cookie p { margin: 0 0 0.8rem; font-size: 0.95rem; line-height: 1.5; }
.m-ych-cookie__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Module: Benefits – Glassmorphism */
.m-ych-benefits { padding: clamp(3rem, 6vw, 4.5rem) 0; }

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

.m-ych-benefit-card {
    flex: 1 1 280px; max-width: 360px; padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 20px;
    box-shadow: 0 8px 32px var(--ych-shadow);
}

.m-ych-benefit-card__title {
    font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; margin: 0 0 0.6rem; color: var(--ych-connect-dark);
}

.m-ych-benefit-card p { margin: 0; color: var(--ych-text); line-height: 1.6; font-size: 0.95rem; }

/* Module: Games grid */
.m-ych-games {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.04) 100%);
}

.m-ych-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;
}

.m-ych-game-card {
    flex: 0 0 auto; width: clamp(280px, 28vw, 340px); max-width: 340px;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px);
    border: 1px solid var(--ych-border); border-radius: 20px;
    box-shadow: 0 8px 28px var(--ych-shadow); overflow: hidden;
}

.m-ych-game-card__thumb-wrap { display: block; line-height: 0; }
.m-ych-game-card__thumb { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.m-ych-game-card__body { padding: 1.25rem; }
.m-ych-game-card__title {
    font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--ych-text);
}

.m-ych-game-card__text { margin: 0 0 0.8rem; color: var(--ych-muted); line-height: 1.55; font-size: 0.95rem; }
.m-ych-game-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }

/* Module: FAQ */
.m-ych-faq { padding: clamp(3rem, 6vw, 4.5rem) 0; }

.m-ych-faq__item {
    margin-bottom: 0.8rem; border: 1px solid var(--ych-border); border-radius: 12px;
    background: rgba(255, 255, 255, 0.8); overflow: hidden;
}

.m-ych-faq__item summary {
    padding: 1rem 1.2rem; font-weight: 600; cursor: pointer; color: var(--ych-text);
}

.m-ych-faq__item p { margin: 0; padding: 0 1.2rem 1rem; color: var(--ych-muted); line-height: 1.65; }

/* Module: Disclaimer */
.m-ych-disclaimer {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: linear-gradient(135deg, var(--ych-network-dark) 0%, var(--ych-connect-dark) 100%);
    color: #fff;
}

.m-ych-disclaimer__title {
    font-family: 'Montserrat', sans-serif; font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin: 0 0 1rem;
}

.m-ych-disclaimer p { margin: 0 0 0.8rem; line-height: 1.7; font-size: 0.95rem; }
.m-ych-disclaimer a { color: var(--ych-link-cyan); text-decoration: underline; }
.m-ych-disclaimer__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.m-ych-disclaimer__badges .m-ych-tag { background: rgba(255,255,255,0.25); color: #fff; }

/* Module: Footer */
.m-ych-footer {
    padding: clamp(2rem, 4vw, 3rem) 0 1.5rem; background: var(--ych-network-dark); color: var(--ych-network-light);
}

.m-ych-footer__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem;
}

.m-ych-footer__heading {
    font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; margin: 0 0 0.8rem; color: var(--ych-link-cyan);
}

.m-ych-footer__link {
    display: block; padding: 0.25rem 0; color: rgba(248, 250, 252, 0.85); font-size: 0.9rem;
    transition: color 0.2s ease;
}

.m-ych-footer__link:hover { color: var(--ych-link-cyan); }

.m-ych-footer__section p { margin: 0 0 0.4rem; font-size: 0.9rem; color: rgba(248, 250, 252, 0.9); }

.m-ych-footer__logos-row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.5rem;
}

.m-ych-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

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

.m-ych-footer__age { height: 36px; width: auto; }

.m-ych-footer__legal {
    margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem; color: rgba(248, 250, 252, 0.8); text-align: center;
}

/* Page layout */
.m-ych-page .m-ych-hero { padding: clamp(80px, 14vw, 120px) 0 clamp(40px, 8vw, 60px); }

.m-ych-content { padding-bottom: 3rem; }
.m-ych-content h2 { font-family: 'Montserrat', sans-serif; margin: 2rem 0 1rem; color: var(--ych-text); }
.m-ych-content p { margin: 0 0 1rem; line-height: 1.75; color: var(--ych-text); }

.m-ych-card-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}

.m-ych-card {
    background: #fff; border: 1px solid var(--ych-border); border-radius: 16px;
    box-shadow: 6px 6px 20px var(--ych-shadow); overflow: hidden;
}

.m-ych-card__body { padding: 1.25rem; }
.m-ych-card__title { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; }
.m-ych-card__title a { color: var(--ych-text); }
.m-ych-card__title a:hover { color: var(--ych-connect-blue); }
.m-ych-card__meta { font-size: 0.85rem; color: var(--ych-muted); margin-bottom: 0.5rem; }

/* Tabs */
.m-ych-tabs__tab {
    padding: 0.6rem 1.2rem; border: 2px solid var(--ych-border); border-radius: 10px;
    background: #fff; cursor: pointer; font-weight: 600; color: var(--ych-text);
}

.m-ych-tabs__tab.state-active { background: var(--ych-connect-blue); color: #fff; border-color: var(--ych-connect-blue); }

.m-ych-panel { display: none; padding: 1rem 0; }
.m-ych-panel.state-visible { display: block; }

.m-ych-hero__wrap--center { text-align: center; }
.m-ych-title--center { text-align: center; }
.m-ych-lead--center { text-align: center; }
.m-ych-account-form-wrap .m-ych-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.m-ych-account-form-wrap .m-ych-panel { max-width: 420px; margin-left: auto; margin-right: auto; }
.m-ych-account-form-wrap .m-ych-panel form { text-align: left; }

/* Form */
.m-ych-form-group { margin-bottom: 1rem; }
.m-ych-form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; color: var(--ych-text); }
.m-ych-form-group input, .m-ych-form-group textarea { width: 100%; padding: 0.6rem 0.8rem; border: 2px solid var(--ych-border); border-radius: 8px; font-size: 1rem; box-sizing: border-box; }
.form-status { display: none; margin-top: 0.8rem; padding: 0.6rem; background: rgba(37, 99, 235, 0.12); border-radius: 8px; color: var(--ych-connect-dark); }
.form-status.state-visible { display: block; }

/* Mobile */
@media (max-width: 960px) {
    :root { --header-height: 60px; }
    .m-ych-burger { display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .m-ych-nav { display: none; }
    .m-ych-nav.state-open {
        display: block; position: fixed; top: calc(var(--header-height) - 1px); left: 0; right: 0;
        background: var(--ych-network-light); border-bottom: 2px solid var(--ych-border); padding: 1rem;
        z-index: 999; max-height: calc(100vh - var(--header-height)); overflow-y: auto;
    }
    .m-ych-nav.state-open .m-ych-nav__list { flex-direction: column; align-items: stretch; gap: 0.5rem; }
    .m-ych-games__grid { flex-direction: column; align-items: center; }
    .m-ych-game-card { width: 100%; max-width: 400px; }
}

@media (max-width: 768px) {
    .m-ych-hero { padding-top: 100px; min-height: auto; }
}
