@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #e74c6f;
    border-radius: 3px;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0f 40%, #0a0a0a 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #e74c6f, #f39c12, #e74c6f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    margin-bottom: 20px;
}

.glow {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #e74c6f, #f39c12, #e74c6f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.subtitle {
    font-size: 1.3rem;
    color: #a0a0a0;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.btn-heart {
    background: linear-gradient(45deg, #e74c6f, #c0392b);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-heart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(231, 76, 111, 0.4);
}

.btn-heart::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.letter-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.letter-container {
    max-width: 700px;
    width: 100%;
}

.letter-paper {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid rgba(231, 76, 111, 0.2);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}

.letter-paper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #e74c6f, #f39c12, #e74c6f);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
}

.letter-paper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #e74c6f;
    margin-bottom: 30px;
    text-align: center;
}

.letter-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ccc;
}

.highlight-text {
    border-left: 3px solid #e74c6f;
    padding-left: 20px;
    font-style: italic;
    font-size: 1.1rem !important;
    color: #f0f0f0 !important;
}

.signature {
    text-align: right;
    margin-top: 40px;
    font-size: 1.2rem !important;
}

.name-sign {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #e74c6f;
}

.timeline-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #e74c6f, #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline {
    max-width: 800px;
    width: 100%;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #e74c6f, #f39c12);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -35px;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: #e74c6f;
    background: #0a0a0a;
    padding: 4px 12px;
    border: 1px solid rgba(231, 76, 111, 0.3);
    border-radius: 20px;
    letter-spacing: 2px;
}

.timeline-content {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid rgba(231, 76, 111, 0.15);
    border-radius: 15px;
    padding: 30px;
    max-width: 350px;
    width: 100%;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 20px;
    transform: translateX(-30px);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 20px;
    transform: translateX(30px);
}

.timeline-content:hover {
    border-color: #e74c6f;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(231, 76, 111, 0.2);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    color: #e74c6f;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #aaa;
    line-height: 1.6;
}

.reasons-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a0f 100%);
    min-height: auto;
    padding-bottom: 100px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 40px;
}

.reason-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid rgba(231, 76, 111, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.reason-card:hover {
    border-color: #e74c6f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 111, 0.15);
}

.reason-card .number {
    color: #e74c6f;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.reason-card p {
    color: #ccc;
    line-height: 1.5;
}

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

.btn-reason {
    background: transparent;
    color: #e74c6f;
    border: 1px solid #e74c6f;
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-reason:hover {
    background: #e74c6f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 111, 0.3);
}

.counter-section {
    background: linear-gradient(135deg, #1a0a0f 0%, #0a0a0a 100%);
}

.counter-container {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.counter-box {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid rgba(231, 76, 111, 0.2);
    border-radius: 15px;
    padding: 30px 40px;
    text-align: center;
    min-width: 120px;
}

.counter-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #e74c6f, #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.counter-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.counter-text {
    font-size: 1.1rem;
    color: #999;
    font-style: italic;
}

.final-section {
    background: radial-gradient(ellipse at center, #1a0a0f 0%, #0a0a0a 70%);
}

.final-content {
    text-align: center;
    max-width: 600px;
}

.final-content h2 {
    font-size: 6rem;
    margin-bottom: 20px;
}

.final-content p {
    font-size: 1.2rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 30px;
}

.heart-beat {
    font-size: 5rem;
    color: #e74c6f;
    animation: heartbeat 1.2s ease infinite;
    margin: 30px 0;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    56% { transform: scale(1); }
}

.final-quote {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.5rem !important;
    font-style: italic;
    color: #e74c6f !important;
    margin-top: 20px !important;
}

.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(231, 76, 111, 0.2);
    border: 1px solid rgba(231, 76, 111, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.music-toggle:hover {
    background: rgba(231, 76, 111, 0.4);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .glow { font-size: 3rem; }
    .letter-paper { padding: 30px; }
    .section-title { font-size: 2rem; }
    .timeline::before { left: 20px; }
    .timeline-item::before { left: 20px; top: -30px; }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
        margin-right: 0;
        transform: none;
    }
    .counter-box { min-width: 100px; padding: 20px 25px; }
    .counter-number { font-size: 2rem; }
    .reasons-grid { grid-template-columns: 1fr; }
}
