/* ==========================================================================
   SERVET 2 - TANITIM İNDEKSİ
   Sayfa Düzeni: Sol Sabit Butonlar & Discord, Orta 850px Tanıtım, Sağ "Bölümler"
   Renk Paleti: Kırmızı (#e61c24 / #9b111e), Beyaz (#ffffff), Siyah / Koyu (#0c0c10)
   ========================================================================== */

:root {
    --red-primary: #e61c24;
    --red-deep: #9b111e;
    --red-dark: #5c070d;
    --red-glow: rgba(230, 28, 36, 0.6);
    --gold-bright: #ffea79;
    --gold-main: #d4af37;
    --gold-dark: #8a6508;
    --white: #ffffff;
    --white-soft: #f1f5f9;
    --text-muted: #94a3b8;
    --discord-blue: #5865F2;
    --discord-dark: #111217;
    --discord-card-bg: #18191f;
    --slide-width: 850px;
    --side-gap: 36px;
    --left-col-width: 270px;
    --right-col-width: 250px;
    --discord-width: 250px;
    --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Temel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url('../img/bg.png');
    background-repeat: repeat-y;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    background-color: #d1d5db;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Partikül Tuvali (Hareketli Kırmızı & Beyaz Közler) */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   AÇILIŞ KAPAK / HERO BÖLÜMÜ STİLLERİ (1-99 HARDSCHOOL & SERVET 2)
   ========================================================================== */
/* ==========================================================================
   AÇILIŞ KAPAK / HERO BÖLÜMÜ STİLLERİ (1-99 HARDSCHOOL & SERVET 2)
   ========================================================================== */
body.hero-page {
    background-color: #0b0504;
    background-image: none;
    min-height: 100vh;
    min-height: 100dvh;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: url('../img/açılış bg.png') center top / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 24px 28px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    z-index: 3;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.05) 0%, rgba(10, 5, 5, 0.5) 100%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 22%, transparent 72%, rgba(10, 6, 6, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Üst Alan: 1-99 Rozeti & Açılış Tarihi (Üst Ortada Şık Yatay Taç Şeridi - Karakterlerin Yüzünü Kapatmaz) */
.hero-header-group {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    background: linear-gradient(180deg, rgba(32, 14, 10, 0.94) 0%, rgba(16, 7, 5, 0.96) 100%);
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 40px;
    padding: 6px 18px 6px 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    white-space: nowrap;
}

/* 1-99 Level Rozeti (Şerit İçi Sol Bölüm) */
.hero-badge-pill {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 14px 0 0;
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffd875;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid rgba(212, 175, 55, 0.35);
    margin: 0;
}

.hero-badge-pill i {
    color: #e61c24;
}

/* Açılış Kartı (Şerit İçi Sağ Bölüm) */
.hero-opening-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.hero-opening-date-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-right: 1px solid rgba(212, 175, 55, 0.35);
    padding-right: 14px;
}

.hero-card-subtitle {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 1.5px;
    color: #e6b85c;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
}

.hero-opening-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.12rem;
    font-weight: 900;
    color: #fff2c6;
    letter-spacing: 1.2px;
    text-shadow: 0 0 12px rgba(255, 215, 100, 0.6), 0 2px 4px #000;
    line-height: 1.1;
    margin: 2px 0 0;
}

.hero-opening-day {
    display: none;
}

/* Canlı Sayaç (Yatay Şerit İçi) */
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.countdown-item {
    background: rgba(10, 5, 4, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 6px;
    padding: 2px 7px 1px;
    min-width: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffd875;
    line-height: 1;
}

.countdown-label {
    font-size: 0.48rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.8px;
    margin-top: 2px;
}

.countdown-sep {
    font-size: 1rem;
    font-weight: 900;
    color: #d4af37;
    animation: colonPulse 1.5s infinite;
}

@keyframes colonPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Logo Alanı (Kullanıcının Belirttiği Alana Tam Ortalanmış & Orantılı Büyütülmüş) */
.hero-logo-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 760px;
    pointer-events: none;
}

.logo-ambient-glow {
    position: absolute;
    width: 680px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(230, 28, 36, 0.6) 0%, rgba(212, 175, 55, 0.35) 45%, transparent 75%);
    filter: blur(45px);
    pointer-events: none;
    z-index: -1;
    animation: glowBreath 4s ease-in-out infinite alternate;
}

@keyframes glowBreath {
    0% { transform: scale(0.92); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0.95; }
}

.hero-logo-img {
    max-width: 660px;
    width: 92%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 32px rgba(230, 28, 36, 0.65));
    transform: none;
    pointer-events: auto;
}

/* Alt Aksiyon Çubuğu (Taş Zemin Üzerinde) */
.hero-action-bar {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1360px;
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1fr;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 12px;
}

.hero-stat-pill {
    background: linear-gradient(180deg, #2b140c 0%, #150904 100%);
    border: 1px solid #734f10;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffd875;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 18px rgba(0, 0, 0, 0.6);
}

.hero-stat-pill i {
    font-size: 1.6rem;
    color: #ffea79;
    filter: drop-shadow(0 0 8px rgba(255, 234, 121, 0.6));
}

.hero-stat-content {
    display: flex;
    flex-direction: column;
}

.hero-stat-content strong {
    font-size: 0.96rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.hero-stat-content span {
    font-size: 0.68rem;
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Aksiyon Butonları */
.hero-btn {
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 1px;
    transition: var(--transition);
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

/* Tanıtımı İncele (Öne Çıkan Altın Düğme - Sade Montserrat Fontu) */
.hero-btn.btn-explore {
    background: linear-gradient(180deg, #ffd875 0%, #d4af37 40%, #8a6508 100%);
    color: #2b1104;
    border: 1px solid #ffe685;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: exploreBtnGlow 2.5s infinite alternate;
}

@keyframes exploreBtnGlow {
    0% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); transform: scale(1); }
    100% { box-shadow: 0 0 30px rgba(255, 215, 100, 0.85); transform: scale(1.02); }
}

.hero-btn.btn-explore:hover {
    background: linear-gradient(180deg, #fff0aa 0%, #e6be44 40%, #9e750f 100%);
    transform: translateY(-2px) scale(1.03);
}

.hero-btn.btn-register {
    background: linear-gradient(180deg, #6e1319 0%, #4a090e 100%);
    border: 1px solid #9e1f27;
    color: #ffdbb5;
}

.hero-btn.btn-register:hover {
    background: linear-gradient(180deg, #9b1a23 0%, #6e1319 100%);
    border-color: #e61c24;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(230, 28, 36, 0.7);
    transform: translateY(-2px);
}

.hero-btn.btn-home {
    background: linear-gradient(180deg, #2b1810 0%, #170c07 100%);
    border: 1px solid #6b4317;
    color: #ffd875;
}

.hero-btn.btn-home:hover {
    background: linear-gradient(180deg, #422519 0%, #2b1810 100%);
    border-color: #d4af37;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.hero-btn.btn-discord {
    background: linear-gradient(180deg, #5865F2 0%, #3e48b8 100%);
    border: 1px solid #7983f5;
    color: #ffffff;
}

.hero-btn.btn-discord:hover {
    background: linear-gradient(180deg, #6976f7 0%, #4752c4 100%);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.7);
    transform: translateY(-2px);
}

/* Alt Bilgi Bandı (Design by Jarvıs & Canlı Sayaç Durumu) */
.hero-sub-bar {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1360px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-status-pill {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ff5252;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2a34;
    box-shadow: 0 0 10px #ff2a34;
    display: inline-block;
    animation: livePulse 1.8s infinite;
}

.hero-credits {
    display: flex;
    align-items: center;
}

.jarvis-credit {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffd875;
    letter-spacing: 0.8px;
    background: rgba(18, 10, 8, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    text-transform: none; /* 'ı' harfini aynen korur */
}

/* Ana Sayfa Taşıyıcı Izgarası (3 Kolonlu Düzen) */
.page-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ==========================================================================
   SOL KOLON: BUTONLAR (SOL TARAFA ÇEKİLMİŞ & SABİT)
   ========================================================================== */
.left-sidebar {
    position: fixed;
    top: 24px;
    left: max(20px, calc(50vw - (var(--slide-width) / 2) - var(--left-col-width) - var(--side-gap)));
    width: var(--left-col-width);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Yan Panellerin Görünürlük Kontrolü (Tanıtım Sayfasında Doğrudan Açık, Hero Sayfasında Kaydırınca Belirir) */
body.tanitim-page .left-sidebar,
body.tanitim-page .right-sidebar,
body.tanitim-page .discord-widget-card,
body.scrolled-past-hero .left-sidebar,
body.scrolled-past-hero .right-sidebar,
body.scrolled-past-hero .discord-widget-card {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Butonlar Grubu */
.buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.main-action-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.main-action-link img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
    transition: var(--transition);
}

.main-action-link:hover {
    transform: translateY(-3px) scale(1.025);
}

.main-action-link:hover img {
    filter: drop-shadow(0 8px 22px rgba(230, 28, 36, 0.7)) brightness(1.08);
}

.main-action-link:active {
    transform: translateY(1px) scale(0.98);
}

/* ==========================================================================
   SOL ALT: DİSCORD KARTI (KÜÇÜLTÜLMÜŞ & SOL ALTA SABİTLENMİŞ)
   ========================================================================== */
.discord-widget-card {
    position: fixed;
    bottom: 24px;
    left: max(20px, calc(50vw - (var(--slide-width) / 2) - var(--left-col-width) - var(--side-gap)));
    width: var(--discord-width);
    background: rgba(17, 18, 24, 0.95);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(88, 101, 242, 0.15);
    overflow: hidden;
    backdrop-filter: blur(12px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.discord-widget-card::before {
    content: '';
    position: absolute;
    top: -35px;
    right: -35px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

/* Discord Başlık */
.discord-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    user-select: none;
}

.discord-avatar-badge {
    width: 32px;
    height: 32px;
    background: var(--discord-blue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(88, 101, 242, 0.45);
    flex-shrink: 0;
}

.discord-avatar-badge svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.discord-title-box {
    flex: 1;
}

.discord-title-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.90rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
    line-height: 1.1;
}

.discord-title-box span {
    font-size: 0.65rem;
    color: #949ba4;
    font-weight: 500;
}

.discord-toggle-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #949ba4;
    font-size: 0.70rem;
    transition: var(--transition);
}

.discord-toggle-indicator:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Küçültülmüş / Katlanmış Durum */
.discord-widget-card.collapsed .discord-toggle-indicator i {
    transform: rotate(180deg);
}

.discord-widget-card.collapsed .discord-card-desc,
.discord-widget-card.collapsed .discord-stats-row,
.discord-widget-card.collapsed .discord-features-list {
    display: none;
}

.discord-widget-card.collapsed {
    padding-bottom: 10px;
}

/* Discord Açıklama */
.discord-card-desc {
    color: #dbdee1;
    font-size: 0.70rem;
    line-height: 1.35;
    margin-bottom: 8px;
    font-weight: 500;
}

/* İstatistik Kutuları */
.discord-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.discord-stat-box {
    background: #181920;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 5px 8px;
}

.discord-stat-val {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 2px;
}

.online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #23a55a;
    box-shadow: 0 0 6px #23a55a;
    display: inline-block;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.discord-stat-lbl {
    font-size: 0.58rem;
    color: #949ba4;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Özellik Maddeleri */
.discord-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.discord-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    color: #dbdee1;
    font-weight: 500;
}

.discord-feature-item i {
    color: #5865F2;
    font-size: 0.72rem;
    width: 14px;
    text-align: center;
}

/* Discord'a Katıl Butonu */
.discord-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--discord-blue);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(88, 101, 242, 0.4);
    transition: var(--transition);
}

.discord-join-btn svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.discord-join-btn:hover {
    background: #4752c4;
    box-shadow: 0 5px 18px rgba(88, 101, 242, 0.65);
    transform: translateY(-2px);
}

.discord-join-btn:active {
    transform: translateY(1px);
}

/* ==========================================================================
   ORTA KOLON: 850PX KESİNTİSİZ TANITIM AFİŞLERİ DİZİSİ
   (Çizgiler ve Boşluklar Tamamen Yok Edildi)
   ========================================================================== */
.center-presentation {
    width: var(--slide-width);
    margin: 0 auto;
    flex-shrink: 0;
    display: block;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.55);
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    position: relative;
    z-index: 5;
    font-size: 0;
    line-height: 0;
}

.slide-block {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
    font-size: 0;
    scroll-margin-top: 15px;
}

#bolum-01 {
    scroll-margin-top: 0;
}

/* Resimler arasındaki 1px subpixel ve raster çizgilerini yok eden 3px örtüşme (overlap) */
.slide-block + .slide-block {
    margin-top: -3px;
}

.slide-block img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    vertical-align: top;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ==========================================================================
   SAĞ KOLON: "BÖLÜMLER" TABELASI (SAĞ TARAFA ÇEKİLMİŞ & SABİT)
   ========================================================================== */
.right-sidebar {
    position: fixed;
    top: 24px;
    right: max(20px, calc(50vw - (var(--slide-width) / 2) - var(--right-col-width) - var(--side-gap)));
    width: var(--right-col-width);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.bolumler-board {
    background: linear-gradient(180deg, #1f140e 0%, #150c07 100%);
    border: 2px solid #8b6508;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    position: relative;
}

/* Ahşap / Parşömen Dokusu & Asma Çengelleri */
.board-header {
    background: radial-gradient(circle at 50% 30%, #e8bc70 0%, #c4943f 45%, #8a5e17 100%);
    border-bottom: 2px solid #4a300a;
    padding: 12px 14px 10px;
    text-align: center;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 8px rgba(0, 0, 0, 0.6);
}

.board-header::before,
.board-header::after {
    content: '';
    position: absolute;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #362208;
    border: 1px solid #d4af37;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px #000;
}

.board-header::before { left: 14px; }
.board-header::after { right: 14px; }

.board-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #4a1205;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    margin: 0;
}

.board-divider {
    height: 2px;
    width: 70%;
    margin: 4px auto 0;
    background: linear-gradient(90deg, transparent, #6b220a, transparent);
}

/* Bölümler Listesi (Kaydırılabilir) */
.bolumler-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    background: rgba(10, 6, 4, 0.7);
}

/* Şık Özel Kaydırma Çubuğu */
.bolumler-list::-webkit-scrollbar {
    width: 5px;
}

.bolumler-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}

.bolumler-list::-webkit-scrollbar-thumb {
    background: #8b6508;
    border-radius: 3px;
}

.bolumler-list::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Bölüm Sekmesi (4. Görseldeki Kırmızı Plaka Stili) */
.bolum-tab {
    display: flex;
    align-items: center;
    position: relative;
    padding: 7px 8px 7px 10px;
    background: linear-gradient(180deg, #8a0c14 0%, #5e050b 50%, #3d0206 100%);
    border: 1px solid #734f10;
    border-radius: 4px;
    color: #ffd875;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 4px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
    text-shadow: 1px 1px 2px #000;
}

.bolum-tab:hover {
    background: linear-gradient(180deg, #b81420 0%, #800a12 50%, #4f0309 100%);
    border-color: #d4af37;
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 0 10px rgba(230, 28, 36, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Aktif Durum (Sayfada o an görünen bölüm) */
.bolum-tab.active {
    background: linear-gradient(180deg, #d90429 0%, #9e031c 50%, #600110 100%);
    border-color: #ffe675;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 42, 52, 0.8), inset 0 1px 0 #fff;
    font-weight: 800;
}

/* Aktif Gösterge Noktası (4. Görseldeki Sarı Işıklı Nokta) */
.bolum-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    margin-right: 8px;
    flex-shrink: 0;
    transition: var(--transition);
}

.bolum-tab.active .bolum-dot {
    background: #ffea79;
    box-shadow: 0 0 8px #ffea79, 0 0 14px #ffea79;
    animation: dotPulse 1.5s infinite alternate;
}

@keyframes dotPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; }
}

.bolum-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tabela Alt Bitiş */
.board-footer {
    background: radial-gradient(circle at 50% 100%, #c4943f 0%, #63410a 100%);
    border-top: 1px solid #4a300a;
    height: 12px;
}

/* ==========================================================================
   YUKARI ÇIK BUTONU
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c0507, #4d0a10);
    border: 2px solid var(--red-primary);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(230, 28, 36, 0.5);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--red-primary);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(230, 28, 36, 0.9);
}

/* ==========================================================================
   RESPONSIVE / EKRAN UYUMLULUĞU
   ========================================================================== */
@media (max-width: 1480px) {
    :root {
        --side-gap: 20px;
        --left-col-width: 250px;
        --right-col-width: 220px;
        --discord-width: 240px;
    }
}

@media (max-width: 1360px) {
    .hero-header-group {
        left: 50%;
        top: 12px;
        transform: translateX(-50%) scale(0.88);
        transform-origin: top center;
    }

    .hero-logo-wrapper {
        top: 48%;
    }

    .hero-logo-img {
        max-width: 500px;
    }

    .hero-action-bar {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .hero-stat-pill {
        padding: 8px 10px;
    }

    .hero-stat-pill strong {
        font-size: 0.82rem;
    }

    .hero-stat-pill span {
        font-size: 0.58rem;
    }

    .hero-btn {
        padding: 10px 10px;
        font-size: 0.78rem;
    }

    .page-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .left-sidebar {
        position: static;
        width: 100%;
        max-width: var(--slide-width);
        margin: 0 auto 16px;
        opacity: 1;
        pointer-events: all;
        transform: none;
    }

    .buttons-stack {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }

    .discord-widget-card {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 999;
    }

    .right-sidebar {
        display: none;
    }
}

@media (max-width: 890px) {
    /* Açılış / Hero Sayfası Mobilde Tam Ekran & Karakterlerin Yüzü Tamamen Açık */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding: 28vh 14px 14px;
        justify-content: flex-end;
        background-position: center top;
        background-size: cover;
        box-sizing: border-box;
    }

    /* Mobilde Logo: Büyütülmüş, görkemli ve tam ortalanmış (Karakterin yüzünü asla kapatmaz) */
    .hero-logo-wrapper {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        order: 1;
        margin: 0 auto 8px;
        max-width: 295px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-logo-img {
        max-width: 280px;
        width: 95%;
        height: auto;
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 24px rgba(230, 28, 36, 0.65));
    }

    .logo-ambient-glow {
        width: 280px;
        height: 95px;
        filter: blur(28px);
    }

    /* Açılış & Sayaç Kutusu: Logonun hemen altında şık ve kompakt (Karakterlerin yüzüne ASLA gelmez) */
    .hero-header-group {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        order: 2;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 8px;
        flex-direction: column;
        border-radius: 12px;
        padding: 6px 12px;
        gap: 4px;
        white-space: normal;
        background: rgba(18, 8, 6, 0.94);
        border: 1px solid rgba(212, 175, 55, 0.55);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85), 0 0 15px rgba(212, 175, 55, 0.15);
    }

    .hero-badge-pill {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.25);
        padding-bottom: 4px;
        font-size: 0.64rem;
        width: 100%;
        justify-content: center;
        letter-spacing: 0.6px;
    }

    .hero-opening-card {
        flex-direction: column;
        gap: 3px;
        width: 100%;
    }

    .hero-opening-date-wrap {
        border-right: none;
        padding-right: 0;
        align-items: center;
        text-align: center;
    }

    .hero-card-subtitle {
        font-size: 0.52rem;
        letter-spacing: 1px;
    }

    .hero-opening-date {
        font-size: 1.15rem;
        letter-spacing: 0.8px;
        margin: 1px 0 0;
    }

    .countdown-timer {
        gap: 3px;
        width: 100%;
        justify-content: center;
    }

    .countdown-item {
        min-width: 38px;
        padding: 2px 4px 1px;
        border-radius: 5px;
    }

    .countdown-num {
        font-size: 0.90rem;
    }

    .countdown-label {
        font-size: 0.42rem;
    }

    .countdown-sep {
        font-size: 0.84rem;
    }

    /* Aksiyon Butonları: Mobilde 2 Kolonlu Simetrik Düzen */
    .hero-action-bar {
        order: 3;
        width: 100%;
        max-width: 380px;
        margin: 0 auto 8px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .hero-btn.btn-explore {
        order: 1;
        grid-column: span 2;
        padding: 10px 14px;
        font-size: 0.84rem;
    }

    .hero-btn.btn-register {
        order: 2;
        padding: 8px 8px;
        font-size: 0.74rem;
        gap: 6px;
        justify-content: center;
    }

    .hero-btn.btn-discord {
        order: 3;
        padding: 8px 8px;
        font-size: 0.74rem;
        gap: 6px;
        justify-content: center;
    }

    .hero-btn.btn-home {
        order: 4;
        padding: 8px 8px;
        font-size: 0.74rem;
        gap: 6px;
        justify-content: center;
    }

    .hero-stat-pill {
        order: 5;
        grid-column: span 1;
        padding: 6px 8px;
        gap: 6px;
        justify-content: center;
    }

    .hero-stat-pill i {
        font-size: 1rem;
    }

    .hero-stat-content strong {
        font-size: 0.74rem;
    }

    .hero-stat-content span {
        font-size: 0.54rem;
    }

    /* Alt Bilgi Bandı: Mobilde Tek Satır */
    .hero-sub-bar {
        order: 4;
        width: 100%;
        max-width: 380px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        margin: 0 auto;
        padding-top: 4px;
    }

    /* ==========================================================================
       TANITIM SAYFASI MOBİL (890px ve altı):
       - Üstte Sabit (Sticky) Obsidian & Altın Menü Barı
       - 100% Tam Ekran, Sıfır Boşluk ve Taşmasız Afişler
       ========================================================================== */
    body.tanitim-page {
        overflow-x: hidden;
    }

    .page-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }

    .left-sidebar {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 998;
        width: 100%;
        max-width: 100%;
        margin: 0;
        background: linear-gradient(180deg, rgba(20, 10, 8, 0.98) 0%, rgba(12, 6, 5, 0.98) 100%);
        border-bottom: 2px solid #8b6508;
        padding: 6px 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.85);
    }

    .buttons-stack {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .main-action-link {
        flex: 1;
        max-width: 120px;
        display: flex;
        justify-content: center;
    }

    .main-action-link img {
        width: 100%;
        max-width: 120px;
        height: auto;
        display: block;
    }

    .center-presentation {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
        box-shadow: none;
        border-radius: 0;
        overflow: hidden;
    }

    .slide-block {
        width: 100% !important;
        max-width: 100% !important;
    }

    .slide-block img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    .discord-widget-card {
        position: fixed;
        bottom: 16px;
        left: 16px;
        width: auto;
        max-width: calc(100vw - 32px);
        padding: 8px 12px;
        border-radius: 12px;
        z-index: 999;
    }
}

@media (max-width: 380px) {
    .hero-section {
        padding: 24vh 10px 10px;
    }
    .hero-logo-wrapper {
        max-width: 245px;
    }
    .hero-logo-img {
        max-width: 235px;
    }
    .hero-action-bar {
        grid-template-columns: 1fr;
    }
    .hero-btn.btn-explore,
    .hero-stat-pill {
        grid-column: auto;
    }
    .hero-opening-date {
        font-size: 1.10rem;
    }
    .countdown-item {
        min-width: 36px;
        padding: 2px 3px 1px;
    }
    .hero-status-pill {
        font-size: 0.56rem;
    }
}
