:root {
    --bg: #08110d;
    --bg-soft: #0d1512;
    --panel: rgba(255, 255, 255, 0.05);
    --panel-dark: rgba(0, 0, 0, 0.22);
    --gold: #c8a24a;
    --gold-light: #f3d58a;
    --text: #f4e7bf;
    --text-soft: rgba(232, 223, 192, 0.86);
    --purple: #7b3fc4;
    --border: rgba(200, 162, 74, 0.18);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--max-width), calc(100% - 48px));
    margin: 0 auto;
}

.serif {
    font-family: "Cinzel", serif;
}

.site-shell {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(123, 63, 196, 0.16), transparent 34%), linear-gradient(180deg, #0b1611 0%, #08110d 100%);
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(200, 162, 74, 0.15);
}

.glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
}

.glow-left {
    width: 320px;
    height: 320px;
    background: var(--purple);
    left: -100px;
    top: 30px;
}

.glow-right {
    width: 360px;
    height: 360px;
    background: var(--gold);
    right: -120px;
    top: 70px;
    opacity: 0.2;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
    padding: 72px 0 88px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(200, 162, 74, 0.3);
    background: rgba(0, 0, 0, 0.18);
    color: #e7c772;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.76rem;
    margin-bottom: 22px;
}

h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 7vw, 5.9rem);
    line-height: 0.95;
    color: var(--gold-light);
}

.hero p.lead {
    margin-top: 22px;
    max-width: 700px;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-soft);
}

.straplines {
    margin-top: 28px;
}

    .straplines .main {
        font-size: clamp(1.2rem, 2.8vw, 1.7rem);
        font-style: italic;
        color: #f8e9b5;
    }

    .straplines .sub {
        margin-top: 10px;
        font-size: 0.8rem;
        color: #ccb06c;
        text-transform: uppercase;
        letter-spacing: 0.34em;
    }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 28px;
    border-radius: 18px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: var(--gold);
    color: #0c120f;
    box-shadow: 0 20px 35px rgba(200, 162, 74, 0.18);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 162, 74, 0.4);
    color: #f5e8be;
    backdrop-filter: blur(12px);
}

.hero-visual {
    position: relative;
}

.hero-card-glow {
    position: absolute;
    inset: -16px;
    background: rgba(123, 63, 196, 0.22);
    border-radius: 38px;
    filter: blur(24px);
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.24);
    padding: 14px;
    box-shadow: var(--shadow);
}

.hero-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: linear-gradient(180deg, rgba(5, 12, 10, 0.12), rgba(5, 12, 10, 0.72));
}

    .hero-media img,
    .hero-media video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.theme-note {
    position: absolute;
    left: -20px;
    bottom: -20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(13, 21, 18, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    box-shadow: var(--shadow);
}

    .theme-note .label {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.3em;
        color: var(--gold);
    }

    .theme-note .value {
        margin-top: 8px;
        font-size: 0.95rem;
        color: #efe3bc;
    }

section {
    padding: 80px 0;
}

.section-title-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-light);
    line-height: 1.1;
}

.split-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
    align-items: start;
}

.panel {
    border: 1px solid var(--border);
    background: var(--panel);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow);
}

    .panel p {
        color: var(--text-soft);
    }

.meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.meta-card,
.feature-card,
.character-card,
.author-card,
.duo-card,
.map-card,
.newsletter-card {
    border: 1px solid rgba(200, 162, 74, 0.15);
    box-shadow: var(--shadow);
}

.meta-card {
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.18);
    padding: 18px;
}

    .meta-card strong {
        display: block;
        color: #f5e6b7;
        font-size: 1rem;
    }

    .meta-card span {
        display: block;
        margin-top: 4px;
        color: rgba(221, 209, 172, 0.8);
        font-size: 0.92rem;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    border-radius: 28px;
    background: var(--bg-soft);
    padding: 26px;
}

    .feature-card h3 {
        color: var(--gold-light);
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

.world-section {
    border-top: 1px solid rgba(200, 162, 74, 0.12);
    border-bottom: 1px solid rgba(200, 162, 74, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.world-header {
    margin-bottom: 30px;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.character-card {
    overflow: hidden;
    border-radius: 28px;
    background: #0c1411;
    transition: transform 0.25s ease;
}

    .character-card:hover {
        transform: translateY(-6px);
    }

    .character-card img {
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }

.character-content {
    padding: 18px 18px 22px;
}

    .character-content h3 {
        color: #f5e6b7;
        font-size: 1.12rem;
        margin-bottom: 8px;
    }

.authors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.authors-heading {
    background: var(--bg-soft);
}

.author-card,
.duo-card,
.map-card,
.newsletter-card {
    border-radius: var(--radius-xl);
    background: var(--panel);
    padding: 32px;
}

    .author-card h3 {
        color: #f5e6b7;
        font-size: 1.7rem;
        margin-bottom: 18px;
    }

    .author-card p + p {
        margin-top: 16px;
    }

.duo-card {
    background: linear-gradient(180deg, rgba(123, 63, 196, 0.14), rgba(200, 162, 74, 0.08));
}

.media-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    margin-top: 26px;
}

.map-card img,
.newsletter-visual img {
    border-radius: 22px;
    width: 100%;
    object-fit: cover;
}

.map-card img {
    aspect-ratio: 16 / 11;
}

.video-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: var(--shadow);
}

    .video-card video {
        width: 100%;
        height: 100%;
        min-height: 100%;
        object-fit: cover;
    }

.newsletter-section {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(200, 162, 74, 0.12);
    background: linear-gradient(180deg, #0d1512 0%, #08110d 100%);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 32px;
    align-items: center;
}

.newsletter-card form {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.form-input {
    width: 100%;
    border: 1px solid rgba(200, 162, 74, 0.2);
    background: rgba(0, 0, 0, 0.22);
    color: #f7edc7;
    border-radius: 18px;
    padding: 16px 18px;
    font: inherit;
    outline: none;
}

    .form-input::placeholder {
        color: rgba(215, 203, 171, 0.6);
    }

.form-note,
.success-message {
    font-size: 0.92rem;
    color: rgba(218, 207, 174, 0.78);
}

.success-message {
    display: none;
    color: #e7c772;
    font-weight: 600;
    margin-top: 8px;
}

.newsletter-visual {
    position: relative;
}

    .newsletter-visual .logo-wrap {
        position: absolute;
        right: 18px;
        bottom: 18px;
        width: 140px;
        padding: 10px;
        border-radius: 20px;
        background: rgba(8, 17, 13, 0.78);
        border: 1px solid rgba(200, 162, 74, 0.18);
        backdrop-filter: blur(10px);
    }

footer {
    border-top: 1px solid rgba(200, 162, 74, 0.1);
    padding: 28px 0 36px;
    text-align: center;
    color: rgba(213, 202, 171, 0.72);
    font-size: 0.95rem;
}

@media (max-width: 1100px) {
    .hero-inner,
    .split-grid,
    .media-grid,
    .newsletter-grid {
        grid-template-columns: 1fr;
    }

    .characters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .container {
        width: min(var(--max-width), calc(100% - 32px));
    }

    .hero-inner {
        gap: 34px;
        padding: 56px 0 74px;
    }

    section {
        padding: 64px 0;
    }

    .authors-grid,
    .features-grid,
    .meta-grid,
    .characters-grid {
        grid-template-columns: 1fr;
    }

    .theme-note {
        position: static;
        margin-top: 16px;
    }

    .btn {
        width: 100%;
    }

    .cta-row {
        flex-direction: column;
    }

    @media (max-width: 800px) {
        .social-group {
            flex-direction: column;
            gap: 10px;
        }

        .social-text {
            font-size: 0.7rem;
            text-align: center;
        }

        .social-links a::after {
            display: none; /* hide tooltips on mobile */
        }
    }

}
/* Social bar */
.social-bar {
    width: 100%;
    background: linear-gradient(90deg, #0d1512, #08110d);
    border-bottom: 1px solid rgba(200, 162, 74, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.social-inner {
    display: flex;
    flex-direction: column; /* stack items */
    align-items: center;
    gap: 6px;
    padding: 10px 0;
}

/* New centered eyebrow */
.eyebrow-center {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f3d58a;
    opacity: 0.9;
}

.social-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-text {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c8a24a;
    opacity: 0.85;
}

/* Icons */
.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
width: 38px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(200, 162, 74, 0.25);
color: #c8a24a;
font-size: 16px;
position: relative;
transition: all 0.25s ease;
animation: socialPulse 3s infinite;
}

/* Stagger animation */
.social-links a:nth-child(2) {
    animation-delay: 0.3s;
}

.social-links a:nth-child(3) {
    animation-delay: 0.6s;
}

.social-links a:nth-child(4) {
    animation-delay: 0.9s;
}

/* Hover */
.social-links a:hover {
    background: #c8a24a;
    color: #08110d;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 12px rgba(200, 162, 74, 0.6), 0 0 30px rgba(200, 162, 74, 0.3);
    animation-play-state: paused;
}

/* Tooltip */
.social-links a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: #08110d;
    border: 1px solid rgba(200, 162, 74, 0.3);
    color: #f4e7bf;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    opacity: 0;
    transition: 0.2s ease;
    pointer-events: none;
}

.social-links a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Glow animation */
@keyframes socialPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(200, 162, 74, 0);
    }

    50% {
        box-shadow: 0 0 10px rgba(200, 162, 74, 0.2);
    }
}

.video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* pick the shape you want */
    overflow: hidden;
    border-radius: 32px;
    background: #000;
}

.video-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* use contain if you do not want cropping */
    display: block;
}

.play-button.rune-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 116px;
    height: 116px;
    transform: translate(-50%, -50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 3;
}

.rune-halo {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 162, 74, 0.22), transparent 68%);
    filter: blur(8px);
    animation: haloPulse 2.8s ease-in-out infinite;
}

.rune-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(200, 162, 74, 0.38);
    box-shadow: 0 0 14px rgba(200, 162, 74, 0.28), inset 0 0 14px rgba(200, 162, 74, 0.14);
    animation: rotateRune 14s linear infinite;
}

.rune-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #f3d58a;
    font-size: 14px;
    text-shadow: 0 0 10px rgba(200, 162, 74, 0.45);
    transform-origin: center center;
}

.rune-1 {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-48px);
}

.rune-2 {
    transform: translate(-50%, -50%) rotate(60deg) translateY(-48px);
}

.rune-3 {
    transform: translate(-50%, -50%) rotate(120deg) translateY(-48px);
}

.rune-4 {
    transform: translate(-50%, -50%) rotate(180deg) translateY(-48px);
}

.rune-5 {
    transform: translate(-50%, -50%) rotate(240deg) translateY(-48px);
}

.rune-6 {
    transform: translate(-50%, -50%) rotate(300deg) translateY(-48px);
}

.rune-core {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: rgba(8, 17, 13, 0.82);
    border: 1px solid rgba(200, 162, 74, 0.28);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f3d58a;
    font-size: 24px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.28), inset 0 0 12px rgba(200, 162, 74, 0.08);
}

.play-button.rune-play:hover .rune-core {
    transform: scale(1.08);
    background: #c8a24a;
    color: #08110d;
    box-shadow: 0 0 22px rgba(200, 162, 74, 0.55), 0 0 44px rgba(200, 162, 74, 0.25);
}

.play-button.rune-play:hover .rune-ring {
    box-shadow: 0 0 20px rgba(200, 162, 74, 0.45), inset 0 0 16px rgba(200, 162, 74, 0.18);
}

.video-card {
    position: relative;
    overflow: hidden;
}

.video-fade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(8, 17, 13, 0.08), rgba(8, 17, 13, 0.78));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
    z-index: 2;
}

.video-card.is-starting .video-fade {
    opacity: 1;
}

@keyframes haloPulse {
    0%, 100% {
        opacity: 0.45;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes rotateRune {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



.headsm{
    font-size: 2.7rem;
}

.eyebrow-center {
    font-size: 1.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #f3d58a;
    font-weight: 600;
    /* Glow effect */
    text-shadow: 0 0 6px rgba(243, 213, 138, 0.6), 0 0 12px rgba(200, 162, 74, 0.4);
    /* Subtle fade-in */
    animation: fadeInGlow 1.5s ease forwards;
}

.eyebrow-center {
    background: linear-gradient( 90deg, #c8a24a, #f3d58a, #c8a24a );
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite, fadeInGlow 1.5s ease forwards;
}

@keyframes shimmer {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 200%;
    }
}

@keyframes fadeInGlow {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow-center::before,
.eyebrow-center::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    background: rgba(200, 162, 74, 0.4);
    margin: 0 10px;
    vertical-align: middle;
}

.hide{
    display:none;
}

#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(200, 162, 74, 0.3);
    background: rgba(8, 17, 13, 0.8);
    color: #c8a24a;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

/* Show when scrolling */
#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover glow */
#backToTop:hover {
    background: #c8a24a;
    color: #08110d;
    box-shadow: 0 0 12px rgba(200, 162, 74, 0.6), 0 0 30px rgba(200, 162, 74, 0.3);
}

.newsletter-card {
    position: relative; /* REQUIRED for overlay positioning */
}

/* Overlay */
.newsletter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 17, 13, 0.92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 10;
}

    /* Visible state */
    .newsletter-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

/* Text styling */
.overlay-content p {
    color: #f3d58a;
    font-size: 1.2rem;
    text-align: center;
    max-width: 280px;
    text-shadow: 0 0 8px rgba(243, 213, 138, 0.6), 0 0 20px rgba(200, 162, 74, 0.3);
}

@media (max-width: 800px) {
    .play-button.rune-play {
        width: 92px;
        height: 92px;
    }

    .rune-mark {
        font-size: 12px;
    }

    .rune-1, .rune-2, .rune-3, .rune-4, .rune-5, .rune-6 {
        transform-origin: center center;
    }

    .rune-1 {
        transform: translate(-50%, -50%) rotate(0deg) translateY(-38px);
    }

    .rune-2 {
        transform: translate(-50%, -50%) rotate(60deg) translateY(-38px);
    }

    .rune-3 {
        transform: translate(-50%, -50%) rotate(120deg) translateY(-38px);
    }

    .rune-4 {
        transform: translate(-50%, -50%) rotate(180deg) translateY(-38px);
    }

    .rune-5 {
        transform: translate(-50%, -50%) rotate(240deg) translateY(-38px);
    }

    .rune-6 {
        transform: translate(-50%, -50%) rotate(300deg) translateY(-38px);
    }

    .eyebrow-center {
        margin-top:10px;
        font-size: 0.75rem;
    }

    .eyebrow-center::before,
    .eyebrow-center::after {
        width: 8px;
        height: 1px;
        margin: 0px;
    }

    .hero-inner {
        text-align: center;
    }

        .hero-inner > div:first-child {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero-inner img {
            margin-bottom: 12px;
        }

    .lead,
    .straplines,
    .cta-row {
        text-align: center;
    }

    .cta-row {
        align-items: center;
    }

    .social-text{
        display:none;
    }
}