html {
    overflow-x: hidden;
}
    :root {
        --gold: #c9a96e;
        --gold-light: #e8d5a3;
        --gold-dark: #8b6914;
        --cream: #f5ede0;
        --dark: #0a0806;
        --dark2: #130f0a;
    }

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

    /* Lock scroll when cover active */
  body.cover-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    body {
        font-family: 'EB Garamond', Georgia, serif;
        background: var(--dark);
        color: var(--cream);
        overflow-x: hidden;
    }

    .title-font {
        font-family: 'Cormorant Garamond', serif;
    }

    .arabic {
        font-family: 'Amiri', serif;
        direction: rtl;
        unicode-bidi: bidi-override;
    }

    /* ─── COVER ─── */
    #cover {
        position: fixed;
        inset: 0;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #0a0806;
        transition: opacity 0.9s ease, transform 0.9s ease;
        overflow: hidden;
    }

    #cover.hidden {
        opacity: 0;
        pointer-events: none;
        transform: scale(1.04);
    }

    .cover-bg {
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 169, 110, 0.18) 0%, transparent 70%),
            radial-gradient(ellipse 60% 80% at 100% 100%, rgba(201, 169, 110, 0.10) 0%, transparent 60%),
            radial-gradient(ellipse 50% 60% at 0% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
            #0a0806;
    }

    .floral-svg {
        position: absolute;
        pointer-events: none;
        opacity: 0.22;
    }

    .gold-line {
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

    /* ─── GOLD BORDER ─── */
    .gold-border {
        border: 1px solid rgba(201, 169, 110, 0.35);
        position: relative;
    }

    .gold-border::before,
    .gold-border::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        border-color: var(--gold);
        border-style: solid;
    }

    .gold-border::before {
        top: -1px;
        left: -1px;
        border-width: 2px 0 0 2px;
    }

    .gold-border::after {
        bottom: -1px;
        right: -1px;
        border-width: 0 2px 2px 0;
    }

    /* ─── GALLERY BG ─── */
    .gallery-bg {
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .gallery-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(10, 8, 6, 0.80);
        z-index: 0;
    }

    .gallery-bg>* {
        position: relative;
        z-index: 1;
    }

    /* ─── SCROLL REVEAL ─── */
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 {
        transition-delay: 0.1s;
    }

    .reveal-delay-2 {
        transition-delay: 0.2s;
    }

    .reveal-delay-3 {
        transition-delay: 0.35s;
    }

    .reveal-delay-4 {
        transition-delay: 0.5s;
    }

    /* ─── COUNTDOWN ─── */
    .countdown-box {
        background: rgba(201, 169, 110, 0.08);
        border: 1px solid rgba(201, 169, 110, 0.3);
    }

    /* ─── PHOTO ─── */
    .photo-frame {
        border: 2px solid rgba(201, 169, 110, 0.4);
        box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.07), 0 20px 60px rgba(0, 0, 0, 0.6);
    }

    .photo-circle {
        border-radius: 50%;
        border: 3px solid var(--gold);
        box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.12);
    }

    /* ─── TIMELINE ─── */
    .timeline-dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--gold);
        box-shadow: 0 0 12px rgba(201, 169, 110, 0.6);
    }

    /* ─── GALLERY ITEM ─── */
    .gallery-item {
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
        filter: brightness(0.85) sepia(0.15);
    }

    .gallery-item:hover img {
        transform: scale(1.08);
        filter: brightness(1) sepia(0);
    }

    .gallery-item::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(10, 8, 6, 0.5), transparent);
        pointer-events: none;
    }

    .gallery-item .zoom-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--gold);
        font-size: 1.8rem;
        opacity: 0;
        transition: opacity 0.3s;
        z-index: 2;
        pointer-events: none;
    }

    .gallery-item:hover .zoom-icon {
        opacity: 1;
    }

    /* ─── LIGHTBOX ─── */
    #lightbox {
        position: fixed;
        inset: 0;
        z-index: 1100;
        background: rgba(0, 0, 0, 0.94);
        display: none;
        align-items: center;
        justify-content: center;
    }

    #lightbox.open {
        display: flex;
    }

    #lb-img {
        max-width: 90vw;
        max-height: 82vh;
        object-fit: contain;
        border: 1px solid rgba(201, 169, 110, 0.2);
        box-shadow: 0 0 80px rgba(0, 0, 0, 0.9);
        transition: opacity 0.25s ease;
    }

    #lb-close {
        position: absolute;
        top: 16px;
        right: 20px;
        color: var(--gold);
        font-size: 2.2rem;
        cursor: pointer;
        background: none;
        border: none;
        line-height: 1;
        opacity: 0.75;
        transition: opacity 0.2s;
    }

    #lb-close:hover {
        opacity: 1;
    }

    #lb-prev,
    #lb-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gold);
        font-size: 1.8rem;
        cursor: pointer;
        background: rgba(10, 8, 6, 0.65);
        border: 1px solid rgba(201, 169, 110, 0.3);
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s;
        user-select: none;
    }

    #lb-prev {
        left: 14px;
    }

    #lb-next {
        right: 14px;
    }

    #lb-prev:hover,
    #lb-next:hover {
        background: rgba(201, 169, 110, 0.2);
    }

    #lb-counter {
        position: absolute;
        bottom: 18px;
        font-family: 'Cinzel', serif;
        font-size: 0.6rem;
        color: rgba(201, 169, 110, 0.5);
        letter-spacing: 0.2em;
    }

    /* ─── MUSIC ─── */
    #music-btn {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 998;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(201, 169, 110, 0.15);
        border: 1px solid var(--gold);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s, transform 0.3s;
        animation: pulse-ring 2s infinite;
    }

    #music-btn:hover {
        background: rgba(201, 169, 110, 0.28);
        transform: scale(1.1);
    }

    @keyframes pulse-ring {

        0%,
        100% {
            box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.35);
        }

        50% {
            box-shadow: 0 0 0 10px rgba(201, 169, 110, 0);
        }
    }

    /* ─── INPUTS ─── */
    .dark-input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(201, 169, 110, 0.25);
        color: var(--cream);
        border-radius: 4px;
        padding: 10px 14px;
        width: 100%;
        font-family: 'EB Garamond', serif;
        font-size: 1rem;
        transition: border-color 0.3s;
        outline: none;
    }

    .dark-input:focus {
        border-color: var(--gold);
    }

    .dark-input option {
        background: #1a1208;
    }

    /* ─── BUTTONS ─── */
    .btn-gold {
        background: linear-gradient(135deg, #c9a96e, #a07830);
        color: #0a0806;
        font-family: 'Cinzel', serif;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        padding: 12px 32px;
        border: none;
        cursor: pointer;
        transition: opacity 0.3s, transform 0.2s;
        display: inline-block;
    }

    .btn-gold:hover {
        opacity: 0.88;
        transform: translateY(-1px);
    }

    .btn-outline {
        border: 1px solid var(--gold);
        color: var(--gold);
        background: transparent;
        font-family: 'Cinzel', serif;
        font-size: 0.74rem;
        letter-spacing: 0.1em;
        padding: 10px 26px;
        cursor: pointer;
        transition: background 0.3s, color 0.3s;
        text-decoration: none;
        display: inline-block;
    }

    .btn-outline:hover {
        background: var(--gold);
        color: #0a0806;
    }

    /* ─── ORNAMENT ─── */
    .ornament {
        color: var(--gold);
        opacity: 0.6;
        font-size: 1.4rem;
    }

    /* ─── TEXT ─── */
    .section-title {
        font-family: 'Cormorant Garamond', serif;
        font-weight: 300;
        letter-spacing: 0.04em;
        color: var(--gold-light);
        line-height: 1.15;
    }

    .section-subtitle {
        font-family: 'Cinzel', serif;
        font-size: 0.65rem;
        letter-spacing: 0.22em;
        color: var(--gold);
        text-transform: uppercase;
    }

    /* ─── SCROLLBAR ─── */
    ::-webkit-scrollbar {
        width: 5px;
    }

    ::-webkit-scrollbar-track {
        background: #0a0806;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--gold-dark);
        border-radius: 3px;
    }

    .deco-line {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .deco-line::before,
    .deco-line::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.4), transparent);
    }

    .bank-card {
        background: rgba(201, 169, 110, 0.06);
        border: 1px solid rgba(201, 169, 110, 0.2);
        border-radius: 6px;
        padding: 20px 24px;
    }

    .map-container {
        position: relative;
        border: 1px solid rgba(201, 169, 110, 0.25);
        overflow: hidden;
    }

    @keyframes float1 {

        0%,
        100% {
            transform: translateY(0) rotate(0deg);
        }

        50% {
            transform: translateY(-12px) rotate(3deg);
        }
    }

    @keyframes float2 {

        0%,
        100% {
            transform: translateY(0) rotate(0deg);
        }

        50% {
            transform: translateY(10px) rotate(-2deg);
        }
    }

    .fl1 {
        animation: float1 6s ease-in-out infinite;
    }

    .fl2 {
        animation: float2 8s ease-in-out infinite;
    }

    .sec-dark {
        background-color: #0a0806;
    }

    .sec-dark2 {
        background-color: #100d08;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .watermark {
        background: #060402;
        border-top: 1px solid rgba(201, 169, 110, 0.1);
        padding: 16px;
        text-align: center;
    }
