/* style.css - Controller */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.hidden { display: none !important; }

h1, h2, h3 { margin-top: 0; text-align: center; }
.neon-text { color: #00f2fe; text-shadow: 0 0 10px #00f2fe; letter-spacing: 2px;}

.room-actions { display: flex; flex-direction: column; gap: 15px; align-items: center; }
.divider { margin: 10px 0; font-size: 14px; opacity: 0.6; }

input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    text-align: center;
}
input[type="color"] { padding: 0; height: 40px; cursor: pointer; }

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
}
.btn.primary { background: linear-gradient(45deg, #00c6ff, #0072ff); color: white; }
.btn.glow:hover { box-shadow: 0 0 15px rgba(0, 198, 255, 0.5); transform: translateY(-2px); }
.btn.secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn.success { background: #27ae60; color: white; }
.btn.warning { background: #f39c12; color: white; }
.btn.danger { background: #e74c3c; color: white; }
.btn.small { width: auto; padding: 8px 15px; font-size: 12px; }

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

.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.card { background: rgba(0,0,0,0.2); padding: 20px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.05); }

.score-control { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; background: rgba(0,0,0,0.3); border-radius: 10px; padding: 10px;}
.score-btn { width: 40px; height: 40px; border-radius: 50%; font-size: 20px; padding: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); color: white;}
.score-display { font-size: 30px; font-weight: bold; width: 50px; text-align: center; }

.timer-card { text-align: center; margin-bottom: 20px; }
.timer-display { font-size: 48px; font-weight: bold; font-family: monospace; color: #f1c40f; margin-bottom: 15px; text-shadow: 0 0 10px rgba(241, 196, 15, 0.5); }
.timer-controls { display: flex; justify-content: center; gap: 10px; }

.event-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.anim-btn { background: rgba(255,255,255,0.1); }
.yellow-card { border-left: 5px solid #f1c40f; }
.red-card { border-left: 5px solid #e74c3c; }

.w-100 { width: 100%; }
