* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}
.event-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}
.event-header {
    background: linear-gradient(to right, #DC2626, #EF4444);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.event-header::after {
    content: '🇮🇩';
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 150px;
    opacity: 0.1;
}
.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}
.back-btn:hover { background: rgba(255,255,255,0.3); }
#ticketCount {
    background: white;
    color: #DC2626;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.event-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.game-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}
.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
}
.game-card i {
    font-size: 3rem;
    color: #DC2626;
    margin-bottom: 15px;
}
.game-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.game-card p { font-size: 0.9rem; color: #666; }

.game-area {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}
.timer-display {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #DC2626;
    font-family: monospace;
    margin-bottom: 20px;
}
.game-content { margin-bottom: 20px; }
.btn-cancel {
    background: #f1f3f5;
    color: #495057;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
.btn-submit {
    background: #DC2626;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    font-size: 1.1rem;
}

.leaderboard-area {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.leaderboard-area h2 {
    text-align: center;
    margin-bottom: 20px;
}
.leaderboard-list {
    list-style: none;
    counter-reset: lb-counter;
}
.leaderboard-list li {
    counter-increment: lb-counter;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f5;
    align-items: center;
}
.leaderboard-list li::before {
    content: counter(lb-counter);
    width: 30px;
    height: 30px;
    background: #f1f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}
.leaderboard-list li:nth-child(1)::before { background: gold; color: white; }
.leaderboard-list li:nth-child(2)::before { background: silver; color: white; }
.leaderboard-list li:nth-child(3)::before { background: #cd7f32; color: white; }

.admin-panel-area {
    margin-top: 40px;
    background: #1a1a2e;
    color: white;
    padding: 30px;
    border-radius: 20px;
}
.admin-card {
    background: #16213e;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}
.admin-item {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.admin-item p { margin-bottom: 10px; font-size: 0.9rem; }
.admin-item input {
    padding: 8px;
    width: 80px;
    border-radius: 4px;
    border: none;
    margin-right: 10px;
}
.admin-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}
textarea.puisi-input {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    resize: vertical;
}
.quiz-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.quiz-options label {
    display: block;
    padding: 10px;
    background: white;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #eee;
}
.quiz-options label:hover { background: #f1f3f5; }
