﻿:root {
    --background: #07130f;
    --emerald: #123c2c;
    --emerald-light: #236b4c;
    --gold: #d8af68;
    --gold-light: #f5dfad;
    --heartfire: #ff542d;
    --text: #f1ede4;
    --muted: #adbbb2;
    --border: rgba(216, 175, 104, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(ellipse at 80% 12%, #173c2b 0%, transparent 35%),
        radial-gradient(ellipse at 10% 40%, #10271e 0%, transparent 35%),
        var(--background);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--background);
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 5px;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.15;
}

#heartfire-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

main, .site-footer {
    position: relative;
    z-index: 1;
}

/* Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 5%;
    background: rgba(7, 19, 15, 0.91);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Georgia, serif;
    font-size: 30px;
    color: var(--gold-light);
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
}

nav a {
    color: var(--muted);
    transition: color 0.25s;
}

nav a:hover {
    color: var(--gold-light);
}

.coming-soon {
    border: 1px solid var(--border);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1600px;
    min-height: 760px;
    margin: auto;
    padding: 70px 6% 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
}

.heartfire-lantern {
    height: 155px;
    width: auto;
    object-fit: contain;
    margin: 30px 0 20px;
    animation: heartfire-glow 4s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(44px, 5vw, 80px);
    letter-spacing: -2px;
    margin: 20px 0;
    color: var(--gold-light);
}

.hero h1 em {
    color: var(--gold);
    font-weight: 500;
    text-shadow: 0 0 35px rgba(255, 145, 45, 0.25);
}

.hero-description {
    color: var(--muted);
    font-size: 18px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.button:hover {
    transform: translateY(-3px);
}

.button.primary {
    background: linear-gradient(135deg, #f2d79b, #b98b43);
    color: #142018;
    box-shadow: 0 5px 25px rgba(216, 175, 104, 0.15);
}

.button.primary:hover {
    box-shadow: 0 5px 35px rgba(216, 175, 104, 0.35);
}

.button.secondary {
    border: 1px solid var(--border);
    color: var(--gold-light);
    background: rgba(10, 30, 21, 0.65);
}

.development-note {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.6px;
    margin-top: 25px;
}

.hero-character {
    position: relative;
    align-self: end;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: 0;
}

.hero-character img {
    position: relative;
    width: 100%;
    max-width: 750px;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.4));
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.character-glow {
    position: absolute;
    inset: 5%;
    background: radial-gradient(
        ellipse,
        rgba(67, 147, 95, 0.23),
        rgba(216, 175, 104, 0.07) 45%,
        transparent 70%
    );
    filter: blur(30px);
}

/* Content sections */

.section {
    position: relative;
    max-width: 1400px;
    margin: auto;
    padding: 95px 6%;
    border-top: 1px solid var(--border);
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section h2 {
    font-size: clamp(30px, 4vw, 49px);
    color: var(--gold-light);
    margin: 15px 0;
}

.section-heading p {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;
    padding: 32px;
    background: linear-gradient(
        145deg,
        rgba(25, 57, 41, 0.85),
        rgba(9, 24, 17, 0.9)
    );
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.diamond {
    color: #51baff;
    font-size: 24px;
    text-shadow: 0 0 15px #168bfb;
}

.feature-card h3 {
    color: var(--gold-light);
    font-size: 25px;
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
}

.feature-status {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 15px;
}

.plugin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.plugin-grid article {
    padding: 25px 18px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(19, 45, 32, 0.7);
    color: var(--gold-light);
    transition: background 0.25s, border-color 0.25s;
}

.plugin-grid article:hover {
    background: var(--emerald);
    border-color: var(--gold);
}

#plugins .development-note {
    text-align: center;
}

/* Meet InnKeeper */

.about-section {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-section > img {
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
}

.about-content blockquote {
    margin: 28px 0;
    padding-left: 24px;
    border-left: 2px solid var(--gold);
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: clamp(23px, 3vw, 34px);
    font-style: italic;
}

.about-content p {
    color: var(--muted);
}

/* Footer */

.site-footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: #050e0a;
    color: var(--muted);
}

.site-footer img {
    width: 75px;
    margin: 0 auto 20px;
}

.site-footer p {
    margin: 5px;
}

.site-footer small {
    font-size: 11px;
}

/* Magical effects */

@keyframes heartfire-glow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(255, 65, 20, 0.35));
    }
    50% {
        filter: drop-shadow(0 0 27px rgba(255, 100, 30, 0.65));
    }
}

.ember {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: #ffb45b;
    box-shadow: 0 0 10px #ff672b;
    opacity: 0;
    animation: ember-rise linear infinite;
}

@keyframes ember-rise {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    15% {
        opacity: 0.65;
    }
    80% {
        opacity: 0.25;
    }
    100% {
        transform: translate(60px, -110vh);
        opacity: 0;
    }
}

/* Responsive layout */

@media (max-width: 1000px) {
    .hero {
        min-height: auto;
        padding-top: 65px;
    }

    .hero h1 {
        font-size: clamp(38px, 5.5vw, 64px);
    }

    .feature-grid {
        gap: 12px;
    }

    .feature-card {
        padding: 22px;
    }

    .about-section {
        gap: 35px;
    }
}

@media (max-width: 760px) {
    .site-header {
        flex-direction: column;
        gap: 12px;
        padding: 12px 4%;
    }

    .brand {
        font-size: 26px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        font-size: 12px;
    }

    .coming-soon {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 45px 6% 0;
    }

    .hero-content {
        padding-bottom: 15px;
    }

    .heartfire-lantern {
        margin: 25px auto;
        height: 125px;
    }

    .hero-description {
        margin: 20px auto;
        font-size: 16px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-character img {
        max-width: 500px;
    }

    .feature-grid,
    .plugin-grid,
    .about-section {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 6%;
    }

    .about-section > img {
        margin: auto;
    }

    .about-content {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    #heartfire-particles {
        display: none;
    }
}
