/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    animation: fadeInUp 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero h1 {
    font-family: 'Alex Brush', cursive;
    font-size: 4.5em;
    color: var(--gold);
    margin-bottom: 40px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.8),
                 0 5px 20px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
    font-weight: 400;
    animation: morphIn 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 2px;
}

.hero .subtext {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5em;
    color: var(--gold-light);
    margin-bottom: 50px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    letter-spacing: 1px;
}

.btn-main {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 50%, #d4af37 100%);
    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite, scaleRotate 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
    color: #1a1200;
    border: 3px solid var(--gold);
    padding: 22px 60px;
    font-size: 1.4em;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5),
                inset 0 2px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-main:hover::before {
    width: 400px;
    height: 400px;
}

.btn-main:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.7),
                inset 0 2px 0 rgba(255, 255, 255, 0.7);
}

.btn-main:active {
    transform: translateY(-4px) scale(1.04);
}

/* Love Note Section */
.love-note {
    background: linear-gradient(135deg, rgba(26, 18, 0, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 3px solid rgba(212, 175, 55, 0.4);
    border-radius: 40px;
    padding: 80px 50px;
    margin: 80px 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                inset 0 2px 0 rgba(212, 175, 55, 0.2);
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.love-note::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    z-index: -1;
    border-radius: 40px;
    animation: borderGlow 4s linear infinite;
}

.love-note.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.love-note h2 {
    color: var(--gold);
    font-size: 3em;
    font-family: 'Tangerine', cursive;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    letter-spacing: 2px;
    animation: fadeInScale 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.love-note p {
    line-height: 2.2;
    font-size: 1.5em;
    color: var(--gold-light);
    margin-bottom: 25px;
    text-align: center;
    opacity: 0;
    font-weight: 400;
    letter-spacing: 0.8px;
    font-family: 'Libre Baskerville', serif;
}

.love-note p.typing {
    opacity: 1;
    animation: fadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Gallery Section */
.gallery {
    margin: 100px 0;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery h2 {
    text-align: center;
    color: var(--gold);
    font-size: 3.5em;
    font-family: 'Tangerine', cursive;
    font-weight: 700;
    margin-bottom: 70px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    letter-spacing: 3px;
    animation: fadeInScale 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Facts Section */
.facts {
    background: linear-gradient(135deg, rgba(26, 18, 0, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 3px solid rgba(212, 175, 55, 0.4);
    border-radius: 40px;
    padding: 80px 50px;
    margin: 80px 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                inset 0 2px 0 rgba(212, 175, 55, 0.2);
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.facts::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    z-index: -1;
    border-radius: 40px;
    animation: borderGlow 4s linear infinite;
}

.facts.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.facts h2 {
    color: var(--gold);
    font-size: 3em;
    font-family: 'Tangerine', cursive;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    letter-spacing: 2px;
}

.facts ul {
    list-style: none;
    padding: 0;
}

.facts li {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(244, 228, 188, 0.08));
    padding: 25px 40px;
    margin: 25px 0;
    border-radius: 25px;
    border-left: 6px solid var(--gold);
    border-right: 2px solid rgba(212, 175, 55, 0.3);
    font-size: 1.4em;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    color: var(--gold-light);
    animation: slideInLeft 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
}

.facts li:hover {
    transform: translateX(15px) scale(1.02);
    border-left-width: 10px;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(244, 228, 188, 0.12));
}

.facts li:nth-child(1) { animation-delay: 0.2s; }
.facts li:nth-child(2) { animation-delay: 0.5s; }
.facts li:nth-child(3) { animation-delay: 0.8s; }

/* Closing Section */
.closing {
    background: linear-gradient(135deg, rgba(26, 18, 0, 0.98) 0%, rgba(10, 10, 10, 0.99) 100%);
    border: 3px solid rgba(212, 175, 55, 0.5);
    border-radius: 40px;
    padding: 100px 60px;
    margin: 80px 0 100px 0;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                0 0 60px rgba(212, 175, 55, 0.3),
                inset 0 2px 0 rgba(212, 175, 55, 0.2);
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.closing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent);
    z-index: -1;
}

.closing::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    z-index: -2;
    border-radius: 40px;
    animation: borderGlow 4s linear infinite;
}

.closing.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.closing p {
    font-size: 1.8em;
    line-height: 2.5;
    color: var(--gold-light);
    margin-bottom: 25px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    letter-spacing: 1px;
    animation: fadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.closing p strong {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.15em;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
}

.closing .signature {
    margin-top: 80px;
    font-size: 2.2em;
    font-family: 'Alex Brush', cursive;
    color: var(--gold);
    font-weight: 400;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.7);
    letter-spacing: 2px;
    animation: morphIn 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
