/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: #0f172a; color: #a7f3d0; padding: .5rem 1rem;
    border-radius: 0 0 .5rem .5rem; z-index: 200; font-weight: 500;
}
.skip-link:focus { top: 0; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.5rem; border-radius: 2rem;
    font-weight: 500; font-size: .95rem;
    transition: all .25s ease; white-space: nowrap;
}
.btn-primary {
    background: #0f172a; color: #f0fdf4;
    box-shadow: 0 4px 14px rgba(15,23,42,.25);
}
.btn-primary:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,23,42,.3); }
.btn-outline {
    background: rgba(255,255,255,.8); color: #0f172a;
    border: 1.5px solid rgba(15,23,42,.2);
    backdrop-filter: blur(4px);
}
.btn-outline:hover { background: #fff; border-color: #0f172a; transform: translateY(-2px); }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-nav { display: none; }
@media (min-width: 768px) { .btn-nav { display: inline-flex; } }

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(248,250,252,.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15,23,42,.06);
    transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(15,23,42,.08); }
.header-inner {
    display: flex; align-items: center;
    padding-top: 1rem; padding-bottom: 1rem;
    gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo-icon {
    font-size: 1.5rem; line-height: 1;
    color: #0f172a;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-line-1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: #0f172a; }
.logo-line-2 { font-size: .7rem; color: #64748b; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }

/* ===== NAV ===== */
.nav { margin-left: auto; }
.nav-menu {
    display: flex; align-items: center; gap: .25rem;
}
.nav-link {
    padding: .5rem .85rem; border-radius: 2rem;
    font-size: .9rem; font-weight: 500; color: #475569;
    transition: all .2s ease;
}
.nav-link:hover { color: #0f172a; background: rgba(15,23,42,.06); }

/* Mobile nav toggle */
.nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: .75rem;
    margin-left: auto; transition: background .2s ease;
}
.nav-toggle:hover { background: rgba(15,23,42,.06); }
.hamburger {
    position: relative; width: 18px; height: 14px;
}
.hamburger::before, .hamburger::after, .hamburger span {
    position: absolute; left: 0; width: 100%; height: 2px;
    background: #0f172a; border-radius: 2px;
    transition: all .3s ease;
}
.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after { bottom: 0; transform: rotate(90deg); }

@media (max-width: 767px) {
    .nav-menu {
        position: fixed; top: 4.5rem; left: 0; right: 0;
        background: rgba(248,250,252,.97);
        backdrop-filter: blur(16px);
        flex-direction: column; padding: 1rem 1.5rem 1.5rem;
        gap: .25rem; border-bottom: 1px solid rgba(15,23,42,.06);
        box-shadow: 0 20px 40px rgba(15,23,42,.1);
        transform: translateY(-120%); opacity: 0;
        transition: all .35s cubic-bezier(.4,0,.2,1);
        pointer-events: none;
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-link { padding: .75rem 1rem; width: 100%; border-radius: .75rem; }
    .nav-link:hover { background: rgba(15,23,42,.06); }
    .btn-nav { display: flex !important; justify-content: center; margin-top: .5rem; }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 4rem 0 0;
    overflow: hidden;
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
}
.hero-bg-accent {
    position: absolute; top: -200px; right: -200px;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(167,243,208,.25) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
    align-items: center; padding-bottom: 4rem;
    position: relative; z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem 1rem; border-radius: 2rem;
    background: rgba(15,23,42,.06);
    font-size: .8rem; font-weight: 500; color: #0f172a;
    margin-bottom: 1.5rem; letter-spacing: .02em;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #34d399; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.5); }
}
.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    color: #0f172a; margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.hero-em {
    font-style: italic; color: #059669;
    position: relative;
}
.hero-em::after {
    content: ''; position: absolute; bottom: .1em; left: 0; right: 0;
    height: .15em; background: rgba(167,243,208,.5);
    border-radius: 2px; z-index: -1;
}
.hero-sub {
    font-size: 1.15rem; color: #64748b;
    line-height: 1.7; margin-bottom: 2rem; max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-trust {
    display: flex; align-items: center; gap: 1.25rem;
    flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-number { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: #0f172a; }
.hero-stat-label { font-size: .8rem; color: #94a3b8; }
.hero-stat-divider {
    width: 1px; height: 2rem; background: rgba(15,23,42,.1);
}
/* Hero visual */
.hero-visual { position: relative; max-width: 520px; margin: 0 auto; }
.hero-card {
    border-radius: 1.25rem; overflow: hidden;
    box-shadow: 0 20px 60px rgba(15,23,42,.12);
}
.hero-card-main { position: relative; z-index: 2; }
.hero-card-main img { width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.hero-card-accent {
    position: absolute; bottom: -2rem; left: -2rem; z-index: 3;
    width: 70%; box-shadow: 0 16px 48px rgba(15,23,42,.15);
}
.hero-card-accent img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-card-float {
    position: absolute; top: 2rem; right: -1.5rem; z-index: 4;
}
.float-badge {
    display: flex; align-items: center; gap: .5rem;
    background: #fff; padding: .6rem 1rem;
    border-radius: 2rem; font-size: .8rem; font-weight: 500; color: #0f172a;
    box-shadow: 0 8px 24px rgba(15,23,42,.12);
    white-space: nowrap;
}
.float-badge-icon { font-size: 1.1rem; }
/* Wave */
.hero-wave {
    position: absolute; bottom: 0; left: 0; right: 0;
    color: #f8fafc; line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

@media (min-width: 900px) {
    .hero { padding: 6rem 0 0; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .hero-visual { margin: 0; }
}

/* ===== SECTION COMMON ===== */
.section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-tag {
    display: inline-block; font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
    color: #059669; margin-bottom: .75rem;
    background: rgba(5,150,105,.08); padding: .35rem 1rem;
    border-radius: 2rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #0f172a; margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-desc { font-size: 1.05rem; color: #64748b; line-height: 1.7; }

/* ===== GAMES SECTION ===== */
.games-section { background: #f8fafc; }
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.game-card {
    background: #fff; border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,23,42,.06);
    transition: all .3s ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15,23,42,.1); }
.game-card-visual {
    position: relative; overflow: hidden;
    aspect-ratio: 300/220;
}
.game-card-visual img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.game-card:hover .game-card-visual img { transform: scale(1.05); }
.game-card-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(15,23,42,.2);
    opacity: 0; transition: opacity .3s ease;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.3));
}
.game-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.game-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem; font-weight: 600;
    color: #0f172a; margin-bottom: .5rem;
}
.game-card-desc { font-size: .9rem; color: #64748b; line-height: 1.6; margin-bottom: 1rem; }
.game-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.game-card-tags li {
    font-size: .72rem; font-weight: 500;
    padding: .25rem .6rem; border-radius: 2rem;
    background: #f1f5f9; color: #64748b;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.service-card {
    background: #fff; border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(15,23,42,.05);
    transition: all .3s ease;
    border: 1px solid rgba(15,23,42,.04);
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(15,23,42,.09); }
.service-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 1rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    display: flex; align-items: center; justify-content: center;
    color: #059669; margin-bottom: 1.25rem;
}
.service-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem; font-weight: 600;
    color: #0f172a; margin-bottom: .5rem;
}
.service-desc { font-size: .9rem; color: #64748b; line-height: 1.7; }

/* ===== COMMUNITY SECTION ===== */
.community-section {
    background: #f8fafc;
    padding: 6rem 0;
}
.community-grid {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
    align-items: center;
}
.community-content .section-tag { margin-bottom: .75rem; }
.community-content .section-title { text-align: left; margin-bottom: 1.25rem; }
.community-desc { font-size: 1rem; color: #64748b; line-height: 1.8; margin-bottom: 1rem; }
.community-stats {
    display: flex; gap: 2rem; flex-wrap: wrap;
    margin: 2rem 0; padding: 1.5rem;
    background: rgba(15,23,42,.03); border-radius: 1rem;
}
.community-stat { display: flex; align-items: center; gap: .6rem; }
.community-stat-value { font-size: 1.3rem; }
.community-stat-text { font-size: .9rem; color: #475569; font-weight: 500; }
.community-visual { position: relative; }
.community-img-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.community-img-grid img {
    border-radius: 1.25rem; width: 100%;
    object-fit: cover; box-shadow: 0 8px 32px rgba(15,23,42,.1);
}
.community-img-grid img:first-child { aspect-ratio: 4/5; }
.community-img-grid img:last-child { aspect-ratio: 4/3; }
.community-img-accent {
    position: absolute; top: -2rem; right: -2rem;
    width: 120px; height: 120px; pointer-events: none;
}
.accent-circle {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(167,243,208,.4);
    position: absolute; top: 0; right: 0;
}
.accent-dots {
    width: 60px; height: 60px;
    background-image: radial-gradient(circle, #059669 1px, transparent 1px);
    background-size: 8px 8px; opacity: .3;
    position: absolute; bottom: 0; left: 0;
}

@media (min-width: 900px) {
    .community-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .community-content .section-title { font-size: clamp(2rem, 3.5vw, 2.5rem); }
}

/* ===== VISIT SECTION ===== */
.visit-section {
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
}
.visit-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
    align-items: stretch;
}
.visit-info {
    background: #fff; border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(15,23,42,.07);
}
.visit-info .section-tag { margin-bottom: .75rem; }
.visit-info .section-title { text-align: left; margin-bottom: 2rem; }
.visit-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.visit-detail { display: flex; gap: 1rem; align-items: flex-start; }
.visit-detail-icon {
    width: 2.5rem; height: 2.5rem; border-radius: .75rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    display: flex; align-items: center; justify-content: center;
    color: #059669; flex-shrink: 0;
}
.visit-detail-content { display: flex; flex-direction: column; gap: .15rem; }
.visit-detail-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; font-weight: 500; }
.visit-detail-value { font-size: .95rem; color: #0f172a; line-height: 1.5; }
.visit-detail-link { font-size: .95rem; color: #059669; font-weight: 500; transition: color .2s; }
.visit-detail-link:hover { color: #047857; text-decoration: underline; }
.visit-cta { margin-top: .5rem; }
.visit-map {
    border-radius: 1.5rem; overflow: hidden;
    min-height: 350px;
    box-shadow: 0 8px 32px rgba(15,23,42,.07);
}

@media (min-width: 900px) {
    .visit-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0f172a; color: #94a3b8;
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-brand .logo-icon { color: #a7f3d0; }
.footer-brand .logo-line-1 { color: #f0fdf4; }
.footer-brand .logo-line-2 { color: #64748b; }
.footer-tagline { font-size: .9rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
    color: #a7f3d0; margin-bottom: 1rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a {
    font-size: .9rem; color: #94a3b8;
    transition: color .2s; padding: .25rem 0;
}
.footer-nav a:hover { color: #f0fdf4; }
.footer-address { font-size: .9rem; line-height: 1.8; font-style: normal; }
.footer-link { color: #64748b; transition: color .2s; }
.footer-link:hover { color: #a7f3d0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1.5rem 0;
    display: flex; flex-direction: column; gap: .25rem;
    font-size: .8rem; color: #64748b; text-align: center;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: center; }
}

/* ===== COOKIE BADGE ===== */
.cookie-badge {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    background: #0f172a; color: #f0fdf4;
    padding: .75rem 1.25rem; border-radius: 2rem;
    font-size: .82rem; display: flex; align-items: center; gap: 1rem;
    box-shadow: 0 8px 32px rgba(15,23,42,.25);
    z-index: 90; max-width: 90vw;
    animation: slide-up .4s ease;
}
.cookie-accept {
    background: #059669; color: #fff;
    padding: .4rem 1rem; border-radius: 2rem;
    font-size: .8rem; font-weight: 500;
    transition: background .2s; white-space: nowrap;
}
.cookie-accept:hover { background: #047857; }
.cookie-badge.hidden { display: none; }
@keyframes slide-up {
    from { opacity: 0; transform: translate(-50%, 1rem); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    background: #0f172a; color: #a7f3d0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(15,23,42,.2);
    opacity: 0; transform: translateY(1rem);
    transition: all .3s ease; z-index: 80;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #1e293b; transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
[data-anim] {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-anim].in-view { opacity: 1; transform: translateY(0); }

/* ===== FOCUS ===== */
:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
}
</style>
