/* OBITOTO site stylesheet */
:root {
    --bg: #0b0e16;
    --panel: #121725;
    --panel2: #171e2e;
    --text: #f5f7fb;
    --muted: #aeb7ca;
    --gold: #f4c76b;
    --gold2: #ffe4a1;
    --line: rgba(255, 255, 255, .1);
    --max: 1160px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    background: radial-gradient(ellipse at 80% 0%, rgba(94, 72, 153, .22), transparent 36%), var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.7
}

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

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

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: auto
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 14, 22, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.header .container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.header-logo img {
    width: 160px;
    height: 40px;
    object-fit: contain
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #d7dceb;
    font-size: .92rem
}

.nav-menu a:hover,
.footer a:hover {
    color: var(--gold)
}

.header-actions {
    display: flex;
    gap: 9px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .9rem;
    transition: transform .2s, background .2s;
    border: 1px solid transparent
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #17130b
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, .035);
    color: var(--text)
}

.btn-sm {
    padding: 8px 12px;
    font-size: .82rem
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    color: white
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: 4px
}

.obito {
    padding: 72px 0 58px;
    position: relative;
    overflow: hidden;
    min-height: 490px;
    display: flex;
    align-items: center
}

.obito-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.obito-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .80
}

.obito:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,14,22,.45) 0%,
    rgba(11,14,22,.25) 48%,
    rgba(11,14,22,.10) 100%
  );
  pointer-events: none;
}

.obito .container {
    position: relative;
    z-index: 1
}

.obito-content {
    max-width: 760px
}

.obito-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(244, 199, 107, .35);
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--gold2);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase
}

.obito-badge:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px var(--gold)
}

h1,
h2,
h3 {
    font-family: Outfit, Inter, sans-serif;
    line-height: 1.2;
    margin-top: 0
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -.035em;
    margin: 22px 0
}

h1 .highlight {
    color: var(--gold)
}

.obito-desc {
    color: var(--muted);
    font-size: 1.06rem;
    max-width: 690px
}

.obito-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 27px 0
}

.obito-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #cbd2e1;
    font-size: .85rem
}

.obito-highlights span:before {
    content: "✓";
    color: var(--gold);
    font-weight: 800;
    margin-right: 7px
}

.section {
    padding: 66px 0
}

.section.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .035), rgba(255, 255, 255, .018));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.section-header {
    text-align: center;
    max-width: 730px;
    margin: 0 auto 34px
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
    margin-bottom: 12px
}

.section-header p {
    color: var(--muted);
    margin: 0
}

.section-divider {
    width: 64px;
    height: 3px;
    border-radius: 9px;
    background: var(--gold);
    margin: 18px auto 0
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px
}

.category-card,
.feature-item {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    transition: transform .2s, border-color .2s
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 199, 107, .4)
}

.card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(244, 199, 107, .12);
    font-size: 1.4rem;
    margin-bottom: 16px
}

.category-card h3,
.feature-item h3 {
    font-size: 1.12rem;
    margin-bottom: 9px
}

.category-card p,
.feature-item p {
    color: var(--muted);
    font-size: .9rem;
    margin: 0
}

.about-preview-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center
}

.about-preview-image {
    min-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #171e2e
}

.about-preview-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover
}

.about-preview-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 15px
}

.about-preview-content p {
    color: var(--muted)
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.feat-icon {
    font-size: 1.55rem
}

.feature-item h3 {
    margin-top: 12px
}

.articles-layout {
    display: block
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.article-card {
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: hidden;
    background: var(--panel)
}

.article-card-image {
    height: 155px;
    background: linear-gradient(135deg, rgba(244, 199, 107, .22), rgba(94, 72, 153, .25)), #171e2e;
    position: relative;
    overflow: hidden
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.category-label {
    position: absolute;
    left: 13px;
    bottom: 12px;
    border-radius: 999px;
    background: #10131d;
    color: var(--gold2);
    padding: 5px 10px;
    font-size: .72rem;
    font-weight: 700
}

.article-card-body {
    padding: 21px
}

.article-card-body h3 {
    font-size: 1.12rem;
    margin: 9px 0
}

.article-card-body h3 a:hover,
.read-more:hover {
    color: var(--gold)
}

.article-card-body p {
    color: var(--muted);
    font-size: .9rem
}

.read-more {
    color: var(--gold2);
    font-weight: 700;
    font-size: .88rem
}

.faq-list {
    max-width: 850px;
    margin: auto;
    display: grid;
    gap: 12px
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .025);
    padding: 0 20px
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 28px 18px 0;
    font-weight: 700;
    position: relative
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item summary:after {
    content: "+";
    position: absolute;
    right: 0;
    color: var(--gold);
    font-size: 1.3rem;
    top: 13px
}

.faq-item[open] summary:after {
    content: "−"
}

.faq-item p {
    color: var(--muted);
    margin: 0;
    padding: 0 0 19px
}

.content-panel {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .025)
}

.content-panel p,
.content-panel li {
    color: var(--muted)
}

.contact-form {
    display: grid;
    gap: 14px
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: #e7ebf4
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #0d111b;
    color: white;
    font: inherit
}

.notice {
    border: 1px solid rgba(244, 199, 107, .22);
    background: rgba(244, 199, 107, .06);
    border-radius: 13px;
    padding: 16px 18px;
    color: #d8deeb;
    font-size: .9rem;
    margin-top: 22px
}

.footer {
    border-top: 1px solid var(--line);
    padding: 34px 0 22px;
    background: #080a10
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start
}

.footer-logo img {
    width: 160px;
    height: 40px;
    object-fit: contain
}

.footer p {
    color: var(--muted);
    max-width: 540px;
    font-size: .9rem
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #d7dceb;
    font-size: .88rem
}

.copyright {
    border-top: 1px solid var(--line);
    margin-top: 24px;
    padding-top: 17px;
    color: #7f899d;
    font-size: .8rem
}

.nav-overlay {
    display: none
}

@media(max-width:950px) {
    .category-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .nav-menu {
        gap: 13px
    }

    .header-actions {
        display: none
    }
}

@media(max-width:700px) {
    .header .container {
        min-height: 68px
    }

    .header-logo img {
        width: 140px;
        height: 36px
    }

    .hamburger {
        display: block
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 18px 22px 22px;
        background: #0d111b;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start
    }

    .nav-menu.open {
        display: flex
    }

    .nav-overlay.show {
        display: block;
        position: fixed;
        inset: 68px 0 0;
        background: rgba(0, 0, 0, .45);
        z-index: -1
    }

    .obito {
        padding: 52px 0 42px;
        min-height: 420px
    }

    .obito:after {
        background: linear-gradient(
    90deg,
    rgba(11,14,22,.45) 0%,
    rgba(11,14,22,.25) 48%,
    rgba(11,14,22,.10) 100%
  )
    }

    .obito-buttons {
        gap: 9px
    }

    .section {
        padding: 50px 0
    }

    .category-cards,
    .features-grid,
    .articles-grid {
        grid-template-columns: 1fr
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .about-preview-image,
    .about-preview-image img {
        min-height: 230px
    }

    .footer-top {
        flex-direction: column
    }

    .container {
        width: min(var(--max), calc(100% - 28px))
    }

    .content-panel {
        padding: 22px
    }
}

/* Dedicated subpage layouts inspired by supplied reference pages */
.page-hero {
    padding: 44px 0 42px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse at 78% 10%, rgba(244, 199, 107, .12), transparent 36%), linear-gradient(180deg, #111522, #0b0e16)
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 18px
}

.breadcrumb a {
    color: var(--gold2)
}

.breadcrumb .crumb-sep {
    opacity: .55
}

.page-hero h1 {
    font-size: clamp(2.15rem, 4.5vw, 3.45rem);
    margin: 0 0 15px
}

.page-hero p {
    color: var(--muted);
    max-width: 760px;
    margin: 0;
    font-size: 1rem
}

.about-content .about-preview-grid {
    align-items: start
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    color: var(--muted)
}

.about-text p {
    margin: 0 0 15px
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px
}

.focus-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel)
}

.focus-card .card-icon {
    margin-bottom: 13px
}

.focus-card p {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 0
}

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

.game-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    transition: transform .2s, border-color .2s
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 199, 107, .4)
}

.game-card-image {
    height: 150px;
    position: relative;
    background: linear-gradient(135deg, rgba(244, 199, 107, .18), rgba(94, 72, 153, .3)), #171e2e;
    overflow: hidden
}

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

.game-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    background: var(--gold);
    color: #17130b;
    font-size: .72rem;
    font-weight: 800;
    padding: 5px 9px
}

.game-card-body {
    padding: 19px
}

.game-card-body h3 {
    margin: 0 0 8px;
    font-size: 1.08rem
}

.game-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem
}

.info-pill {
    display: inline-flex;
    margin-top: 13px;
    color: var(--gold2);
    font-size: .82rem;
    font-weight: 700
}

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

.promo-card {
    display: flex;
    gap: 17px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(244, 199, 107, .07), rgba(255, 255, 255, .02))
}

.promo-icon {
    flex: 0 0 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(244, 199, 107, .12);
    font-size: 1.45rem
}

.promo-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem
}

.promo-card p {
    color: var(--muted);
    font-size: .91rem;
    margin: 0
}

.promo-note {
    max-width: 900px;
    margin: 26px auto 0
}

.article-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px
}

.article-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px
}

.filter-btn {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    background: transparent;
    color: #dce2ee;
    font: inherit;
    font-size: .83rem;
    cursor: pointer
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold);
    color: #17130b;
    border-color: var(--gold)
}

.article-search {
    width: min(280px, 100%);
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0d111b;
    color: white;
    font: inherit
}

.article-card[hidden] {
    display: none !important
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px
}

.contact-card {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel)
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(244, 199, 107, .12);
    font-size: 1.4rem;
    margin-bottom: 15px
}

.contact-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem
}

.contact-card p {
    color: var(--muted);
    font-size: .9rem;
    margin: 0
}

.contact-form-wrapper {
    max-width: 850px;
    margin: 32px auto 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel)
}

.contact-form-wrapper h2 {
    margin-bottom: 8px
}

.contact-form-wrapper>p {
    color: var(--muted);
    margin-top: 0
}

.contact-form select {
    width: 100%;
    padding: 12px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #0d111b;
    color: white;
    font: inherit
}

.cta-section {
    padding: 48px 0;
    background: radial-gradient(ellipse at center, rgba(244, 199, 107, .1), transparent 65%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center
}

.cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 12px
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 22px;
    color: var(--muted)
}

@media(max-width:950px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:700px) {
    .page-hero {
        padding: 34px 0
    }

    .promo-grid,
    .contact-grid,
    .focus-grid,
    .games-grid {
        grid-template-columns: 1fr
    }

    .article-tools {
        align-items: stretch;
        flex-direction: column
    }

    .article-search {
        width: 100%
    }

    .contact-form-wrapper {
        padding: 20px
    }

    .promo-card {
        padding: 18px
    }
}