﻿@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --panel-top: #16211a;
    --panel-bottom: #0a120d;
    --panel-glass: rgba(22, 33, 26, 0.55);
    --border-light: #b9f2c6;
    --border-dark: #2f8f52;
    --gold-top: #f2dda3;
    --gold-bottom: #c2933c;
    --text-cream: #e9e3d6;
    --text-dim: #a89f8c;
    --accent-top: #8ef0a8;
    --accent-bottom: #1fae54;
    --info-top: #8fd9e8;
    --info-bottom: #2f96b8;
    --caution: #cf7a4e;
    --ok: #8fd19e;
    --bg: #070c08;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
    --shadow-sm: 0 6px 18px rgba(0,0,0,0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: var(--gold-bottom); color: #0a2410; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-top), var(--gold-bottom)); border-radius: 10px; border: 2px solid var(--bg); }

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background:
        radial-gradient(ellipse 900px 500px at 20% -10%, rgba(31,174,84,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 900px 500px at 100% 0%, rgba(196,184,150,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at top, #0e1710 0%, var(--bg) 55%);
    background-attachment: fixed;
    color: var(--text-cream);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Cinzel', 'Cambria', serif;
}

a { transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease, transform 0.15s ease, border-color 0.2s ease; }

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ===== Header ===== */
header.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    margin: 0 -20px 34px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 12, 8, 0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(196,184,150,0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand .brand-logo {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}
.brand:hover .brand-logo { transform: scale(1.05); }

.navtoggle {
    display: none;
    background: rgba(196,184,150,0.06);
    border: 1px solid rgba(196,184,150,0.3);
    color: var(--text-cream);
    border-radius: 8px;
    font-size: 18px;
    padding: 6px 12px;
    cursor: pointer;
}

nav { display: flex; align-items: center; flex-wrap: wrap; row-gap: 4px; justify-content: flex-end; }
nav a {
    color: var(--text-cream);
    text-decoration: none;
    margin-left: 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    opacity: 0.78;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold-top), var(--accent-bottom));
    transition: width 0.25s ease;
    border-radius: 2px;
}
nav a:hover { opacity: 1; }
nav a:hover::after { width: 100%; }
nav a.active { opacity: 1; color: var(--gold-top); }
nav a.active::after { width: 100%; }
nav a.nav-cta {
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 7px 13px;
    margin-left: 14px;
    opacity: 1;
    background: linear-gradient(180deg, rgba(196,184,150,0.08), rgba(47,168,85,0.05));
}
nav a.nav-cta::after { display: none; }
nav a.nav-cta:hover { background: linear-gradient(180deg, var(--accent-top), var(--accent-bottom)); color: #0a2e14; border-color: var(--accent-bottom); }

.badge.coins {
    margin-left: 5px;
    background: rgba(31,174,84,0.15);
    color: var(--accent-bottom);
    border: 1px solid rgba(31,174,84,0.25);
    font-size: 11px;
    padding: 2px 7px;
    white-space: nowrap;
}

@media (max-width: 760px) {
    header.top { flex-wrap: wrap; margin: 0 -16px 24px; padding: 14px 16px; }
    .navtoggle { display: inline-block; }
    nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 16px;
        gap: 4px;
    }
    nav.open { display: flex; animation: slideDown 0.25s ease; }
    nav a { margin: 4px 0; padding: 8px 4px; width: 100%; }
    nav a.nav-cta { width: auto; }
    .wrap { padding: 0 16px 50px; }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Footer ===== */
.foot-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.foot-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.3px;
}
.foot-links a:hover { color: var(--gold-top); }

.visitor-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.2px;
    color: var(--text-dim);
}
.visitor-counter .dot { width: 8px; height: 8px; }

footer {
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
    padding-top: 40px;
    margin-top: 20px;
    border-top: 1px solid rgba(196,184,150,0.08);
}

/* ===== Panels ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .panel { animation: none !important; }
}

.panel {
    background: linear-gradient(165deg, var(--panel-top), var(--panel-bottom));
    border: 1px solid rgba(31,174,84,0.22);
    border-radius: var(--radius);
    padding: 28px 30px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(31,174,84,0.06), 0 0 26px rgba(31,174,84,0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease both;
}
.panel::before {
    content: '';
    position: absolute;
    top: -60%; right: -20%;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(31,174,84,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.panel h2 {
    margin: -28px -30px 22px;
    padding: 13px 30px;
    font-size: 13px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--info-top), var(--info-bottom));
    color: #052832;
    display: block;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.28);
    box-shadow: 0 2px 12px rgba(47,150,184,0.3);
}

.panel.narrow {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--accent-bottom);
    margin-bottom: 10px;
}

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .grid2 { grid-template-columns: 1fr; } }

.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
@media (max-width: 900px) { .grid5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid5 { grid-template-columns: 1fr; } }

.status-row { display: flex; align-items: center; gap: 10px; font-size: 15px; }

.dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 10px currentColor;
}
.dot.online { background: var(--ok); color: var(--ok); }
.dot.online::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    animation: pulse-ring 2s ease-out infinite;
}
.dot.offline { background: var(--caution); color: var(--caution); }
@keyframes pulse-ring {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .dot.online::after { animation: none; display: none; }
}

.stat-card {
    text-align: center;
    padding: 6px 0;
}
.stat-icon { font-size: 20px; margin-bottom: 6px; opacity: 0.85; }
.stat-num {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Cinzel', serif;
    background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}
.stat-label {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ===== Forms ===== */
form .field { margin-bottom: 16px; }
label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; letter-spacing: 0.3px; }

input[type=text], input[type=password], input[type=email], input[type=number], select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(196,184,150,0.22);
    border-radius: var(--radius-sm);
    color: var(--text-cream);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus {
    outline: none;
    border-color: var(--info-bottom);
    box-shadow: 0 0 0 3px rgba(47,150,184,0.18), 0 0 0 1px rgba(194,147,60,0.25);
}

/* ===== Buttons ===== */
@property --trace-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    background: linear-gradient(180deg, rgba(196,184,150,0.06), rgba(0,0,0,0.2));
    color: var(--gold-top);
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    isolation: isolate;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--trace-angle),
        transparent 0deg, transparent 300deg,
        var(--gold-top) 330deg, #eafff0 345deg, var(--gold-top) 355deg,
        transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    filter: drop-shadow(0 0 5px var(--gold-top));
    transition: opacity 0.25s ease;
    animation: trace-rotate 2.4s linear infinite;
    animation-play-state: paused;
    pointer-events: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.35); border-color: var(--gold-bottom); }
.btn:hover::before { opacity: 1; animation-play-state: running; }
.btn:active { transform: translateY(0); }
@keyframes trace-rotate { to { --trace-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
    .btn::before { animation: none; }
}
.btn.accent {
    background: linear-gradient(180deg, var(--accent-top), var(--accent-bottom));
    color: #0a2e14;
    border-color: var(--accent-bottom);
    box-shadow: 0 6px 20px rgba(31,174,84,0.25);
}
.btn.accent:hover { box-shadow: 0 10px 28px rgba(31,174,84,0.4); }
.btn.accent::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 48%, transparent 66%);
    background-size: 220% 100%;
    background-position: 130% 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.btn.accent:hover::after { opacity: 1; animation: shimmer-sweep 1.1s ease; }
@keyframes shimmer-sweep { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.btn.full { width: 100%; text-align: center; }
.btn.small { padding: 8px 14px; font-size: 12px; border-radius: 8px; }

/* ===== Messages ===== */
.msg { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; border: 1px solid; }
.msg.error { background: rgba(207,122,78,0.13); border-color: var(--caution); color: #f0b596; }
.msg.ok { background: rgba(143,209,158,0.1); border-color: var(--ok); color: var(--ok); }

.small { font-size: 12px; color: var(--text-dim); }

.badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(196,184,150,0.1);
    border: 1px solid rgba(196,184,150,0.15);
    color: var(--text-dim);
    letter-spacing: 0.4px;
}
.badge.discount { background: rgba(207,122,78,0.2); border-color: rgba(207,122,78,0.4); color: #f0b596; }
.badge.value { background: rgba(31,174,84,0.18); border-color: rgba(31,174,84,0.4); color: var(--ok); margin-left: 6px; }

code {
    background: rgba(0,0,0,0.35);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 12px;
    border: 1px solid rgba(196,184,150,0.1);
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 110px 20px 70px;
    margin: 0 0 30px;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(5,9,6,0.55) 0%, rgba(5,9,6,0.78) 55%, var(--bg) 96%),
        radial-gradient(ellipse 900px 500px at 50% 0%, rgba(31,174,84,0.14) 0%, transparent 65%),
        url('hero-bg.jpg');
    background-size: cover, cover, cover;
    background-position: center 18%, center, center 22%;
    background-repeat: no-repeat;
    filter: saturate(1.05);
    pointer-events: none;
    z-index: -1;
}
.hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(196,184,150,0.2);
    background: rgba(10,16,11,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 7px 18px;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.hero-status svg { width: 15px; height: 15px; color: var(--accent-top); flex-shrink: 0; }
.hero h1 {
    margin: 0 0 16px;
}
.hero-logo {
    width: 340px;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(31,174,84,0.35));
}
@media (max-width: 600px) { .hero-logo { width: 240px; } }
.hero-tag {
    max-width: 580px;
    margin: 0 auto 30px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.65;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Stats bar: glass strip overlapping the hero ===== */
.stats-bar {
    position: relative;
    z-index: 3;
    max-width: 1040px;
    margin: -78px auto 70px;
    display: flex;
    flex-wrap: wrap;
    background: rgba(12,20,14,0.62);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(31,174,84,0.28);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(31,174,84,0.12);
    overflow: hidden;
}
.stats-bar .stat-card {
    flex: 1 1 0;
    min-width: 130px;
    padding: 22px 14px;
    border-right: 1px solid rgba(196,184,150,0.1);
    position: relative;
}
.stats-bar .stat-card:last-child { border-right: none; }
.stats-bar .stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 40%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--info-bottom), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.stats-bar .stat-card:hover::before { opacity: 1; }
.stats-bar .stat-card:hover { background: rgba(31,174,84,0.05); }
@media (max-width: 720px) {
    .stats-bar { margin-top: -50px; }
    .stats-bar .stat-card { flex: 1 1 45%; border-bottom: 1px solid rgba(196,184,150,0.1); }
}

/* ===== Generic section (no box, breathes on the dark bg) ===== */
.section { padding: 10px 0 56px; position: relative; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 38px; }
.section-head .eyebrow { display: block; }
.section-head h2 {
    margin: 8px 0 0;
    font-size: 26px;
    background: linear-gradient(180deg, var(--text-cream), var(--text-dim));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-head p { color: var(--text-dim); font-size: 14px; margin: 10px 0 0; }

/* ===== Feature grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-grid > .feature,
.shop-grid > .shop-card,
.social-grid > .social-card,
.grid5 > .stat-card {
    animation: fadeInUp 0.5s ease both;
}
.feature-grid > .feature:nth-child(1),  .shop-grid > .shop-card:nth-child(1),  .social-grid > .social-card:nth-child(1),  .grid5 > .stat-card:nth-child(1)  { animation-delay: 0.02s; }
.feature-grid > .feature:nth-child(2),  .shop-grid > .shop-card:nth-child(2),  .social-grid > .social-card:nth-child(2),  .grid5 > .stat-card:nth-child(2)  { animation-delay: 0.07s; }
.feature-grid > .feature:nth-child(3),  .shop-grid > .shop-card:nth-child(3),  .social-grid > .social-card:nth-child(3),  .grid5 > .stat-card:nth-child(3)  { animation-delay: 0.12s; }
.feature-grid > .feature:nth-child(4),  .shop-grid > .shop-card:nth-child(4),  .social-grid > .social-card:nth-child(4),  .grid5 > .stat-card:nth-child(4)  { animation-delay: 0.17s; }
.feature-grid > .feature:nth-child(5),  .shop-grid > .shop-card:nth-child(5),  .social-grid > .social-card:nth-child(5),  .grid5 > .stat-card:nth-child(5)  { animation-delay: 0.22s; }
.feature-grid > .feature:nth-child(n+6), .shop-grid > .shop-card:nth-child(n+6), .social-grid > .social-card:nth-child(n+6) { animation-delay: 0.26s; }
@media (prefers-reduced-motion: reduce) {
    .feature-grid > .feature, .shop-grid > .shop-card, .social-grid > .social-card, .grid5 > .stat-card { animation: none !important; }
}

.feature {
    background: linear-gradient(165deg, rgba(255,255,255,0.025), rgba(0,0,0,0.2));
    border: 1px solid rgba(196,184,150,0.12);
    border-radius: var(--radius-sm);
    padding: 22px 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(31,174,84,0.35); box-shadow: var(--shadow-sm); }
.feature:hover .feature-icon {
    border-color: rgba(47,150,184,0.4);
    box-shadow: 0 0 16px rgba(47,150,184,0.25), 0 0 0 1px rgba(31,174,84,0.15) inset;
}
.feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, rgba(31,174,84,0.18), rgba(31,174,84,0.04));
    border: 1px solid rgba(31,174,84,0.25);
    color: var(--accent-bottom);
    margin-bottom: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 15px; color: var(--text-cream); font-family: 'Inter', sans-serif; font-weight: 700; }
.feature p { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ===== CTA band: full-bleed colour block, breaks the "everything is a grey box" pattern ===== */
.cta-band {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 56px 20px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 700px 300px at 15% 20%, rgba(47,150,184,0.16), transparent 60%),
        radial-gradient(ellipse 700px 300px at 85% 80%, rgba(31,174,84,0.18), transparent 60%),
        linear-gradient(180deg, #101b13, #0a130c);
    border-top: 1px solid rgba(31,174,84,0.18);
    border-bottom: 1px solid rgba(31,174,84,0.18);
}
.cta-band .eyebrow { color: var(--info-bottom); }
.cta-band h2 {
    margin: 8px 0 14px;
    font-size: 27px;
    color: var(--text-cream);
}
.cta-band p { max-width: 560px; margin: 0 auto 26px; color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.cta-band .hero-cta { position: relative; z-index: 1; }

/* ===== Community / social section ===== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}
.social-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(196,184,150,0.12);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-cream);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.social-card:hover { border-color: var(--gold-bottom); transform: translateY(-3px); background: rgba(0,0,0,0.3); box-shadow: 0 10px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(194,147,60,0.15); }
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(142,240,168,0.16), rgba(31,174,84,0.08));
    border: 1px solid rgba(142,240,168,0.2);
}
.social-icon svg { width: 22px; height: 22px; color: var(--accent-top); }
.status-icon-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(142,240,168,0.18);
    flex-shrink: 0;
    margin-right: 4px;
}
.status-icon-ok svg { width: 13px; height: 13px; color: var(--accent-top); }
.social-name { font-weight: 700; font-size: 13px; }
.social-sub { font-size: 11px; color: var(--text-dim); }

/* ===== Data tables ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid rgba(196,184,150,0.1); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(196,184,150,0.08); }
.data-table th {
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.6px;
    background: rgba(0,0,0,0.2);
}
.data-table tbody tr { transition: background 0.15s ease; }
.data-table tbody tr:hover { background: rgba(196,184,150,0.05); }
.data-table tr.row-current { background: rgba(143,209,158,0.09); }
.data-table tr:last-child td { border-bottom: none; }
.data-table td a { color: var(--gold-top); text-decoration: none; }
.data-table td a:hover { text-decoration: underline; }

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 12px;
}
.rank-badge.gold { background: linear-gradient(160deg, #ffe9ad, #d99b2f); color: #0a2e14; box-shadow: 0 0 12px rgba(255,200,80,0.5); }
.rank-badge.silver { background: linear-gradient(160deg, #eef1f4, #a9b2bb); color: #2a2f33; box-shadow: 0 0 12px rgba(200,210,220,0.35); }
.rank-badge.bronze { background: linear-gradient(160deg, #e5a56d, #a3623a); color: #2c1305; box-shadow: 0 0 12px rgba(200,120,60,0.35); }

/* ===== Shop ===== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}
.shop-card {
    background: linear-gradient(165deg, rgba(255,255,255,0.03), rgba(0,0,0,0.25));
    border: 1px solid rgba(196,184,150,0.14);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.shop-card:hover { transform: translateY(-4px); border-color: rgba(31,174,84,0.4); box-shadow: var(--shadow-sm), 0 0 18px rgba(31,174,84,0.12); }
.shop-card-top { display: flex; align-items: center; gap: 12px; }
.shop-card-icon {
    width: 44px; height: 44px;
    border-radius: 8px;
    background: radial-gradient(circle at 50% 30%, rgba(31,174,84,0.14), rgba(0,0,0,0.4));
    border: 1px solid rgba(31,174,84,0.3);
    box-shadow: 0 0 8px rgba(31,174,84,0.18) inset, 0 0 6px rgba(31,174,84,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.shop-card-icon img { width: 32px; height: 32px; image-rendering: pixelated; }
.shop-card-icon .fallback { font-size: 16px; opacity: 0.4; }
.shop-card-name { font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.shop-card-bonus { color: var(--ok); font-size: 12px; font-weight: 600; }
.shop-card-total { color: var(--text-dim); font-size: 11px; padding-top: 6px; border-top: 1px solid rgba(196,184,150,0.15); }
.shop-card-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.old-price { text-decoration: line-through; color: var(--text-dim); font-size: 12px; }
.new-price { color: var(--gold-top); font-weight: 800; font-size: 15px; }
.buy-form { display: flex; gap: 6px; margin-top: 4px; align-items: center; }
.buy-form select { flex: 1; min-width: 0; padding: 8px 10px; font-size: 12px; }
.amount-input { width: 58px; padding: 8px; font-size: 12px; }

/* ===== Shop tabs/sidebar (in-game itemshop layout) ===== */
.shop-tabs { display: flex; gap: 10px; margin: 20px 0; }
.shop-tab-btn {
    background: linear-gradient(165deg, rgba(255,255,255,0.03), rgba(0,0,0,0.25));
    border: 1px solid rgba(196,184,150,0.14);
    border-radius: var(--radius-sm);
    padding: 12px 22px;
    color: var(--text-cream);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.shop-tab-btn:hover { border-color: rgba(31,174,84,0.4); }
.shop-tab-btn.active { background: linear-gradient(160deg, var(--accent-top), var(--accent-bottom)); color: #0a2410; border-color: transparent; }

.shop-tab-panel { display: flex; flex-direction: column; gap: 20px; }

.shop-banner { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(196,184,150,0.14); box-shadow: var(--shadow-sm); }
.shop-banner img { width: 100%; display: block; }

.shop-layout { display: flex; gap: 20px; align-items: flex-start; }
.shop-sidebar { flex: 0 0 200px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 20px; }
.shop-cat-btn {
    background: linear-gradient(165deg, rgba(255,255,255,0.03), rgba(0,0,0,0.25));
    border: 1px solid rgba(196,184,150,0.14);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--text-cream);
    font-weight: 600;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}
.shop-cat-btn:hover { border-color: rgba(31,174,84,0.4); }
.shop-cat-btn.active { background: linear-gradient(160deg, var(--accent-top), var(--accent-bottom)); color: #0a2410; border-color: transparent; }
.shop-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.shop-cat-panel h2 { margin-top: 0; }

@media (max-width: 720px) {
    .shop-layout { flex-direction: column; }
    .shop-sidebar { flex-direction: row; flex-wrap: wrap; position: static; flex: none; width: 100%; }
}

/* ===== Partner tiers ===== */
.tier-track { display: flex; flex-direction: column; gap: 10px; }
.tier-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(196,184,150,0.1);
}
.tier-row.tier-current { border-color: var(--ok); background: rgba(143,209,158,0.08); }
.tier-num {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 13px;
    background: linear-gradient(160deg, var(--gold-top), var(--gold-bottom));
    color: #0a2e14;
    flex-shrink: 0;
}
.tier-info { flex: 1; min-width: 160px; }
.tier-name { font-weight: 700; font-size: 14px; }
.tier-req { font-size: 12px; color: var(--text-dim); }
.tier-reward { font-weight: 700; color: var(--accent-bottom); font-size: 13px; white-space: nowrap; }

.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(0,0,0,0.35);
    overflow: hidden;
    margin: 10px 0;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-bottom), var(--accent-bottom));
    border-radius: 5px;
    transition: width 0.4s ease;
}

/* ===== Admin ===== */
details { margin: 14px 0; }
details summary { cursor: pointer; color: var(--text-dim); font-size: 13px; margin-bottom: 10px; }

/* ===== Empty state ===== */
.empty-state {
    text-align: center;
    padding: 30px 10px;
    color: var(--text-dim);
    font-size: 13px;
}

/* ===== Patch notes ===== */
.patchnotes-card {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(165deg, rgba(255,255,255,0.03), rgba(0,0,0,0.25));
    border: 1px solid rgba(196,184,150,0.14);
    border-radius: var(--radius-sm);
    padding: 26px 30px 22px;
    overflow: hidden;
}
.patchnotes-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(var(--gold-top), var(--gold-bottom));
}
.patchnotes-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(196,184,150,0.12);
}
.patchnotes-head .feature-icon { flex-shrink: 0; margin: 0; }
.patchnotes-head h3 {
    margin: 0;
    font-size: 16px;
    color: var(--text-cream);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
.patchnotes-head p { margin: 2px 0 0; font-size: 12px; color: var(--text-dim); }
.patchnotes-list { list-style: none; margin: 0; padding: 0; }
.patchnotes-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
    border-bottom: 1px dashed rgba(196,184,150,0.1);
}
.patchnotes-list li:last-child { border-bottom: none; padding-bottom: 0; }
.patchnotes-list li > span:first-of-type { flex: 1; }
.patchnotes-list li svg {
    flex-shrink: 0;
    width: 16px; height: 16px;
    margin-top: 3px;
    color: var(--accent-bottom);
}
.patchnotes-list li:first-child { color: var(--text-cream); }
.patchnotes-list li:first-child svg { color: var(--gold-bottom); }
.patchnotes-badge-new {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0a2410;
    background: linear-gradient(var(--gold-top), var(--gold-bottom));
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: auto;
}

/* Android-os patch note pont jelolese (2026-09-15) */
.patchnotes-badge-android {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #06240f;
    background: #3ddc84;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: auto;
}
.patchnotes-badge-android + .patchnotes-badge-new {
    margin-left: 6px;
}

/* patch note datum-csoportok */
.patchnotes-list li.patchnotes-date {
    display: block;
    border-bottom: none;
    padding: 16px 0 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-bottom);
}
.patchnotes-list li.patchnotes-date:first-child { padding-top: 0; }
.patchnotes-list li.patchnotes-date + li { border-top: 1px solid rgba(196,184,150,0.12); padding-top: 12px; }

/* ===== WebV2 kiegészitesek (2026-08) ===== */

/* 6 feature kartyahoz igazodva */
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Discord gombok */
nav a.nav-discord {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; margin-left: 14px;
    background: #5865F2; color: #fff; border-radius: 8px;
    font-weight: 600; font-size: 12.5px;
    box-shadow: 0 2px 10px rgba(88,101,242,0.35);
}
nav a.nav-discord:hover { background: #4752c4; transform: translateY(-1px); }
nav a.nav-discord svg { width: 15px; height: 15px; }

.btn.discord-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(180deg, #6b78ff 0%, #5865F2 100%);
    border-color: #8b96ff; color: #fff;
    box-shadow: 0 4px 16px rgba(88,101,242,0.35);
}
.btn.discord-btn:hover { background: linear-gradient(180deg, #7b87ff 0%, #6470f5 100%); transform: translateY(-2px); }
.btn.discord-btn svg { width: 17px; height: 17px; }
.discord-live {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 700;
    background: rgba(0,0,0,0.28); border-radius: 999px; padding: 3px 9px;
}
.discord-live .dot { width: 7px; height: 7px; }

/* Hogyan csatlakozz - 3 lepes */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    background: var(--panel-glass); border: 1px solid rgba(196,184,150,0.14);
    border-radius: var(--radius); padding: 26px 24px;
    text-decoration: none; position: relative; overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(31,174,84,0.12) 0%, transparent 55%);
    opacity: 0; transition: opacity 0.25s ease;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(31,174,84,0.4); box-shadow: var(--shadow-sm); }
.step-card:hover::after { opacity: 1; }
.step-num {
    font-family: 'Cinzel', serif; font-size: 15px; font-weight: 800;
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #0a2410;
    background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom));
    box-shadow: 0 4px 12px rgba(194,147,60,0.35);
}
.step-title { font-family: 'Cinzel', serif; font-size: 17px; font-weight: 700; color: var(--text-cream); }
.step-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.step-link { margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--accent-top); }

/* Elo aktivitas */
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.live-panel h2 { margin: 6px 0 16px; }
.live-status-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.live-big {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: 'Cinzel', serif; font-weight: 800; font-size: 22px; letter-spacing: 2px;
}
.live-big.on { color: var(--accent-top); }
.live-big.off { color: #d97b6c; }
.live-count b { display: block; font-size: 26px; color: var(--text-cream); line-height: 1.1; }
.live-count i { font-style: normal; font-size: 11px; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }
.discord-count b { color: #8b96ff; }
.live-sub { margin-top: 14px; font-size: 12.5px; color: var(--text-dim); }
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; border-bottom: 1px dashed rgba(196,184,150,0.12);
    font-size: 13px; color: var(--text-cream);
}
.activity-list li:last-child { border-bottom: none; }
.activity-list em { font-style: normal; color: var(--text-dim); font-size: 12px; }
.act-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.act-dot.play { background: var(--accent-top); box-shadow: 0 0 8px var(--accent-top); }
.act-dot.reg { background: var(--gold-bottom); box-shadow: 0 0 8px var(--gold-bottom); }

/* Screenshot galeria */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-item {
    margin: 0; overflow: hidden; border-radius: var(--radius-sm);
    border: 1px solid rgba(196,184,150,0.16); background: #000;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover;
    transition: transform 0.35s ease, opacity 0.35s ease; opacity: 0.92;
}
.gallery-item:hover img { transform: scale(1.05); opacity: 1; }
.gallery-placeholder { text-align: center; }
.gallery-placeholder a { color: var(--accent-top); }

/* Event naptar */
.cal-panel { max-width: 620px; margin: 0 auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head b { font-family: 'Cinzel', serif; font-size: 17px; color: var(--text-cream); }
.cal-nav {
    background: rgba(196,184,150,0.08); border: 1px solid rgba(196,184,150,0.25);
    color: var(--text-cream); border-radius: 8px; width: 36px; height: 32px;
    cursor: pointer; font-size: 14px; transition: background 0.15s ease, transform 0.15s ease;
}
.cal-nav:hover { background: rgba(31,174,84,0.18); transform: scale(1.06); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; padding: 6px 0; letter-spacing: 1px; }
.cal-day {
    text-align: center; padding: 9px 2px; border-radius: 8px; font-size: 13px;
    color: var(--text-cream); background: rgba(196,184,150,0.04);
    border: 1px solid transparent; position: relative; cursor: default;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.cal-day.empty { background: transparent; }
.cal-day.war { border-color: rgba(47,150,184,0.35); cursor: help; }
.cal-day.war:hover { background: rgba(47,150,184,0.14); transform: scale(1.08); }
.cal-day.ev { border-color: rgba(194,147,60,0.55); background: rgba(194,147,60,0.12); cursor: help; font-weight: 700; }
.cal-day.ev:hover { background: rgba(194,147,60,0.24); transform: scale(1.08); }
.cal-day.today { outline: 2px solid var(--accent-bottom); outline-offset: -2px; font-weight: 800; }
.cal-legend { display: flex; gap: 18px; margin-top: 14px; font-size: 11.5px; color: var(--text-dim); flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.cal-dot.today { background: transparent; outline: 2px solid var(--accent-bottom); }
.cal-dot.ev { background: rgba(194,147,60,0.6); }
.cal-dot.war { background: transparent; border: 1px solid rgba(47,150,184,0.6); }

/* Ranglista elonezet */
.rank-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.rank-panel h2 { font-size: 17px; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(196,184,150,0.12); }
.rank-list li:last-child { border-bottom: none; }
.rank-badge-mini {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; color: var(--text-cream);
    background: rgba(196,184,150,0.1); border: 1px solid rgba(196,184,150,0.25);
}
.rank-badge-mini.r1 { background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom)); color: #0a2410; border-color: transparent; }
.rank-badge-mini.r2 { background: linear-gradient(180deg, #e8e8e8, #9a9a9a); color: #1a1a1a; border-color: transparent; }
.rank-badge-mini.r3 { background: linear-gradient(180deg, #d9a06b, #a0643c); color: #241205; border-color: transparent; }
.rank-name { font-weight: 700; color: var(--text-cream); font-size: 13.5px; }
.rank-meta { color: var(--text-dim); font-size: 11.5px; }
.rank-level { margin-left: auto; font-size: 12px; color: var(--accent-top); font-weight: 600; white-space: nowrap; }

/* Velemenycardok */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
    margin: 0; background: var(--panel-glass);
    border: 1px solid rgba(196,184,150,0.14); border-radius: var(--radius);
    padding: 24px; display: flex; flex-direction: column; gap: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(31,174,84,0.35); }
.testi-card p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--text-cream); }
.testi-card footer b { display: block; font-size: 13px; color: var(--accent-top); }
.testi-card footer span { font-size: 11.5px; color: var(--text-dim); }

/* Letoltesi lepesek a cta-band-ben */
.dl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 0 auto 26px; }
.dl-step {
    background: rgba(0,0,0,0.25); border: 1px solid rgba(143,217,232,0.2);
    border-radius: var(--radius-sm); padding: 16px; text-align: left;
    font-size: 12.5px; color: var(--text-dim); line-height: 1.6;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.dl-step:hover { border-color: rgba(143,217,232,0.5); transform: translateY(-3px); }
.dl-step b {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%; margin-bottom: 8px;
    background: linear-gradient(180deg, var(--info-top), var(--info-bottom));
    color: #06232e; font-size: 13px;
}
.dl-step strong { color: var(--text-cream); }

/* Sticky mobil letoltes sav */
.mobile-dl-bar {
    display: none; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 90;
    background: linear-gradient(180deg, var(--accent-top) 0%, var(--accent-bottom) 100%);
    color: #07230f; text-decoration: none; border-radius: 14px;
    padding: 11px 18px; align-items: center; justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(142,240,168,0.4);
}
.mobile-dl-bar span { font-weight: 800; font-size: 15px; letter-spacing: 0.5px; }
.mobile-dl-bar b { font-weight: 600; font-size: 12px; opacity: 0.85; }

/* Footer social */
.foot-social { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
.foot-social-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px; text-decoration: none;
    font-size: 12.5px; font-weight: 700; color: #fff;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.foot-social-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }
.foot-social-btn svg { width: 15px; height: 15px; }
.foot-social-btn.discord { background: #5865F2; }
.foot-social-btn.facebook { background: #1877F2; }
.foot-social-btn.youtube { background: #FF0000; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Reszponziv */
@media (max-width: 900px) {
    .steps-grid, .testi-grid, .dl-steps { grid-template-columns: 1fr; }
    .live-grid, .rank-grid { grid-template-columns: 1fr; }
    .mobile-dl-bar { display: flex; }
    .wrap { padding-bottom: 110px; }
    nav a.nav-discord span { display: none; }
    nav a.nav-discord { padding: 6px 9px; }
}

/* Patch note - gorgetheto doboz, hogy vegtelen ne novesse az oldalt */
.patchnotes-card { display: flex; flex-direction: column; }
.patchnotes-list {
    max-height: 460px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dark) rgba(0,0,0,0.3);
}
.patchnotes-list::-webkit-scrollbar { width: 8px; }
.patchnotes-list::-webkit-scrollbar-track { background: rgba(0,0,0,0.25); border-radius: 8px; }
.patchnotes-list::-webkit-scrollbar-thumb { background: linear-gradient(var(--border-light), var(--border-dark)); border-radius: 8px; border: none; }
.patchnotes-list::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* Partner dashboard kiegeszitesek */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reflink-box { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.copy-btn { white-space: nowrap; transition: transform 0.15s ease, filter 0.15s ease; }
.copy-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.inv-breakdown { display: flex; gap: 10px; flex-wrap: wrap; }
.inv-chip {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; padding: 6px 13px; border-radius: 999px;
    background: rgba(0,0,0,0.3); border: 1px solid rgba(196,184,150,0.22);
    color: var(--text-dim);
}
.inv-chip b { color: var(--text-cream); font-size: 13.5px; }
.inv-chip.ok { border-color: rgba(31,174,84,0.45); }
.inv-chip.ok b { color: var(--accent-top); }
.inv-chip.leveling { border-color: rgba(47,150,184,0.45); }
.inv-chip.leveling b { color: var(--info-top); }
.inv-chip.none b { color: var(--text-dim); }
.inv-chip.gold { border-color: rgba(194,147,60,0.5); }
.inv-chip.gold b { color: var(--gold-top); }
.inv-badge {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.inv-badge.ok { background: rgba(31,174,84,0.16); color: var(--accent-top); border: 1px solid rgba(31,174,84,0.45); }
.inv-badge.leveling { background: rgba(47,150,184,0.14); color: var(--info-top); border: 1px solid rgba(47,150,184,0.4); }
.inv-badge.none { background: rgba(196,184,150,0.08); color: var(--text-dim); border: 1px solid rgba(196,184,150,0.22); }
@media (max-width: 800px) {
    .grid3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .grid3 { grid-template-columns: 1fr; }
}

/* Admin panel - navigacio es attekintes */
.admin-nav {
    display: flex; flex-wrap: wrap; gap: 8px;
    background: var(--panel-glass); border: 1px solid rgba(196,184,150,0.14);
    border-radius: var(--radius); padding: 10px; margin-bottom: 24px;
    position: sticky; top: 66px; z-index: 50;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.admin-tab {
    padding: 8px 15px; border-radius: 10px; text-decoration: none;
    color: var(--text-dim); font-size: 12.5px; font-weight: 600; letter-spacing: 0.3px;
    display: inline-flex; align-items: center; gap: 7px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.admin-tab:hover { background: rgba(31,174,84,0.12); color: var(--text-cream); transform: translateY(-1px); }
.admin-tab.active { background: linear-gradient(180deg, var(--accent-top), var(--accent-bottom)); color: #07230f; }
.admin-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 19px; height: 19px; padding: 0 6px; border-radius: 999px;
    background: #d9534f; color: #fff; font-size: 11px; font-weight: 800;
}
.admin-tab.active .admin-badge { background: #0a2410; }

.todo-list { display: flex; flex-direction: column; gap: 10px; }
.todo-item {
    display: flex; align-items: center; gap: 14px;
    background: rgba(0,0,0,0.28); border: 1px solid rgba(217,83,79,0.4);
    border-radius: var(--radius-sm); padding: 13px 16px;
    text-decoration: none; transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.todo-item:hover { transform: translateX(4px); border-color: rgba(217,83,79,0.75); background: rgba(217,83,79,0.08); }
.todo-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px;
    background: #d9534f; color: #fff; font-weight: 800; font-size: 14px;
}
.todo-label { color: var(--text-cream); font-size: 13.5px; font-weight: 600; }
.todo-label em { font-style: normal; color: var(--text-dim); font-weight: 400; font-size: 12px; }
.todo-go { margin-left: auto; color: var(--accent-top); font-weight: 800; }

.admin-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.admin-quick-card {
    background: rgba(0,0,0,0.28); border: 1px solid rgba(196,184,150,0.16);
    border-radius: var(--radius-sm); padding: 15px 17px; text-decoration: none;
    display: flex; flex-direction: column; gap: 5px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.admin-quick-card:hover { transform: translateY(-3px); border-color: rgba(31,174,84,0.45); background: rgba(31,174,84,0.07); }
.admin-quick-card b { color: var(--text-cream); font-size: 13.5px; }
.admin-quick-card span { color: var(--text-dim); font-size: 12px; line-height: 1.55; }

@media (max-width: 700px) {
    .admin-nav { position: static; }
}

/* ===== Admin kulon szinvilag - huvosebb, semleges kekek (csak /admin/ oldalakon) ===== */
body.admin {
    --panel-top: #1c2636;
    --panel-bottom: #121a28;
    --panel-glass: rgba(28, 38, 54, 0.55);
    --border-light: #a9c7ef;
    --border-dark: #3f6ea6;
    --gold-top: #c3d6f2;
    --gold-bottom: #5f8ec9;
    --text-cream: #e8eef7;
    --text-dim: #93a4bd;
    --accent-top: #8fc7ff;
    --accent-bottom: #2f7fd6;
    --info-top: #9fe8c8;
    --info-bottom: #2fa872;
    --bg: #0b1018;
    background:
        radial-gradient(ellipse 900px 500px at 20% -10%, rgba(47,127,214,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 900px 500px at 100% 0%, rgba(95,142,201,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at top, #131c2b 0%, var(--bg) 55%);
}
body.admin ::selection { background: #2f7fd6; color: #fff; }
body.admin ::-webkit-scrollbar-thumb { background: linear-gradient(#8fc7ff, #2f7fd6); border-color: var(--bg); }
body.admin header.top { background: rgba(11, 16, 24, 0.8); border-bottom-color: rgba(140,170,210,0.16); }
body.admin .panel { border-color: rgba(140,170,210,0.16); }
body.admin .btn { border-color: rgba(140,180,230,0.35); }
body.admin .btn.accent {
    background: linear-gradient(180deg, #6db3f2 0%, #2f7fd6 100%);
    border-color: #8fc7ff; color: #fff;
    box-shadow: 0 4px 16px rgba(47,127,214,0.3);
}
body.admin .eyebrow { color: #8fc7ff; }
body.admin .hero-status { border-color: rgba(143,199,255,0.4); }
body.admin .hero-status svg { color: #8fc7ff; }
body.admin .admin-nav { border-color: rgba(140,170,210,0.18); }
body.admin .admin-tab:hover { background: rgba(47,127,214,0.16); }
body.admin .admin-tab.active { background: linear-gradient(180deg, #8fc7ff, #2f7fd6); color: #08131f; }
body.admin .admin-quick-card:hover { border-color: rgba(47,127,214,0.5); background: rgba(47,127,214,0.08); }
body.admin .stat-card { background: rgba(0,0,0,0.25); border-color: rgba(140,170,210,0.14); }
body.admin .stat-card:hover { background: rgba(47,127,214,0.06); }
body.admin .badge.coins { border-color: rgba(143,199,255,0.4); }
body.admin .msg.ok { border-color: rgba(47,168,114,0.4); }
body.admin .data-table th { color: #a9c7ef; }

/* Promoter admin - atlathato tablazat + reszlet kartyak */
.promoter-table td { vertical-align: middle; }
.promoter-cell-main b { display: block; color: var(--text-cream); font-size: 13.5px; }
.promoter-cell-main .small { display: block; }
.app-card {
    background: rgba(0,0,0,0.25); border: 1px solid rgba(140,170,210,0.2);
    border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px;
    display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap;
    transition: border-color 0.15s ease;
}
.app-card:hover { border-color: rgba(143,199,255,0.45); }
.app-info { flex: 1; min-width: 240px; }
.app-info .tier-name { font-size: 14.5px; }
.app-actions { display: flex; flex-direction: column; gap: 8px; }
.code-request-row {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    background: rgba(47,127,214,0.08); border: 1px solid rgba(143,199,255,0.35);
    border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 10px;
}


/* ===== Nyelvválasztó (hu/ro/en/de) - 2026-09-23 ===== */
header.top > nav { order: 2; flex: 1 1 auto; }
.lang-switch { order: 3; position: relative; margin-left: 16px; flex-shrink: 0; }
.lang-switch summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.6px;
    color: var(--text-cream); background: rgba(196,184,150,0.06); border: 1px solid rgba(196,184,150,0.25);
    user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--border-dark); background: rgba(31,174,84,0.10); }
.lang-switch .flag { display: block; width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.35); flex-shrink: 0; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; z-index: 200;
    background: linear-gradient(165deg, var(--panel-top), var(--panel-bottom));
    border: 1px solid rgba(31,174,84,0.3); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    padding: 6px; display: flex; flex-direction: column; gap: 2px;
}
.lang-menu a {
    display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px;
    color: var(--text-cream); text-decoration: none; font-size: 13px; opacity: 0.85;
}
.lang-menu a:hover { background: rgba(31,174,84,0.14); opacity: 1; }
.lang-menu a.active { color: var(--gold-top); opacity: 1; background: rgba(196,184,150,0.08); }
.patchnotes-lang-note { margin: 0 0 10px; font-size: 12px; color: var(--text-dim); font-style: italic; }
@media (max-width: 760px) {
    header.top > nav { order: 4; flex: 0 0 100%; }
    .lang-switch { order: 2; margin-left: auto; margin-right: 10px; }
    .navtoggle { order: 3; }
}
