/* Explain: Styles for reusable UI components like cards, buttons, and navigation. */
.site-header {
    background: linear-gradient(180deg, rgba(11, 8, 32, 0.9), rgba(11, 8, 32, 0.55));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(30, 23, 64, 0.66), rgba(22, 16, 46, 0.45));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.method-card {
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.method-card:hover {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 26px 80px rgba(124, 58, 237, 0.28);
    transform: translateY(-6px);
}

.method-icon {
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    background: var(--sage-soft);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.star-of-david {
    position: absolute;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.6rem;
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.5));
    pointer-events: none;
}

.star-of-david i {
    animation: starPulse 4.5s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% {
        opacity: 0.65;
    }

    50% {
        opacity: 1;
    }
}

.star-of-david-center {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    color: var(--accent-color);
    font-size: clamp(2.75rem, 13vw, 4.75rem);
    filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.7));
    pointer-events: none;
}

.star-of-david-center i {
    animation: starPulse 4.5s ease-in-out infinite;
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.52);
    background: var(--surface-color);
    box-shadow:
        0 0 0 5px rgba(212, 175, 55, 0.12),
        0 0 0 6px rgba(212, 175, 55, 0.4),
        0 26px 74px rgba(0, 0, 0, 0.58);
}

.arch-frame::after {
    position: absolute;
    inset: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.62);
    border-radius: inherit;
    box-shadow: inset 0 0 0 4px rgba(212, 175, 55, 0.14);
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(78vh, 720px);
    min-height: 470px;
    border-radius: 50% 50% 1.6rem 1.6rem / 32% 32% 1.6rem 1.6rem;
}

.arch-frame-medium {
    height: 540px;
    max-width: 430px;
    border-radius: 50% 50% 1.4rem 1.4rem / 30% 30% 1.4rem 1.4rem;
}

.arch-frame-tilt {
    rotate: -2.4deg;
}

.arch-frame-tilt-alt {
    rotate: 2deg;
}

.trait-row,
.contact-note,
.quiet-detail {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(30, 23, 64, 0.5);
    padding: 1.25rem;
}

.trait-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.trait-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.4rem var(--sage-soft);
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.quiet-detail p {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.episode-card {
    border-radius: 1.9rem;
    padding: 1.75rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.episode-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-4px);
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(30, 23, 64, 0.55);
    padding: 0.35rem 1.35rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--text-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-item p {
    padding-bottom: 1.1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.9;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.form-status {
    min-height: 1.2rem;
}

.form-status.success {
    color: #8FD6A8;
}

.form-status.error {
    color: #F0958A;
}

.qty-btn {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    color: var(--text-color);
    transition: border-color 300ms ease, background 300ms ease;
}

.qty-btn:hover {
    border-color: var(--accent-color);
    background: var(--surface-color);
}

#storeToast {
    max-width: min(92vw, 24rem);
    border-radius: 1.2rem;
    padding: 0.9rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

#storeToast.toast-ok {
    border: 1px solid var(--glass-border);
    background: rgba(30, 23, 64, 0.92);
    color: var(--text-color);
}

#storeToast.toast-error {
    border: 1px solid rgba(240, 149, 138, 0.5);
    background: rgba(52, 18, 22, 0.92);
    color: #F0958A;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.5rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 460px;
        min-height: 0;
    }
}