.timers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.timer-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(179, 135, 40, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.timer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(179, 135, 40, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.timer-card.active {
    border-color: #b38728;
    background: rgba(40, 40, 40, 0.8);
}

.timer-card.warning {
    animation: pulse-border 1s infinite alternate;
}

@keyframes pulse-border {
    from { border-color: rgba(179, 135, 40, 0.4); }
    to { border-color: #ff4757; }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.team-name-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 600;
    width: 80%;
    padding: 2px 0;
    transition: border-color 0.3s;
}

.team-name-input:focus {
    outline: none;
    border-color: #b38728;
}

.delete-card-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
    transition: color 0.3s;
}

.delete-card-btn:hover {
    color: #ff4757;
}

.timer-display-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

.time-left {
    font-size: 3rem;
    font-weight: 700;
    color: #b38728;
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: -1px;
    line-height: 1;
}

.timer-status {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.card-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.card-controls .button {
    height: 2.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

.btn-start {
    background: transparent !important;
    border: 1px solid #b38728;
    color: #b38728 !important;
}

.btn-start:hover {
    background: #b38728 !important;
    color: #1a1a1a !important;
}

.btn-pause {
    background: transparent !important;
    border: 1px solid #888;
    color: #888 !important;
}

.btn-pause:hover {
    background: #888 !important;
    color: #1a1a1a !important;
}

.quick-set-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
}

.quick-set-buttons .button {
    height: 1.5rem;
    font-size: 0.7rem;
    padding: 0 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

.quick-set-buttons .button:hover {
    background: rgba(179, 135, 40, 0.1);
    border-color: #b38728;
    color: #b38728;
}

.mute-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #888;
    transition: color 0.3s;
}

.mute-toggle.active {
    color: #b38728;
}

@media (max-width: 600px) {
    .timers-grid {
        grid-template-columns: 1fr;
    }
}
