:root {
    --c-dark-green: #0d281e;
    --c-emerald: #164032;
    --c-light-green: #235c49;
    --c-gold: #c5a059;
    --c-gold-light: #e5cd94;
    --c-gold-dark: #937132;
    --c-ivory: #faf8f2;
    --c-text-muted: #5e6d66;

    --f-arabic: 'Cairo', sans-serif;
    --f-quran: 'Amiri', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--c-ivory);
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--f-arabic);
    background-color: var(--c-ivory);
    background-image:
        radial-gradient(ellipse at 50% 50%, rgba(197, 160, 89, 0.22) 0%, transparent 65%),
        linear-gradient(180deg, #FBF9F4 0%, #EFEAE0 100%);
    background-attachment: fixed;
    color: var(--c-dark-green);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.pattern-overlay {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(rgba(197, 160, 89, 0.16) 1px, transparent 1px),
        radial-gradient(rgba(22, 64, 50, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
    pointer-events: none;
    z-index: 1;
}

.lantern {
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    pointer-events: none;
    transform-origin: top center;
    will-change: transform;
    backface-visibility: hidden;
}

.lantern-right {
    right: 8%;
    animation: lanternSway 3.5s linear infinite alternate;
}

.lantern-left {
    left: 8%;
    animation: lanternSway 3.5s linear infinite alternate-reverse;
}

.lantern-rope {
    width: 1px;
    height: 70px;
    background: linear-gradient(180deg, var(--c-gold-dark), var(--c-gold));
}

.lantern-body {
    position: relative;
    width: 34px;
    height: 54px;
    background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold-dark));
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 80% 80%, 50% 100%, 20% 80%, 0% 25%);
    border-radius: 4px;
}

.lantern-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 26px;
    background: #FFF9E6;
    border-radius: 50%;
    animation: lanternFlicker 3.5s linear infinite alternate;
    will-change: opacity, box-shadow;
}

@keyframes lanternSway {
    0% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(6deg);
    }
}

@keyframes lanternFlicker {
    0% {
        opacity: 0.85;
        box-shadow: 0 0 20px 8px rgba(229, 205, 148, 0.5), 0 0 6px 2px rgba(255, 255, 255, 0.7);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 30px 12px rgba(229, 205, 148, 0.75), 0 0 10px 4px rgba(255, 255, 255, 0.9);
    }
}

.page-layout {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 32px 20px 24px;
    background: transparent;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 720px;
    margin: auto 0;
}

.ornate-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 22px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6EE 100%);
    border: 1px solid var(--c-gold);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.15);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--c-emerald);
    margin-bottom: 20px;
}

.badge-ornament-left,
.badge-ornament-right {
    color: var(--c-gold);
    font-size: 0.7rem;
}

.logo-container {
    width: 220px;
    height: 220px;
    margin-bottom: 12px;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gold-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0;
}

.sep-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}

.sep-star {
    color: var(--c-gold);
    font-size: 0.75rem;
}

.quran-quote {
    font-family: var(--f-quran);
    font-size: 1.45rem;
    color: var(--c-light-green);
    margin-top: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    line-height: 1.8;
    max-width: 580px;
    margin-top: 8px;
    margin-bottom: 26px;
}

.action-buttons-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.social-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.luxury-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.btn-primary {
    padding: 13px 36px;
    background: linear-gradient(135deg, var(--c-emerald) 0%, var(--c-dark-green) 100%);
    color: #FFFFFF;
    border: 1px solid var(--c-gold);
    box-shadow: 0 8px 20px rgba(13, 40, 30, 0.16);
}

.btn-primary:hover {
    transform: translateY(-2px);
    border-color: var(--c-gold-light);
    box-shadow: 0 0 25px 6px rgba(197, 160, 89, 0.45), 0 12px 28px rgba(13, 40, 30, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.btn-primary:hover .btn-shine {
    left: 160%;
}

.btn-secondary {
    padding: 10px 22px;
    background: #FFFFFF;
    color: var(--c-emerald);
    border: 1px solid var(--c-gold-light);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.1);
}

.btn-secondary:hover {
    background: #FAF7F0;
    border-color: var(--c-gold);
    transform: translateY(-2px);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bar {
    width: 100%;
    text-align: center;
    margin-top: 24px;
    background: transparent;
}

.rights {
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

@media (max-width: 680px) {
    .page-layout {
        padding: 24px 16px;
    }

    .lantern-right {
        right: 3%;
    }

    .lantern-left {
        left: 3%;
    }

    .lantern-rope {
        height: 42px;
    }

    .lantern-body {
        width: 24px;
        height: 40px;
    }

    .lantern-glow {
        width: 12px;
        height: 20px;
    }

    .logo-container {
        width: 165px;
        height: 165px;
        margin-bottom: 10px;
    }

    .quran-quote {
        font-size: 1.25rem;
    }

    .social-actions {
        width: 100%;
        max-width: 320px;
    }

    .social-actions .luxury-btn {
        flex: 1;
    }

    .btn-primary {
        width: 100%;
        max-width: 320px;
    }
}