@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/inter-italic.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Selincah';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/selincah.ttf') format('truetype');
    font-display: swap;
}

:root {
    /* Core Backgrounds */
    --background: #0a0808;
    --obsidian: #110d0d;
    --midnight-ember: #1a1414;

    /* Surfaces */
    --card-bg: linear-gradient(180deg, rgba(255, 230, 200, 0.02), rgba(0, 0, 0, 0.15));
    --card-border: rgba(120, 60, 40, 0.18);
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
    --card-hover: rgba(255, 230, 200, 0.06);

    /* Text */
    --bone: #e4dfd7;
    --ash: #afa79d;
    --soot: #6b635c;
    --link: #A87A32;

    /* Rage */
    --blood-ember: #9e1b1b;
    --dried-blood: #5c1313;
    --rage-glow: #c43a1f;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--bone);
    font-family: "Inter", system-ui, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    border-radius: 6px;
}

h1, h2, h3, h4 {
    font-family: "Selincah", sans-serif;
    font-weight: 700;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    position: relative;
    background-image:
        linear-gradient(
            rgba(10, 8, 8, 0.75),
            rgba(10, 8, 8, 0.85)
        ),
        url("/static/images/moonrage.png");

    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;

    padding: 120px 20px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.25) 70%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.logo-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 3px;
    margin: 0;
}

.logo-title span {
    font-family: 'Selincah';
}


.logo-title small {
    display: block;
    font-size: 18px;
    color: var(--ash);
    margin-top: 6px;
}

.hero-tagline {
    margin-top: 26px;
    font-size: 22px;
    color: var(--bone);
    opacity: 0.85;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    padding: 14px 36px;
    background: var(--blood-ember);
    border: 1px solid var(--dried-blood);
    border-radius: 6px;
    font-family: "Selincah", sans-serif;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--dried-blood);
}

.btn-secondary {
    padding: 14px 36px;
    background: var(--bone);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--obsidian);
    font-family: "Selincah", sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-secondary:hover {
    background: var(--ash);
}

.section {
    padding: 80px 20px;
}

.section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section p {
    line-height: 1.7;
    color: var(--ash);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

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

.gallery {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cta {
    text-align: center;
    padding: 60px 0 80px;
}

.cta h2 {
    margin-bottom: 10px;
}

.footer {
    padding: 40px;
    text-align: center;
    color: var(--soot);
    font-size: 14px;
    margin-top: 80px;
}

.w-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-size: contain;
}

.w-icon-md { font-size: 1.25em; }

.w-scratches {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cg transform='translate(0,0)'%3E%3Cpath d='M190.03 21.97c-.71-.003-1.422.01-2.124.03 38.633 74.657 186.967 157.52 307.906 333.03-38.488-159.928-215.34-332.78-305.78-333.06zM83.53 65.374c61.253 98.216 249.157 212.75 375.75 378.844C420.49 283.03 173.3 62.907 83.53 65.374zm-67.31 81.313c59.365 87.324 194.506 155.172 355.03 345.125-38.792-161.19-265.263-347.592-355.03-345.125z' fill='currentColor' fill-opacity='1'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cg transform='translate(0,0)'%3E%3Cpath d='M190.03 21.97c-.71-.003-1.422.01-2.124.03 38.633 74.657 186.967 157.52 307.906 333.03-38.488-159.928-215.34-332.78-305.78-333.06zM83.53 65.374c61.253 98.216 249.157 212.75 375.75 378.844C420.49 283.03 173.3 62.907 83.53 65.374zm-67.31 81.313c59.365 87.324 194.506 155.172 355.03 345.125-38.792-161.19-265.263-347.592-355.03-345.125z' fill='currentColor' fill-opacity='1'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

.no-js .app-root {
    display: none;
}

#offline-banner {
    display: none;
    background: #3a0f0f;
    color: #f2c2c2;
    padding: 0.75rem;
    text-align: center;
    font-weight: bold;
}

.is-offline #offline-banner {
    display: block;
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 20px 110px;
        background-position: center;
    }

    .logo-title {
        font-size: 48px;
    }

    .section {
        padding: 50px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .feature-grid,
    .gallery {
        grid-template-columns: 1fr;
    }

    .text-block {
        padding: 25px;
    }
}