:root {
    --bg-dark: #17110f;
    --card-bg: rgba(40, 26, 22, 0.75);
    --card-border: rgba(255, 90, 60, 0.18);
    --primary: #e0301e;
    --primary-glow: #ff4d33;
    --primary-light: #ff8a73;
    --text-main: #f8fafc;
    --text-sub: #b8a89f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-glow {
    position: fixed;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 77, 51, 0.18) 0%, rgba(23, 17, 15, 0) 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(23, 17, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary));
    box-shadow: 0 4px 18px rgba(255, 77, 51, 0.4);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-glow), var(--primary));
    color: #fff;
    box-shadow: 0 4px 22px rgba(255, 77, 51, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 77, 51, 0.55);
}

main { flex: 1; width: 100%; }

.hero {
    max-width: 760px;
    margin: 70px auto 60px;
    padding: 0 24px;
    text-align: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255, 77, 51, 0.12);
    border: 1px solid rgba(255, 77, 51, 0.3);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, #ffb4a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.05rem;
    color: var(--text-sub);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.section {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.unlock-card {
    max-width: 560px;
    margin: 0 auto 60px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(16px);
}
.unlock-card label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-sub);
    margin-bottom: 10px;
}
.unlock-row {
    display: flex;
    gap: 12px;
}
.unlock-row input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}
.unlock-row input:focus {
    outline: none;
    border-color: var(--primary-glow);
}
.unlock-hint {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-sub);
}
.unlock-result {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}
.unlock-code-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
}
.unlock-code-row span { color: var(--text-sub); }
.unlock-code-row strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-light);
    letter-spacing: 0.5px;
}
.unlock-error {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 77, 51, 0.12);
    border: 1px solid rgba(255, 77, 51, 0.35);
    color: #ffb4a3;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .unlock-row { flex-direction: column; }
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(16px);
}
.step-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 77, 51, 0.15);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 16px;
}
.step h3 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--text-sub); font-size: 0.95rem; line-height: 1.6; }

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-sub);
    font-size: 0.9rem;
    background: rgba(23, 17, 15, 0.95);
    margin-top: auto;
}
footer a { color: var(--primary-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 700px) {
    .hero-title { font-size: 2rem; }
    .steps { grid-template-columns: 1fr; }
}
