body {
    margin: 0;
    color: #ecb040;
    font-family: Georgia, serif;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 60%),
    url("../assets/images/hero.webp") center / cover no-repeat;
}
.hero-content {
    background: rgba(1, 35, 20, 0.48);;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(236, 176, 64, 0.4);
   border-radius: 1rem;
}
.hero h1 {
    font-size: 4rem;
    letter-spacing: 0.15em;
    margin: 0 0 1rem;
}

.hero-title {
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
}

.hero-subtitle {
    max-width: 38ch;
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0 0 2.5rem;
}

.hero-button {
    display: inline-block;
    padding: 0.9rem 2.6rem;
    border: 2px solid #edb03e;
    border-radius: 50px;
    color: #35023a;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.2em;
    font-size: 0.95rem;
    transition: background 0.3s, color 0.3s;
}
.hero-button {
    background: rgba(0, 20, 10, 0.6);
    color: #a010cc;
}

.hero-button:visited {
    color: #35023a;
}

.hero-button:hover {
    background: #edb03e;
    color: #003a1c;
}
/* ===== Worlds page ===== */
.Worlds {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
    url("../assets/images/hero.webp") center / cover no-repeat;
}

.scene {
    position: relative;
    width: 100%;
    max-width: 1600px;
}

.scene img {
    display: block;
    width: 100%;
    height: auto;
}

.hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);
    border-radius: 12px;
    transition: box-shadow 0.3s, background 0.3s;
}

.hotspot:hover,
.hotspot:focus-visible {
    background: rgba(236, 176, 64, 0.15);
    box-shadow: 0 0 25px rgba(236, 176, 64, 0.9), 0 0 50px rgba(184, 77, 255, 0.5);
}
.hotspot {
    display: block;
}

.caption {
    position: absolute;
    left: 50%;
    top: 100%;
    margin-top: 8px;
    transform: translateX(-50%) translateY(-6px);
    padding: 0.35rem 0.9rem;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ecb040;
    background: rgba(0, 20, 10, 0.85);
    border: 1px solid rgba(236, 176, 64, 0.6);
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.hotspot:hover .caption,
.hotspot:focus-visible .caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.sparkle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    color: #ecb040;
    text-shadow: 0 0 8px rgba(236, 176, 64, 0.9);
}

.sparkle::before {
    content: "✦";
}

.sparkle:nth-of-type(1) {
    top: -10%;
    left: 15%;
    font-size: 1.2rem;
}

.sparkle:nth-of-type(2) {
    top: 20%;
    right: -4%;
    font-size: 0.9rem;
}

.sparkle:nth-of-type(3) {
    bottom: 0;
    left: 40%;
    font-size: 1rem;
}

.hotspot:hover .sparkle,
.hotspot:focus-visible .sparkle {
    animation: twinkle 1.4s infinite;
}

.hotspot:hover .sparkle:nth-of-type(2) {
    animation-delay: 0.45s;
}

.hotspot:hover .sparkle:nth-of-type(3) {
    animation-delay: 0.9s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(90deg);
    }
}

/* ===== Chronicles page ===== */
.Chronicles {
    min-height: 100vh;
    padding: 2rem 1.5rem 4rem;
    background: url("../assets/images/ChroniclesBG.webp") center / cover fixed no-repeat;
}

.back-link {
    display: inline-block;
    color: #ecb040;
    text-decoration: none;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
}

.back-link:hover {
    text-shadow: 0 0 12px rgba(236, 176, 64, 0.9);
}

.chronicles-header {
    text-align: center;
    margin: 2rem 0 3rem;
}

.chronicles-header h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(236, 176, 64, 0.5);
}

.chronicles-header p {
    margin: 0.6rem 0 0;
    opacity: 0.85;
}

.book-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.book-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 20, 10, 0.6);
    border: 1px solid rgba(236, 176, 64, 0.4);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(236, 176, 64, 0.5);
}

.book-cover {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: #0d2a1a;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.book-card h2 {
    margin: 1.2rem 0 0.3rem;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
}

.book-series {
    margin: 0 0 0.6rem;
    font-style: italic;
    opacity: 0.8;
}

.book-card p {
    line-height: 1.5;
}

.book-card .hero-button {
    margin-top: auto;
}

.patron-note {
    max-width: 700px;
    margin: 4rem auto 0;
    padding: 2rem;
    text-align: center;
    background: rgba(0, 20, 10, 0.6);
    border: 1px solid rgba(236, 176, 64, 0.4);
    border-radius: 12px;
}

.patron-note h2 {
    margin-top: 0;
    letter-spacing: 0.1em;
}

.patron-note p {
    line-height: 1.6;
}
.chronicles-header {
    max-width: 700px;
    margin: 2rem auto 3rem;
    padding: 1.2rem 2rem;
    background: rgba(0, 20, 10, 0.6);
    border-radius: 12px;
}
/* ===== Subs page ===== */
.Subscriptions {
    min-height: 100vh;
    padding: 2rem 1.5rem 4rem;
    background:  url("../assets/images/Subs.webp") center / cover no-repeat;
}

.sub-header {
    text-align: center;
    margin: 2rem 0 3rem;
}

.sub-header h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(236, 176, 64, 0.5);
}

.sub-header p {
    margin: 0.6rem 0 0;
    font-style: italic;
    opacity: 0.9;
}

.sub-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    align-items: stretch;
}

.sub-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.6rem 1.6rem;
    background: rgba(0, 20, 10, 0.7);
    border: 1px solid rgba(236, 176, 64, 0.4);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(236, 176, 64, 0.45);
}

.sub-card-featured {
    border: 2px solid #ecb040;
    box-shadow: 0 0 30px rgba(236, 176, 64, 0.3), 0 0 60px rgba(184, 77, 255, 0.2);
}

.sub-rank {
    margin: 0 0 0.8rem;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #b84dff;
}

.sub-name {
    margin: 0 0 0.7rem;
    text-align: center;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 500;
    font-size: 1.45rem;
    line-height: 1.3;
}

.sub-hook {
    margin: 0 0 1.2rem;
    min-height: 3.2rem;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
    opacity: 0.9;
}

.sub-rule {
    height: 1px;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, transparent, rgba(236, 176, 64, 0.8), transparent);
}

.sub-price {
    margin: 0 0 1.3rem;
    text-align: center;
}

.sub-price b {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 2.3rem;
    font-weight: 400;
}

.sub-price span {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
}

.sub-story {
    margin: 0 0 1.3rem;
    line-height: 1.55;
    opacity: 0.9;
}

.sub-label {
    margin: 0 0 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #b84dff;
}

.sub-benefits {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
    flex-grow: 1;
}

.sub-benefits li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.2rem;
    line-height: 1.45;
    border-bottom: 1px solid rgba(236, 176, 64, 0.15);
}

.sub-benefits li:last-child {
    border-bottom: none;
}

.sub-benefits li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0.7rem;
    font-size: 0.5rem;
    color: #ecb040;
}

.sub-button {
    min-height: 52px;
}

.sub-footer {
    max-width: 640px;
    margin: 2.5rem auto 0;
    text-align: center;
    line-height: 1.6;
    opacity: 0.9;
}

.sub-fallback {
    display: none;
    max-width: 640px;
    margin: 1.5rem auto 0;
    padding: 1rem;
    text-align: center;
    background: rgba(0, 20, 10, 0.8);
    border: 1px solid #ecb040;
    border-radius: 12px;
}

@media (max-width: 920px) {
    .sub-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}