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

body {
    font-family: 'Georgia', 'Garamond', serif;
    overflow-x: hidden;
}

/* ==================== MUSIC CONTROL ==================== */

.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-out;
}

.music-control.show {
    opacity: 1;
    visibility: visible;
}

.music-btn {
    padding: 14px 16px;
    background: rgba(212, 175, 55, 0.9);
    color: #8b4513;
    border: 2px solid #d4af37;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    background: rgba(212, 175, 55, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

.music-btn.muted {
    background: rgba(200, 200, 200, 0.9);
    border-color: #999;
}

.music-icon {
    display: block;
    line-height: 1;
}

/* ==================== LANGUAGE SWITCHER ==================== */

.language-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 200;
    display: flex;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-out;
}

.language-switcher.show {
    opacity: 1;
    visibility: visible;
}

.lang-btn {
    padding: 10px 16px;
    background: rgba(212, 175, 55, 0.9);
    color: #8b4513;
    border: 2px solid #d4af37;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Georgia', 'Garamond', serif;
    letter-spacing: 1px;
}

.lang-btn:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.lang-btn.active {
    background: #d4af37;
    color: #fff;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

/* ==================== ENVELOPE SECTION ==================== */

.envelope-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8fbff 0%, #f5f9ff 20%, #f2f8ff 40%, #f0f7ff 60%, #f3f9ff 80%, #f8fbff 100%);
    z-index: 100;
    perspective: 1200px;
    animation: bgFadeSky 120s ease-in-out infinite;
}

@keyframes bgFadeSky {
    0% {
        background: linear-gradient(135deg, #f8fbff 0%, #f5f9ff 20%, #f2f8ff 40%, #f0f7ff 60%, #f3f9ff 80%, #f8fbff 100%);
    }
    25% {
        background: linear-gradient(135deg, #f5f9ff 0%, #f2f8ff 20%, #f0f7ff 40%, #f3f9ff 60%, #f6faff 80%, #f5f9ff 100%);
    }
    50% {
        background: linear-gradient(135deg, #f2f8ff 0%, #f0f7ff 20%, #f3f9ff 40%, #f6faff 60%, #f8fbff 80%, #f2f8ff 100%);
    }
    75% {
        background: linear-gradient(135deg, #f0f7ff 0%, #f3f9ff 20%, #f6faff 40%, #f8fbff 60%, #f5f9ff 80%, #f0f7ff 100%);
    }
    100% {
        background: linear-gradient(135deg, #f8fbff 0%, #f5f9ff 20%, #f2f8ff 40%, #f0f7ff 60%, #f3f9ff 80%, #f8fbff 100%);
    }
}

.envelope-container.hide {
    animation: fadeOutBg 0.6s ease-out forwards;
}

@keyframes fadeOutBg {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.envelope {
    position: relative;
    width: 700px;
    height: 490px;
    cursor: pointer;
    perspective: 1000px;
    animation: envelopePulse 2.5s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes envelopePulse {
    0%, 100% {
        transform: scale(1) rotateY(0deg) rotateX(8deg);
    }
    50% {
        transform: scale(1.05) rotateY(0deg) rotateX(8deg);
    }
}

.envelope.expand {
    animation: envelopeExpand 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards !important;
}

@keyframes envelopeExpand {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.8);
    }
}

/* Envelope Body (Bottom) - Static - Behind */
.body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

.body-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Envelope Flap (Top) - Animated - In Front */
.flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    transform-origin: top center;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    overflow: visible;
    z-index: 3;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

.envelope.open .flap {
    transform: rotateX(-150deg);
}

.flap-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Wax Seal - Inside Flap - Moved Down */
.wax-seal {
    position: absolute;
    top: 105%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    z-index: 4;
    animation: sealFloat 0.3s ease-out 0s;
    transform-style: preserve-3d;
    overflow: visible;
    isolation: isolate;
}

.envelope.open .wax-seal {
    animation: sealBreak 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.3s forwards;
}

@keyframes sealFloat {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes sealBreak {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotateZ(0deg);
        filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.5));
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -40%) scale(1.1) rotateZ(5deg);
    }
    100% {
        opacity: 0;
        transform: translate(-30%, -20%) scale(0.8) rotateZ(15deg);
        filter: drop-shadow(0 0px 0px rgba(212, 175, 55, 0));
    }
}

.seal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.18));
}

/* Glow erst nach Öffnen */
.envelope.open .seal-img {
    animation: sealGlow 3.2s ease-in-out infinite;
}

.wax-seal::after {
    content: "";
    position: absolute;
    top: 8%;
    left: -40%;
    width: 38%;
    height: 84%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 35%,
        rgba(255,215,120,0.45) 50%,
        rgba(255,255,255,0.12) 65%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-22deg);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
}

/* ✨ Schimmer erst nach Öffnen */
.envelope.open .wax-seal::after {
    animation: goldShineSweep 3.2s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes goldShineSweep {
    0% {
        left: -45%;
        opacity: 0;
    }
    8% {
        opacity: 0.95;
    }
    32% {
        left: 105%;
        opacity: 0.9;
    }
    40% {
        opacity: 0;
    }
    100% {
        left: 105%;
        opacity: 0;
    }
}

@keyframes sealGlow {
    0%, 100% {
        filter:
            drop-shadow(0 0 8px rgba(212, 175, 55, 0.15))
            drop-shadow(0 0 16px rgba(212, 175, 55, 0.10));
        transform: scale(1);
    }
    50% {
        filter:
            drop-shadow(0 0 14px rgba(212, 175, 55, 0.35))
            drop-shadow(0 0 28px rgba(212, 175, 55, 0.18));
        transform: scale(1.02);
    }
}

/* ==================== INFO SECTION ==================== */

.info-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    will-change: background-position;
}

.info-container.show {
    opacity: 1;
    visibility: visible;
}

.info-content {
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.names {
    font-size: 4em;
    color: #8b4513;
    letter-spacing: 8px;
    margin-bottom: 10px;
    font-weight: 300;
}

.subtitle {
    font-size: 1.3em;
    color: #a0826d;
    font-style: italic;
    letter-spacing: 2px;
}

.invitation-text {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.invitation-text p {
    font-size: 1.3em;
    color: #8b4513;
    letter-spacing: 1px;
}

.details {
    max-width: 600px;
    width: 100%;
    margin-bottom: 50px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
    animation: fadeIn 0.6s ease-out both;
}

.detail-item:nth-child(1) {
    animation-delay: 0.4s;
}

.detail-item:nth-child(2) {
    animation-delay: 0.5s;
}

.detail-item:nth-child(3) {
    animation-delay: 0.6s;
}

.detail-item:nth-child(4) {
    animation-delay: 0.7s;
}

.detail-icon {
    font-size: 2em;
    margin-right: 20px;
    min-width: 50px;
}

.detail-info h3 {
    color: #8b4513;
    font-size: 1.1em;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.detail-info p {
    color: #666;
    font-size: 1em;
    line-height: 1.5;
}

/* ==================== RSVP SECTION WITH FORM ==================== */

.rsvp-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.6s ease-out 0.8s both;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.08);
}

.rsvp-section > p:first-child {
    color: #8b4513;
    font-size: 1em;
    margin: 10px 0;
}

.rsvp-date {
    font-size: 1.3em;
    font-weight: bold;
    color: #a0826d;
    margin: 15px 0 20px !important;
}

/* RSVP Form */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

#rsvpDetails {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        margin-top 0.35s ease;
}

#rsvpDetails.is-visible {
    max-height: none;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    transform: translateY(0);
    margin-top: 18px;
}

#guestGroup {
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 1;
    overflow: visible;
    transform: translateY(0);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        margin-top 0.25s ease;
}

#guestGroup.is-hidden {
    display: none;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    color: #8b4513;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #d4c4b0;
    border-radius: 6px;
    font-size: 1em;
    font-family: 'Georgia', 'Garamond', serif;
    color: #333;
    background-color: rgba(255, 255, 255, 0.92);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: #a0826d;
}

/* Checkbox Group */
.checkbox-group {
    align-items: flex-start;
}

.checkbox-group label {
    color: #8b4513;
    font-weight: 600;
    margin-bottom: 15px;
}

.checkbox-container {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.checkbox-item:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.15);
}

.checkbox-item input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #d4af37;
}

.checkbox-label {
    margin: 0;
    font-weight: normal;
    font-size: 1em;
    cursor: pointer;
    color: #666;
}

/* ==================== GUEST COUNTER ==================== */

#guestCounterControls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 6px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeSlideDown 0.35s ease;
}

#guestCounterControls.is-hidden {
    display: none;
}

#addGuestBtn,
#removeGuestBtn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(244, 208, 63, 0.95) 100%);
    color: #8b4513;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.18);
}

#addGuestBtn:hover,
#removeGuestBtn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 18px rgba(212, 175, 55, 0.28);
}

#addGuestBtn:active,
#removeGuestBtn:active {
    transform: translateY(0) scale(0.98);
}

#addGuestBtn:disabled,
#removeGuestBtn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#guestCountDisplay {
    min-width: 38px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #8b4513;
    letter-spacing: 0.5px;
}

/* ==================== GUEST FIELDS ==================== */

#guestFields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
}

.guest-person-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-left: 4px solid #d4af37;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 8px 18px rgba(139, 69, 19, 0.06);
    animation: fadeSlideDown 0.3s ease;
}

.guest-person-title {
    color: #8b4513;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.4px;
}

.guest-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Submit Button */
.submit-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #8b4513;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 'Georgia', 'Garamond', serif;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.submit-btn:active {
    transform: translateY(0px);
}

.submit-btn:disabled,
.submit-btn.is-loading {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.honeypot-field {
    display: none !important;
}

/* Success Message */
.success-message {
    padding: 20px;
    background: rgba(76, 175, 80, 0.15);
    border: 2px solid #4caf50;
    border-radius: 6px;
    margin-top: 20px;
    animation: slideIn 0.5s ease-out;
}

.success-message p {
    color: #2e7d32;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0;
}

.error-message {
    padding: 20px;
    background: rgba(211, 47, 47, 0.12);
    border: 2px solid #d32f2f;
    border-radius: 6px;
    margin-top: 20px;
    animation: slideIn 0.5s ease-out;
}

.error-message p {
    color: #b71c1c;
    font-size: 1.05em;
    font-weight: 600;
    margin: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-decoration {
    margin-top: 40px;
    font-size: 2em;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 1024px) {
    .envelope {
        width: 600px;
        height: 420px;
    }

    .wax-seal {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .names {
        font-size: 3em;
        letter-spacing: 4px;
    }

    .subtitle {
        font-size: 1em;
    }

    .invitation-text p {
        font-size: 1.1em;
    }

    .detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .detail-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .envelope {
        width: 450px;
        height: 315px;
    }

    .wax-seal {
        width: 130px;
        height: 130px;
    }

    .info-content {
        padding: 40px 15px;
    }

    .checkbox-container {
        flex-direction: column;
        gap: 15px;
    }

    #rsvpDetails {
        gap: 16px;
    }

    .guest-name-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #guestCounterControls {
        gap: 14px;
        padding: 12px 14px;
    }

    .language-switcher {
        top: 20px;
        right: 20px;
        gap: 8px;
    }

    .lang-btn {
        padding: 8px 12px;
        font-size: 0.8em;
    }

    .music-control {
        bottom: 20px;
        right: 20px;
    }

    .music-btn {
        width: 45px;
        height: 45px;
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .names {
        font-size: 2.2em;
        letter-spacing: 3px;
    }

    .subtitle {
        font-size: 0.9em;
    }

    .invitation-text p {
        font-size: 1em;
    }

    .detail-item {
        margin-bottom: 20px;
        padding: 12px;
    }

    .detail-icon {
        font-size: 1.5em;
    }

    .detail-info h3 {
        font-size: 1em;
    }

    .rsvp-section {
        padding: 20px 15px;
    }

    .footer-decoration {
        font-size: 1.5em;
    }

    .envelope {
        width: 320px;
        height: 224px;
    }

    .wax-seal {
        width: 100px;
        height: 100px;
    }

    .form-group input,
    .form-group select {
        font-size: 16px;
    }

    .checkbox-item {
        width: 100%;
        justify-content: center;
    }

    #rsvpDetails {
        gap: 14px;
    }

    #guestCounterControls {
        gap: 10px;
        padding: 10px 12px;
    }

    #addGuestBtn,
    #removeGuestBtn {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    #guestCountDisplay {
        min-width: 30px;
        font-size: 1.1rem;
    }

    .guest-person-card {
        padding: 14px;
    }

    .guest-person-title {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .language-switcher {
        top: 15px;
        right: 15px;
        gap: 6px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.75em;
    }

    .music-control {
        bottom: 15px;
        right: 15px;
    }

    .music-btn {
        width: 40px;
        height: 40px;
        padding: 10px 12px;
        font-size: 1em;
    }
}

/* ==================== COUNTDOWN ==================== */

.countdown-section {
    margin: 40px 0 20px;
    text-align: center;
}

.countdown-section h3 {
    font-size: 1.6em;
    color: #8b4513;
    margin-bottom: 18px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 16px;
    max-width: 520px;
    margin: 0 auto;
}

.countdown-card {
    background: rgba(255, 248, 220, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 18px;
    padding: 18px 12px;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.08);
}

.countdown-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #8b4513;
    margin-bottom: 6px;
}

.countdown-label {
    display: block;
    color: #7a5a2f;
    font-size: 0.95em;
}

@media (max-width: 640px) {
    .countdown-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .countdown-card {
        padding: 14px 8px;
    }

    .countdown-number {
        font-size: 1.6em;
    }
}
