:root {
    --bg: #0b1020;
    --bg-alt: #10172b;
    --card: #151d35;
    --card-hover: #1b2545;
    --line: #26314f;
    --text: #e6e9f2;
    --muted: #94a0bd;
    --accent: #facc15;
    --accent-2: #8b5cf6;
    --good: #22c55e;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[hidden] {
    display: none !important;      /* .btn gibi display veren sınıflar hidden'ı ezmesin */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: "Open Sans", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: "Poppins", system-ui, sans-serif;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

.container {
    width: min(1180px, 100% - 32px);
    margin-inline: auto;
}

.muted {
    color: var(--muted);
}

/* Duyuru bandı (kapatılınca o duyuru bu tarayıcıda bir daha görünmez) */
.announce {
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.14), rgba(250, 204, 21, 0.04));
    border-bottom: 1px solid var(--line);
}

.announce-inner {
    display: flex;
    align-items: center;
    gap: 12px 16px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.announce-inner p {
    flex: 1 1 280px;
    margin: 0;
    font-size: 0.95rem;
}

.announce-tag {
    background: var(--accent);
    color: #1a1400;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.announce-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.announce-close {
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
}

.announce-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.center {
    text-align: center;
    margin-top: 24px;
}

/* ---------- üst menü ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 16, 32, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.nav-links {
    display: flex;
    gap: 6px;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: var(--card);
}

.nav-links a.active {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text);
    font-size: 1.4rem;
    padding: 8px;
    cursor: pointer;
}

/* ---------- giriş ---------- */
.hero {
    padding: 72px 0 56px;
    background:
        radial-gradient(900px 400px at 15% -10%, rgba(139, 92, 246, 0.25), transparent 60%),
        radial-gradient(700px 400px at 100% 20%, rgba(250, 204, 21, 0.12), transparent 60%);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    box-shadow: 0 0 0 10px rgba(250, 204, 21, 0.08), var(--shadow);
    flex-shrink: 0;
}

.eyebrow {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    margin: 4px 0 12px;
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.stats {
    display: flex;
    gap: 32px;
}

.stats strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    color: var(--text);
}

.stats span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ---------- düğmeler ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

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

.btn-primary {
    background: var(--accent);
    color: #1a1400;
}

.btn-primary:hover {
    background: #fde047;
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--accent);
}

.btn-sm {
    padding: 7px 12px;
    font-size: 0.85rem;
}

/* ---------- bölümler ---------- */
.section {
    padding: 72px 0;
}

.section.alt {
    background: var(--bg-alt);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.section-head h2 {
    font-size: 1.9rem;
}

.section-head h2 i {
    color: var(--accent);
    margin-right: 6px;
}

.grid {
    display: grid;
    gap: 22px;
}

.grid.games {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid.assets {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.grid.projects {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ---------- kartlar ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.5);
    background: var(--card-hover);
}

.game .cover {
    position: relative;
    aspect-ratio: 315 / 250;
    background: #050812;
}

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

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #1a1400;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-body h3 {
    font-size: 1.15rem;
}

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

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.75rem;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.16);
    color: #c4b5fd;
}

.tag.platform {
    background: rgba(148, 160, 189, 0.12);
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

/* ---------- öne çıkan video ---------- */
.feature {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    margin-bottom: 26px;
}

.feature:hover {
    transform: none;
}

.feature .card-body {
    justify-content: center;
    padding: 24px;
}

.feature h3 {
    font-size: 1.5rem;
}

.video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    padding: 0;
    background: #000;
    cursor: pointer;
}

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

.video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video .play {
    position: absolute;
    right: 16px;
    bottom: 16px;             /* ortada kapaktaki başlığın üstüne biniyordu */
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    font-size: 1.8rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.video:hover .play {
    transform: scale(1.08);
}

/* ---------- filtreler ---------- */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
}

.chip:hover {
    color: var(--text);
}

.chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1400;
}

.chip .count {
    opacity: 0.7;
    margin-left: 4px;
}

.toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 14px;
}

.search i {
    color: var(--muted);
}

.search input,
.toolbar select,
.field input,
.field textarea {
    font: inherit;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: none;
}

.search input {
    flex: 1;
    padding: 11px 0;
}

.toolbar select {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 12px;
    cursor: pointer;
}

.toolbar select option {
    background: var(--card);
}

#langFilters {
    margin-bottom: 22px;
}

/* ---------- proje kartları ---------- */
.project .card-body {
    height: 100%;
}

.project h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-word;
}

.project h3 i {
    color: var(--muted);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--muted);
}

.lang-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.empty {
    text-align: center;
    color: var(--muted);
    padding: 32px 0;
}

/* ---------- iletişim ---------- */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact h2 {
    font-size: 1.9rem;
    margin-bottom: 12px;
}

.contact h2 i {
    color: var(--accent);
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.socials a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 1.3rem;
    transition: color 0.2s, border-color 0.2s;
}

.socials a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form:hover {
    transform: none;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-weight: 600;
    font-size: 0.9rem;
}

.field input,
.field textarea {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.search:focus-within {
    border-color: var(--accent);
}

.field.invalid input,
.field.invalid textarea {
    border-color: #ef4444;
}

.form-status {
    min-height: 1.4em;
    font-size: 0.9rem;
}

.form-status.error {
    color: #f87171;
}

.form-status.ok {
    color: var(--good);
}

/* ---------- alt ---------- */
.footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--accent);
}

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #1a1400;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---------- telefon ---------- */
@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 8px 16px 16px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        border-radius: 10px;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .avatar {
        width: 150px;
        height: 150px;
    }

    .hero-actions,
    .stats {
        justify-content: center;
    }

    .section {
        padding: 52px 0;
    }

    .toolbar {
        flex-direction: column;
    }

    .toolbar select {
        padding: 11px 12px;
    }

    .contact,
    .feature {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .card,
    .btn {
        transition: none;
    }
}

/* İletişim formundaki bot tuzağı: insanlar görmez */
.botcheck {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
