:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-green: #1db954;
    --accent-hover: #1ed760;
    --accent-blue: #2d9cdb;
    --danger: #e74c3c;
    --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(--accent-blue);
    transition: 0.3s;
}

a:hover {
    color: #54FFC1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: rgba(0,0,0,0.9);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: #54FFC1;
    letter-spacing: 1px;
}

.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: #54FFC1;
    padding: 5px 15px;
    border-radius: 20px;
    color: black !important;
    font-weight: bold !important;
}

.vip-btn:hover {
    background: var(--accent-hover);
}

.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, #1db954, #2d9cdb);
    -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.3);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    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: #333;
    color: white;
    border: 1px solid #444;
}

.btn-primary:hover {
    background-color: #54FFC1;
    color: black;
    border-color: #54FFC1;
}

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

.btn-secondary:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

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

.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
}

.btn-discord {
    background-color: #5865F2;
    color: white;
}

.btn-discord:hover {
    background-color: #4752c4;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: #333;
    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.8);
    backdrop-filter: blur(5px);
}

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

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

.close-btn:hover { color: white; }

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

.modern-input:focus {
    outline: none;
    border-color: #54FFC1;
}

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

.btn-success {
    background-color: #54FFC1;
    color: black;
}

footer {
    background-color: #000;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #222;
    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: white; /* A tlk.io miatt kell a világos háttér a kereten belül */
    border-radius: 8px;
    overflow: hidden;
}

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

.count-item {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    text-align: center;
    border: 1px solid #54FFC1;
}

.count-item h2 {
    font-size: 2.5rem;
    color: #54FFC1;
    margin: 0;
}

.count-item span {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
}

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

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

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

.timeline-item h4 {
    color: var(--accent-blue);
    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(--accent-blue);
    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: #54FFC1;
    color: black;
    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 #444;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    flex-direction: column;
    overflow: hidden;
}

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

.profile-dropdown a:hover {
    background-color: #333;
    color: #54FFC1;
}

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

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

@media (max-width: 600px) {
    .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;
    }
}