:root {
    --bg-cream: #f8f1ea;
    --bg-petal: #efe2d4;
    --glass-surface: rgba(252, 247, 242, 0.9);
    --glass-strong: rgba(255, 252, 249, 0.96);
    --glass-border: rgba(168, 122, 98, 0.36);
    --sakura-main: #c84b76;
    --sakura-dark: #5e2c22;
    --sakura-light: #e588a7;
    --text-dark: #3b2017;
    --text-soft: #6d4638;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    max-width: 100%;
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: clip;
    position: relative;
    text-align: center;
}

.sakura-backdrop {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 16%, rgba(228, 148, 174, 0.24) 0%, transparent 45%),
        radial-gradient(circle at 86% 18%, rgba(182, 134, 106, 0.24) 0%, transparent 46%),
        radial-gradient(circle at 78% 82%, rgba(218, 134, 164, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 20% 84%, rgba(164, 118, 92, 0.22) 0%, transparent 48%),
        linear-gradient(155deg, #fbf6f0 0%, #f1e3d5 54%, #e5d0be 100%);
}

.petals-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -10%;
    background: linear-gradient(135deg, #f3b5c9 0%, #cf648a 100%);
    border-radius: 150% 0 150% 0;
    opacity: 0.52;
    animation: fallPetal linear infinite;
}

@keyframes fallPetal {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.65;
    }
    90% {
        opacity: 0.55;
    }
    100% {
        transform: translateY(110vh) translateX(-110px) rotate(360deg);
        opacity: 0;
    }
}

.hero-section {
    position: relative;
    width: 100%;
    height: 78vh;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 2rem 1rem;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 65%,
        rgba(248, 241, 234, 0.78) 88%,
        #f8f1ea 100%
    );
    z-index: 1;
}

.hero-card {
    position: relative;
    z-index: 2;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 1.75rem;
    background: rgba(252, 247, 242, 0.88);
    border: 1px solid rgba(176, 128, 102, 0.45);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(94, 44, 34, 0.14);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 252, 249, 0.96);
    border-color: var(--sakura-main);
    box-shadow: 0 16px 34px rgba(200, 75, 118, 0.18);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(200, 75, 118, 0.35);
    color: var(--sakura-dark);
    font-size: 0.8rem;
    font-weight: 800;
    margin: 0 auto 0.45rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-pill:hover {
    transform: scale(1.04);
    background: #ffffff;
}

.hero-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sakura-main);
}

.hero-name {
    font-size: clamp(1.6rem, 4vw, 2.45rem);
    font-weight: 900;
    background: linear-gradient(135deg, #57251b 0%, #c84b76 58%, #7d3b2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.25;
    margin: 0 auto 0.3rem;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(0.86rem, 1.7vw, 1rem);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.5;
    margin: 0 auto;
    text-align: center;
}

.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 900;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0.45rem 1rem;
    background: rgba(248, 241, 234, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(168, 122, 98, 0.35);
    box-shadow: 0 8px 24px rgba(94, 44, 34, 0.1);
}

.navbar {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    background: rgba(245, 234, 223, 0.95);
    border: 1px solid rgba(168, 122, 98, 0.42);
    border-radius: 18px;
    padding: 0.55rem 0.65rem;
    box-shadow: 0 6px 18px rgba(94, 44, 34, 0.08);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.navbar:hover {
    border-color: var(--sakura-main);
    box-shadow: 0 10px 24px rgba(200, 75, 118, 0.14);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    justify-items: center;
}

.nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--sakura-dark);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.45rem 0.45rem;
    border-radius: 11px;
    background: rgba(255, 252, 249, 0.94);
    border: 1px solid rgba(168, 122, 98, 0.35);
    transition: all 0.22s ease;
    line-height: 1.25;
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--sakura-main), #de6a92);
    border-color: var(--sakura-main);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(200, 75, 118, 0.26);
}

.main-wrapper {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 1.75rem 1rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.glass-panel,
.glass-panel.visible {
    width: 100%;
    scroll-margin-top: 110px;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.85rem;
    box-shadow: 0 14px 36px rgba(94, 44, 34, 0.08);
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.glass-panel:hover,
.glass-panel.visible:hover {
    background: rgba(255, 252, 249, 0.96);
    border-color: rgba(200, 75, 118, 0.55);
    box-shadow: 0 18px 40px rgba(200, 75, 118, 0.14);
}

.panel-head {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.55rem;
    margin-bottom: 1.4rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(168, 122, 98, 0.3);
}

.panel-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

.sakura-emblem {
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border-radius: 11px;
    background: linear-gradient(135deg, #e78ca9, var(--sakura-main));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 6px 14px rgba(200, 75, 118, 0.24);
    transition: transform 0.3s ease;
}

.glass-panel:hover .sakura-emblem {
    transform: rotate(90deg);
}

.panel-title {
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 800;
    color: var(--sakura-dark);
    text-align: center;
    margin: 0 auto;
}

.panel-tag {
    display: inline-block;
    margin: 0 auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sakura-main);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(200, 75, 118, 0.35);
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.panel-tag:hover {
    background: var(--sakura-main);
    color: #ffffff;
    border-color: var(--sakura-main);
}

.cards-grid {
    width: 100%;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.info-card {
    width: 100%;
    background: var(--glass-strong);
    border: 1px solid rgba(168, 122, 98, 0.32);
    border-radius: 16px;
    padding: 1.25rem 1.25rem;
    line-height: 1.75;
    color: var(--text-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.info-card span {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.info-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: var(--sakura-main);
    box-shadow: 0 12px 26px rgba(200, 75, 118, 0.16);
}

.info-card strong {
    display: block;
    text-align: center;
    margin: 0 auto 0.35rem;
    color: var(--sakura-dark);
    font-size: 1.04rem;
    transition: color 0.25s ease;
}

.info-card:hover strong {
    color: var(--sakura-main);
}

.highlight-box {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 252, 249, 0.95), rgba(244, 224, 229, 0.86));
    border: 1px solid rgba(168, 122, 98, 0.4);
    border-radius: 18px;
    padding: 1.4rem 1.6rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.85;
    text-align: center;
    margin: 0 auto;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.highlight-box:hover {
    border-color: var(--sakura-main);
    box-shadow: 0 12px 26px rgba(200, 75, 118, 0.14);
}

.media-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.15rem;
}

.media-grid .photo-frame {
    flex: 0 1 255px;
    max-width: 100%;
}

.media-grid.single-centered .photo-frame {
    flex: 0 1 420px;
}

.photo-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1.5px solid rgba(168, 122, 98, 0.42);
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    aspect-ratio: 4 / 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-frame:hover {
    transform: translateY(-4px);
    border-color: var(--sakura-main);
    box-shadow: 0 14px 28px rgba(200, 75, 118, 0.22);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.photo-frame:hover img {
    transform: scale(1.05);
}

.photo-bar {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(to top, rgba(94, 44, 34, 0.92), rgba(94, 44, 34, 0.35), transparent);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    transition: background 0.25s ease;
}

.photo-frame:hover .photo-bar {
    background: linear-gradient(to top, rgba(200, 75, 118, 0.95), rgba(94, 44, 34, 0.45), transparent);
}

.footer-glass {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    text-align: center;
}

.disclaimer-card {
    width: 100%;
    margin: 0 auto;
    background: rgba(252, 247, 242, 0.94);
    border: 1px solid rgba(168, 122, 98, 0.42);
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 28px rgba(94, 44, 34, 0.08);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.disclaimer-card:hover {
    border-color: var(--sakura-main);
    box-shadow: 0 14px 30px rgba(200, 75, 118, 0.14);
}

.disclaimer-title {
    display: inline-block;
    margin: 0 auto 0.55rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--sakura-main);
    background: rgba(200, 75, 118, 0.12);
    padding: 0.22rem 0.85rem;
    border-radius: 999px;
}

.disclaimer-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
    line-height: 1.75;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.footer-copy {
    margin: 0.75rem auto 0;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(168, 122, 98, 0.28);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--sakura-dark);
    text-align: center;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(42, 20, 14, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-box {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(231, 140, 169, 0.85);
    box-shadow: 0 24px 60px rgba(32, 14, 10, 0.72);
    cursor: default;
    background: #f8f1ea;
}

.lightbox-box img {
    display: block;
    max-width: 92vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-section {
        height: 56vh;
        min-height: 320px;
        padding: 1.25rem 0.85rem;
    }

    .hero-card {
        padding: 1rem 1rem;
        border-radius: 18px;
    }

    .nav-wrapper {
        padding: 0.35rem 0.5rem;
    }

    .navbar {
        padding: 0.45rem;
        border-radius: 14px;
    }

    .nav-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.35rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.42rem 0.25rem;
        border-radius: 9px;
    }

    .main-wrapper {
        padding: 1.35rem 0.85rem 3rem;
        gap: 1.5rem;
    }

    .glass-panel,
    .glass-panel.visible {
        scroll-margin-top: 105px;
        padding: 1.25rem;
        border-radius: 20px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .media-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .media-grid.single-centered {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
    }
}