/* ==========================================================================
   HİBRİT / NEOBRUTALİST WEBTOON GÖRSEL SİSTEMİ — icguveyi.com
   Denge: Yüksek Sosyal Medya Çekiciliği + Kusursuz Okunabilirlik & Tipografi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Permanent+Marker&family=Outfit:wght@700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    --manga-black: #05070b;
    --manga-ink: #000000;
    --manga-surface: #0a0f1d;
    --manga-panel: #0f172a;
    --manga-yellow: #fbbf24;
    --manga-red: #ff334b;
    --manga-cyan: #06b6d4;
    --manga-purple: #a855f7;
    --manga-emerald: #10b981;
    --manga-white: #ffffff;
    --font-manga-accent: 'Bangers', 'Outfit', sans-serif;
    --font-heading-bold: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-reading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 1. Global Gövde & Çok Hafif Screentone Zemin (Gözü Yormayan) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.025) 15%, transparent 16%),
                      radial-gradient(rgba(255, 255, 255, 0.025) 15%, transparent 16%);
    background-size: 18px 18px;
    background-position: 0 0, 9px 9px;
    pointer-events: none;
    z-index: 1;
}

/* 2. DENGELİ TİPOGRAFİ HİYERARŞİSİ */
/* Çizgi Roman Başlıkları (Sadece özel etiketler, sonuç unvanları ve SFX için) */
.font-manga {
    font-family: var(--font-manga-accent) !important;
    letter-spacing: 0.05em !important;
}

.font-manga-marker {
    font-family: 'Permanent Marker', 'Outfit', cursive, sans-serif !important;
}

/* Genel Başlıklar (Modern, Güçlü, Okunaklı Neobrutalist Manhwa Başlıkları) */
h1, h2, h3, h4, .font-heading, .font-brand {
    font-family: var(--font-heading-bold) !important;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Okuma Metinleri, İtiraflar, Paragraflar ve Açıklamalar (Kusursuz Okunabilirlik) */
body, p, li, .font-sans, .manga-reading-text, .text-reading {
    font-family: var(--font-reading) !important;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

/* 3. Neobrutalist Webtoon Kartları (.glass-card) */
.glass-card {
    border: 2.5px solid #000000 !important;
    box-shadow: 5px 5px 0px #000000 !important;
    background: #0a0f1d !important;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    border-radius: 16px;
}

.glass-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 7px 7px 0px #000000 !important;
}

/* 4. Neobrutalist Manga Panelleri */
.manga-panel {
    position: relative;
    background: #090e1a;
    border: 3px solid #000000 !important;
    box-shadow: 6px 6px 0px #000000 !important;
    overflow: hidden;
    border-radius: 20px;
}

.manga-panel-header {
    background: #000000;
    color: #fbbf24;
    padding: 8px 16px;
    font-family: var(--font-manga-accent);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2.5px solid #000000;
}

/* 5. Neobrutalist Blok Kutular */
.manga-box {
    border: 2.5px solid #000000 !important;
    box-shadow: 4px 4px 0px #000000 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.manga-box-lg {
    border: 3.5px solid #000000 !important;
    box-shadow: 7px 7px 0px #000000 !important;
}

.manga-box-amber {
    border: 2.5px solid #000000 !important;
    box-shadow: 4px 4px 0px #fbbf24 !important;
}

.manga-box-red {
    border: 2.5px solid #000000 !important;
    box-shadow: 4px 4px 0px #ff334b !important;
}

.manga-box-cyan {
    border: 2.5px solid #000000 !important;
    box-shadow: 4px 4px 0px #06b6d4 !important;
}

/* 6. Neobrutalist Webtoon Aksiyon Butonları */
.manga-btn {
    border: 2.5px solid #000000 !important;
    box-shadow: 4px 4px 0px #000000 !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
    user-select: none;
    font-family: var(--font-manga-accent);
    letter-spacing: 0.05em;
    cursor: pointer;
}

.manga-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 6px 6px 0px #000000 !important;
}

.manga-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000000 !important;
}

/* 7. Rozetler & Patlama Etiketleri (Blast Tags) */
.manga-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-family: var(--font-manga-accent);
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0px #000000 !important;
    border-radius: 6px;
    transform: rotate(-1.5deg);
    line-height: 1.2;
}

.manga-badge.rotate-r {
    transform: rotate(2deg);
}

.manga-badge-yellow {
    background-color: #fbbf24 !important;
    color: #000000 !important;
}

.manga-badge-red {
    background-color: #ff334b !important;
    color: #ffffff !important;
}

.manga-badge-cyan {
    background-color: #06b6d4 !important;
    color: #000000 !important;
}

.manga-badge-purple {
    background-color: #a855f7 !important;
    color: #ffffff !important;
}

.manga-badge-emerald {
    background-color: #10b981 !important;
    color: #000000 !important;
}

/* 8. Webtoon Konuşma Baloncuğu (Speech Bubble) — Temiz & Rahat Okunur */
.manga-speech-bubble {
    position: relative;
    background: #0d1527;
    border: 2.5px solid #000000 !important;
    box-shadow: 4px 4px 0px #000000 !important;
    border-radius: 18px;
    font-family: var(--font-reading) !important;
    color: #e2e8f0;
}

.manga-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 32px;
    border-width: 13px 11px 0;
    border-style: solid;
    border-color: #000000 transparent;
    display: block;
    width: 0;
}

.manga-speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 34px;
    border-width: 10px 9px 0;
    border-style: solid;
    border-color: #0d1527 transparent;
    display: block;
    width: 0;
    z-index: 1;
}

/* 9. Halftone Screentone Noktaları */
.manga-screentone-bg {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 15%, transparent 16%),
                      radial-gradient(rgba(255, 255, 255, 0.08) 15%, transparent 16%);
    background-size: 14px 14px;
    background-position: 0 0, 7px 7px;
}

/* 10. Anime RPG Stat Barları */
.manga-stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.manga-stat-label {
    width: 85px;
    font-family: var(--font-manga-accent);
    letter-spacing: 0.05em;
    color: #fbbf24;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.manga-stat-track {
    flex: 1;
    height: 14px;
    background: #000000;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.manga-stat-fill {
    height: 100%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-size: 14px 14px;
}

/* 11. Manga Anime SFX Görsel Patlama Popups */
@keyframes manga-sfx-anim {
    0% {
        transform: translate(-50%, -50%) scale(0.2) rotate(-20deg);
        opacity: 0;
    }
    40% {
        transform: translate(-50%, -50%) scale(1.25) rotate(8deg);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.05) rotate(-4deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0;
    }
}

.manga-sfx-bubble {
    position: absolute;
    pointer-events: none;
    z-index: 100;
    font-family: var(--font-manga-accent);
    font-size: 2.2rem;
    color: #fbbf24;
    text-shadow: 
        -2px -2px 0 #000,  
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         4px  4px 0 #ff334b;
    animation: manga-sfx-anim 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 12. Manga VS Ring Çemberi */
.manga-vs-circle {
    width: 68px;
    height: 68px;
    border-radius: 9999px;
    background: #000000;
    border: 3.5px solid #fbbf24;
    box-shadow: 4px 4px 0px #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-6deg);
    font-family: var(--font-manga-accent);
}

/* 13. Form Kontrolleri (Kullanılabilir, Temiz, Neobrutalist Odaklanma) */
input[type="text"], input[type="email"], input[type="number"], select, textarea {
    border: 2px solid #1e293b !important;
    background: #090e1a !important;
    border-radius: 12px;
    font-family: var(--font-reading) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: #fbbf24 !important;
    box-shadow: 3px 3px 0px #000000 !important;
}

/* 14. İtiraflar ve Metin Kartları İçin Optimize Tipografi */
.confession-text, .story-text, .quote-box {
    font-family: var(--font-reading) !important;
    font-size: 0.925rem;
    line-height: 1.7;
    color: #e2e8f0;
}
