:root {
    --bg-color: #000000;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #ffffff;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --border-radius: 16px;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hub Buttons */
.hub-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hub-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hub-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.hub-btn .icon {
    font-size: 1.5rem;
}

/* Admin Styles */
.admin-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.btn-play {
    background: var(--accent-color);
    color: white;
}

.btn-play.pausing {
    background: #ffa500;
}

.btn-reset {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn:active {
    transform: scale(0.95);
}

.settings-group {
    text-align: left;
    margin-top: 1.5rem;
}

.settings-group h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.input-row {
    margin-bottom: 1rem;
}

.input-row label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #aaa;
}

input[type="number"],
input[type="text"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    color: white;
    border-radius: 8px;
    font-family: var(--font-main);
}

.range-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.range-grid input {
    font-size: 0.85rem;
}

.btn-save {
    width: 100%;
    background: var(--success-color);
    color: white;
    margin-top: 1rem;
}

/* Timer Display */
.timer-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

#timer-display {
    font-size: 25vw;
    /* Adjusted for 00:00 format */
    font-weight: 700;
    line-height: 1;
    transition: color 0.3s ease;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 600px) {
    #timer-display {
        font-size: 28vw;
        /* Adjusted for mobile 00:00 */
    }
}