@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

#app {
    max-width: 1200px;
}

.team-card {
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
    border: 4px solid #1e3a8a; /* Dark Blue Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.team-name {
    font-weight: 700;
    font-size: 1.875rem; /* 30px */
    border: none;
    text-align: center;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.team-name:focus {
    outline: none;
    background-color: #f0f4ff;
}

.score {
    font-size: 6rem; /* 96px */
    font-weight: 800;
    line-height: 1;
    color: #3b82f6; /* Blue-500 */
    margin: 1rem 0;
}

.score-btn {
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.score-btn:active {
    transform: scale(0.95);
}

.btn-plus {
    background-color: #22c55e; /* Green-500 */
}
.btn-plus:hover {
    background-color: #16a34a; /* Green-600 */
}

.btn-minus {
    background-color: #ef4444; /* Red-500 */
}
.btn-minus:hover {
    background-color: #dc2626; /* Red-600 */
}

#winner-modal h1 {
    text-shadow: 0 4px 8px rgba(252, 211, 77, 0.5);
}

/* Responsive adjustments */
@media (max-width: 640px) { /* Small screens */
    .team-name {
        font-size: 1.5rem; /* ~24px */
    }
    .score {
        font-size: 4rem; /* ~64px */
    }
    .score-btn {
        width: 50px;
        height: 50px;
        font-size: 2rem; /* ~32px */
    }
}

@media (max-width: 480px) { /* Extra small screens */
    .team-name {
        font-size: 1.25rem; /* ~20px */
    }
    .score {
        font-size: 3rem; /* ~48px */
    }
    .score-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem; /* ~24px */
    }
}