/* ================================================
   RENK PALETİ (CSS Custom Properties)
   ================================================ */

:root {
    --color-bg:        #0d0000;   /* Çok koyu kırmızımsı siyah — arka plan */
    --color-red:       #cc1111;   /* Ana kırmızı */
    --color-red-dark:  #8b0000;   /* Koyu kırmızı — vurgu / gölge */
    --color-red-light: #ff3333;   /* Açık kırmızı — hover / parlama */
    --color-white:     #ffffff;   /* Saf beyaz — birincil metin */
    --color-off-white: #f0e8e8;   /* Hafif kırmızımsı beyaz — ikincil metin */
    --color-gray:      #3a2a2a;   /* Koyu gri — border / ayraç */
}

/* ================================================
   FOOTBALL RAIN BACKGROUND
   ================================================ */

.pixel-rain {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.football-drop {
    position: fixed;
    top: -60px;
    pointer-events: none;
    will-change: transform;
    animation: football-fall linear infinite;
    image-rendering: pixelated;
}

@keyframes football-fall {
    from { transform: translateY(0) rotate(0deg); }
    to   { transform: translateY(calc(100vh + 120px)) rotate(360deg); }
}

/* İçerik katmanları pixel rain'in önünde kalır */
.site-header,
.hero,
.ticker-wrap,
.teams-section,
.avatar-promo-section,
.game-promo-section,
.news-section,
.scoreboard-promo-section,
.site-footer {
    position: relative;
    z-index: 3;
}

/* ================================================
   PIXEL ART CSS RESET
   ================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Press Start 2P', monospace;
    background-color: var(--color-bg);
    color: var(--color-white);
    min-height: 100vh;
    overflow-x: hidden;

    /* Tüm rasterize içerik piksellenmiş görünsün */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

img {
    display: block;
    max-width: 100%;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
    border: none;
    background: none;
}

/* ================================================
   CRT / SCANLINE OVERLAY
   ================================================ */

/*
 * position: fixed + z-index: 9999 → her zaman en üst katman
 * pointer-events: none → altındaki her şey tıklanabilir kalır
 */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;

    /* Yatay tarama çizgileri (her 4px'te bir ince gölge şerit) */
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.18) 2px,
        rgba(0, 0, 0, 0.18) 4px
    );
}

/* Vignette: köşe ve kenarları karartan radial gradyan */
.crt-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 55%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

/* ================================================
   HEADER
   ================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg);
    border-bottom: 4px solid var(--color-red);
    box-shadow: 0 4px 0 0 var(--color-red-dark);
    /* dropdown context */
    isolation: isolate;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---- LOGO ---- */

.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Pixel art logo görseli gelene kadar duran placeholder kutusu */
.logo-placeholder {
    width: 48px;
    height: 48px;
    background-color: var(--color-red);
    border: 4px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-white);
    flex-shrink: 0;
    /* Pixel art: keskin köşe gölgesi */
    box-shadow:
        4px 4px 0 0 var(--color-red-dark);
}

.logo-img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.logo-text {
    font-size: 13px;
    color: var(--color-white);
    letter-spacing: 3px;
    line-height: 1;
}

.logo-accent {
    color: var(--color-red-light);
}

/* ---- NAVİGASYON ---- */

/* Hamburger butonu — her zaman görünür */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: 3px solid var(--color-red-dark);
    color: var(--color-white);
    cursor: pointer;
    flex-shrink: 0;
    transition: none;
    padding: 0;
    position: relative;
    z-index: 1001;
}

/* 3 piksel çizgi */
.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
    content: '';
    display: block;
    width: 20px;
    height: 3px;
    background: var(--color-white);
    transition: none;
}

.nav-toggle span {
    /* orta çizgi için HTML'de <span> kullanıyoruz */
}

.nav-toggle:hover {
    border-color: var(--color-red);
    background-color: var(--color-red-dark);
}

/* Açık halde X efekti */
.site-header.nav-open .nav-toggle {
    border-color: var(--color-red);
    background-color: #1a0000;
}

/* Dropdown paneli */
.site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    background-color: #0a0000;
    border: 3px solid var(--color-red);
    border-top: none;
    box-shadow: 6px 6px 0 var(--color-red-dark), 0 12px 40px rgba(0,0,0,.8);
    z-index: 999;
    display: none;
}

.site-header.nav-open .site-nav {
    display: block;
}

.site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
}

.site-nav a {
    display: block;
    font-size: 9px;
    color: var(--color-off-white);
    letter-spacing: 1px;
    padding: 14px 20px;
    border-left: 4px solid transparent;
    border-right: none;
    border-top: 1px solid #1a0000;
    border-bottom: none;
    transition: none;
}

.site-nav li:first-child a {
    border-top: none;
}

.site-nav a:hover {
    color: var(--color-white);
    border-left-color: var(--color-red);
    background-color: #1a0000;
    box-shadow: none;
}

/* Aktif sayfa */
.site-nav a.nav-active {
    color: var(--color-red-light);
    border-left-color: var(--color-red);
    background-color: #0d0000;
}

/* OYUN linki öne çıkar */
.site-nav a[href="game.html"] {
    color: #ffcc00;
    border-top: 2px solid #2a1a00;
}

.site-nav a[href="game.html"]:hover {
    background-color: #1a0e00;
    border-left-color: #ffcc00;
}

/* ================================================
   HERO
   ================================================ */

.hero {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;

    /* Hafif piksel grid arka planı — pixel art hissi */
    background-image:
        linear-gradient(rgba(204, 17, 17, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 17, 17, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
}

/* ---- Sol: Metin ---- */

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-eyebrow {
    font-size: 7px;
    color: var(--color-red);
    letter-spacing: 2px;
    margin-bottom: 28px;
    /* Yanıp sönen imleç efekti */
    animation: blink 1.2s step-end infinite;
}

.hero-title {
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.15;
    margin-bottom: 32px;
}

.hero-title-line1 {
    display: block;
    color: var(--color-white);
    /* Sağa-aşağı keskin piksel gölgesi */
    text-shadow:
        4px 4px 0 var(--color-red),
        8px 8px 0 var(--color-red-dark);
}

.hero-title-line2 {
    display: block;
    color: var(--color-red-light);
    text-shadow:
        4px 4px 0 var(--color-red-dark),
        8px 8px 0 #3a0000;
}

.hero-subtitle {
    font-size: 9px;
    color: var(--color-off-white);
    line-height: 2.2;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* ---- Pixel Art Butonu ---- */

.btn-pixel {
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: var(--color-white);
    background-color: var(--color-red);
    padding: 16px 28px;
    letter-spacing: 2px;
    border: 4px solid var(--color-white);
    /* 3D piksel efekti */
    box-shadow:
        6px 6px 0 0 var(--color-red-dark);
    transition: none;
    cursor: pointer;
}

.btn-pixel:hover {
    background-color: var(--color-red-light);
    box-shadow: 2px 2px 0 0 var(--color-red-dark);
    transform: translate(4px, 4px);
}

.btn-pixel:active {
    box-shadow: none;
    transform: translate(6px, 6px);
}

/* ---- Sağ: Pixel Art Alanı ---- */

/* ---- Haftanın Pixeli ---- */

.weekly-pixel {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.weekly-pixel__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weekly-pixel__title {
    font-size: 9px;
    color: var(--color-red-light);
    letter-spacing: 2px;
}

.weekly-pixel__star {
    font-size: 10px;
    color: var(--color-red);
    animation: blink 1.8s step-end infinite;
}

/* Çerçeve */
.weekly-pixel__frame {
    border: 4px solid var(--color-red);
    box-shadow:
        8px 8px 0 0 var(--color-red-dark),
        inset 0 0 0 2px var(--color-gray);
    background-color: #0a0000;
    padding: 8px;
}

.weekly-pixel__frame img {
    display: block;
    max-width: 300px;
    max-height: 340px;
    width: auto;
    height: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Alt bilgi */
.weekly-pixel__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.weekly-pixel__week {
    font-size: 7px;
    color: var(--color-red);
    letter-spacing: 3px;
}

.weekly-pixel__name {
    font-size: 8px;
    color: var(--color-white);
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 var(--color-red-dark);
}

/* ---- Animasyonlar ---- */

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

@keyframes sb-flicker {
    0%, 95%, 100% { opacity: 1; }
    96%           { opacity: 0.4; }
    97%           { opacity: 1; }
    98%           { opacity: 0.2; }
    99%           { opacity: 1; }
}

/* ================================================
   TICKER
   ================================================ */

.ticker-wrap {
    overflow: hidden;
    background-color: var(--color-red);
    border-top: 3px solid var(--color-red-light);
    border-bottom: 3px solid var(--color-red-dark);
    padding: 10px 0;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    animation: ticker-scroll 28s linear infinite;
}

.ticker-track span {
    font-size: 8px;
    color: var(--color-white);
    letter-spacing: 2px;
    padding: 0 24px;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================
   ORTAK BÖLÜM STİLLERİ
   ================================================ */

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
}

.section-header {
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(18px, 3vw, 28px);
    color: var(--color-white);
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 3px 3px 0 var(--color-red-dark);
}

.section-subtitle {
    font-size: 8px;
    color: var(--color-red);
    letter-spacing: 4px;
}

/* ================================================
   TAKIMLAR
   ================================================ */

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

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

/* ---- Takım Kartı ---- */

.team-card {
    background-color: #150000;
    border: 3px solid var(--color-gray);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    transition: none;
    cursor: pointer;
}

.team-card:hover {
    border-color: var(--color-red);
    box-shadow:
        4px 4px 0 0 var(--color-red-dark);
    transform: translate(-2px, -2px);
}

/* Logo alanı */
.team-logo-wrap {
    width: 96px;
    height: 96px;
}

.team-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-logo-placeholder {
    width: 96px;
    height: 96px;
    background-color: var(--color-gray);
    border: 3px solid var(--color-red-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-red-light);
}

.team-name {
    font-size: 8px;
    color: var(--color-white);
    letter-spacing: 1px;
    line-height: 1.8;
}

.team-city {
    font-size: 7px;
    color: var(--color-red);
    letter-spacing: 2px;
}

/* Küçük buton varyantı (takım kartları için) */
.btn-pixel--small {
    font-size: 7px;
    padding: 10px 16px;
    border-width: 3px;
    box-shadow: 4px 4px 0 0 var(--color-red-dark);
}

/* ---- Lig Bölücü Başlık ---- */

.division-header {
    margin: 48px 0 20px;
}

.division-badge {
    display: inline-block;
    font-size: 9px;
    letter-spacing: 3px;
    padding: 8px 20px;
    border: 3px solid;
}

.division-badge--super {
    color: var(--color-white);
    background-color: var(--color-red);
    border-color: var(--color-red-light);
    box-shadow: 4px 4px 0 0 var(--color-red-dark);
}

.division-badge--second {
    color: var(--color-off-white);
    background-color: var(--color-gray);
    border-color: var(--color-red-dark);
    box-shadow: 4px 4px 0 0 #1a0000;
}

/* ================================================
   AVATAR PROMO SECTION
   ================================================ */

.avatar-promo-section {
    background-color: #0d0000;
    border-top: 4px solid var(--color-red-dark);
    border-bottom: 4px solid var(--color-red-dark);
    position: relative;
    z-index: 3;
}

.avatar-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.avatar-promo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.avatar-promo-desc {
    font-size: 7px;
    color: var(--color-off-white);
    line-height: 2.6;
    letter-spacing: 1px;
}

/* CSS pixel art character preview */
.avatar-promo-preview {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 160px;
    border: 3px solid var(--color-red-dark);
    background-color: #080000;
    box-shadow: 6px 6px 0 0 var(--color-red-dark);
    position: relative;
}

.promo-pixel-char {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    animation: promo-bounce 2s steps(2, end) infinite;
}

@keyframes promo-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}

.ppc-helmet {
    width: 48px;
    height: 40px;
    background-color: var(--color-red);
    border: 3px solid var(--color-red-dark);
    box-shadow:
        inset -6px 0 0 var(--color-red-dark),
        inset 0 -6px 0 #880000;
    position: relative;
}

.ppc-helmet::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 4px;
    right: 4px;
    height: 8px;
    background-color: #888;
    border: 2px solid #555;
}

.ppc-body {
    width: 52px;
    height: 48px;
    background-color: var(--color-red);
    border: 3px solid var(--color-red-dark);
    margin-top: 8px;
    box-shadow: inset -6px 0 0 var(--color-red-dark);
    position: relative;
}

.ppc-body::before {
    content: '7';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    color: var(--color-white);
    line-height: 1;
    padding-top: 4px;
}

.ppc-legs {
    display: flex;
    gap: 4px;
    margin-top: 2px;
}

.ppc-legs::before,
.ppc-legs::after {
    content: '';
    display: block;
    width: 20px;
    height: 24px;
    background-color: #222;
    border: 2px solid #111;
}

/* ================================================
   OYUN PROMO
   ================================================ */

.game-promo-section {
    background: linear-gradient(135deg, #030010 0%, #060000 50%, #030010 100%);
    border-top: 4px solid #cc1111;
    border-bottom: 4px solid #cc1111;
    position: relative;
    z-index: 3;
    overflow: hidden;
}
.game-promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.12) 3px, rgba(0,0,0,.12) 4px);
    pointer-events: none;
    z-index: 0;
}
.game-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}
.game-promo-screen {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border: 4px solid #cc1111;
    background: #060000;
    box-shadow: 6px 6px 0 #660000, 0 0 40px rgba(204,17,17,.25);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gps-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.2) 3px, rgba(0,0,0,.2) 4px);
    pointer-events: none;
    z-index: 2;
}
.gps-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 12px;
    z-index: 1;
}
.gps-badge {
    font-family: 'Press Start 2P', monospace;
    font-size: 5px;
    color: #cc1111;
    border: 1px solid #cc1111;
    padding: 3px 6px;
    letter-spacing: 1px;
}
.gps-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 18px;
    color: #fff;
    text-shadow: 3px 3px 0 #cc1111, 5px 5px 0 #550000;
    line-height: 1.5;
}
.gps-sub {
    font-family: 'Press Start 2P', monospace;
    font-size: 5px;
    color: #ff9999;
    line-height: 2;
}
.gps-stats {
    display: flex;
    gap: 8px;
    font-family: 'Press Start 2P', monospace;
    font-size: 5px;
    color: #ffcc00;
}
.gps-cursor {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: #cc1111;
}
.game-promo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.game-promo-desc {
    font-size: 7px;
    color: var(--color-off-white);
    line-height: 2.6;
    letter-spacing: 1px;
}
.game-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.game-feature-list li {
    font-size: 6px;
    color: #ffcc00;
    line-height: 2;
    letter-spacing: 0.5px;
}
@media (max-width: 700px) {
    .game-promo-inner { flex-direction: column; gap: 24px; }
    .game-promo-screen { width: 160px; height: 160px; }
    .gps-title { font-size: 14px; }
}

/* ================================================
   SON HABERLER
   ================================================ */

.news-section {
    background-color: #0a0000;
    border-top: 4px solid var(--color-red-dark);
}

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

/* ---- Haber Kartı ---- */

.news-card {
    background-color: #150000;
    border: 3px solid var(--color-gray);
    display: flex;
    flex-direction: column;
    transition: none;
}

.news-card:hover {
    border-color: var(--color-red);
    box-shadow: 4px 4px 0 0 var(--color-red-dark);
    transform: translate(-2px, -2px);
}

/* Haber görseli */
.news-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 3px solid var(--color-gray);
    flex-shrink: 0;
}

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

.news-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--color-red-dark);
}

/* Haber metin alanı */
.news-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.news-date {
    font-size: 7px;
    color: var(--color-red);
    letter-spacing: 2px;
}

.news-title {
    font-size: 9px;
    color: var(--color-white);
    line-height: 2;
    letter-spacing: 1px;
}

.news-excerpt {
    font-size: 7px;
    color: var(--color-off-white);
    line-height: 2.4;
    letter-spacing: 1px;
    flex: 1;
}

.news-card .btn-pixel--small {
    align-self: flex-start;
    margin-top: auto;
}

/* ================================================
   SCOREBOARD PROMO SECTION
   ================================================ */

.scoreboard-promo-section {
    background-color: #050000;
    border-top: 4px solid #330000;
    border-bottom: 4px solid #330000;
    position: relative;
    z-index: 3;
}

.scoreboard-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.scoreboard-promo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sahte LED rakam bloğu */
.scoreboard-promo-nums {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.spn-block {
    font-size: clamp(24px, 3vw, 42px);
    color: #ff0000;
    background-color: #000;
    border: 3px solid #330000;
    padding: 8px 14px;
    letter-spacing: 4px;
    box-shadow:
        0 0 8px #ff0000,
        0 0 20px rgba(255,0,0,.3),
        4px 4px 0 #220000;
    animation: sb-flicker 3s step-end infinite;
}

.spn-sep {
    font-size: clamp(20px, 2.5vw, 36px);
    color: #ff0000;
    text-shadow: 0 0 8px #ff0000;
    animation: blink 1s step-end infinite;
}

/* ================================================
   FOOTER
   ================================================ */

.site-footer {
    background-color: #080000;
    border-top: 6px solid var(--color-red);
    box-shadow: 0 -4px 0 0 var(--color-red-dark);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

/* ---- Sütun 1: Marka ---- */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-desc {
    font-size: 7px;
    color: var(--color-off-white);
    line-height: 2.4;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-federation {
    font-size: 6px;
    color: var(--color-gray);
    line-height: 2.2;
    letter-spacing: 1px;
    border-left: 3px solid var(--color-red-dark);
    padding-left: 12px;
}

/* ---- Sütunlar: Başlık + Linkler ---- */

.footer-heading {
    font-size: 8px;
    color: var(--color-red);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-heading--social {
    margin-top: 32px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 7px;
    color: var(--color-off-white);
    letter-spacing: 1px;
    line-height: 1;
    transition: none;
}

.footer-links a:hover {
    color: var(--color-red-light);
}

/* ---- Alt Çizgi ---- */

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px;
    border-top: 3px solid var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 6px;
    color: var(--color-gray);
    letter-spacing: 2px;
}

.footer-top-btn {
    font-size: 7px;
    color: var(--color-white);
    background-color: var(--color-red-dark);
    padding: 8px 14px;
    border: 2px solid var(--color-red);
    letter-spacing: 2px;
    transition: none;
}

.footer-top-btn:hover {
    background-color: var(--color-red);
    box-shadow: 2px 2px 0 0 var(--color-red-dark);
}

/* ================================================
   HAMBURGER NAV — Mobile
   ================================================ */

@media (max-width: 820px) {

    .header-inner {
        padding: 12px 20px;
    }

    .logo-img {
        width: 64px;
        height: 64px;
    }

    .logo-text {
        font-size: 10px;
    }

}

/* ================================================
   TIME PROMO SECTION
   ================================================ */

.time-promo-section {
    background: #050003;
    border-top: 4px solid var(--color-red-dark);
    border-bottom: 4px solid var(--color-red-dark);
    position: relative;
    overflow: hidden;
}

.time-promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204,17,17,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204,17,17,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.time-promo-inner {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 72px 0;
}

.time-promo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.time-promo-title {
    font-size: clamp(26px, 4vw, 50px);
    color: var(--color-white);
    letter-spacing: 4px;
    text-shadow: 4px 4px 0 var(--color-red), 8px 8px 0 var(--color-red-dark);
    line-height: 1.3;
}

.time-promo-accent { color: var(--color-red-light); }

.time-promo-desc {
    font-size: 8px;
    color: var(--color-off-white);
    letter-spacing: 2px;
    line-height: 2.4;
}

.time-promo-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tpf-item {
    font-size: 7px;
    color: #888;
    letter-spacing: 1px;
    padding-left: 16px;
    border-left: 3px solid var(--color-red-dark);
    line-height: 2;
}

.time-promo-btn {
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    color: var(--color-white);
    background: var(--color-red);
    border: 4px solid var(--color-white);
    padding: 16px 28px;
    box-shadow: 6px 6px 0 var(--color-red-dark);
    letter-spacing: 2px;
    text-decoration: none;
    align-self: flex-start;
    transition: none;
    animation: promo-btn-pulse 2.5s step-end infinite;
}

@keyframes promo-btn-pulse {
    0%, 85%  { box-shadow: 6px 6px 0 var(--color-red-dark); }
    87%      { box-shadow: 6px 6px 0 var(--color-red-dark), 0 0 24px var(--color-red); }
    89%      { box-shadow: 6px 6px 0 var(--color-red-dark); }
    91%      { box-shadow: 6px 6px 0 var(--color-red-dark), 0 0 24px var(--color-red); }
    93%      { box-shadow: 6px 6px 0 var(--color-red-dark); }
}

.time-promo-btn:hover {
    background: var(--color-red-light);
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--color-red-dark);
}

/* ── Telefon görseli ── */
.time-promo-visual {
    position: relative;
    flex-shrink: 0;
    z-index: 2;
}

.tp-phone {
    width: 200px;
    background: #08000a;
    border: 4px solid var(--color-red);
    box-shadow: 8px 8px 0 #000;
    overflow: hidden;
    animation: phone-glow 3s ease-in-out infinite;
}

@keyframes phone-glow {
    0%, 100% { box-shadow: 8px 8px 0 #000, 0 0 16px rgba(204,17,17,0.2); }
    50%       { box-shadow: 8px 8px 0 #000, 0 0 36px rgba(204,17,17,0.55); }
}

.tp-phone-top {
    background: var(--color-red-dark);
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--color-red);
}

.tp-phone-cam {
    width: 7px;
    height: 7px;
    background: #330000;
    border: 1px solid var(--color-red);
    border-radius: 50%;
    flex-shrink: 0;
}

.tp-phone-title {
    font-size: 6px;
    color: var(--color-white);
    letter-spacing: 2px;
}

.tp-phone-screen {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.tp-feed {
    display: flex;
    flex-direction: column;
    animation: feed-scroll 9s linear infinite;
}

@keyframes feed-scroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.tp-post {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid #1a0000;
    background: #08000a;
    flex-shrink: 0;
}

.tp-post-av {
    width: 26px;
    height: 26px;
    border: 2px solid var(--color-red-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: var(--color-white);
    font-family: 'Press Start 2P', monospace;
    flex-shrink: 0;
}

.tp-av--red   { background: var(--color-red-dark); }
.tp-av--blue  { background: #001a33; border-color: #003366; }
.tp-av--green { background: #003300; border-color: #006600; }

.tp-post-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.tp-post-name {
    font-size: 5px;
    color: var(--color-white);
    letter-spacing: 1px;
}

.tp-post-text {
    font-size: 5px;
    color: #777;
    letter-spacing: 1px;
    line-height: 1.8;
}

.tp-post-img {
    height: 48px;
    border: 1px solid #1a0018;
}

.tp-img--field {
    background: linear-gradient(to right, #5a0000 28px, #002200 28px, #002200 calc(100% - 28px), #5a0000 calc(100% - 28px));
}

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

.tp-heart, .tp-comment {
    font-size: 5px;
    color: #555;
    letter-spacing: 1px;
}

.tp-heart--liked { color: #ff4444; }

/* ── Yüzen elementler ── */
.tp-float {
    position: absolute;
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.tp-float--1 { bottom: 30%; right: -24px; color: #ff4444; animation: tp-float 3.5s ease-out 0s infinite; }
.tp-float--2 { bottom: 15%; right: -28px; font-size: 22px; animation: tp-float 3.5s ease-out 1.2s infinite; }
.tp-float--3 { bottom: 50%; right: -20px; animation: tp-float 3.5s ease-out 2.2s infinite; }
.tp-float--4 { bottom: 40%; left: -24px; color: #ffcc00; font-size: 16px; animation: tp-float 3.5s ease-out 0.7s infinite; }

@keyframes tp-float {
    0%   { opacity: 0; transform: translateY(0)   scale(0.6); }
    15%  { opacity: 1; transform: translateY(-8px) scale(1); }
    80%  { opacity: 1; transform: translateY(-40px) scale(1); }
    100% { opacity: 0; transform: translateY(-60px) scale(0.6); }
}

@media (max-width: 768px) {
    .time-promo-inner { flex-direction: column; gap: 40px; padding: 48px 0; }
    .tp-phone { width: 100%; max-width: 260px; }
    .tp-phone-screen { height: 240px; }
    .time-promo-btn { align-self: center; }
}

@media (max-width: 820px) {

    .site-nav {
        width: 100%;
        right: auto;
        left: 0;
    }
}

/* ================================================
   MOBILE RESPONSIVE — Ana Sayfa
   ================================================ */

@media (max-width: 768px) {

    /* Bölüm iç padding azalt */
    .section-inner {
        padding: 48px 20px;
    }

    /* ── Hero ── */
    .hero-inner {
        flex-direction: column;
        padding: 48px 20px;
        gap: 32px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 8px;
    }

    .weekly-pixel__frame img {
        max-width: 220px;
        max-height: 260px;
    }

    /* ── Takımlar ── */
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* ── Avatar Promo ── */
    .avatar-promo-inner {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    /* ── Scoreboard Promo ── */
    .scoreboard-promo-inner {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .scoreboard-promo-nums {
        justify-content: center;
    }

    /* ── Haberler ── */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ── Footer ── */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 20px 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 20px;
    }
}

/* Çok küçük ekranlarda takımlar 1 sütun */
@media (max-width: 420px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(28px, 10vw, 48px);
    }
}
