:root {
    --tisza: #1a73e8;
    --tisza-light: #4a9af5;
    --tisza-dark: #0d47a1;
    --tisza-glow: rgba(26, 115, 232, 0.3);
    --fidesz: #fd8204;
    --fidesz-light: #ffab40;
    --fidesz-dark: #e65100;
    --fidesz-glow: rgba(253, 130, 4, 0.3);
    --mh: #1B5E20;
    --dk: #1565C0;
    --mkkp: #9C27B0;
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2236;
    --bg-card-hover: #1e2844;
    --text-primary: #f0f4ff;
    --text-secondary: #8899bb;
    --text-muted: #556688;
    --border: #2a3650;
    --red: #e53935;
    --green: #43a047;
    --gold: #ffd600;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
}

.main-header {
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.98), rgba(17, 24, 39, 0.95));
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.logo-battle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-leader {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.logo-orban {
    color: var(--fidesz-light);
    background: rgba(253, 130, 4, 0.1);
    border: 1px solid rgba(253, 130, 4, 0.3);
}

.logo-magyar {
    color: var(--tisza-light);
    background: rgba(26, 115, 232, 0.1);
    border: 1px solid rgba(26, 115, 232, 0.3);
}

.logo-vs {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin: 0 0.15rem;
}

.logo-text h1 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo-text .tagline {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--tisza-light);
    background: rgba(26, 115, 232, 0.12);
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.visitor-counters {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.visitor-counter {
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.visitor-counter .visitor-icon { font-size: 0.6rem; }

#active-count {
    font-weight: 700;
    color: var(--green, #4caf50);
}

.visitor-alltime {
    font-size: 0.6rem;
    opacity: 0.7;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 2px;
    padding: 0.3rem 0.8rem;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(229, 57, 53, 0.3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.ticker-bar {
    background: linear-gradient(90deg, var(--tisza-dark), var(--bg-secondary) 30%, var(--bg-secondary) 70%, var(--fidesz-dark));
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.ticker-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    white-space: nowrap;
    animation: tickerSlide 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ticker-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ticker-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
}

.ticker-vs {
    color: var(--text-muted);
    font-size: 0.65rem;
    margin: 0 0.2rem;
}

.ticker-sep {
    color: var(--text-muted);
    opacity: 0.3;
}

.tisza-color { color: var(--tisza-light); }
.fidesz-color { color: var(--fidesz-light); }
.winner-text { color: var(--gold); font-weight: 800; }
.countdown-value {
    color: var(--red);
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

@keyframes tickerSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.battle-hero {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), var(--bg-card) 40%, var(--bg-card) 60%, rgba(253, 130, 4, 0.08));
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.battle-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tisza), transparent 40%, transparent 60%, var(--fidesz));
}

.battle-side {
    text-align: center;
    padding: 1rem;
}

.tisza-side .battle-party-name { color: var(--tisza-light); }
.fidesz-side .battle-party-name { color: var(--fidesz-light); }

.battle-party-name {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 0.25rem;
}

.battle-leader {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.battle-seats {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.tisza-side .battle-seats { color: var(--tisza); text-shadow: 0 0 40px var(--tisza-glow); }
.fidesz-side .battle-seats { color: var(--fidesz); text-shadow: 0 0 40px var(--fidesz-glow); }

.battle-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.battle-pct {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.battle-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 280px;
}

.battle-vs {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-muted);
    opacity: 0.4;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.battle-total {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.battle-bar-container {
    display: flex;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-primary);
    gap: 2px;
}

.battle-bar-tisza {
    background: linear-gradient(90deg, var(--tisza-dark), var(--tisza));
    border-radius: 6px 0 0 6px;
    transition: width 1s ease;
}

.battle-bar-fidesz {
    background: linear-gradient(90deg, var(--fidesz), var(--fidesz-dark));
    transition: width 1s ease;
}

.battle-bar-other {
    background: var(--text-muted);
    border-radius: 0 6px 6px 0;
    transition: width 1s ease;
}

.battle-majority-line {
    margin-top: 0.4rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    position: relative;
}

.battle-majority-line::before {
    content: '▲';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 0.6rem;
}

.update-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
}

.update-info strong {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-weight: 600;
}

.update-sep {
    color: var(--text-muted);
    opacity: 0.3;
}

.update-item {
    white-space: nowrap;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.card.full-width {
    margin-bottom: 2rem;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.parliament-container {
    display: flex;
    justify-content: center;
    position: relative;
    height: 280px;
}

.parliament-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.legend-entry {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-seats {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-primary);
}

.poll-chart-container {
    position: relative;
    height: 280px;
}

.poll-stats {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

.counters-section {
    margin-bottom: 2rem;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.counter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.counter-card.tisza-glow {
    border-color: rgba(26, 115, 232, 0.3);
    background: linear-gradient(180deg, rgba(26, 115, 232, 0.06), var(--bg-card));
}

.counter-card.fidesz-glow {
    border-color: rgba(253, 130, 4, 0.3);
    background: linear-gradient(180deg, rgba(253, 130, 4, 0.06), var(--bg-card));
}

.counter-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.counter-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    transition: all 0.3s;
}

.tisza-glow .counter-number { color: var(--tisza-light); }
.fidesz-glow .counter-number { color: var(--fidesz-light); }

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.map-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
}

.map-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.oevk-map {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.map-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.map-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.map-stat-label { color: var(--text-secondary); }
.map-stat-value { font-family: var(--font-mono); font-weight: 700; font-size: 1.2rem; }

.simulator-container {
    max-width: 1000px;
    margin: 0 auto;
}

.simulator-container h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.sim-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.sim-controls {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.sim-slider {
    margin-bottom: 1.2rem;
}

.sim-slider label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.sim-slider span {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 700;
}

.sim-slider input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 3px;
    background: var(--bg-primary);
    outline: none;
}

.sim-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--tisza);
    cursor: pointer;
    border: 2px solid var(--text-primary);
    transition: all 0.2s;
}

.sim-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--tisza-glow);
}

.sim-btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.sim-btn {
    background: linear-gradient(135deg, var(--tisza), var(--tisza-dark));
    color: white;
}

.sim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--tisza-glow);
}

.sim-btn-secondary {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.sim-btn-secondary:hover {
    background: var(--bg-card-hover);
    box-shadow: none;
}

.sim-results {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.sim-results h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sim-placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 2rem 1rem;
}

.sim-result-bar-container {
    margin-bottom: 1rem;
}

.sim-result-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.sim-result-party {
    width: 80px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: right;
}

.sim-result-bar-bg {
    flex: 1;
    height: 20px;
    background: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.sim-result-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
    display: flex;
    align-items: center;
    padding-left: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.sim-gov-type {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.news-list {
    display: grid;
    gap: 0.75rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
}

.news-item:hover {
    border-color: var(--tisza);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.news-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 80px;
}

.news-body h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.news-body p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.news-source {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.ai-card {
    border-color: rgba(26, 115, 232, 0.2);
    background: linear-gradient(180deg, rgba(26, 115, 232, 0.04), var(--bg-card));
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--tisza), #7c4dff);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-right: 0.5rem;
}

.ai-summary {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.ai-detailed {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.ai-scenarios {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.oevk-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.oevk-popup.hidden { display: none; }

.popup-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-close:hover { color: var(--text-primary); }

.popup-inner h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.seo-content {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding: 2.5rem 1.5rem;
}
.seo-inner {
    max-width: 900px;
    margin: 0 auto;
}
.seo-content h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}
.seo-content h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.seo-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.seo-content ul {
    list-style: none;
    padding: 0;
}
.seo-content li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}
.seo-content li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--tisza);
    font-weight: bold;
}
.seo-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding: 2rem 1.5rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-links {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--tisza-light);
    text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-copy {
    font-size: 0.6rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.support-strip {
    max-width: 1400px;
    margin: 0 auto 0;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.support-strip:hover { opacity: 1; }

.support-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.65rem;
    color: var(--text-muted);
    user-select: none;
}

.support-check input { display: none; }

.support-box {
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--border);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    background: transparent;
}

.support-check input:checked ~ .support-box {
    background: var(--tisza);
    border-color: var(--tisza);
}

.support-check input:checked ~ .support-box::after {
    content: '✓';
    font-size: 0.55rem;
    color: #fff;
    font-weight: 700;
}

.support-check input:checked ~ .support-text {
    color: var(--text-secondary);
}

.support-text {
    font-size: 0.6rem;
    line-height: 1.3;
}

.support-count {
    font-size: 0.55rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.loading-indicator {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.loading-indicator::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--tisza);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.trend-chart-container {
    position: relative;
    height: 300px;
}

.vote-card { }

.vote-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.vote-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.vote-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 220px;
    flex-shrink: 0;
}

.vote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.vote-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.vote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.vote-btn.voted {
    opacity: 1;
    border-width: 3px;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.vote-btn-party {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.vote-btn-leader {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.vote-btn-fidesz { border-color: rgba(253,130,4,0.4); }
.vote-btn-fidesz:hover, .vote-btn-fidesz.voted { border-color: var(--fidesz); background: rgba(253,130,4,0.1); }
.vote-btn-tisza { border-color: rgba(26,115,232,0.4); }
.vote-btn-tisza:hover, .vote-btn-tisza.voted { border-color: var(--tisza); background: rgba(26,115,232,0.1); }
.vote-btn-mh { border-color: rgba(27,94,32,0.4); }
.vote-btn-mh:hover, .vote-btn-mh.voted { border-color: var(--mh); background: rgba(27,94,32,0.1); }
.vote-btn-dk { border-color: rgba(21,101,192,0.4); }
.vote-btn-dk:hover, .vote-btn-dk.voted { border-color: var(--dk); background: rgba(21,101,192,0.1); }
.vote-btn-mkkp { border-color: rgba(156,39,176,0.4); }
.vote-btn-mkkp:hover, .vote-btn-mkkp.voted { border-color: var(--mkkp); background: rgba(156,39,176,0.1); }
.vote-btn-other { border-color: rgba(136,153,187,0.4); }
.vote-btn-other:hover, .vote-btn-other.voted { border-color: var(--text-secondary); background: rgba(136,153,187,0.1); }
.vote-btn-none { border-color: rgba(85,102,136,0.3); }
.vote-btn-none:hover, .vote-btn-none.voted { border-color: var(--text-muted); background: rgba(85,102,136,0.1); }

.vote-results {
    flex: 1;
    min-width: 0;
}

.vote-total {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.vote-total strong {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-size: 1.1rem;
}

.vote-bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.vote-bar-label {
    width: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
    flex-shrink: 0;
}

.vote-bar-track {
    flex: 1;
    height: 22px;
    background: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.vote-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
    min-width: 2px;
}

.vote-bar-pct {
    width: 55px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    flex-shrink: 0;
}

.vote-bar-count {
    width: 45px;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-align: right;
    flex-shrink: 0;
}

.vote-mandates {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.vote-mandates-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.vote-mandate-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.vote-mandate-label {
    width: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
    flex-shrink: 0;
}

.vote-mandate-track {
    flex: 1;
    height: 20px;
    background: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.vote-mandate-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    min-width: 2px;
}

.vote-mandate-seats {
    width: 65px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    flex-shrink: 0;
}

.vote-majority-note {
    text-align: center;
    font-size: 0.7rem;
    color: var(--gold);
    margin-top: 0.75rem;
    font-weight: 600;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

@media (max-width: 1024px) {
    .grid-2col { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .parliament-container { max-height: 280px; }
    .poll-chart-container { max-height: 280px; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .sim-grid { grid-template-columns: 1fr; }
    .battle-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
        padding: 1.5rem;
    }
    .battle-center { min-width: auto; order: -1; }
    .battle-seats { font-size: 3rem; }
    .battle-side { padding: 0.5rem; }
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.4rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 36px;
    height: 32px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger:hover { border-color: var(--tisza); }
.hamburger:hover span { background: var(--text-primary); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .header-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .logo-area {
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        flex: 0 0 auto;
        min-width: 0;
        order: 1;
    }
    .logo-battle {
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
        flex-shrink: 0;
    }
    .logo-leader { font-size: 0.55rem; padding: 0.12rem 0.35rem; letter-spacing: 1px; }
    .logo-vs { font-size: 0.45rem; margin: 0 0.08rem; }
    .logo-text { display: none; }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(10, 14, 23, 0.98));
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 0.5rem;
        gap: 0.15rem;
        z-index: 999;
        box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    }
    .header-nav.open {
        display: flex;
    }
    .nav-link {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        border-radius: 8px;
        text-align: center;
        background: rgba(255,255,255,0.03);
        width: 100%;
    }
    .nav-link:hover, .nav-link.active {
        background: rgba(26, 115, 232, 0.15);
    }

    .header-meta {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex-shrink: 0;
        order: 2;
        flex: 1;
        justify-content: center;
    }
    .visitor-counters {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    .visitor-counter { font-size: 0.55rem; }
    .visitor-counter .visitor-icon { font-size: 0.5rem; }
    .visitor-alltime { font-size: 0.5rem; }
    .live-badge { font-size: 0.45rem; padding: 0.1rem 0.35rem; gap: 0.25rem; }
    .pulse-dot { width: 6px; height: 6px; }
    .hamburger { order: 3; }

    .ticker-bar { overflow: hidden; }
    .ticker-inner {
        font-size: 0.6rem;
        gap: 0.15rem 0.4rem;
        padding: 0.3rem 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        min-width: auto;
        animation: none;
        white-space: normal;
    }
    .ticker-sep { display: none; }
    .ticker-item { white-space: nowrap; }
    .ticker-value { font-size: 0.7rem; }
    .ticker-label { font-size: 0.5rem; }

    .content {
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .update-info {
        flex-wrap: wrap;
        gap: 0.2rem 0.5rem;
        font-size: 0.6rem;
        padding: 0.35rem 0.6rem;
        margin-bottom: 0.75rem;
    }
    .update-sep { display: none; }

    .battle-hero {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        padding: 1rem 0.75rem;
        gap: 0.25rem;
        border-radius: 10px;
        margin-bottom: 1rem;
        width: 100%;
    }
    .battle-side { text-align: center; padding: 0.25rem; }
    .battle-center { min-width: 80px; order: 0; padding: 0; }
    .battle-party-name { font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 0.1rem; }
    .battle-leader { font-size: 0.6rem; margin-bottom: 0.4rem; }
    .battle-seats { font-size: 2.2rem; }
    .battle-pct { font-size: 0.75rem; }
    .battle-label { font-size: 0.5rem; letter-spacing: 1px; margin-bottom: 0.25rem; }
    .battle-vs { font-size: 1.3rem; margin-bottom: 0.2rem; }
    .battle-total { font-size: 0.55rem; margin-bottom: 0.5rem; }
    .battle-bar-container { height: 8px; }
    .battle-majority-line span { font-size: 0.5rem; }

    .card {
        padding: 0.75rem;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        min-width: 0;
    }
    .grid-2col > * { min-width: 0; overflow: hidden; }
    .parliament-container canvas,
    .poll-chart-container canvas,
    .trend-chart-container canvas { max-width: 100% !important; }
    .card.full-width { margin-bottom: 1rem; width: 100%; }
    .card-title { font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 0.75rem; }
    .section-title { font-size: 0.9rem; margin-bottom: 1rem; }
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
        width: 100%;
    }

    .parliament-container { height: 220px; max-height: 220px; overflow: hidden; max-width: 100%; }
    .poll-chart-container { height: 220px; max-height: 220px; overflow: hidden; max-width: 100%; }
    .trend-chart-container { height: 200px; width: 100%; }
    .parliament-legend { gap: 0.4rem; margin-top: 0.5rem; }
    .legend-entry { font-size: 0.6rem; gap: 0.25rem; }
    .legend-color { width: 8px; height: 8px; }
    .poll-stats { font-size: 0.6rem; margin-top: 0.5rem; }

    .vote-section { flex-direction: column; gap: 1rem; }
    .vote-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        min-width: 0;
        gap: 0.35rem;
    }
    .vote-btn { padding: 0.4rem 0.7rem; flex: 0 0 auto; min-width: 0; }
    .vote-btn-party { font-size: 0.7rem; }
    .vote-btn-leader { font-size: 0.55rem; }
    .vote-description { font-size: 0.7rem; }
    .vote-bar-label { width: 70px; font-size: 0.6rem; }
    .vote-bar-pct { width: 40px; font-size: 0.65rem; }
    .vote-bar-count { width: 35px; font-size: 0.5rem; }
    .vote-bar-track { height: 18px; }
    .vote-mandate-label { width: 70px; font-size: 0.6rem; }
    .vote-mandate-seats { width: 50px; font-size: 0.7rem; }
    .vote-mandates-title { font-size: 0.75rem; }

    .counters-section { margin-bottom: 1rem; width: 100%; }
    .counters-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .counter-card { padding: 0.75rem; border-radius: 8px; }
    .counter-label { font-size: 0.55rem; }
    .counter-number { font-size: 1.2rem; }

    .oevk-map { height: 350px; border-radius: 10px; width: 100%; }
    .map-header { flex-direction: column; gap: 0.3rem; }
    .map-header h2 { font-size: 0.85rem; }
    .map-legend { flex-wrap: wrap; gap: 0.4rem; font-size: 0.6rem; justify-content: center; }
    .map-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.6rem;
        justify-content: center;
        width: 100%;
    }
    .map-stat { font-size: 0.7rem; }
    .map-stat-value { font-size: 0.9rem; }

    .simulator-container { width: 100%; }
    .simulator-container h2 { font-size: 0.95rem; }
    .sim-description { font-size: 0.7rem; }
    .sim-controls { padding: 0.75rem; }
    .sim-slider label { font-size: 0.7rem; }
    .sim-results { padding: 0.75rem; }

    .news-list { width: 100%; }
    .news-item { padding: 0.75rem; gap: 0.5rem; flex-direction: column; }
    .news-date { min-width: auto; font-size: 0.6rem; }
    .news-body h3 { font-size: 0.8rem; }
    .news-body p { font-size: 0.7rem; }

    .ai-card { padding: 0.75rem; }
    .ai-summary { font-size: 0.8rem; }
    .ai-detailed { font-size: 0.7rem; }
    .ai-scenarios { font-size: 0.7rem; }

    .main-footer { padding: 1rem 0.75rem; margin-top: 1.5rem; }
    .footer-disclaimer { font-size: 0.6rem; padding: 0.6rem; }
    .footer-links { font-size: 0.55rem; }

    .feedback-dialog { padding: 1.25rem; border-radius: 12px; }
    .feedback-title { font-size: 1rem; }

    .cookie-toast {
        width: 90%;
        white-space: normal;
        font-size: 0.65rem;
        padding: 0.6rem 0.9rem;
    }

    .support-strip {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem 1rem;
    }
    .support-text { text-align: center; }
}

@media (max-width: 480px) {
    .header-inner { padding: 0.35rem 0.4rem; }
    .hamburger { width: 30px; height: 28px; padding: 0.3rem; }
    .hamburger span { width: 16px; }
    .logo-leader { font-size: 0.48rem; padding: 0.08rem 0.2rem; }
    .logo-vs { font-size: 0.35rem; }
    .live-badge { font-size: 0.4rem; padding: 0.08rem 0.3rem; }
    .visitor-counter { font-size: 0.48rem; }
    .visitor-counter .visitor-icon { font-size: 0.4rem; }
    .visitor-alltime { font-size: 0.42rem; }

    .battle-hero { padding: 0.75rem 0.4rem; gap: 0.15rem; }
    .battle-party-name { font-size: 0.75rem; letter-spacing: 1px; }
    .battle-leader { font-size: 0.5rem; }
    .battle-seats { font-size: 1.8rem; }
    .battle-pct { font-size: 0.65rem; }
    .battle-label { font-size: 0.45rem; }
    .battle-vs { font-size: 1rem; }
    .battle-total { font-size: 0.5rem; }
    .battle-center { min-width: 65px; }
    .battle-bar-container { height: 6px; }

    .counters-grid { grid-template-columns: 1fr 1fr; gap: 0.4rem; }
    .counter-card { padding: 0.5rem; }
    .counter-number { font-size: 1rem; }
    .counter-label { font-size: 0.5rem; }

    .ticker-inner { gap: 0.15rem 0.3rem; }

    .oevk-map { height: 280px; }
    .sim-grid { gap: 0.75rem; }
    .popup-inner { padding: 1rem; max-width: 95vw; }

    .parliament-container { height: 180px; max-height: 180px; }
    .poll-chart-container { height: 180px; max-height: 180px; }
    .trend-chart-container { height: 170px; }
    .grid-2col .card { padding: 0.6rem; }
    .card-title { font-size: 0.65rem; margin-bottom: 0.5rem; padding-bottom: 0.3rem; }

    .vote-btn { padding: 0.3rem 0.5rem; }
    .vote-btn-party { font-size: 0.6rem; }
    .vote-btn-leader { display: none; }
    .vote-bar-label { width: 55px; font-size: 0.5rem; }
    .vote-bar-pct { width: 35px; font-size: 0.6rem; }
    .vote-bar-count { display: none; }
    .vote-mandate-label { width: 55px; font-size: 0.5rem; }
}

.loading-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.loading-fade {
    opacity: 0;
    visibility: hidden;
}

.loading-battle {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 700px;
    width: 90%;
}

.loading-side {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 1.5rem 0;
}

.loading-party-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 120px; height: 120px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    animation: glowPulse 2s ease-in-out infinite;
}

.tisza-glow-anim { background: var(--tisza); opacity: 0.3; }
.fidesz-glow-anim { background: var(--fidesz); opacity: 0.3; }

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.5; }
}

.loading-party-name {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    position: relative;
    z-index: 1;
}

.loading-tisza .loading-party-name { color: var(--tisza-light); }
.loading-fidesz .loading-party-name { color: var(--fidesz-light); }

.loading-leader {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    position: relative;
    z-index: 1;
}

.loading-center {
    text-align: center;
    min-width: 120px;
}

.loading-vs-text {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 6px;
    animation: vsPulse 1.5s ease-in-out infinite;
}

@keyframes vsPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.loading-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-card);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--tisza), var(--fidesz));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.loading-status {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    min-height: 1.2em;
    transition: opacity 0.15s ease;
}

@media (max-width: 600px) {
    .loading-battle {
        flex-direction: column;
        gap: 1rem;
    }
    .loading-party-name { font-size: 1.3rem; }
    .loading-vs-text { font-size: 2rem; }
    .loading-center { min-width: 80%; }
}

.leaflet-container {
    background: var(--bg-card) !important;
}

.leaflet-popup-content-wrapper {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
}

.leaflet-popup-tip { background: var(--bg-card) !important; }

.leaflet-popup-content {
    font-family: var(--font-main) !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
}

.oevk-tooltip {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    font-family: var(--font-main) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.feedback-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.feedback-modal.hidden {
    display: none;
}

.feedback-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.feedback-dialog {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: feedbackSlideIn 0.3s ease;
}

@keyframes feedbackSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.feedback-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.feedback-close:hover { color: var(--text-primary); }

.feedback-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.feedback-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.feedback-field {
    margin-bottom: 0.9rem;
}

.feedback-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.feedback-field input,
.feedback-field select,
.feedback-field textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.feedback-field input:focus,
.feedback-field select:focus,
.feedback-field textarea:focus {
    border-color: var(--tisza);
}

.feedback-field textarea {
    resize: vertical;
    min-height: 80px;
}

.feedback-submit {
    width: 100%;
    padding: 0.7rem;
    background: linear-gradient(135deg, var(--tisza), #4a90d9);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    letter-spacing: 0.5px;
}

.feedback-submit:hover {
    opacity: 0.9;
}

.feedback-submit:active {
    transform: scale(0.98);
}

.feedback-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.feedback-status {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 0.6rem;
    min-height: 1.2em;
}

.feedback-status.success { color: #4caf50; }
.feedback-status.error { color: #f44336; }

.cookie-toast {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 1.2rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    white-space: nowrap;
}

.cookie-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cookie-toast-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 5px;
    padding: 0.25rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-toast-close:hover {
    background: rgba(255,255,255,0.15);
}
