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

body, html {
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    max-width: 100vw;
}

.splash-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.photo-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wedding-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: zoomIn 2s ease-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1.2);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.text-container {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.anniversary-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 140px;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInUp 1.5s ease-out 1s forwards, gentleGlow 3s ease-in-out 3s infinite;
    position: relative;
    letter-spacing: 8px;
}

.years {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #ffffff;
    font-style: italic;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 8px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease-out 1.8s forwards;
    font-weight: 300;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enter-button {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 18px 50px;
    background: #1e3a5f;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0;
    border: 2px solid #1e3a5f;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInButton 1s ease-out 3s forwards;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    letter-spacing: 3px;
    text-transform: uppercase;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
}

@keyframes fadeInButton {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enter-button:hover {
    background: transparent;
    color: #1e3a5f;
    border-color: #1e3a5f;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.enter-button:active {
    transform: scale(0.98);
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-container {
        margin-bottom: 100px;
    }

    .number {
        font-size: 100px;
    }

    .years {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .enter-button {
        margin-top: 40px;
        margin-left: 15px;
        margin-right: 15px;
        font-size: 14px;
        padding: 16px 35px;
        letter-spacing: 2px;
        width: auto;
        max-width: calc(100vw - 30px);
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .text-container {
        margin-bottom: 80px;
    }

    .number {
        font-size: 70px;
        letter-spacing: 4px;
    }

    .years {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .enter-button {
        margin-top: 35px;
        margin-left: 15px;
        margin-right: 15px;
        font-size: 12px;
        padding: 14px 25px;
        letter-spacing: 1px;
        width: auto;
        max-width: calc(100vw - 30px);
    }
}

@media (max-width: 380px) {
    .text-container {
        margin-bottom: 60px;
    }

    .number {
        font-size: 60px;
    }

    .years {
        font-size: 18px;
    }

    .enter-button {
        margin-top: 30px;
        margin-left: 15px;
        margin-right: 15px;
        font-size: 10px;
        padding: 12px 18px;
        letter-spacing: 0.5px;
        max-width: calc(100vw - 30px);
    }
}

/* Elegant gentle glow animation */
@keyframes gentleGlow {
    0%, 100% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
    }
}
