/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b0a0a;
    color: #f5f2eb;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Subtle warm background glow */
.background-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.main-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    padding: 40px 20px;
    text-align: center;
}

/* Typography & Headers */
.hero-section {
    margin-bottom: 40px;
}

.subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a39e93;
    font-weight: 200;
    margin-bottom: 12px;
}

.main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #e6dfd3;
}

.divider {
    width: 40px;
    height: 1px;
    background-color: #d4a373;
    margin: 20px auto 0 auto;
    opacity: 0.7;
}

/* Countdown Grid Layout */
.countdown-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 10px;
}

.time-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(5px);
}

.time-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #d4a373;
    line-height: 1.2;
}

.time-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8c877e;
    margin-top: 4px;
}

/* Image Showcase styling */
.memory-section {
    margin-top: 20px;
    margin-bottom: 30px;
}

.image-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.memory-image {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(15%) contrast(105%);
    transition: transform 0.5s ease;
}

.memory-image:hover {
    transform: scale(1.03);
}

.photo-caption {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #c4bfa5;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

/* Sweet Matter Styling */
.love-letter-section {
    margin-top: 40px;
    padding: 0 15px;
}

.letter-divider {
    color: #d4a373;
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.love-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #dbd7cc;
    margin-bottom: 20px;
    font-weight: 300;
}

.celebrate-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #d4a373;
    width: 100%;
}

/* Responsive design adjustments */
@media (max-width: 400px) {
    .main-title { font-size: 2.3rem; }
    .time-number { font-size: 1.8rem; }
    .time-label { font-size: 0.6rem; }
    .love-text { font-size: 1.15rem; }
}
