:root {
    --arc-navy: #101731;
    --arc-ink: #172033;
    --arc-muted: #5f6784;
    --arc-panel: #ffffff;
    --arc-soft: #f7f4ff;
    --arc-warm: #fff8ef;
    --arc-violet: #6852ff;
    --arc-coral: #ff6759;
    --arc-aqua: #19b8c9;
    --arc-lavender: #e8e4ff;
    --arc-border: rgba(23, 32, 51, 0.12);
    --arc-shadow: 0 18px 44px rgba(16, 23, 49, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--arc-ink);
    background: #fffbf4;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    overflow-x: hidden;
}

body.game-modal-open {
    overflow: hidden;
}

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

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

p {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--arc-ink);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(25, 184, 201, 0.78);
    outline-offset: 3px;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.layout_padding,
.section-pad {
    padding: 72px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 251, 244, 0.92);
    border-bottom: 1px solid rgba(23, 32, 51, 0.08);
    backdrop-filter: blur(18px);
}

.arc-navbar {
    min-height: 76px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    width: 198px;
    flex: 0 0 auto;
}

.logo img {
    width: 198px;
    height: auto;
}

.nav-panel {
    display: block;
}

.arc-nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--arc-muted);
    font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
    color: var(--arc-ink);
    background: rgba(104, 82, 255, 0.09);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--arc-border);
    border-radius: 8px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--arc-ink);
    display: block;
}

.hero_section {
    position: relative;
    padding: 86px 0 68px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(104, 82, 255, 0.17), rgba(255, 103, 89, 0.16) 48%, rgba(25, 184, 201, 0.15)),
        #fff8ef;
}

.hero_section::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 251, 244, 0), #fffbf4);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.76fr);
    gap: 48px;
    align-items: center;
}

.hero-copy h1 {
    margin-top: 12px;
    max-width: 680px;
    font-size: 4rem;
}

.hero-copy p {
    max-width: 620px;
    margin-top: 22px;
    color: #39425d;
    font-size: 1.13rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--arc-violet);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--arc-violet), var(--arc-coral), var(--arc-aqua));
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 800;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
    background: linear-gradient(135deg, var(--arc-violet), var(--arc-coral));
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(104, 82, 255, 0.24);
}

.button-secondary {
    color: var(--arc-ink);
    background: #ffffff;
    border: 1px solid var(--arc-border);
}

.button-ghost {
    color: var(--arc-ink);
    background: #ffffff;
    border: 1px solid var(--arc-border);
}

.button-inline {
    width: max-content;
    margin-top: 18px;
}

.hero-showcase {
    position: relative;
    min-height: 420px;
    padding: 18px;
    border: 1px solid rgba(16, 23, 49, 0.1);
    border-radius: 8px;
    background: linear-gradient(160deg, #101731, #27214d 52%, #123842);
    box-shadow: var(--arc-shadow);
}

.hero-window {
    display: flex;
    gap: 8px;
    padding: 8px 0 16px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.7;
}

.hero-feature-tile {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #151c39;
    color: #ffffff;
    text-align: left;
    position: relative;
}

.hero-feature-tile img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-tile-label,
.hero-tile-title {
    position: absolute;
    left: 18px;
}

.hero-tile-label {
    top: 18px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--arc-ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.hero-tile-title {
    bottom: 18px;
    right: 18px;
    font-size: 1.45rem;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.42);
}

.mini-game-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.mini-game-strip span {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-heading h2 {
    margin-top: 10px;
    font-size: 2.35rem;
}

.section-heading p,
.result-count {
    margin-top: 10px;
    color: var(--arc-muted);
}

.split-heading {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
}

.text-link {
    color: var(--arc-violet);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.featured-game-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(300px, 0.78fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 1px solid var(--arc-border);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    text-align: left;
    box-shadow: var(--arc-shadow);
}

.featured-media {
    position: relative;
    min-height: 360px;
    display: block;
    overflow: hidden;
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-play-icon {
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    right: 18px;
    bottom: 18px;
    background: #ffffff;
    box-shadow: 0 14px 26px rgba(16, 23, 49, 0.24);
}

.game-play-icon::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 18px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 16px solid var(--arc-coral);
}

.featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.game-category {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--arc-violet);
    background: var(--arc-lavender);
    font-size: 0.78rem;
    font-weight: 900;
}

.featured-title {
    margin-top: 14px;
    color: var(--arc-ink);
    font-size: 2.15rem;
    font-weight: 900;
    line-height: 1.08;
}

.featured-text {
    margin-top: 14px;
    color: var(--arc-muted);
}

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

.game-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid var(--arc-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--arc-ink);
    text-align: left;
    overflow: hidden;
    min-width: 0;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(104, 82, 255, 0.34);
    box-shadow: 0 16px 32px rgba(16, 23, 49, 0.13);
}

.game-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e4ff, #fff8ef);
}

.game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-media .game-play-icon {
    width: 42px;
    height: 42px;
    right: 12px;
    bottom: 12px;
}

.game-card-media .game-play-icon::before {
    left: 17px;
    top: 13px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 12px;
}

.game-card-body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.game-card-title {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.18;
}

.soft-band {
    background:
        linear-gradient(135deg, rgba(25, 184, 201, 0.09), rgba(255, 103, 89, 0.08)),
        #f7f4ff;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.recent-card {
    min-height: 100%;
}

.empty-state {
    padding: 20px;
    border: 1px dashed rgba(104, 82, 255, 0.42);
    border-radius: 8px;
    color: var(--arc-muted);
    background: rgba(255, 255, 255, 0.72);
}

.category-grid,
.benefit-grid,
.steps-grid,
.content-grid {
    display: grid;
    gap: 18px;
}

.category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
    min-height: 156px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--arc-border);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: auto -20px -28px auto;
    width: 140px;
    height: 86px;
    transform: rotate(-18deg);
    background: rgba(255, 255, 255, 0.16);
}

.category-card span {
    position: relative;
    z-index: 1;
    font-size: 1.45rem;
    font-weight: 900;
}

.category-card small {
    position: relative;
    z-index: 1;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.86);
}

.category-card.racing { background: linear-gradient(135deg, #6852ff, #19b8c9); }
.category-card.puzzle { background: linear-gradient(135deg, #ff6759, #ff9f43); }
.category-card.match { background: linear-gradient(135deg, #6b5cff, #ff6fae); }
.category-card.arcade { background: linear-gradient(135deg, #172033, #19b8c9); }
.category-card.drawing { background: linear-gradient(135deg, #ff6759, #6852ff); }
.category-card.casual { background: linear-gradient(135deg, #159c8f, #f0a83a); }

.info-panel {
    padding: 36px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--arc-border);
    box-shadow: 0 16px 36px rgba(16, 23, 49, 0.08);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 32px;
    align-items: center;
}

.two-column h2 {
    margin-top: 10px;
    font-size: 2.15rem;
}

.two-column p {
    color: var(--arc-muted);
    font-size: 1.05rem;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.benefit-grid article,
.content-grid article {
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--arc-border);
}

.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--arc-ink);
    font-weight: 900;
}

.step-card h3,
.benefit-grid h3,
.content-grid h2 {
    margin-top: 16px;
    font-size: 1.18rem;
}

.step-card p,
.benefit-grid p,
.content-grid p {
    margin-top: 10px;
    color: var(--arc-muted);
}

.benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--arc-border);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    min-height: 56px;
    padding: 16px 18px;
    color: var(--arc-ink);
    font-weight: 900;
}

.faq-list p {
    padding: 0 18px 18px;
    color: var(--arc-muted);
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #101731, #6852ff 54%, #ff6759);
}

.cta-band h2 {
    margin-top: 10px;
    color: #ffffff;
    font-size: 2rem;
}

.page_hero {
    padding: 86px 0 76px;
    background:
        linear-gradient(135deg, rgba(16, 23, 49, 0.96), rgba(104, 82, 255, 0.84) 58%, rgba(255, 103, 89, 0.78)),
        #101731;
}

.compact_hero {
    padding: 66px 0 58px;
}

.page_hero h1,
.page_hero p {
    color: #ffffff;
}

.page_hero h1 {
    max-width: 840px;
    margin-top: 12px;
    font-size: 3rem;
}

.page_hero p {
    max-width: 760px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.07rem;
}

.page_hero a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.browser-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 16px;
    align-items: end;
    margin-bottom: 32px;
}

.search-box {
    display: grid;
    gap: 8px;
    font-weight: 900;
}

.search-box input,
.arc-form input,
.arc-form select,
.arc-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--arc-border);
    border-radius: 8px;
    padding: 11px 13px;
    color: var(--arc-ink);
    background: #ffffff;
}

.arc-form textarea {
    resize: vertical;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-button {
    min-height: 44px;
    border: 1px solid var(--arc-border);
    border-radius: 8px;
    padding: 9px 13px;
    background: #ffffff;
    color: var(--arc-muted);
    font-weight: 900;
}

.filter-button.active,
.filter-button:hover {
    color: #ffffff;
    background: var(--arc-ink);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
    gap: 34px;
    align-items: start;
}

.contact-intro,
.arc-form {
    padding: 30px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--arc-border);
    box-shadow: 0 16px 36px rgba(16, 23, 49, 0.08);
}

.contact-intro h2 {
    margin-top: 10px;
    font-size: 2rem;
    overflow-wrap: anywhere;
}

.contact-intro p {
    margin-top: 16px;
    color: var(--arc-muted);
}

.contact-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.contact-topics span {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--arc-violet);
    background: var(--arc-lavender);
    font-weight: 800;
    font-size: 0.88rem;
}

.arc-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 7px;
}

.form-row label {
    font-weight: 900;
}

.form-error {
    min-height: 20px;
    color: #b32920;
    font-size: 0.88rem;
    font-weight: 700;
}

.form-status {
    color: var(--arc-muted);
    font-weight: 700;
}

.legal-content {
    max-width: 860px;
    padding: 38px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--arc-border);
    box-shadow: 0 16px 36px rgba(16, 23, 49, 0.08);
}

.legal-content h2 {
    margin-top: 30px;
    font-size: 1.35rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-top: 10px;
    color: var(--arc-muted);
}

.legal-content a {
    color: var(--arc-violet);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer_section {
    color: rgba(255, 255, 255, 0.78);
    background: var(--arc-navy);
    padding-bottom: 46px;
}

.footer-topline {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 900;
}

.footer-topline p {
    max-width: 520px;
    margin-top: 8px;
}

.footer-contact {
    display: grid;
    gap: 6px;
    text-align: right;
    font-weight: 800;
}

.footer-contact a {
    color: #ffffff;
}

.footer_section_2 {
    padding-top: 34px;
}

.link_text {
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer_menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer_menu a {
    color: rgba(255, 255, 255, 0.78);
}

.footer_menu a:hover {
    color: #ffffff;
}

.footer_text {
    color: rgba(255, 255, 255, 0.78);
}

.copyright_section {
    padding: 16px 0;
    background: #ffffff;
}

.copyright_text {
    color: var(--arc-muted);
    text-align: center;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 70;
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--arc-border);
    box-shadow: var(--arc-shadow);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-copy strong {
    display: block;
    color: var(--arc-ink);
    font-weight: 900;
}

.cookie-copy p {
    margin-top: 4px;
    color: var(--arc-muted);
}

.cookie-copy a {
    color: var(--arc-violet);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.game-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
}

.game-modal[hidden] {
    display: none;
}

.game-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 20, 0.78);
}

.game-modal-panel {
    position: relative;
    width: min(1180px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border-radius: 8px;
    background: #080c18;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.game-modal-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px 14px 20px;
    background: #101731;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-modal-label {
    display: block;
    color: var(--arc-aqua);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.game-modal-heading h2 {
    margin-top: 4px;
    color: #ffffff;
    font-size: 1.25rem;
}

.game-modal-close {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 2rem;
    line-height: 1;
}

.game-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.game-modal-player {
    background: #050814;
    aspect-ratio: 16 / 9;
    max-height: calc(100dvh - 116px);
}

.game-modal-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #050814;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

