:root {
    --bg-color: #2e2e2e;
    --text: #f0f0f0;
    --primary: #ff9f43;
    --primary-hover: #ffb775;
    --card-bg: rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background with simple animation or gradient */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
    z-index: 1;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

header {
    margin-bottom: 2rem;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.highlight {
    color: var(--primary);
}

.mode-toggles {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 2rem;
    display: inline-flex;
}

.mode-btn {
    background: transparent;
    border: none;
    color: #aaa;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.mode-btn.active {
    background: var(--primary);
    color: #1a1a1a;
}

.mode-btn:hover:not(.active) {
    color: white;
}

.timer-display {
    font-family: 'Share Tech Mono', monospace;
    font-size: 6rem;
    margin: 2rem 0;
    text-shadow: 0 0 20px rgba(255, 159, 67, 0.3);
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.primary-btn {
    background: var(--primary);
    color: #1a1a1a;
    border: none;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.secondary-btn:hover {
    border-color: white;
}

.music-player {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

#volume-slider {
    width: 80px;
    accent-color: var(--primary);
}

.task-section input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    font-family: inherit;
    outline: none;
}

.task-section input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.task-section input:focus {
    border-color: var(--primary);
}