* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #f4ead8;
    background:
        radial-gradient(circle at top, rgba(166, 118, 49, 0.25), transparent 35%),
        linear-gradient(180deg, #17110d 0%, #0c0908 55%, #050404 100%);
    line-height: 1.6;
}

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

.page-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10, 7, 6, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(218, 174, 93, 0.18);
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #f4c76b;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
    color: #d8c7a8;
}

.nav-links a:hover {
    color: #f4c76b;
}

.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 22px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.55)),
        radial-gradient(circle at 50% 20%, rgba(219, 172, 73, 0.16), transparent 30%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 20%);
}

.hero-content {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

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

.hero-logo-wrap {
    margin: 20px 0 18px;
    position: relative;
}

.hero-logo-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 199, 107, 0.20), transparent 58%);
    filter: blur(10px);
    z-index: 0;
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: min(340px, 72vw);
    height: auto;
    object-fit: contain;
    display: block;
    filter:
        drop-shadow(0 18px 35px rgba(0, 0, 0, 0.62))
        drop-shadow(0 0 22px rgba(244, 199, 107, 0.16));
}

h1 {
    max-width: 760px;
    margin: 8px 0 18px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.centered-text {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.eyebrow {
    color: #f4c76b;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    font-weight: 700;
}

h1 {
    max-width: 760px;
    margin: 10px 0 18px;
    font-size: clamp(2.7rem, 7vw, 5.8rem);
    line-height: 0.95;
}

h2 {
    margin-top: 0;
    color: #f4c76b;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid rgba(244, 199, 107, 0.5);
    transition: transform 0.15s ease, background 0.15s ease;
}

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

.button.primary {
    color: #1b1209;
    background: linear-gradient(135deg, #f4c76b, #b8792a);
}

.button.secondary {
    color: #f4c76b;
    background: rgba(244, 199, 107, 0.08);
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 22px;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.card {
    border: 1px solid rgba(244, 199, 107, 0.16);
    border-radius: 24px;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(52, 36, 25, 0.92), rgba(22, 15, 12, 0.92));
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.card.accent {
    border-color: rgba(244, 199, 107, 0.38);
    background:
        linear-gradient(180deg, rgba(88, 54, 22, 0.92), rgba(26, 17, 11, 0.94));
}

.card.muted {
    color: #d8c7a8;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.check-grid div {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(244, 199, 107, 0.13);
}

.check-grid div::before {
    content: "✓";
    margin-right: 10px;
    color: #f4c76b;
    font-weight: 800;
}

.placeholder-form {
    margin-top: 22px;
    padding: 28px;
    border-radius: 18px;
    border: 1px dashed rgba(244, 199, 107, 0.38);
    color: #d8c7a8;
    background: rgba(0, 0, 0, 0.22);
    text-align: center;
}

.footer {
    margin-top: 40px;
    padding: 32px 22px;
    text-align: center;
    color: #9d8d75;
    border-top: 1px solid rgba(244, 199, 107, 0.12);
}

@media (max-width: 760px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 0.9rem;
    }

    .hero {
        min-height: auto;
        padding: 70px 22px;
    }

    .two-columns,
    .check-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 22px;
        border-radius: 20px;
    }
}

.feedback-form {
    margin-top: 26px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label,
.checkbox-field {
    display: block;
    margin-bottom: 8px;
    color: #f0d8a8;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(244, 199, 107, 0.22);
    border-radius: 14px;
    padding: 13px 14px;
    color: #f8ead0;
    background: rgba(0, 0, 0, 0.28);
    outline: none;
    font: inherit;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(244, 199, 107, 0.72);
    box-shadow: 0 0 0 4px rgba(244, 199, 107, 0.09);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(232, 215, 184, 0.48);
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 18px;
    color: #e6d2ae;
    font-weight: 600;
}

.checkbox-field input {
    margin-top: 5px;
    accent-color: #f4c76b;
}

.form-note {
    color: #bfae91;
    font-size: 0.94rem;
}

.submit-button {
    margin-top: 8px;
    border: none;
    cursor: pointer;
}

@media (max-width: 760px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .submit-button {
        width: 100%;
    }
}

.result-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.result-card {
    text-align: center;
}

.result-card h1 {
    max-width: none;
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 18px;
}

.result-card.success {
    border-color: rgba(120, 220, 150, 0.42);
}

.result-card.error {
    border-color: rgba(255, 100, 100, 0.42);
}

.full-width-card {
    grid-column: 1 / -1;
}

.guide-image {
    width: 100%;
    max-width: 100%;
    margin: 24px 0 8px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(244, 199, 107, 0.22);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.guide-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.guide-image figcaption {
    padding: 12px 16px;
    color: #cdbb9a;
    font-size: 0.94rem;
    background: rgba(0, 0, 0, 0.22);
}

.guide-image.small {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.changelog-entry {
    margin-top: 18px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(244, 199, 107, 0.16);
}

.changelog-entry.latest {
    border-color: rgba(244, 199, 107, 0.42);
    background:
        linear-gradient(180deg, rgba(72, 58, 32, 0.5), rgba(0, 0, 0, 0.18));
}

.changelog-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: #1b1209;
    background: linear-gradient(135deg, #f4c76b, #b8792a);
    font-weight: 800;
    font-size: 0.92rem;
}

.changelog-date {
    color: #cdbb9a;
    font-size: 0.94rem;
}

.changelog-entry h3 {
    margin: 8px 0 12px;
    color: #ffe1a0;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d8c7a8;
    text-decoration: none;
    font-size: 0.94rem;
}

.footer-links a:hover {
    color: #f4c76b;
    text-decoration: underline;
}

.footer-links span {
    color: rgba(244, 199, 107, 0.35);
}