/* Coven & Crown — Vampire aesthetic: dark, gothic, blood & gold */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --void: #0a0809;
    --midnight: #121013;
    --ash: #1c191d;
    --smoke: #2a2528;
    --blood: #8b1538;
    --blood-bright: #b91c43;
    --blood-deep: #5c0d28;
    --wine: #4a1628;
    --gold: #c9a227;
    --gold-dim: #8b7312;
    --ivory: #e8e4e0;
    --parchment: #c4beb6;
    --silver: #9ca3af;
    --font-display: 'Cinzel Decorative', 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--void);
    color: var(--parchment);
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Subtle noise overlay for texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Vignette for depth */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Header — dramatic, crowned, with subtle ambient pulse */
@keyframes header-glow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

header {
    position: relative;
    text-align: center;
    padding: 3rem 1.5rem 4rem;
    background:
        linear-gradient(180deg, var(--midnight) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 50% 0%, var(--wine) 0%, transparent 55%),
        linear-gradient(180deg, var(--blood-deep) 0%, var(--void) 100%);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 4px 30px rgba(139, 21, 56, 0.15);
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(139, 21, 56, 0.25) 0%, transparent 60%);
    pointer-events: none;
    animation: header-glow 6s ease-in-out infinite;
}

header>.logo {
    position: relative;
    z-index: 1;
}

header h1 {
    position: relative;
    z-index: 1;
}

header p {
    position: relative;
    z-index: 1;
}

header::after {
    content: '◆  ◆  ◆';
    position: absolute;
    bottom: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    opacity: 0.8;
    z-index: 1;
}

.logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.25rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.logo:hover {
    transform: scale(1.2);
}

header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--ivory);
    margin: 0 0 0.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow:
        0 0 20px rgba(139, 21, 56, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

header p {
    font-style: italic;
    color: var(--silver);
    font-size: 1.1rem;
    max-width: 420px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Main content */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    position: relative;
    z-index: 0;
}

/* Section styling + entrance animation */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(1.2rem);
    }

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

section {
    margin-bottom: 2.5rem;
    animation: fade-up 0.8s ease-out backwards;
}

.intro {
    animation-delay: 0.1s;
}

.features {
    animation-delay: 0.25s;
}

.cta-wrap {
    animation: fade-up 0.8s ease-out 0.4s backwards;
}

.section-divider {
    width: 70%;
    height: 2px;
    margin: 2.5rem auto;
    background: linear-gradient(90deg, transparent 0%, var(--gold-dim) 20%, var(--blood) 50%, var(--gold-dim) 80%, transparent 100%);
    opacity: 0.6;
    animation: fade-up 0.7s ease-out 0.2s backwards;
}

h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    text-align: center;
}

.intro p {
    color: var(--parchment);
    font-size: 1.2rem;
    text-align: center;
}

/* Pull quote — marketing hook */
.pull-quote {
    margin: 2.5rem auto 0;
    max-width: 520px;
    padding: 1.5rem 1.75rem;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--ivory);
    border-left: 3px solid var(--blood);
    background: linear-gradient(90deg, rgba(139, 21, 56, 0.12) 0%, transparent 100%);
    box-shadow: 0 0 30px rgba(139, 21, 56, 0.08);
}


/* Feature cards — hoverable panels */
.feature-cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.feature-cards .card {
    position: relative;
    padding: 1.25rem 1.5rem 1.25rem 3.5rem;
    border: 1px solid rgba(201, 162, 39, 0.15);
    background: linear-gradient(135deg, rgba(26, 25, 28, 0.8) 0%, rgba(18, 16, 19, 0.9) 100%);
    color: var(--parchment);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-cards .card:hover {
    transform: translateX(6px);
    border-color: rgba(139, 21, 56, 0.4);
    box-shadow: 0 4px 24px rgba(139, 21, 56, 0.15);
}

.card-symbol {
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    font-size: 1.25rem;
    color: var(--gold);
    opacity: 0.9;
}

.feature-cards .card strong {
    color: var(--ivory);
    font-weight: 600;
}

/* CTA — blood-red, magnetic */
.cta-wrap {
    text-align: center;
    margin: 3.5rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.25rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ivory);
    background:
        linear-gradient(145deg, var(--blood-bright) 0%, var(--blood) 50%, var(--blood-deep) 100%);
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 2px;
    box-shadow:
        0 4px 20px rgba(139, 21, 56, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.35s ease;
}

.cta-button:hover {
    background:
        linear-gradient(145deg, var(--blood) 0%, var(--blood-bright) 50%, var(--blood) 100%);
    box-shadow:
        0 6px 28px rgba(139, 21, 56, 0.55),
        0 0 40px rgba(185, 28, 67, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.5);
}

.cta-button:focus {
    outline: 2px solid var(--gold-dim);
    outline-offset: 4px;
}

/* Footer — understated gothic */
footer {
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
    color: var(--silver);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--midnight);
}

footer p {
    margin: 0;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 2rem 1rem 3rem;
    }

    header h1 {
        letter-spacing: 0.08em;
    }

    .container {
        padding: 2rem 1rem 3rem;
    }

    h2 {
        letter-spacing: 0.1em;
        font-size: 1.25rem;
    }

    .cta-button {
        padding: 0.9rem 1.75rem;
        font-size: 0.8rem;
        letter-spacing: 0.15em;
    }
}