/*
Theme Name: CycloneRadar Neon Core
Author: Adam
Description: Weather-optimized theme with integrated Dropdown Dashboard.
Version: 4.0
*/

:root {
    --vortex-bg: #0d1117;      
    --vortex-primary: #00f2ff; 
    --vortex-gold: #f1c40f;    
    --vortex-danger: #ff2e63;  
    --vortex-glass: rgba(13, 17, 23, 0.9);
    --vortex-font: 'Inter', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { background-color: var(--vortex-bg); color: white; font-family: var(--vortex-font); margin: 0; overflow-x: hidden; }
.container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 20px; }
a { color: var(--vortex-primary); text-decoration: none; transition: 0.3s; display: inline-block; }
a:hover { text-shadow: 0 0 15px rgba(0, 242, 255, 0.8); transform: scale(1.02); }

/* --- HEADER & MENÜ --- */
header { text-align: center; padding: 10px 0; margin-bottom: 0; }
.vortex-main-menu { margin: 10px 0; display: flex; justify-content: center; }
.menu-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 15px; flex-wrap: wrap; }
.menu-list li a { color: var(--vortex-primary); font-size: 14px; font-weight: bold; text-transform: uppercase; padding: 8px 15px; border-radius: 8px; }
.menu-list li a:hover { background: rgba(0, 242, 255, 0.1); box-shadow: 0 0 15px rgba(0, 242, 255, 0.4); }

/* --- INTEGRÁLT IDŐJÁRÁS WIDGET --- */
.cyclone-wx-wrapper { width: 100%; margin: 15px auto 0; font-family: var(--vortex-font); border-bottom: 1px solid rgba(0,242,255,0.2); background: rgba(0,0,0,0.4); }

/* Kompakt sáv */
.wx-compact-bar { 
    display: flex; justify-content: space-between; align-items: center; padding: 10px 20px;
    cursor: pointer; transition: 0.3s; max-width: 1000px; margin: 0 auto;
}
.wx-compact-bar:hover { background: rgba(0, 242, 255, 0.05); }
.wx-compact-left { display: flex; align-items: center; gap: 15px; }
.wx-compact-temp { font-size: 24px; font-weight: 900; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.wx-compact-city { color: var(--vortex-primary); font-weight: bold; font-size: 14px; text-transform: uppercase; }
.wx-compact-desc { color: var(--vortex-gold); font-size: 13px; font-weight: bold; }
.wx-compact-toggle { color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 5px; }
.wx-compact-bar:hover .wx-compact-toggle { color: var(--vortex-primary); }

/* Lenyíló rész */
.wx-expanded-panel { display: none; padding: 20px; max-width: 1000px; margin: 0 auto; border-top: 1px dashed rgba(255,255,255,0.1); }
.wx-expanded-panel.active { display: block; animation: fadeInDown 0.3s ease; }

.wx-grid-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
.wx-selector select { 
    background: rgba(0,0,0,0.8); border: 1px solid var(--vortex-primary); color: var(--vortex-primary);
    padding: 8px 15px; border-radius: 5px; font-weight: bold; outline: none; cursor: pointer; text-transform: uppercase;
}
.wx-details-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.wx-badge { padding: 5px 12px; border-radius: 4px; font-size: 11px; font-weight: bold; text-transform: uppercase; background: rgba(255,255,255,0.1); }
.wx-badge.uv { border: 1px solid var(--vortex-danger); color: var(--vortex-danger); }
.wx-badge.wind { border: 1px solid #00f2ff; color: #00f2ff; }

/* Chart és 7 napos (Egy sorban mobilon kívül) */
.wx-dashboard-split { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.wx-chart-box { background: rgba(0,0,0,0.5); border-radius: 8px; padding: 15px; height: 250px; border: 1px solid rgba(255,255,255,0.05); }
.wx-7day-box { display: flex; flex-direction: column; gap: 10px; height: 250px; overflow-y: auto; padding-right: 5px; }
.wx-day-card { background: rgba(255,255,255,0.05); padding: 10px; border-radius: 5px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.wx-day-card strong { color: #fff; font-size: 15px; }
.wx-day-card span { color: var(--vortex-gold); font-size: 11px; }

/* --- BREAKING NEWS TICKER --- */
.breaking-news-wrapper { display: flex; background: rgba(255, 46, 99, 0.1); border-bottom: 1px solid var(--vortex-danger); color: white; font-size: 13px; overflow: hidden; margin-bottom: 20px; }
.breaking-label { background: var(--vortex-danger); font-weight: 900; padding: 8px 15px; text-transform: uppercase; z-index: 10; }
.breaking-marquee { flex-grow: 1; white-space: nowrap; overflow: hidden; }
.marquee-content { display: inline-block; padding-left: 100%; animation: marquee 25s linear infinite; }
.marquee-content:hover { animation-play-state: paused; }
.marquee-content a { color: white; margin-right: 40px; font-weight: bold; }
@keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }

/* --- SEVERE ALERT BOX --- */
.severe-alert-box { background: rgba(255, 46, 99, 0.15); border: 2px solid var(--vortex-danger); border-left: 8px solid var(--vortex-danger); padding: 15px; border-radius: 8px; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; animation: alert-pulse 2s infinite; }
.severe-alert-content h4 { color: var(--vortex-danger); margin: 0 0 5px 0; font-weight: 900; text-transform: uppercase; font-size: 18px; }
.severe-alert-content p { margin: 0; font-size: 14px; color: #fff; }
@keyframes alert-pulse { 0%, 100% { box-shadow: 0 0 10px rgba(255, 46, 99, 0.2); } 50% { box-shadow: 0 0 30px rgba(255, 46, 99, 0.6); } }

/* --- 5 OSZLOPOS NAV & KÁRTYÁK --- */
.category-quick-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 30px; }
.cat-nav-item { position: relative; border-radius: 12px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 90px; overflow: hidden; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.cat-nav-item::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent 0%, transparent 80%, var(--vortex-primary) 95%, #ffffff 100%); animation: vortex-spin 3s linear infinite; }
.cat-nav-item.radar-btn::before { background: conic-gradient(from 0deg, transparent 0%, transparent 80%, var(--vortex-gold) 95%, #ffffff 100%); }
.cat-nav-item::after { content: ''; position: absolute; inset: 2px; background: var(--vortex-glass); border-radius: 10px; }
.cat-nav-item:hover { transform: translateY(-5px); box-shadow: 0 0 20px rgba(0, 242, 255, 0.4); }
.cat-nav-content { position: relative; z-index: 10; padding: 10px; }
.cat-nav-content i { font-size: 26px; font-style: normal; display: block; margin-bottom: 5px; }
.cat-nav-title { font-size: 13px; font-weight: 900; text-transform: uppercase; color: var(--vortex-primary); }

.quiz-loop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.quiz-card { position: relative; height: 350px; border-radius: 15px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.quiz-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent 0%, transparent 80%, var(--vortex-primary) 95%, #ffffff 100%); animation: vortex-spin 2.5s linear infinite; }
.quiz-card-image { position: absolute !important; inset: 3px !important; width: calc(100% - 6px) !important; height: calc(100% - 6px) !important; object-fit: cover !important; border-radius: 12px; z-index: 1; }
.quiz-card::after { content: ''; position: absolute; inset: 3px; background: linear-gradient(to top, rgba(0,0,0,0.95) 5%, rgba(0,0,0,0.4) 50%, transparent 100%); z-index: 2; border-radius: 12px; }
.quiz-card:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(0, 242, 255, 0.4); }
.card-content { position: relative; z-index: 10; padding: 20px; text-align: center; }
.card-content h2 { font-size: 22px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.9); margin-bottom: 10px; font-weight: 900; }
.card-action-wrapper { position: relative; z-index: 10; padding: 0 20px 20px; display: flex; justify-content: center; }
.action-btn { background: rgba(0,0,0,0.8); border: 1px solid var(--vortex-primary); color: var(--vortex-primary); padding: 10px 20px; border-radius: 8px; font-weight: bold; width: 100%; text-align: center; text-transform: uppercase; }
.action-btn:hover { background: var(--vortex-primary); color: #000; box-shadow: 0 0 20px var(--vortex-primary); }

.vortex-ad-slot { background: rgba(255,255,255,0.02); border: 1px dashed rgba(0,242,255,0.2); border-radius: 10px; text-align: center; padding: 10px; margin: 25px auto; display: flex; justify-content: center; align-items: center; min-height: 250px; width: 100%; color: rgba(255,255,255,0.3); }

@keyframes vortex-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .category-quick-nav { grid-template-columns: repeat(2, 1fr); }
    .category-quick-nav a:last-child { grid-column: span 2; }
    .wx-dashboard-split { grid-template-columns: 1fr; }
    .severe-alert-box { flex-direction: column; text-align: center; gap: 15px; }
}

/* --- FŐOLDALI HERO BANNER --- */
.hero-radar-banner {
    position: relative;
    background-color: #05080a;
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 15px;
    padding: 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    overflow: hidden;
}

.hero-radar-banner::after {
    content: ''; 
    position: absolute; 
    inset: 0;
    background: linear-gradient(to right, rgba(13,17,23,1) 0%, rgba(13,17,23,0.8) 50%, transparent 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-content h2 { font-size: 34px; font-weight: 900; color: #fff; text-shadow: 0 0 20px rgba(0, 242, 255, 0.8); margin: 0 0 10px 0; text-transform: uppercase; line-height: 1.2; }
.hero-content p { font-size: 16px; color: var(--vortex-gold); font-weight: bold; margin: 0; text-transform: uppercase; letter-spacing: 2px; }

/* MOBIL NÉZET JAVÍTÁS A BANNERRE */
@media (max-width: 768px) {
    .hero-radar-banner { 
        min-height: 250px; /* Mobilon nem lesz olyan magas */
        padding: 30px 20px; 
        background-position: center center; /* Középre húzzuk a radarképet */
    }
    .hero-content h2 { font-size: 22px; }
    .hero-content p { font-size: 12px; }
    .hero-radar-banner::after { 
        /* Mobilon fentről lefelé sötétítünk, így a kép alja/jobb oldala is látszik */
        background: linear-gradient(to bottom, rgba(13,17,23,0.9) 0%, rgba(13,17,23,0.3) 100%); 
    }
}