* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #091830, #1D4A96);
    font-family: 'Lato', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.event-title {
    font-family: 'Lato', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.digits-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.digit-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.digit {
    width: 100px;
    height: 120px;
    background: linear-gradient(to bottom, #D1DBED, #64789A);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-size: 4.2rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
    color: #0a192f;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
    overflow: hidden;
    perspective: 400px;
}

.label {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 5px;
}

.content-section {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.image-container img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.event-info {
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.event-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: normal;
}

.info-item .material-icons {
    color: #4ade80;
    font-size: 1.5rem;
}

.set-event-btn {
    background-color: white;
    color: #0a192f;
    border: none;
    padding: 12px 24px;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.set-event-btn:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 425px) {
    .event-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .countdown-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        justify-items: center;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .digits-container {
        align-items: center;
    }

    .digit {
        width: 48px;
        height: 68px;
        font-size: 2.5rem;
    }

    .label {
        font-size: 1.1rem;
        margin-top: 4px;
    }

    .content-section {
        flex-direction: column;
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .image-container img {
        max-width: 280px;
    }

    .event-info {
        max-width: 320px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .event-info h2 {
        font-size: 1.2rem;
    }


    .info-item {
        font-size: 1rem;
    }

    .set-event-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .digit {
        width: 44px;
        height: 64px;
        font-size: 1.7rem;
    }

    .digit.flip .digit-top,
    .digit.flip .digit-bottom {
        font-size: 1.7rem;
    }

    .label {
        font-size: 1rem;
    }

    .countdown-container {
        gap: 12px;
        max-width: 320px;
    }
}