/* ===== NaoBet — main styles (de-AT) ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Outfit", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 34px); }
.h2-accent { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 22px; border-radius: 999px;
    font-weight: 700; font-size: 15px; letter-spacing: 0.2px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-lg { padding: 14px 32px; font-size: 17px; }

.btn-yellow {
    background: linear-gradient(180deg, var(--yellow), var(--yellow-2));
    color: #241300;
    box-shadow: 0 6px 18px rgba(255, 197, 49, 0.35);
}
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 197, 49, 0.5); }

.btn-outline {
    border: 2px solid var(--purple-2);
    color: var(--text);
    background: rgba(123, 47, 247, 0.12);
}
.btn-outline:hover { background: rgba(123, 47, 247, 0.35); transform: translateY(-2px); }

.btn-light {
    background: rgba(255, 255, 255, 0.92);
    color: #1d0b38;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Tags ---------- */
.tag {
    display: inline-flex; align-items: center;
    padding: 2px 8px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.6px;
    text-transform: uppercase;
}
.tag-yellow { background: var(--yellow); color: #241300; }
.tag-red { background: var(--red); color: #fff; }
.tag-green { background: var(--green); color: #05240f; }
.tag-purple { background: var(--purple); color: #fff; }

/* ---------- Logo ---------- */
.logo {
    display: inline-flex; align-items: baseline;
    font-weight: 900; font-style: italic; font-size: 30px; letter-spacing: 0.5px;
}
.logo-nao { color: #fff; }
.logo-bet {
    color: var(--yellow);
    position: relative; padding-bottom: 4px;
}
.logo-bet::after {
    content: ""; position: absolute; left: 0; right: -6px; bottom: 0;
    height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, var(--yellow), var(--magenta));
    transform: skewX(-18deg);
}

/* ---------- Sidebar ---------- */
.sidebar {
    position: fixed; inset: 0 auto 0 0;
    width: 240px; z-index: 60;
    background: linear-gradient(180deg, var(--sidebar), #140826);
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column;
    padding: 20px 14px;
    gap: 22px;
}
.sidebar .logo { padding: 0 10px; }

.side-nav { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.side-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 12px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 15px; color: var(--muted);
    transition: background 0.15s ease, color 0.15s ease;
}
.side-link svg { width: 20px; height: 20px; }
.side-link:hover { background: rgba(123, 47, 247, 0.16); color: var(--text); }
.side-link.active {
    background: var(--grad-purple);
    color: #fff;
    box-shadow: 0 6px 16px rgba(123, 47, 247, 0.4);
}
.side-link .tag { margin-left: auto; }

.side-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.lang-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    border: 1px solid var(--line); color: var(--muted); font-weight: 600;
}
.lang-btn:hover { color: var(--text); border-color: var(--purple-2); }
.promo-cta {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; border-radius: var(--radius-sm);
    background: var(--grad-red); font-weight: 700;
    box-shadow: 0 8px 20px rgba(240, 68, 82, 0.35);
}
.promo-cta:hover { filter: brightness(1.1); }

.sidebar-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 55;
    background: rgba(5, 1, 15, 0.6); backdrop-filter: blur(2px);
}
.sidebar-overlay.show { display: block; }

/* ---------- Main layout ---------- */
.main { margin-left: 240px; min-height: 100vh; }

.topbar {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 18px;
    padding: 14px 28px;
    background: rgba(16, 7, 34, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s ease;
}
.topbar.scrolled { box-shadow: 0 10px 30px rgba(5, 1, 15, 0.55); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--text); }

.top-nav { display: flex; gap: 10px; }
.top-tab {
    padding: 9px 18px; border-radius: 999px;
    border: 2px solid var(--purple-2);
    font-weight: 700; font-size: 14.5px;
    background: rgba(123, 47, 247, 0.1);
    transition: background 0.15s ease, transform 0.15s ease;
}
.top-tab:hover { transform: translateY(-1px); background: rgba(123, 47, 247, 0.3); }
.top-tab-red { background: var(--grad-red); border-color: transparent; }
.top-tab-red:hover { filter: brightness(1.12); }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-btn {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--line); color: var(--muted);
}
.icon-btn:hover { color: var(--text); border-color: var(--purple-2); }
.lang-pill {
    padding: 7px 12px; border-radius: 8px;
    background: var(--card-2); font-weight: 700; font-size: 14px;
}

/* ---------- Hero ---------- */
.hero { padding: 26px 28px 0; }
.hero-inner {
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px;
    background: var(--grad-hero);
    border-radius: 22px;
    padding: clamp(28px, 4vw, 54px);
    box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.hero-inner::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 85% 10%, rgba(217, 70, 239, 0.35), transparent 60%),
        radial-gradient(500px 260px at 10% 100%, rgba(255, 197, 49, 0.14), transparent 60%);
    pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: clamp(30px, 4.4vw, 54px);
    font-weight: 900; font-style: italic;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 14px;
    hyphens: auto;
    overflow-wrap: break-word;
}
.hero h1 em { color: var(--yellow); font-style: italic; }
.hero p { color: #efe6ff; font-size: clamp(15px, 1.4vw, 18px); max-width: 46ch; margin-bottom: 24px; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-more { font-weight: 700; border-bottom: 2px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px; }
.hero-more:hover { color: var(--yellow); border-color: var(--yellow); }

.hero-art { position: relative; z-index: 1; }
.hero-art img {
    width: 100%; border-radius: 18px;
    box-shadow: 0 24px 50px rgba(5, 1, 15, 0.55);
    transform: rotate(1.2deg);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Category cards ---------- */
.cats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    padding: 22px 28px;
}
.cat-card {
    position: relative; border-radius: 18px; overflow: hidden;
    min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    isolation: isolate;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-card img {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.35s ease;
}
.cat-card::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 3, 25, 0.9));
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card:hover img { transform: scale(1.07); }
.cat-label {
    font-size: 24px; font-weight: 900; font-style: italic;
    text-transform: uppercase; letter-spacing: 0.6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.cat-sub { font-size: 13.5px; color: #d9ccf5; font-weight: 500; }

/* ---------- Games ---------- */
.games { padding: 14px 28px 10px; }
.games-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
    padding: 9px 18px; border-radius: 999px;
    background: var(--card); border: 1px solid var(--line);
    font-weight: 700; font-size: 14px; color: var(--muted);
    transition: all 0.15s ease;
}
.tab:hover { color: var(--text); border-color: var(--purple-2); }
.tab.active {
    background: linear-gradient(180deg, var(--yellow), var(--yellow-2));
    border-color: transparent; color: #241300;
    box-shadow: 0 6px 16px rgba(255, 197, 49, 0.3);
}

.games-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.game {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
}
.game:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(166, 77, 255, 0.5); }
.game.hide { display: none; }

.game-thumb { position: relative; aspect-ratio: 3 / 3.4; overflow: hidden; }
.game-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.35s ease;
}
.game:hover .game-thumb img { transform: scale(1.1); }
.game-thumb .tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
.game-thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(16, 7, 34, 0.85));
}
.game-play {
    position: absolute; z-index: 3; left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    padding: 10px 24px; border-radius: 999px;
    background: linear-gradient(180deg, var(--yellow), var(--yellow-2));
    color: #241300; font-weight: 800; font-size: 14px;
    opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 22px rgba(255, 197, 49, 0.45);
}
.game:hover .game-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.game h3 { font-size: 15.5px; font-weight: 700; padding: 12px 14px 2px; }
.game p { font-size: 12.5px; color: var(--muted); padding: 0 14px 14px; }

.games-more { display: flex; justify-content: center; padding: 28px 0 10px; }

/* ---------- Promotions ---------- */
.promos { padding: 34px 28px 10px; }
.promos h2 { margin-bottom: 20px; }
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promo-card {
    border-radius: 18px; padding: 22px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    box-shadow: var(--shadow-sm);
    position: relative; overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-purple { background: var(--grad-purple); }
.promo-red { background: var(--grad-red); }
.promo-green { background: var(--grad-green); }
.promo-dark { background: linear-gradient(135deg, #2a1752, #4c1d95); }
.promo-card h3 { font-size: 19px; }
.promo-big { font-size: 22px; font-weight: 900; line-height: 1.2; }
.promo-small { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); flex: 1; }

/* ---------- Steps ---------- */
.steps { padding: 44px 28px 10px; }
.steps h2 { margin-bottom: 22px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 18px; padding: 24px;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--purple-2); }
.step-num {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--grad-purple);
    font-weight: 900; font-size: 20px;
    margin-bottom: 14px;
    box-shadow: 0 8px 18px rgba(123, 47, 247, 0.4);
}
.step h3 { margin-bottom: 6px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- VIP ---------- */
.vip { padding: 44px 28px 10px; }
.vip-inner {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
    background: var(--grad-vip);
    border-radius: 22px; padding: clamp(26px, 4vw, 48px);
    box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.vip-inner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(500px 260px at 90% 0%, rgba(255, 197, 49, 0.22), transparent 60%);
    pointer-events: none;
}
.vip-inner > div { position: relative; z-index: 1; }
.vip h2 { margin-bottom: 12px; }
.vip p { color: #efe6ff; max-width: 52ch; margin-bottom: 22px; }
.vip-list {
    position: relative; z-index: 1;
    list-style: none;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.vip-list li {
    background: rgba(10, 3, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px; padding: 16px;
    display: flex; flex-direction: column; gap: 2px;
    backdrop-filter: blur(4px);
}
.vip-list strong { font-size: 20px; color: var(--yellow); }
.vip-list span { font-size: 13px; color: #e6dbff; }

/* ---------- Payments ---------- */
.payments { padding: 44px 28px 10px; text-align: center; }
.section-sub { color: var(--muted); margin: 8px 0 22px; }
.pay-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pay-badge {
    padding: 12px 22px; border-radius: 12px;
    background: var(--card); border: 1px solid var(--line);
    font-weight: 800; font-size: 15px; letter-spacing: 0.4px;
    transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pay-badge:hover { transform: translateY(-3px); border-color: var(--yellow); color: var(--yellow); }

/* ---------- Support ---------- */
.support { padding: 44px 28px 10px; }
.support-inner {
    text-align: center;
    background: linear-gradient(135deg, #221240, #3b1470);
    border: 1px solid var(--line);
    border-radius: 22px; padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-sm);
}
.support-inner p { color: var(--muted); margin: 10px 0 22px; font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { padding: 44px 28px 30px; max-width: 900px; }
.faq h2 { margin-bottom: 18px; }
.faq-item {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; margin-bottom: 10px;
    overflow: hidden;
}
.faq-item summary {
    list-style: none; cursor: pointer;
    padding: 16px 20px;
    font-weight: 700; font-size: 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 24px; font-weight: 800; color: var(--yellow);
    transition: transform 0.2s ease;
    flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.faq-item[open] { border-color: var(--purple-2); }

/* ---------- SEO Content / Ratgeber ---------- */
.content { padding: 44px 28px 10px; max-width: 920px; }
.content .content-title {
    font-size: clamp(26px, 3.4vw, 40px);
    margin-bottom: 18px;
}
.content .content-title em { color: var(--yellow); font-style: normal; }
.content h2 {
    font-size: clamp(21px, 2.4vw, 27px);
    margin: 36px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--yellow);
}
.content h3 {
    font-size: clamp(18px, 2vw, 22px);
    margin: 26px 0 12px;
    color: var(--purple-2);
}
.content p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.content strong { color: var(--text); }
.content ol { margin: 0 0 18px 22px; color: var(--muted); font-size: 15.5px; }
.content ol li { margin-bottom: 8px; }
.content ol li::marker { color: var(--yellow); font-weight: 800; }
.content ol li strong { color: var(--text); }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin: 18px 0 24px;
    box-shadow: var(--shadow-sm);
}
.content table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.content th {
    background: var(--grad-purple);
    text-align: left; padding: 12px 16px;
    font-weight: 800; letter-spacing: 0.3px;
    white-space: nowrap;
}
.content td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    vertical-align: top;
}
.content tr:last-child td { border-bottom: 0; }
.content tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }
.content td:first-child { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
    margin-top: 30px;
    background: linear-gradient(180deg, var(--sidebar), #0d0518);
    border-top: 1px solid var(--line);
    padding: 40px 28px 26px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 26px;
    margin-bottom: 30px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-size: 15px; margin-bottom: 4px; color: #fff; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--yellow); }

.footer-legal {
    display: flex; gap: 16px; align-items: flex-start;
    border-top: 1px solid var(--line); padding-top: 20px;
}
.footer-legal p { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.age-badge {
    flex: none;
    width: 44px; height: 44px; border-radius: 50%;
    border: 3px solid var(--red);
    display: grid; place-items: center;
    font-weight: 900; color: var(--red); font-size: 15px;
}

/* ---------- Cookie bar ---------- */
.cookie {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 80;
    display: flex; align-items: center; gap: 16px;
    background: var(--card-2);
    border: 1px solid var(--purple-2);
    border-radius: 16px; padding: 14px 20px;
    box-shadow: var(--shadow);
    max-width: min(92vw, 560px);
    animation: cookie-in 0.4s ease;
}
.cookie p { font-size: 14px; color: var(--text); }
@keyframes cookie-in {
    from { transform: translate(-50%, 20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* ---------- Chat bubble ---------- */
.chat-bubble {
    position: fixed; right: 20px; bottom: 20px; z-index: 70;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--grad-purple);
    box-shadow: 0 10px 26px rgba(123, 47, 247, 0.5);
    transition: transform 0.15s ease;
    padding-top: 10px;
}
.chat-bubble:hover { transform: scale(1.08); }
.chat-bubble svg { width: 24px; height: 24px; }
.chat-bubble span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1250px) {
    .games-grid { grid-template-columns: repeat(4, 1fr); }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .sidebar { transform: translateX(-105%); transition: transform 0.25s ease; }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .burger { display: flex; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-art { order: -1; max-width: 520px; }
    .vip-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .topbar { padding: 12px 16px; gap: 10px; }
    .top-nav { display: none; }
    .hero, .cats, .games, .promos, .steps, .vip, .payments, .support, .faq { padding-left: 16px; padding-right: 16px; }
    .cats { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .steps-grid { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .vip-list { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; align-items: center; text-align: center; }
    .btn-outline.btn-lg { display: none; }
    .top-actions .btn-outline { display: none; }
    .cookie { flex-direction: column; text-align: center; }
}
