:root {
    --white: #ffffff;
    --beige: #f5f0eb;
    --beige-dark: #ede5dc;
    --pink-light: #f4b4be;
    --pink: #e6a0b0;
    --pink-dark: #d4899a;
    --black: #1a1a1a;
    --black-light: #333333;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, var(--white) 0%, var(--beige) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.cover.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cover__bg-bows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.bow {
    position: absolute;
    opacity: 0.6;
}

.bow--1 {
    width: 180px;
    top: 8%;
    left: 5%;
    transform: rotate(-15deg);
}

.bow--2 {
    width: 140px;
    top: 15%;
    right: 8%;
    transform: rotate(20deg);
}

.bow--3 {
    width: 160px;
    bottom: 12%;
    left: 12%;
    transform: rotate(10deg);
}

.cover__content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.cover__title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 10px;
}

.cover__subtitle {
    font-family: var(--font-serif);
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 300;
    font-style: italic;
    color: var(--black-light);
    margin-bottom: 50px;
}

.envelope {
    position: relative;
    width: 280px;
    height: 180px;
    margin: 0 auto 30px;
    cursor: pointer;
    perspective: 800px;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.envelope:hover {
    transform: scale(1.03);
}

.envelope__back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #b8a795;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.envelope__front {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #c4b3a3;
    border-radius: 4px;
}

.envelope__flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(180deg, #a89785 0%, #b8a795 100%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top center;
    transition: transform 0.5s ease;
    border-radius: 4px 4px 0 0;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.envelope__seal {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(212, 137, 154, 0.4);
    transition: opacity 0.3s ease;
}

.envelope__seal span {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--white);
    font-weight: 500;
}

.envelope.open .envelope__flap {
    transform: rotateX(180deg);
}

.envelope.open .envelope__seal {
    opacity: 0;
}

.cover__hint {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--black-light);
    opacity: 0.7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

.main-content {
    position: relative;
    z-index: 1;
}

.section {
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.section:nth-child(odd) {
    background: var(--white);
}

.section:nth-child(even) {
    background: var(--beige);
}

.section__inner {
    max-width: 600px;
    margin: 0 auto;
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--black);
    margin-bottom: 20px;
}

.divider {
    margin-bottom: 30px;
}

.divider svg {
    width: 120px;
    height: 15px;
}

.greeting__text {
    font-family: var(--font-serif);
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 25px;
}

.greeting__date {
    font-family: var(--font-serif);
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 300;
    font-style: italic;
    color: var(--pink-dark);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.greeting__description {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--black-light);
    max-width: 450px;
    margin: 0 auto;
}

.venue__hint {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 300;
    color: var(--black-light);
    opacity: 0.6;
    margin-bottom: 15px;
}

.venue__name {
    font-family: var(--font-serif);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.venue__address {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--black-light);
    margin-bottom: 30px;
}

.venue__buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 30px !important;
    flex-wrap: nowrap !important;
}

.btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 110px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
}

.btn__label {
    font-family: var(--font-sans) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--black) !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.btn--icon {
    display: block !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
}

.btn--icon__circle {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    min-height: 55px !important;
    border-radius: 50% !important;
    background: var(--beige) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
}

.btn--icon__circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.btn--icon:hover .btn--icon__circle {
    transform: scale(1.08);
}

.schedule__list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.schedule__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
    position: relative;
}

.schedule__item:last-child {
    margin-bottom: 0;
}

.schedule__dot {
    width: 10px;
    height: 10px;
    background: var(--pink);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
    margin-right: 20px;
}

.schedule__content {
    flex: 1;
}

.schedule__time {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    display: block;
    margin-bottom: 4px;
}

.schedule__event {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--black-light);
    line-height: 1.5;
}

.schedule__event em {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
}

.dresscode__text {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--black-light);
    max-width: 450px;
    margin: 0 auto 25px;
}

.dresscode__colors-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 20px;
}

.dresscode__colors {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.color-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
}

.color-circle--white {
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.color-circle--beige {
    background: var(--beige-dark);
}

.color-circle--pink {
    background: var(--pink-light);
}

.dresscode__note {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--black-light);
    max-width: 400px;
    margin: 0 auto;
}

.wishes__text {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--black-light);
    max-width: 400px;
    margin: 0 auto 35px;
}

.final {
    background: linear-gradient(180deg, var(--white) 0%, var(--beige) 100%);
}

.final__bow {
    width: 100px;
    margin: 0 auto 30px;
}

.final__text {
    font-family: var(--font-serif);
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 400;
    color: var(--black);
    margin-bottom: 15px;
}

.final__name {
    font-family: var(--font-serif);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 300;
    font-style: italic;
    color: var(--pink-dark);
}

.section__inner {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (max-width: 480px) {
    .envelope {
        width: 240px;
        height: 155px;
    }

    .section {
        padding: 70px 15px;
    }

    .bow--1 { width: 120px; }
    .bow--2 { width: 100px; }
    .bow--3 { width: 110px; }

    .venue__buttons {
        gap: 15px;
    }

    .btn {
        width: 90px;
    }

    .btn--icon__circle {
        width: 48px;
        height: 48px;
    }

    .btn__label {
        font-size: 11px;
    }
}
