/* royal-gold visual identity. */


/* 4. Royal Gold */
.theme-royal-gold {
    --bs-light: #fffdf5;
    --bs-white: #ffffff;
    --bs-dark: #634b00;
    --bs-gray-100: #fff9e6;
    color: var(--bs-dark);
}


/* 5. Royal Gold: Glowing Crown */
.royal-frame {
    position: absolute;
    inset: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 40px;
    box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.1);
    animation: framePulse 4s infinite alternate;
}

.royal-crown {
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.9);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8));
    animation: pulseCrown 3s infinite ease-in-out;
}


.theme-royal-gold .bg-light-dark,
.theme-royal-gold .bg-white-black {
    background-image:
        radial-gradient(circle at 50% -8%, rgba(197, 150, 24, .24), transparent 20rem),
        repeating-radial-gradient(circle at 50% 50%, rgba(197, 150, 24, .055) 0 2px, transparent 2px 23px);
}


.theme-royal-gold .bg-theme-auto,
.theme-royal-gold .border.rounded-5.shadow,
.theme-royal-gold .border.rounded-pill.shadow {
    background: linear-gradient(180deg, rgba(255, 253, 245, .96), rgba(255, 247, 220, .92)) !important;
    border: 1px solid rgba(162, 116, 13, .32) !important;
    box-shadow: 0 18px 46px rgba(99, 75, 0, .16), inset 0 0 0 1px rgba(255, 255, 255, .72) !important;
}


.theme-royal-gold .font-esthetic,
.theme-royal-gold .text-theme-auto {
    color: #9f7308 !important;
}


.royal-corner {
    position: absolute;
    width: 118px;
    height: 118px;
    border-color: rgba(188, 136, 12, .42);
    opacity: .75;
}


.royal-corner.top-left { top: 28px; left: 28px; border-top: 2px solid; border-left: 2px solid; }

.royal-corner.top-right { top: 28px; right: 28px; border-top: 2px solid; border-right: 2px solid; }

.royal-corner.bottom-left { bottom: 28px; left: 28px; border-bottom: 2px solid; border-left: 2px solid; }

.royal-corner.bottom-right { bottom: 28px; right: 28px; border-bottom: 2px solid; border-right: 2px solid; }


/* 4. Royal Gold */
.theme-royal-gold { font-family: "Playfair Display", serif; }

.theme-royal-gold h1, .theme-royal-gold h2, .theme-royal-gold h3, .theme-royal-gold h4, .theme-royal-gold h5, .theme-royal-gold h6 { font-family: "Prata", serif; }

.theme-royal-gold .font-esthetic { font-family: "Allura", cursive; }


.signature-royal-gold {
    --signature-opacity: .22;
    top: clamp(4.6rem, 10vh, 7.2rem);
    color: #b98a12;
}


.signature-royal-gold::before {
    left: 26%;
    right: 26%;
    top: 12%;
    height: 34%;
    background: linear-gradient(180deg, rgba(246, 205, 82, .92), rgba(180, 126, 13, .72));
    clip-path: polygon(0 100%, 0 42%, 22% 62%, 34% 0, 50% 58%, 66% 0, 78% 62%, 100% 42%, 100% 100%);
}


.signature-royal-gold::after {
    left: 17%;
    right: 17%;
    top: 42%;
    bottom: 16%;
    border: 1px solid rgba(185, 138, 18, .52);
    border-top: 0;
    border-radius: 0 0 48% 48%;
}


.signature-royal-gold span::before,
.signature-royal-gold span::after {
    top: 38%;
    width: 26%;
    height: 40%;
    border-top: 1px solid rgba(185, 138, 18, .52);
    border-radius: 50%;
}


.signature-royal-gold span::before { left: 10%; transform: rotate(-28deg); }

.signature-royal-gold span::after { right: 10%; transform: rotate(28deg); }


body.theme-royal-gold #theme-ornaments::before {
    opacity: .26;
    background:
        conic-gradient(from 0deg at 50% 12%, rgba(212, 175, 55, .22), transparent 18%, rgba(212, 175, 55, .12) 24%, transparent 38%, rgba(212, 175, 55, .2), transparent 64%, rgba(212, 175, 55, .16), transparent);
    animation: royalRaysTurn 24s linear infinite;
}


body.theme-royal-gold #theme-ornaments::after {
    opacity: .2;
    background:
        repeating-linear-gradient(90deg, rgba(99, 75, 0, .08) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(0deg, rgba(212, 175, 55, .08) 0 1px, transparent 1px 34px);
    background-size: 68px 68px;
    animation: goldPatternRise 26s linear infinite;
}
