:root {
    --primary-gold: #d4af37;
    --light-gold: #f3e5ab;
    --dark-grey: #222831;
    --card-bg: #393e46;
    --text-color: #ffffff;
    --muted-text: #b2bec3;
    --sidebar-bg: #1b212c;
    --border-gold: rgba(212, 175, 55, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-grey);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
}

/* TICKER */
.ticker-container {
    width: 100%;
    background-color: #171c24;
    color: var(--primary-gold);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-gold);
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.ticker-text {
    display: inline-block;
    animation: ticker 25s linear infinite;
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.ticker-text span { margin-right: 50px; }

@keyframes ticker {
    0% { transform: translate(100%, 0); }
    100% { transform: translate(-100%, 0); }
}

/* SIDEBAR */
.menu-toggle {
    position: fixed;
    top: 60px;
    left: 20px;
    background: var(--card-bg);
    color: var(--primary-gold);
    border: 1px solid var(--border-gold);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.menu-toggle:hover { background: var(--primary-gold); color: var(--dark-grey); }

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--sidebar-bg);
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 80px;
    border-right: 1px solid var(--border-gold);
    overflow-y: auto;
}

.sidebar.active { left: 0; }

.sidebar-links { list-style: none; padding: 20px; }
.sidebar-links li { margin-bottom: 12px; }

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: var(--primary-gold);
    color: var(--dark-grey);
    font-weight: 600;
}

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active { display: block; opacity: 1; }

/* 3D TEXT */
.text-3d {
    text-shadow:
        0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9,
        0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.4),
        0 5px 10px rgba(0,0,0,.5), 0 10px 15px rgba(0,0,0,.5);
}

.gold-3d {
    color: var(--primary-gold);
    text-shadow: 1px 1px 0px #8b7500, 2px 2px 0px #5c4d00, 3px 3px 0px #382f00, 0 15px 25px rgba(0,0,0,0.6);
}

/* HEADER / CONTAINER */
header.page-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 10px;
    padding: 0 20px;
}

header.page-header h1 { font-size: 2.6rem; margin-bottom: 15px; }
header.page-header p { font-size: 1.1rem; color: var(--muted-text); }

.site-logo { max-height: 70px; margin-bottom: 15px; }

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.content-box {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

/* CARD */
.card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-gold);
}

.card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3); }

.card-img-container { position: relative; width: 100%; height: 250px; overflow: hidden; background: #171c24; }
.card-img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img-container img { transform: scale(1.05); }

.badge {
    position: absolute; top: 15px; right: 15px;
    background: var(--primary-gold); color: var(--dark-grey);
    padding: 5px 12px; font-size: 0.8rem; border-radius: 20px;
    font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }

.dj-info h3 { font-size: 1.5rem; margin-bottom: 5px; color: var(--text-color); text-shadow: 1px 1px 2px rgba(0,0,0,0.8); }
.dj-info p { color: var(--light-gold); font-size: 0.95rem; margin-bottom: 20px; font-weight: 500; }

.vote-section { display: flex; flex-direction: column; gap: 10px; }

.progress-bar-container { width: 100%; background-color: #2b2e36; border-radius: 10px; height: 10px; overflow: hidden; }
.progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary-gold), var(--light-gold)); border-radius: 10px; transition: width 0.6s ease; }

.vote-stats { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted-text); }

.vote-btn, .btn {
    background: linear-gradient(135deg, var(--primary-gold), #b89728);
    color: var(--dark-grey);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.vote-btn:hover, .btn:hover { opacity: 0.9; }
.vote-btn:active, .btn:active { transform: scale(0.98); }
.vote-btn:disabled { background: #555; color: #888; cursor: not-allowed; box-shadow: none; text-shadow: none; }

.btn-secondary { background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-gold); box-shadow: none; text-shadow: none; }
.btn-danger { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; text-shadow: none; }

/* MODAL */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px;
}
.modal-backdrop.active { display: flex; }
.modal-box {
    background: var(--card-bg); border: 1px solid var(--border-gold);
    border-radius: 15px; padding: 30px; max-width: 420px; width: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}
.modal-box h3 { margin-bottom: 15px; color: var(--primary-gold); }
.modal-box p { color: var(--muted-text); margin-bottom: 15px; font-size: 0.9rem; }
.modal-box input {
    width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--border-gold);
    background: #171c24; color: #fff; margin-bottom: 15px; font-size: 1rem;
}
.modal-actions { display: flex; gap: 10px; }
.modal-actions button, .modal-actions .btn { flex: 1; }

/* FORMS (basvuru, kurallar, gecen ay) */
.info-box {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
}

.rules-list { list-style: none; }
.rules-list li {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.rules-list li:last-child { border-bottom: none; }
.rules-list .rule-num {
    background: var(--primary-gold); color: var(--dark-grey);
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; flex-shrink: 0; font-size: 0.85rem;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--light-gold); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--border-gold);
    background: #171c24; color: #fff; font-size: 1rem;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: rgba(46, 204, 113, 0.15); border: 1px solid #2ecc71; color: #2ecc71; }
.alert-error { background: rgba(231, 76, 60, 0.15); border: 1px solid #e74c3c; color: #e74c3c; }

.winner-showcase {
    display: flex; gap: 25px; align-items: center; flex-wrap: wrap;
}
.winner-showcase img {
    width: 160px; height: 160px; max-width: 100%; object-fit: cover; border-radius: 15px;
    border: 3px solid var(--primary-gold); box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    flex-shrink: 0;
}
.winner-showcase .winner-details h2 { color: var(--primary-gold); margin-bottom: 8px; }
.winner-showcase .winner-details .winner-show { color: var(--light-gold); margin-bottom: 12px; font-weight: 500; }
.winner-showcase .winner-details p { color: var(--muted-text); line-height: 1.6; }

/* AYIN YAYINCISI VITRINI (anasayfa ust kisim) */
.winner-spotlight {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.03));
    border: 1px solid var(--primary-gold);
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.winner-spotlight img {
    width: 90px; height: 90px; object-fit: cover; border-radius: 50%;
    border: 3px solid var(--primary-gold); flex-shrink: 0;
}
.winner-spotlight-title {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--dark-grey);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 8px;
}
.winner-spotlight-info h2 { color: var(--text-color); font-size: 1.3rem; margin-bottom: 4px; }
.winner-spotlight-info p { color: var(--light-gold); font-size: 0.95rem; font-weight: 500; }

@media (max-width: 480px) {
    .winner-showcase { flex-direction: column; text-align: center; }
    .winner-showcase img { width: 130px; height: 130px; }
    .winner-spotlight { flex-direction: column; text-align: center; }
}

footer.site-footer { margin-top: 50px; text-align: center; color: var(--muted-text); font-size: 0.9rem; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
header.page-header { animation: fadeIn 1s ease-in-out; }

.empty-state { text-align: center; color: var(--muted-text); padding: 40px 20px; }
