:root {
    --primary: #ff6b6b;
    --primary-2: #f85c4e;
    --primary-3: #ff3d68;
    --bg: #0a0a0f;
    --bg-2: #101016;
    --text: #ffffff;
    --muted: #b8b8b8;
    --glass: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.12);
    --glow: 0 0 30px rgba(255, 107, 107, 0.35);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: radial-gradient(1200px 800px at 30% -10%, rgba(255,59,87,0.15), transparent),
                radial-gradient(800px 600px at 90% 10%, rgba(248,92,78,0.12), transparent),
                linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    overflow-x: hidden;
}
header {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2000;
}
.logo { font-weight: 800; letter-spacing: -0.6px; color: var(--primary-2); text-decoration: none; font-size: 1.6rem; white-space: nowrap; }
/* Desktop nav */
.nav-menu { display: flex; align-items: center; gap: 12px; }
.nav-menu a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border); transition: background .2s, color .2s, border-color .2s; }
.nav-menu a:hover { color: #fff; border-color: rgba(255,107,107,.45); }
/* Hamburger (mobile) */
.nav-toggle { display: none; }
.hamburger { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--glass); align-items: center; justify-content: center; cursor: pointer; }
.hamburger .bar { width: 20px; height: 2px; background: #fff; position: relative; transition: transform .25s ease, background .25s ease; }
.hamburger .bar::before, .hamburger .bar::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: transform .25s ease, top .25s ease, bottom .25s ease; }
.hamburger .bar::before { top: -6px; }
.hamburger .bar::after { bottom: -6px; }
.nav-toggle:checked + label.hamburger .bar { background: transparent; }
.nav-toggle:checked + label.hamburger .bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + label.hamburger .bar::after { bottom: 0; transform: rotate(-45deg); }
/* Mobile menu panel */
.menu-backdrop { display: none; }

.wrap { position: relative; display: grid; place-items: center; min-height: calc(100vh - 64px); padding: 24px; }

.hero {
    text-align: center;
    padding: 32px 20px;
    max-width: 980px;
    width: 100%;
    position: relative;
}
.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .5px;
    background: rgba(255,107,107,.12);
    border: 1px solid rgba(255,107,107,.25);
    color: var(--primary);
    text-transform: uppercase;
    font-size: .85rem;
}
.title {
    margin: 16px 0 10px;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.2px;
    background: linear-gradient(90deg, #fff 0%, #ffdada 40%, #ffffff 70%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 8px 24px rgba(255, 107, 107, .15));
}
.title .accent {
    background: linear-gradient(90deg, var(--primary) 0%, #ffa07a 30%, var(--primary-3) 60%, #ffd1c4 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 0 22px rgba(255,107,107,.25);
}
.subtitle { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.3rem); margin: 8px auto 26px; max-width: 780px; }

.cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.card {
    padding: 16px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255,107,107,.45); box-shadow: 0 12px 30px rgba(0,0,0,.38); }
.card a { display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.02rem; }
.pill { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--border); }

.lang { margin-left: 12px; }

/* Subtle animated particles */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dot { position: absolute; width: 3px; height: 3px; background: rgba(255,255,255,.4); border-radius: 50%; filter: blur(.5px); animation: float linear infinite; }
@keyframes float { from { transform: translateY(0) } to { transform: translateY(-60vh) } }

/* Glow divider */
.glow-line { height: 1px; width: 100%; max-width: 680px; margin: 24px auto; background: linear-gradient(90deg, transparent, rgba(255,107,107,.55), transparent); filter: blur(.3px); opacity: .65; }

footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 18px; }

@media (max-width: 640px) {
    header { padding: 12px 12px; }
    .logo { font-size: 1.35rem; }
    .hamburger { display: flex; }
    /* Turn nav into panel */
    .nav-menu { position: fixed; right: 12px; top: 60px; background: rgba(20,20,26,.96); border: 1px solid var(--border); border-radius: 14px; padding: 10px; width: min(82vw, 320px); box-shadow: 0 16px 40px rgba(0,0,0,.45); transform: translateY(-8px) scale(.98); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; display: block; z-index: 9999; }
    .nav-menu a { display: block; margin: 4px 0; padding: 10px 12px; background: transparent; border-radius: 10px; border: 1px solid transparent; font-size: .95rem; }
    .nav-menu a:hover { background: rgba(255,255,255,.06); border-color: var(--border); }
    .menu-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .25s ease; display: block; z-index: 9998; }
    .nav-toggle:checked ~ .nav-menu { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
    .nav-toggle:checked ~ .menu-backdrop { opacity: 1; pointer-events: auto; }
    .title { margin: 12px 0 6px; }
    .subtitle { margin: 10px auto 18px; line-height: 1.45; padding: 0 4px; }
    body { background: radial-gradient(900px 600px at 30% -10%, rgba(255,59,87,0.10), transparent),
                   radial-gradient(700px 500px at 90% 10%, rgba(248,92,78,0.08), transparent),
                   linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
    .cta-row { grid-template-columns: 1fr; gap: 12px; }
    .card { padding: 14px 14px; }
    .card a { font-size: 1rem; }
    .particles { opacity: .35; }
}
