:root {
    --primary-color: #0084ff;
    --bg-color: #08090d;
    --bg-accent: #11131a; 
    --text-color: #ffffff;
    --text-muted: #a0a7bc;
    --navbar-height: 80px;
    --transition: all 0.25s ease; 
    --container-width: 1200px;
    --discord-color: #5865F2;
    --solid-border: 1px solid #1a1d24; 
    --solid-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: 'Poppins', sans-serif; background-color: var(--bg-color); color: var(--text-color); scroll-behavior: smooth; overflow-x: hidden; }

body { background: linear-gradient(rgba(8, 9, 13, 0.85), rgba(8, 9, 13, 0.95)), url('images/background.webp') no-repeat center center fixed; background-size: cover; }

::-webkit-scrollbar { width: 8px; } 
::-webkit-scrollbar-track { background: var(--bg-color); } 
::-webkit-scrollbar-thumb { background: rgba(0, 132, 255, 0.5); border-radius: 10px; transition: var(--transition); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; width: 100%; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.section-title { text-align: center; font-size: 3rem; font-weight: 700; margin-bottom: 60px; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }

#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg-color); z-index: 99999; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease, visibility 0.8s ease; }
.preloader-logo { width: 150px; animation: pulseLogo 1.5s infinite alternate; }
@keyframes pulseLogo { 0% { transform: scale(0.95); filter: drop-shadow(0 0 5px rgba(0, 132, 255, 0.2)); } 100% { transform: scale(1.05); filter: drop-shadow(0 0 25px var(--primary-color)); } }

/* --- GOMBOK --- */
.btn { padding: 15px 35px; border-radius: 8px; font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: none; transition: var(--transition); text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--primary-color), #00c6ff); color: white; box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(0, 132, 255, 0.6); transform: translateY(-2px); }
.btn-discord { background-color: var(--discord-color); color: white; border: none; box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3); }
.btn-discord:hover { background-color: #4752C4; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: white; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.15); border-color: white; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,255,255,0.1); }
.btn-small { padding: 10px 25px; font-size: 0.9rem; margin-top: 15px; }
.hero-btn { flex: 1; min-width: 250px; max-width: 300px; padding: 18px 20px; font-size: 1.05rem;} 

/* --- NAVBAR --- */
.navbar { height: var(--navbar-height); width: 100%; position: fixed; top: 0; left: 0; z-index: 1000; transition: var(--transition); display: flex; align-items: center; }
.navbar.scrolled { background-color: #08090d; border-bottom: var(--solid-border); height: 70px; box-shadow: var(--solid-shadow); }
.navbar .nav-container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; }
.nav-left { display: flex; justify-content: flex-start; align-items: center; }
.nav-center { display: flex; justify-content: center; align-items: center; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; text-transform: uppercase; letter-spacing: 1px; color: #fff !important; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 700; font-size: 1rem; color: var(--text-muted); position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--primary-color); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--text-color); }

.profile-btn { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text-color); font-size: 0.95rem; }
.profile-btn:hover { color: var(--primary-color); }
.profile-pic { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; z-index: 1001; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: white; transition: var(--transition); border-radius: 2px; }

/* --- HERO SZEKCIÓ --- */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-content { text-align: center; position: relative; z-index: 2; margin-top: var(--navbar-height); width: 100%;}
.hero-logo-container { margin-bottom: 20px; }
.hero-floating-logo { width: 240px; max-width: 60vw; animation: floatLogo 4s ease-in-out infinite; filter: drop-shadow(0 5px 15px rgba(0, 132, 255, 0.3)); }
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero h1 { font-size: 4.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 5px 20px rgba(0,0,0,0.8); }
.hero p { font-size: 1.5rem; color: #d0d5e6; max-width: 800px; margin: 0 auto 50px auto; text-shadow: 0 5px 15px rgba(0,0,0,0.8); }
.cta-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; max-width: 1000px; margin: 0 auto;}
.typewriter::after { content: '|'; animation: blink 0.7s infinite; color: var(--primary-color); }
@keyframes blink { 50% { opacity: 0; } }

.glass-panel { background-color: var(--bg-accent); border: var(--solid-border); border-radius: 15px; box-shadow: var(--solid-shadow); transition: var(--transition); }

.rules { padding: 100px 0; position: relative; z-index: 2; }
.status { padding: 100px 0; position: relative; z-index: 2; }
.status-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.status-box { background-color: var(--bg-accent); padding: 40px; border-radius: 15px; border: var(--solid-border); flex: 1; min-width: 300px; text-align: center; transition: var(--transition); box-shadow: var(--solid-shadow); }
.status-box:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 10px 25px rgba(0,0,0,0.6); }
.status-box h3 { margin-bottom: 15px; color: var(--text-muted); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
#server-status-indicator { font-size: 2.2rem; font-weight: 700; }
.status-online { color: #2ecc71; }
.status-offline { color: #e74c3c; }
.status-loading { color: #f39c12; }
.player-count { font-size: 3rem; font-weight: 700; margin-bottom: 10px; }
.player-count #player-count-value { color: var(--primary-color); }
.player-count .max-players { color: rgba(255, 255, 255, 0.3); font-size: 1.5rem; }
.progress-bar { width: 100%; height: 8px; background-color: #1a1d24; border-radius: 10px; overflow: hidden; margin-top: 15px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary-color), #00c6ff); width: 0%; transition: width 1.5s ease; }
.discord-count { font-size: 3rem; font-weight: 700; color: var(--discord-color); }
.tag-text { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; }

.faq { padding: 100px 0; position: relative; z-index: 2; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background-color: var(--bg-accent); margin-bottom: 15px; border-radius: 12px; border: var(--solid-border); overflow: hidden; transition: var(--transition); box-shadow: var(--solid-shadow); }
.faq-question { width: 100%; padding: 25px; background: transparent; border: none; color: white; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1.1rem; font-weight: 600; font-family: inherit; transition: var(--transition); }
.faq-question:hover { color: var(--primary-color); }
.faq-icon { font-size: 1.5rem; color: var(--primary-color); transition: var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #0c0e14; }
.faq-answer p { padding: 0 25px 25px 25px; color: var(--text-muted); line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active { border-color: var(--primary-color); }

#scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 4px; background: linear-gradient(90deg, var(--primary-color), #00c6ff); z-index: 9999; box-shadow: 0 0 10px var(--primary-color); }
#back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--bg-accent); color: var(--primary-color); border: 2px solid var(--primary-color); border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1000; font-size: 1.5rem; display: flex; justify-content: center; align-items: center; box-shadow: var(--solid-shadow); }
#back-to-top:hover { background: var(--primary-color); color: white; transform: translateY(-5px); }
#back-to-top.show { opacity: 1; visibility: visible; }

footer { padding: 14px 0; text-align: center; border-top: var(--solid-border); background-color: #08090d; position: relative; z-index: 2; }
.footer-content { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.footer-logo { justify-content: center; margin-bottom: 0; font-size: 1rem; }
footer p { color: var(--text-muted); font-size: 0.85rem; }

.scroll-reveal { opacity: 0; transform: translateY(30px); transition: 0.6s ease; }
.scroll-reveal.active { opacity: 1; transform: translateY(0); }

.profile-dropdown-container { position: relative; display: inline-block; }
.dropdown-menu { position: absolute; top: 120%; right: 0; background-color: #11131a; min-width: 220px; border-radius: 12px; border: var(--solid-border); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); z-index: 1000; overflow: hidden;}
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { list-style: none; }
.dropdown-menu a { display: block; padding: 15px 20px; color: var(--text-muted); font-size: 0.95rem; font-weight: 600; transition: var(--transition); }
.dropdown-menu a:hover { background-color: #1a1d24; color: var(--text-color); padding-left: 25px; border-left: 3px solid var(--primary-color); }
.dropdown-divider { height: 1px; background-color: #1a1d24; margin: 0; }
.logout-text { color: #e74c3c !important; }
.logout-text:hover { background-color: rgba(231, 76, 60, 0.1) !important; border-left-color: #e74c3c !important; color: #fff !important;}

.skeleton { background: linear-gradient(90deg, #1a1d24 25%, #232730 50%, #1a1d24 75%); background-size: 200% 100%; animation: skeletonLoading 1.5s infinite linear; border-radius: 8px; color: transparent !important; user-select: none; border-color: transparent !important;}
.skeleton * { visibility: hidden; }
@keyframes skeletonLoading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

#toast-container { position: fixed; bottom: 30px; right: 30px; z-index: 999999; display: flex; flex-direction: column; gap: 15px; }
.toast { padding: 16px 25px; border-radius: 10px; color: white; background-color: #11131a; font-weight: 600; font-size: 0.95rem; box-shadow: 0 10px 25px rgba(0,0,0,0.8); transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); display: flex; align-items: center; gap: 12px; border: var(--solid-border); }
.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid #2ecc71;}
.toast.error { border-left: 4px solid #e74c3c;}
.toast i { font-size: 1.2rem; }
.toast.success i { color: #2ecc71; }
.toast.error i { color: #e74c3c; }

.spark { position: fixed; bottom: -20px; background-color: var(--primary-color); border-radius: 50%; pointer-events: none; z-index: 0; box-shadow: 0 0 10px var(--primary-color); animation: floatUp linear infinite; opacity: 0; }
@keyframes floatUp { 0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; } 10% { opacity: 0.6; } 50% { transform: translateY(-50vh) translateX(20px) scale(0.8); } 80% { opacity: 0.4; } 100% { transform: translateY(-110vh) translateX(-20px) scale(0.2); opacity: 0; } }

@media (max-width: 992px) {
    .ucp-container { flex-direction: column; margin-top: 70px; }
    .sidebar { width: 100%; border-right: none; border-bottom: var(--solid-border); padding: 20px; display: none; background: var(--bg-color); position: relative; z-index: 10; }
    .sidebar.active { display: block; animation: slideDown 0.3s ease; }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    .main-content { padding: 20px; }
    .ticket-dashboard { flex-direction: column; height: auto; min-height: unset; }
    .ticket-list { width: 100%; max-height: 300px; margin-bottom: 20px; }
    .ticket-view { min-height: 400px; }
    .ucp-mobile-toggle { display: block !important; margin: 0 auto 20px auto; width: 100%; background: var(--bg-accent); border: var(--solid-border); color: white; padding: 15px; border-radius: 10px; font-weight: bold; font-family: inherit; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; margin-bottom: 40px; }
    .navbar .nav-container { display: flex; justify-content: space-between; }
    .nav-center { display: contents; }          /* a lenyíló menü (fixed) így látszik mobilon is */
    .nav-right { gap: 15px; }
    .profile-name { display: none; }
    .menu-toggle { display: block; }
    .nav-links { position: fixed; top: var(--navbar-height); right: -100%; width: 250px; height: calc(100vh - var(--navbar-height)); background-color: #11131a; flex-direction: column; align-items: center; padding-top: 50px; transition: var(--transition); border-left: var(--solid-border); z-index: 999; }
    .nav-links.nav-active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.8); display: flex;}
    .nav-links li { margin: 15px 0; width: 100%; text-align: center; }
    .nav-links a { padding: 10px; display: block; }
    .menu-toggle.toggle .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.toggle .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.toggle .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; padding: 0 15px; }
    .cta-group { flex-direction: column; padding: 0 20px; }
    .status-container { flex-direction: column; }
    .status-box { min-width: 100%; }
}

.news-card { background-color: var(--bg-accent); border: var(--solid-border); border-left: 4px solid var(--primary-color); padding: 30px; border-radius: 12px; box-shadow: var(--solid-shadow); transition: var(--transition); }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 132, 255, 0.2); }
.news-date { color: var(--primary-color); font-size: 0.85rem; font-weight: bold; margin-bottom: 10px; display: block; }
.news-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: #fff; }
.news-card p { color: var(--text-muted); line-height: 1.6; }

.leaderboard-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); margin-bottom: 10px; border-radius: 8px; transition: var(--transition); }
.leaderboard-item:hover { background: rgba(0, 132, 255, 0.1); border-color: rgba(0, 132, 255, 0.3); }
.lb-rank { font-weight: bold; color: var(--primary-color); font-size: 1.2rem; width: 30px; }
.lb-name { flex: 1; font-weight: 600; color: #fff; }
.lb-score { color: #2ecc71; font-weight: bold; }
.lb-rank-1 { color: #f1c40f; text-shadow: 0 0 10px rgba(241, 196, 15, 0.5); font-size: 1.4rem;}
.lb-rank-2 { color: #bdc3c7; }
.lb-rank-3 { color: #cd7f32; }

/* --- TUTORIAL VIDEÓ BEÁGYAZÁS --- */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- SZERVERÜNK SZÁMOBAN (STATS) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.stat-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 132, 255, 0.15);
    border-color: rgba(0, 132, 255, 0.3);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 132, 255, 0.4));
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    font-family: monospace;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* =================================================================
   STAFF KÁRTYÁK ÉS ÉRTÉKELŐ RENDSZER
   ================================================================= */
.staff-card {
    background-color: var(--bg-accent);
    border: var(--solid-border);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--solid-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 132, 255, 0.2);
}
.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
}
.staff-name {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
}
.staff-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 20px;
}
.staff-role-badge {
    background: rgba(0, 132, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 132, 255, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.staff-rating-info {
    font-size: 1.5rem;
    color: #f1c40f;
    font-weight: 700;
    margin-bottom: 5px;
}
.staff-rating-votes {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.star-rating {
    display: flex;
    gap: 5px;
    justify-content: center;
    direction: rtl; /* Trükk a CSS hoverhez (visszafelé színezzük a csillagokat) */
}
.star-rating i {
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}
.star-rating i:hover,
.star-rating i:hover ~ i {
    color: #f1c40f;
}
.star-rating.disabled i {
    cursor: not-allowed;
}

/* --- NAVBAR KISZÉLESÍTÉSE --- */
.navbar .container {
    max-width: 95%; /* A képernyő 95%-át kitölti */
    padding: 0 40px; /* Egy kis esztétikus távolság a képernyő legszélétől */
}

/* --- JAVÍTOTT KÖZÖSSÉGI PLATFORMOK --- */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch; /* Minden kártya egyforma magas lesz */
}

.social-card {
    background-color: var(--bg-accent);
    border: var(--solid-border);
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: var(--solid-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%; /* Kitölti a grid magasságát */
}

/* Egységes konténer a beágyazott tartalmaknak */
.social-embed-wrapper {
    flex: 1; /* Ez kitolja a gombot az aljára */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
    min-height: 400px; /* Minimum magasság, hogy ne ugráljon */
    max-height: 450px; /* Maximum magasság, hogy ne nyúljon túl hosszúra */
    overflow: hidden;
    border-radius: 10px;
}

.tiktok-container {
    width: 100%;
    height: 400px;
    overflow-y: auto; /* Ha a TikTok leírás túl hosszú, görgethető legyen a kártyán belül */
    border-radius: 10px;
}

/* A Discord widget magasságát is fixáljuk */
.social-card iframe {
    width: 100%;
    height: 400px !important; 
    border-radius: 10px;
}
/* --- Hero ikon gombok (Discord / Csatlakozás) --- */
.cta-icons { display: flex; justify-content: center; gap: 70px; margin-top: 45px; flex-wrap: wrap; }
.cta-icon { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.cta-img { width: 90px; height: 90px; object-fit: contain; transition: transform .25s ease, filter .25s ease; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6)); }
.cta-icon:hover .cta-img { transform: translateY(-5px) scale(1.08); filter: drop-shadow(0 8px 22px rgba(0, 132, 255, 0.8)); }
.cta-badge { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #0084ff; }
.cta-badge img { width: 58%; height: 58%; object-fit: contain; filter: brightness(0) invert(1); }
.cta-label { font-weight: 700; font-size: 0.95rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: .9; }
.cta-icon.discord .cta-img { border-radius: 50%; }
@media (max-width: 600px) { .cta-icons { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 14px; } .cta-icon { gap: 10px; } .cta-img { width: 58px; height: 58px; } .cta-label { font-size: 0.66rem; letter-spacing: 0.5px; } }

/* Ticket számláló a menüben */
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e74c3c; color: #fff; font-size: .68rem; font-weight: 700; vertical-align: middle; line-height: 1; }

/* Menü: 7 menüpont kisebb asztali kijelzőn is elférjen */
.logo { white-space: nowrap; }
@media (max-width: 1450px) and (min-width: 769px) {
    .logo { font-size: 1.2rem; }
    .nav-links { gap: 20px; }
    .nav-links a { font-size: .92rem; }
}
@media (max-width: 1260px) and (min-width: 769px) {
    .logo { font-size: 0; }                       /* csak a logó kép marad */
    .logo img { margin-right: 0 !important; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: .86rem; }
}
@media (max-width: 768px) {
    .logo { font-size: 1.05rem; letter-spacing: .5px; }
    .logo img { height: 30px !important; margin-right: 10px !important; }
}
@media (max-width: 768px) {
    .nav-links { overflow-y: auto; padding-top: 24px; }
    .nav-links li { margin: 4px 0; }
}

/* =====================================================================
   ÉLŐ VÁROS (főoldal hero) + SZIRÉNA
   ===================================================================== */
.city-canvas { position: absolute; inset: 0; z-index: 0; display: block; pointer-events: none; }

/* =====================================================================
   GPS MINITÉRKÉP (főoldal)
   ===================================================================== */
@keyframes blip { 50% { stroke-width: 5; stroke: rgba(255,204,51,0.45); } }

/* =====================================================================
   BETÖLTŐKÉPERNYŐ TIPPEKKEL
   ===================================================================== */
#preloader { z-index: 99999999; background: radial-gradient(ellipse at 50% 45%, #0d1733 0%, #05070e 70%); }
.loader-logo { position: relative; width: 190px; height: 190px; border-radius: 50%; overflow: hidden; animation: loaderPulse 2s ease-in-out infinite; }
.loader-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loader-logo::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%); transform: translateX(-100%); animation: loaderShine 2.2s ease-in-out infinite; }
@keyframes loaderShine { 60%, 100% { transform: translateX(100%); } }
@keyframes loaderPulse { 50% { box-shadow: 0 0 60px rgba(0,132,255,0.45); } }
.loader-tip { position: absolute; left: 6vw; bottom: 7vh; max-width: min(520px, 70vw); padding-left: 16px; border-left: 3px solid var(--primary-color); }
.loader-tip-k { font-family: 'Oswald', 'Arial Narrow', sans-serif; color: var(--primary-color); font-size: 1rem; letter-spacing: 1px; }
.loader-tip p { color: #dfe6f5; font-size: 1.05rem; line-height: 1.5; margin-top: 4px; }
.loader-spin { position: absolute; right: 6vw; bottom: 7vh; display: flex; align-items: center; gap: 12px; color: #dfe6f5; font-family: 'Oswald', 'Arial Narrow', sans-serif; font-size: 1.05rem; letter-spacing: 1px; }
.loader-spin span { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.2); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
    .loader-logo { width: 140px; height: 140px; }
    .loader-tip { left: 20px; right: 20px; bottom: 90px; max-width: none; }
    .loader-spin { right: auto; left: 20px; bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .loader-logo, .loader-logo::after, .loader-spin span { animation: none; } }

/* =====================================================================
   PECSÉT (ticket beküldés, lezárás, sikeres whitelist)
   ===================================================================== */
.stamp-layer { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.25), rgba(0,0,0,0.6)); animation: stampBg .18s ease-out both; }
.stamp-layer.out { opacity: 0; transition: opacity .35s; }
@keyframes stampBg { from { opacity: 0; } }
.stamp { position: relative; color: var(--ink); border: 7px solid var(--ink); border-radius: 16px; padding: 22px 44px 18px; text-align: center;
    font-family: 'Oswald', 'Arial Narrow', Impact, sans-serif; transform: rotate(var(--rot)); animation: stampHit .24s cubic-bezier(.25,.9,.35,1.25) both;
    max-width: 90vw; }
.stamp::before { content: ''; position: absolute; inset: 7px; border: 3px solid var(--ink); border-radius: 9px; }
.stamp strong { display: block; font-size: clamp(2.6rem, 9vw, 6rem); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: 5px; }
.stamp span { display: block; margin-top: 10px; padding-top: 8px; border-top: 3px solid var(--ink); font-size: clamp(.95rem, 2.6vw, 1.3rem); font-weight: 500; letter-spacing: 3px; }
@keyframes stampHit {
    0%   { transform: rotate(var(--rot)) scale(3.2); opacity: 0; filter: blur(8px); }
    65%  { opacity: 1; filter: none; }
    100% { transform: rotate(var(--rot)) scale(1); }
}
html.stamp-shake main, html.stamp-shake footer { animation: stampShake .32s linear; }
@keyframes stampShake {
    15% { transform: translate(-7px, 4px); } 30% { transform: translate(6px, -5px); } 45% { transform: translate(-4px, 3px); }
    60% { transform: translate(3px, -2px); } 80% { transform: translate(-1px, 1px); } 100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .stamp, .stamp-layer { animation: none; } }
