:root {
    --bg-top: #190f2c;
    --bg-bottom: #251f63;
    --surface: rgba(20, 13, 47, 0.86);
    --surface-soft: rgba(30, 20, 69, 0.8);
    --line: #24f5d3;
    --line-soft: rgba(36, 245, 211, 0.4);
    --text: #f7f3ff;
    --text-soft: #c7c3e6;
    --accent: #ff7a18;
    --accent-soft: #ffbf7a;
    --shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Chakra Petch", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 14%, rgba(255, 122, 24, 0.2), transparent 34%),
        radial-gradient(circle at 86% 10%, rgba(36, 245, 211, 0.2), transparent 35%),
        linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

header {
    width: min(1120px, 96vw);
    height: 250px;
    margin-top: 20px;
    border-radius: 26px 26px 0 0;
    border: 3px solid var(--line);
    border-bottom: none;
    box-shadow: var(--shadow);
    background-image:
        linear-gradient(to top, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.1)),
        url("../../assets/images/baniere.png");
    background-size: cover;
    background-position: center;
}

.section-1 {
    width: min(1120px, 96vw);
    margin-bottom: 34px;
    border: 3px solid var(--line);
    border-top: none;
    border-radius: 0 0 26px 26px;
    padding: 26px 14px 32px;
    background:
        linear-gradient(160deg, rgba(16, 9, 40, 0.93), rgba(31, 20, 78, 0.9));
    box-shadow: var(--shadow);
    display: grid;
    justify-items: center;
    gap: 20px;
}

.hero {
    text-align: center;
    max-width: 68ch;
}

.badge {
    margin: 0;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-soft);
    color: var(--accent-soft);
    background: rgba(255, 122, 24, 0.15);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 10px 0 6px;
    font-family: "Bungee", cursive;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    letter-spacing: 0.03em;
    color: #ffffff;
    text-shadow:
        0 0 14px rgba(36, 245, 211, 0.5),
        0 0 24px rgba(255, 122, 24, 0.4);
}

.subtitle {
    margin: 0;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.playground {
    width: min(860px, 100%);
    padding: 14px;
    border-radius: 16px;
    border: 2px solid var(--line-soft);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

#canvas {
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 2 / 1;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 144, 52, 0.95), rgba(255, 122, 24, 0.95));
}

footer {
    width: min(1120px, 96vw);
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 12px;
    border-top: 3px solid var(--line);
    display: flex;
    justify-content: flex-end;
    background: var(--surface-soft);
}

#contact {
    margin: 0;
    padding: 6px 10px;
    border-radius: 8px;
    color: #d8ebff;
    background: rgba(85, 138, 255, 0.24);
}

#contact a {
    color: #ffd9a6;
}

#contact a:hover {
    color: #fff0d8;
}

@media (max-width: 720px) {
    header {
        height: 170px;
        border-radius: 18px 18px 0 0;
    }

    .section-1 {
        border-radius: 0 0 18px 18px;
        padding: 16px 8px 20px;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .playground {
        padding: 8px;
    }
}