@font-face {
    font-family: 'Poppins';
    src: url('https://cdn.barnatech.net/fonts/Poppins-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('https://cdn.barnatech.net/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('https://cdn.barnatech.net/fonts/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Halloween színpaletta */
    --bg-color: #110b14; /* Sötét, éjszakai lila-fekete */
    --card-bg: #1c1423; /* Sötét lila-szürke kártya háttér */
    --text-primary: #f2e9e4; /* Törtfehér / Csontszín */
    --text-secondary: #9d94a8; /* Tompított lila-szürke */
    
    --theme-orange: #ff7300; /* Tök narancssárga */
    --theme-orange-hover: #ff8c33;
    --theme-purple: #9d4edd; /* Boszorkány lila */
    --theme-slime: #85cc16; /* Toxikus nyálka zöld */
    --danger: #d90429; /* Vérvörös */
    
    --font-main: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--theme-purple);
    transition: 0.3s;
}

a:hover {
    color: var(--theme-orange);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: rgba(17, 11, 20, 0.95);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #2d2235;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--theme-orange);
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 115, 0, 0.3);
}

.nav-links a {
    margin-left: 20px;
    font-weight: 500;
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vip-btn {
    background: var(--theme-orange);
    padding: 5px 15px;
    border-radius: 20px;
    color: #110b14 !important;
    font-weight: bold !important;
    box-shadow: 0 0 10px rgba(255, 115, 0, 0.2);
}

.vip-btn:hover {
    background: var(--theme-orange-hover);
    box-shadow: 0 0 15px rgba(255, 115, 0, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    width: 100%;
}

.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--theme-orange), var(--theme-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.invisible-iframe {
    border: none;
    background: transparent;
    width: 250px;
    height: 40px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #2d2235;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.15); /* Halvány lila ragyogás hoverre */
}

.card h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid #2d2235;
    padding-bottom: 10px;
    color: var(--text-primary);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background-color: #2d2235;
    color: white;
    border: 1px solid #3e3047;
}

.btn-primary:hover {
    background-color: var(--theme-orange);
    color: #110b14;
    border-color: var(--theme-orange);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #3e3047;
    color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--theme-orange);
    color: var(--theme-orange);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--theme-purple);
    color: var(--theme-purple);
}

.btn-outline:hover {
    background: var(--theme-purple);
    color: white;
}

/* A márkaspecifikus gombok színét érdemes meghagyni, hogy felismerhetők legyenek, de picit sötétíthetők */
.btn-discord { background-color: #5865F2; color: white; }
.btn-discord:hover { background-color: #4752c4; }

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: #2d2235;
    color: white;
    margin-right: 5px;
}

.btn-music {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 8px;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-music.youtube { background: #c4302b; }
.btn-music.spotify { background: #1db954; }
.btn-music.apple { background: #fa243c; }

.btn-music:hover {
    opacity: 0.9;
    padding-left: 30px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 10% auto;
    padding: 30px;
    border: 1px solid var(--theme-orange);
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    color: white;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(255, 115, 0, 0.2);
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}

.close-btn:hover { color: var(--theme-orange); }

.modern-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #110b14;
    border: 1px solid #3e3047;
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

.modern-input:focus {
    outline: none;
    border-color: var(--theme-orange);
}

.full-width { width: 100%; margin-top: 15px; }

.btn-success {
    background-color: var(--theme-orange);
    color: #110b14;
}

footer {
    background-color: #08050a;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #1f1626;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
}

.partners img {
    vertical-align: middle;
    border-radius: 4px;
    opacity: 0.7;
    transition: 0.3s;
}

.partners img:hover { opacity: 1; }

.ad-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.chat-container {
    height: 600px;
    background: #1c1423;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2d2235;
}

.countdown-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.count-item {
    background: #110b14;
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    text-align: center;
    border: 1px solid var(--theme-purple);
}

.count-item h2 {
    font-size: 2.5rem;
    color: var(--theme-orange);
    margin: 0;
}

.count-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--theme-purple);
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--theme-orange);
    border-radius: 50%;
    border: 2px solid var(--card-bg);
}

.timeline-item h4 {
    color: var(--theme-purple);
    margin-bottom: 5px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.music-card {
    text-align: center;
}

.music-card h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--theme-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.music-card .btn-music {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
    padding: 12px 0 !important;
    margin-bottom: 10px;
}

.profile-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
}

.profile-widget:hover {
    background: rgba(255,255,255,0.1);
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.avatar-circle {
    width: 35px;
    height: 35px;
    background-color: var(--theme-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    overflow: hidden;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 5%;
    background-color: var(--card-bg);
    border: 1px solid #3e3047;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
    flex-direction: column;
    overflow: hidden;
}

.profile-dropdown a {
    padding: 12px 15px;
    color: white;
    border-bottom: 1px solid #2d2235;
    font-size: 0.9rem;
    display: block;
}

.profile-dropdown a:hover {
    background-color: #2d2235;
    color: var(--theme-orange);
}

.profile-dropdown.show {
    display: flex;
}

@media (max-width: 600px) {
    .feedback-grid { grid-template-columns: 1fr; }
    
    .election-bar {
        flex-direction: column;
        gap: 5px;
        padding: 10px 0;
        font-size: 0.8rem;
    }
    
    .navbar {
        padding: 15px;
    }
    
    .grid-layout {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 900px) {
    .music-card {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    .music-card .music-links {
        display: flex;
        flex-direction: column;
        align-items: center; 
        width: 100%;
    }
    
    .music-card .btn-music {
        width: 100% !important; 
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}

@keyframes popInEvent {
    0% { transform: scale(0.5) translateY(50px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease-out;
    justify-content: center;
}

.nav-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
    margin: 0;
    border: none;
    padding: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.badge-admin { background: rgba(217, 4, 41, 0.2); color: var(--danger); }
.badge-vip { background: rgba(255, 115, 0, 0.2); color: var(--theme-orange); }

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.widget-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.widget-box {
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #2d2235;
}

.widget-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.compact-iframe {
    width: 100%;
    height: 150px;
    border: none;
    background: #110b14;
    border-radius: 4px;
}

.election-bar {
    background: linear-gradient(90deg, 
        rgba(255, 115, 0, 0.15) 0%, 
        rgba(157, 78, 221, 0.1) 50%, 
        rgba(133, 204, 22, 0.15) 100%
    );
    border-bottom: 1px solid rgba(255, 115, 0, 0.2);
    width: 100%;
    padding: 8px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    position: relative;
    z-index: 900;
}

.election-bar b {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.election-timer {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--theme-orange);
    min-width: 140px;
    display: inline-block;
}
        
.event-modal-overlay {
    background-color: rgba(17, 11, 20, 0.9) !important;
    backdrop-filter: blur(5px);
}

.event-card {
    background: linear-gradient(145deg, #1c1423, #2a1e35);
    border: 1px solid var(--theme-orange);
    text-align: center;
    border-radius: 20px;
    padding: 40px 20px !important;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(255, 115, 0, 0.15);
    animation: popInEvent 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Halloweeni esemény színek */
.event-national h2 {
    color: var(--theme-orange);
    text-shadow: 0 0 10px rgba(255, 115, 0, 0.4);
}

.event-love h2 {
    color: var(--theme-purple);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}

.event-party h2 {
    color: var(--theme-slime);
    text-shadow: 0 0 10px rgba(133, 204, 22, 0.4);
}

.event-namesday h2 {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.live-player-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(133, 204, 22, 0.1); /* Slime green halvány border */
    margin-top: 10px;
}

.live-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.live-header-row h4 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-primary);
    border: none;
    padding: 0;
}

.live-indicator-badge {
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    color: #888;
    transition: all 0.3s ease;
}

.live-indicator-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--danger);
    transition: 0.3s;
}

.live-indicator-badge.is-live {
    background: rgba(133, 204, 22, 0.15); /* Toxikus zöld jelzés */
    color: var(--theme-slime);
    border: 1px solid rgba(133, 204, 22, 0.3);
}

.live-indicator-badge.is-live .dot {
    background-color: var(--theme-slime);
    box-shadow: 0 0 8px var(--theme-slime);
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.live-status-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.player-controls-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #2d2235;
    color: #555;
    font-size: 1.1rem;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-btn.active {
    background: var(--theme-slime);
    color: #110b14;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(133, 204, 22, 0.3);
}

.play-btn.active:hover {
    transform: scale(1.1);
    background: #fff;
}

.visualizer {
    flex: 1;
    height: 30px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    background: rgba(0,0,0,0.4);
    padding: 5px 10px;
    border-radius: 6px;
}

.visualizer .bar {
    flex: 1;
    background: #3e3047;
    height: 4px;
    border-radius: 2px;
    transition: height 0.1s ease;
}

.visualizer.playing .bar {
    background: var(--theme-purple);
    animation: equalizer 0.8s infinite ease-in-out alternate;
}

.visualizer.playing .bar:nth-child(3n) { background: var(--theme-orange); }
.visualizer.playing .bar:nth-child(2n) { background: var(--theme-slime); }

.visualizer.playing .bar:nth-child(1) { animation-duration: 0.6s; }
.visualizer.playing .bar:nth-child(2) { animation-duration: 0.9s; }
.visualizer.playing .bar:nth-child(3) { animation-duration: 1.1s; }
.visualizer.playing .bar:nth-child(4) { animation-duration: 0.7s; }
.visualizer.playing .bar:nth-child(5) { animation-duration: 1.0s; }
.visualizer.playing .bar:nth-child(6) { animation-duration: 0.8s; }

@keyframes equalizer {
    0% { height: 10%; }
    100% { height: 90%; }
}

.stream-info-box {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 10px;
}

.stream-iframe {
    width: 100%;
    height: 40px;
    border: none;
    overflow: hidden;
    background: transparent;
}

.archive-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.archive-player-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

audio::-webkit-media-controls-panel {
    background-color: var(--card-bg);
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: white;
}

.mix-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 350px;
    overflow-y: auto;
    border-radius: 8px;
}

.mix-list::-webkit-scrollbar {
    width: 6px;
}
.mix-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
}
.mix-list::-webkit-scrollbar-thumb {
    background: var(--theme-purple);
    border-radius: 10px;
}

.mix-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mix-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.mix-list li.active {
    background: rgba(157, 78, 221, 0.15);
    border-left: 3px solid var(--theme-purple);
}

.mix-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: 0.3s;
}

.mix-list li:hover .play-icon, .mix-list li.active .play-icon {
    color: var(--theme-orange);
}

.mix-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mix-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.mix-list li.active .mix-name {
    color: var(--theme-orange);
}

.mix-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mix-info-right .eq-icon {
    opacity: 0;
    color: var(--theme-orange);
    transition: 0.3s;
}

.mix-list li.active .mix-info-right .eq-icon {
    opacity: 1;
}