* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-0: #0b1220;
    --bg-1: #0d1b36;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-2: rgba(255, 255, 255, 0.12);
    --stroke: rgba(255, 255, 255, 0.12);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.72);
    --muted-2: rgba(255, 255, 255, 0.62);
    --accent: #ffd36a;
    --accent-2: #ffefad;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1040px;
    --container-narrow: 860px;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    background: radial-gradient(1200px 600px at 20% 10%, rgba(255, 211, 106, 0.18), transparent 55%),
                radial-gradient(900px 500px at 80% 25%, rgba(120, 219, 255, 0.18), transparent 60%),
                linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 100%);
    min-height: 100vh;
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: clamp(16px, 0.5vw + 14px, 18px);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin: 0;
}

/* Minecraft-style background */
.minecraft-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 22% 78%, rgba(120, 119, 198, 0.22) 0%, transparent 52%),
        radial-gradient(circle at 84% 18%, rgba(255, 119, 198, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 44% 40%, rgba(120, 219, 255, 0.18) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

.cubes {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Floating cubes animation */
.cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    animation: cubeFloat 20s infinite linear;
}

@keyframes cubeFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0.9rem 1.25rem;
    text-align: center;
    background: rgba(10, 16, 28, 0.62);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
    margin-top: 0.35rem;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover, nav a.active {
    background: rgba(255, 211, 106, 0.14);
    color: var(--accent);
}

.logo {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }
    to { text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5); }
}

.logo span {
    color: var(--accent);
}

main {
    position: relative;
    z-index: 10;
}

section {
    padding: 4.25rem 1rem;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 84px;
}

.container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.hero-section {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(640px 260px at 30% 10%, rgba(255, 211, 106, 0.22), transparent 58%),
        radial-gradient(560px 260px at 82% 34%, rgba(120, 219, 255, 0.18), transparent 62%);
    pointer-events: none;
    opacity: 0.9;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
}

.hero-copy {
    text-align: left;
}

h1 {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-size: clamp(2.35rem, 3.4vw, 3.35rem);
    margin-bottom: 0.6rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.subtitle {
    max-width: 70ch;
    margin: 0.35rem 0 1.15rem;
    font-size: clamp(1.12rem, 1.3vw, 1.25rem);
    color: var(--muted);
    animation: slideInRight 1s ease 0.3s both;
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero-points {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-point {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.hero-point .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 211, 106, 0.9);
    box-shadow: 0 0 0 4px rgba(255, 211, 106, 0.12);
    flex: 0 0 auto;
}

.download-panel {
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    position: relative;
}

.download-panel::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 211, 106, 0.35), rgba(120, 219, 255, 0.22), rgba(255, 119, 198, 0.18));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    opacity: 0.9;
}

.panel-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
    background: rgba(10, 16, 28, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.panel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    opacity: 0.95;
}

.panel-dot.red { background: rgba(255, 95, 86, 0.9); }
.panel-dot.yellow { background: rgba(255, 189, 46, 0.9); }
.panel-dot.green { background: rgba(39, 201, 63, 0.9); }

.panel-title {
    margin-left: 0.35rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-body {
    padding: 1.25rem 1.25rem 1.35rem;
    position: relative;
    z-index: 1;
}

.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    background: rgba(255, 211, 106, 0.12);
    border: 1px solid rgba(255, 211, 106, 0.18);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
}

.panel-h2 {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.9rem;
    margin-top: 0.75rem;
    margin-bottom: 0.6rem;
}

.panel-text {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 56ch;
}

.panel-actions {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.6rem;
}

.panel-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: rgba(15, 22, 36, 0.95);
    padding: 1.05rem 2.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 14px 34px rgba(255, 211, 106, 0.22);
    margin-top: 0.8rem;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '⬇';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255, 211, 106, 0.28);
}

.download-btn--wide {
    width: 100%;
    text-align: center;
}

.description-section, .faq-section, .contact-section {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.section-header {
    max-width: var(--container-narrow);
    margin: 0 auto 1.25rem;
    text-align: center;
}

.section-title {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-size: clamp(1.85rem, 2.4vw, 2.35rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.45rem;
}

.section-lead {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 72ch;
    margin: 0.25rem auto 0;
}

.description-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1rem 0 0;
}

.desc-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem 1.15rem;
    transition: all 0.3s ease;
    font-size: 1.03rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.desc-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.desc-card h3 {
    color: var(--accent);
    margin-bottom: 0.45rem;
    font-size: 1.28rem;
    letter-spacing: -0.01em;
}

.desc-card p {
    margin-top: 0.35rem;
    color: var(--muted);
}

.faq-item {
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    margin: 0.5rem 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.faq-question {
    padding: 1.05rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-chevron {
    font-size: 1.1rem;
    opacity: 0.9;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1rem 1rem;
    display: none;
    color: var(--muted);
    font-size: 1rem;
}

.faq-answer.show {
    display: block;
}

.faq-answer p + p {
    margin-top: 0.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.form-group {
    margin-bottom: 0.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: rgba(15, 22, 36, 0.95);
    padding: 1.05rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0.8rem;
    background: rgba(10, 16, 28, 0.62);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-note {
    margin-top: 0.35rem;
    opacity: 0.75;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
    }

    .hero-section {
        padding: 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    nav a {
        margin: 0;
    }
}