/* ================================
   TANRILAR ARASI EKONOMİ
   Ana Stil Dosyası
   ================================ */

/* CSS Değişkenleri */
:root {
    /* Renkler */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-panel: rgba(18, 18, 26, 0.95);
    
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    
    --fear-color: #e74c3c;
    --love-color: #2ecc71;
    --justice-color: #5dade2;
    --war-color-faith: #e67e22;
    --fertility-color: #f39c12;
    
    --text-primary: #ecf0f1;
    --text-secondary: #95a5a6;
    --text-muted: #7f8c8d;
    
    --border-color: rgba(212, 175, 55, 0.3);
    --border-glow: rgba(212, 175, 55, 0.5);
    
    /* Tanrı Renkleri */
    --hel-color: #4a0e4e;
    --freyja-color: #d4a017;
    --themis-color: #5dade2;
    --ares-color: #c0392b;
    --umay-color: #27ae60;
    
    /* Gölgeler */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* Geçişler */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Fontlar */
    --font-title: 'Cinzel', serif;
    --font-body: 'Philosopher', sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ================================
   EKRAN YÖNETİMİ
   ================================ */
.screen {
    display: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

/* ================================
   BAŞLANGIÇ EKRANI
   ================================ */
#start-screen {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #1a1a2e 100%);
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Arka Plan Efektleri */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Yıldızlar */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 15%; animation-delay: 0.3s; }
.star:nth-child(3) { top: 5%; left: 25%; animation-delay: 0.6s; }
.star:nth-child(4) { top: 30%; left: 35%; animation-delay: 0.9s; }
.star:nth-child(5) { top: 15%; left: 45%; animation-delay: 1.2s; }
.star:nth-child(6) { top: 25%; left: 55%; animation-delay: 1.5s; }
.star:nth-child(7) { top: 8%; left: 65%; animation-delay: 1.8s; }
.star:nth-child(8) { top: 35%; left: 75%; animation-delay: 2.1s; }
.star:nth-child(9) { top: 12%; left: 85%; animation-delay: 2.4s; }
.star:nth-child(10) { top: 22%; left: 95%; animation-delay: 2.7s; }
.star:nth-child(11) { top: 65%; left: 8%; animation-delay: 0.2s; }
.star:nth-child(12) { top: 75%; left: 18%; animation-delay: 0.5s; }
.star:nth-child(13) { top: 58%; left: 28%; animation-delay: 0.8s; }
.star:nth-child(14) { top: 82%; left: 38%; animation-delay: 1.1s; }
.star:nth-child(15) { top: 70%; left: 48%; animation-delay: 1.4s; }
.star:nth-child(16) { top: 85%; left: 58%; animation-delay: 1.7s; }
.star:nth-child(17) { top: 68%; left: 68%; animation-delay: 2.0s; }
.star:nth-child(18) { top: 90%; left: 78%; animation-delay: 2.3s; }
.star:nth-child(19) { top: 72%; left: 88%; animation-delay: 2.6s; }
.star:nth-child(20) { top: 60%; left: 92%; animation-delay: 2.9s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 10px white; }
}

/* İnanç Parçacıkları */
.faith-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.faith-particle {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: floatParticle 15s ease-in-out infinite;
}

.faith-particle.fear { animation-delay: 0s; }
.faith-particle.love { animation-delay: 2s; }
.faith-particle.justice { animation-delay: 4s; }
.faith-particle.war { animation-delay: 6s; }
.faith-particle.fertility { animation-delay: 8s; }
.faith-particle:nth-child(6) { animation-delay: 10s; }
.faith-particle:nth-child(7) { animation-delay: 12s; }
.faith-particle:nth-child(8) { animation-delay: 14s; }
.faith-particle:nth-child(9) { animation-delay: 16s; }
.faith-particle:nth-child(10) { animation-delay: 18s; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        transform: translateY(50vh) translateX(100px) rotate(180deg);
        opacity: 0.7;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) translateX(-50px) rotate(360deg);
        opacity: 0;
    }
}

.faith-particle:nth-child(1) { left: 5%; }
.faith-particle:nth-child(2) { left: 20%; }
.faith-particle:nth-child(3) { left: 40%; }
.faith-particle:nth-child(4) { left: 60%; }
.faith-particle:nth-child(5) { left: 75%; }
.faith-particle:nth-child(6) { left: 90%; }
.faith-particle:nth-child(7) { left: 30%; }
.faith-particle:nth-child(8) { left: 55%; }

/* Kayan Semboller */
.floating-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-symbol {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: floatSymbol 20s ease-in-out infinite;
}

.floating-symbol:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-symbol:nth-child(2) { top: 40%; left: 85%; animation-delay: 3s; }
.floating-symbol:nth-child(3) { top: 70%; left: 15%; animation-delay: 6s; }
.floating-symbol:nth-child(4) { top: 30%; left: 75%; animation-delay: 9s; }
.floating-symbol:nth-child(5) { top: 60%; left: 50%; animation-delay: 12s; }
.floating-symbol:nth-child(6) { top: 80%; left: 70%; animation-delay: 15s; }

@keyframes floatSymbol {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.08;
    }
    25% {
        transform: translateY(-30px) rotate(10deg) scale(1.1);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-50px) rotate(0deg) scale(1.2);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-30px) rotate(-10deg) scale(1.1);
        opacity: 0.15;
    }
}

/* Işık Dalgaları */
.light-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transform: translate(-50%, -50%);
    animation: waveExpand 4s ease-out infinite;
}

.wave1 { animation-delay: 0s; }
.wave2 { animation-delay: 1.3s; }
.wave3 { animation-delay: 2.6s; }

@keyframes waveExpand {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.5;
    }
    100% {
        width: 1000px;
        height: 1000px;
        opacity: 0;
    }
}

.start-content {
    text-align: center;
    z-index: 10;
}

.title-container {
    margin-bottom: 60px;
}

.game-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.5),
        0 0 20px rgba(212, 175, 55, 0.3),
        0 0 40px rgba(212, 175, 55, 0.2);
    letter-spacing: 4px;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.5); }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 15px;
    font-style: italic;
    letter-spacing: 2px;
}

/* PEGI 12 Yaş Etiketi */
.pegi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(30, 30, 50, 0.7));
    border: 2px solid #e74c3c;
    border-radius: 8px;
    user-select: none;
}

.pegi-age {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    background: #e74c3c;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 1;
}

.pegi-text {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ccc;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.player-setup {
    margin-bottom: 40px;
}

.player-setup h2 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.player-count-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.count-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.count-btn:hover {
    border-color: var(--gold);
    transform: scale(1.1);
}

.count-btn.active {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

/* Butonlar */
.primary-btn {
    padding: 15px 40px;
    font-family: var(--font-title);
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.primary-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Parçacık Arka Plan */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

/* ================================
   TANRI SEÇİM EKRANI
   ================================ */
#god-selection-screen {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 40px;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.current-player-text {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.gods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    width: 100%;
}

.god-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.god-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.god-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

.god-card:hover::before {
    opacity: 1;
}

.god-card.selected {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--bg-card), rgba(212, 175, 55, 0.1));
}

.god-card.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.god-card[data-god="hel"] { --god-accent: var(--hel-color); }
.god-card[data-god="freyja"] { --god-accent: var(--freyja-color); }
.god-card[data-god="themis"] { --god-accent: var(--themis-color); }
.god-card[data-god="ares"] { --god-accent: var(--ares-color); }
.god-card[data-god="umay"] { --god-accent: var(--umay-color); }

.god-card:hover {
    border-color: var(--god-accent, var(--gold));
}

.god-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.god-card h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.god-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 15px;
}

.god-stats {
    text-align: left;
}

.stat {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-value {
    font-weight: 600;
}

.stat-value.bonus {
    color: var(--love-color);
}

.stat-value.negative,
.stat.negative .stat-value {
    color: var(--fear-color);
}

.name-input-container {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.name-input-container.hidden {
    display: none;
}

#player-name-input {
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    width: 250px;
    transition: border-color var(--transition-normal);
}

#player-name-input:focus {
    outline: none;
    border-color: var(--gold);
}

/* ================================
   ANA OYUN EKRANI
   ================================ */
#game-screen {
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Üst Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
}

.turn-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.turn-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.turn-number {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--gold);
}

.current-player-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

#active-player-name {
    font-family: var(--font-title);
    font-size: 1.2rem;
}

.god-badge {
    padding: 5px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.icon-btn {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all var(--transition-normal);
}

.icon-btn:hover {
    border-color: var(--gold);
    transform: scale(1.1);
}

/* Oyun Tahtası Container */
.game-board-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

/* Oyun Tahtası */
.game-board {
    width: min(90vw, 700px);
    height: min(90vw, 700px);
    position: relative;
    background: var(--bg-darker);
    border: 3px solid var(--border-color);
    border-radius: 10px;
}

/* Merkez - Kader Odası */
.board-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45%;
    height: 45%;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-darker));
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.fate-chamber {
    text-align: center;
}

.fate-scales {
    font-size: 3rem;
    animation: scaleFloat 4s ease-in-out infinite;
}

@keyframes scaleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(3deg); }
}

.fate-chamber h3 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--gold);
    margin-top: 10px;
}

/* Tahta Kareleri */
.board-tile {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    overflow: hidden;
}

.board-tile:hover {
    z-index: 10;
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

.board-tile .tile-icon {
    font-size: 1.2rem;
}

.board-tile .tile-name {
    font-size: 0.5rem;
    text-align: center;
    margin-top: 2px;
    color: var(--text-secondary);
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Medeniyet Fiyat Etiketi */
.board-tile .tile-cost {
    font-size: 0.45rem;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 3px;
    padding: 0px 3px;
    margin-top: 1px;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* Köşe Kareleri */
.board-tile.corner {
    width: 70px;
    height: 70px;
}

/* Kenar Kareleri */
.board-tile.edge {
    width: 48px;
    height: 70px;
}

.board-tile.edge.horizontal {
    width: 70px;
    height: 48px;
}

/* Kare Türü Renkleri */
.board-tile[data-type="civilization"] {
    border-top: 3px solid var(--fertility-color);
}

.board-tile[data-type="fate"] {
    border-top: 3px solid var(--justice-color);
}

.board-tile[data-type="oblivion"] {
    border-top: 3px solid var(--fear-color);
}

.board-tile[data-type="legend"] {
    border-top: 3px solid var(--hel-color);
}

.board-tile[data-type="temple"] {
    border-top: 3px solid var(--gold);
}

/* Oyuncu Pinleri */
.player-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    z-index: 20;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.player-pin.active {
    animation: pinPulse 1s ease-in-out infinite;
}

@keyframes pinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Oyuncu Paneli */
.players-panel {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    padding: 15px 25px;
    overflow-x: auto;
}

.players-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.player-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    min-width: 180px;
    transition: all var(--transition-normal);
}

.player-card.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

.player-card.oblivion {
    opacity: 0.5;
    filter: grayscale(0.8);
}

.player-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.player-pin-small {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
}

.player-card-name {
    font-family: var(--font-title);
    font-size: 1rem;
}

.player-god-type {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.faith-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faith-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.faith-bar-icon {
    font-size: 0.8rem;
    width: 20px;
}

.faith-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.faith-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width var(--transition-normal);
}

.faith-bar-fill.fear { background: var(--fear-color); }
.faith-bar-fill.love { background: var(--love-color); }
.faith-bar-fill.justice { background: var(--justice-color); }
.faith-bar-fill.war { background: var(--war-color-faith); }
.faith-bar-fill.fertility { background: var(--fertility-color); }

.faith-bar-value {
    font-size: 0.75rem;
    color: var(--text-secondary);
    width: 30px;
    text-align: right;
}

.player-total-faith {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.total-value {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

/* İnanç değişikliği animasyonları */
.faith-bar-value.increase {
    color: var(--love-color) !important;
    animation: faithIncrease 0.5s ease;
}

.faith-bar-value.decrease {
    color: var(--fear-color) !important;
    animation: faithDecrease 0.5s ease;
}

.total-value.increase {
    color: var(--love-color) !important;
    animation: faithIncrease 0.5s ease;
}

.total-value.decrease {
    color: var(--fear-color) !important;
    animation: faithDecrease 0.5s ease;
}

@keyframes faithIncrease {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes faithDecrease {
    0% { transform: scale(1); }
    50% { transform: scale(0.8); }
    100% { transform: scale(1); }
}

/* İnanç değişikliği göstergesi */
.faith-change-indicator {
    position: absolute;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: bold;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
    z-index: 100;
}

.faith-change-indicator.positive {
    color: var(--love-color);
}

.faith-change-indicator.negative {
    color: var(--fear-color);
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Alt Panel */
.bottom-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    z-index: 10;
}

.action-btn {
    padding: 12px 30px;
    font-family: var(--font-title);
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-dark);
}

.action-btn.secondary {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dice-icon {
    font-size: 1.2rem;
}

.dice-result {
    display: flex;
    gap: 10px;
    font-size: 2.5rem;
}

.dice-result.hidden {
    display: none;
}

.dice {
    animation: diceRoll 0.5s ease-out;
}

@keyframes diceRoll {
    0% { transform: rotate(0deg) scale(0.5); opacity: 0; }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); opacity: 1; }
}

/* ================================
   MODAL'LAR
   ================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--text-primary);
}

/* Kader Odası Modal */
.fate-room-content {
    text-align: center;
}

.fate-room-header h2 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.fate-room-header p {
    color: var(--text-secondary);
    font-style: italic;
}

.balance-meter {
    margin: 30px 0;
    height: 20px;
    background: linear-gradient(90deg, var(--fear-color), var(--justice-color), var(--love-color));
    border-radius: 10px;
    position: relative;
}

.balance-indicator {
    position: absolute;
    top: -5px;
    width: 30px;
    height: 30px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid white;
    transform: translateX(-50%);
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.rankings {
    text-align: left;
    margin: 20px 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 10px;
}

.ranking-position {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--gold);
    width: 30px;
}

.ranking-info {
    flex: 1;
}

.ranking-name {
    font-weight: 600;
}

.ranking-faith {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.fate-prophecy {
    margin-top: 30px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.fate-prophecy h3 {
    font-family: var(--font-title);
    color: var(--gold);
    margin-bottom: 10px;
}

#prophecy-text {
    font-style: italic;
    color: var(--text-secondary);
}

/* Kader Odası Aksiyonları */
.fate-action-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(142, 68, 173, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.fate-action-section h3 {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.fate-action-desc {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
}

.fate-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.fate-action-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--bg-card), rgba(212, 175, 55, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 180px;
}

.fate-action-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.fate-action-btn.danger {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(192, 57, 43, 0.1));
    border-color: rgba(231, 76, 60, 0.5);
}

.fate-action-btn.danger:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.3), rgba(192, 57, 43, 0.2));
    border-color: var(--fear-color);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

/* ================================
   UNUTULMA OVERLAY
   ================================ */
.oblivion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: oblivionFade 2s ease;
}

.oblivion-overlay.hidden {
    display: none;
}

@keyframes oblivionFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.oblivion-content {
    text-align: center;
    filter: grayscale(0.5);
}

.oblivion-content h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    animation: oblivionPulse 3s ease-in-out infinite;
}

@keyframes oblivionPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.oblivion-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.oblivion-timer {
    margin: 30px 0;
}

.memory-bar {
    width: 300px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin: 15px auto;
    overflow: hidden;
}

.memory-progress {
    height: 100%;
    background: var(--text-muted);
    transition: width var(--transition-slow);
}

.oblivion-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* ================================
   OYUN SONU EKRANI
   ================================ */
#game-end-screen {
    background: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
    justify-content: center;
    align-items: center;
}

.end-content {
    text-align: center;
    max-width: 600px;
}

.end-content h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 40px;
}

.winner-section {
    margin-bottom: 40px;
}

.winner-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.winner-section .winner-name {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--gold);
}

.final-stats {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
}

.end-question {
    padding: 30px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    margin-bottom: 40px;
}

.end-question p {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ================================
   TOAST BİLDİRİMLER
   ================================ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 15px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    animation: toastSlide 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes toastSlide {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-left: 4px solid var(--love-color); }
.toast.warning { border-left: 4px solid var(--war-color-faith); }
.toast.error { border-left: 4px solid var(--fear-color); }
.toast.info { border-left: 4px solid var(--justice-color); }

/* ================================
   KURBAN SUNAĞI MODALİ
   ================================ */
.sacrifice-content {
    max-width: 550px;
}

.sacrifice-warning {
    color: var(--fear-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--fear-color);
}

.sacrifice-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.sacrifice-section {
    margin-bottom: 10px;
}

.sacrifice-section h3 {
    font-family: var(--font-title);
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1rem;
}

.sacrifice-civ-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.sacrifice-civ-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    text-align: left;
}

.sacrifice-civ-btn:hover {
    border-color: var(--fear-color);
    background: rgba(231, 76, 60, 0.05);
}

.sacrifice-civ-btn.active {
    border-color: var(--fear-color);
    background: rgba(231, 76, 60, 0.15);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.sacrifice-civ-icon {
    font-size: 1.4rem;
}

.sacrifice-civ-name {
    flex: 1;
    font-weight: 600;
}

.sacrifice-civ-tier {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-weight: 600;
}

.sacrifice-power-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
}

.sacrifice-hint {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 20px;
}

.sacrifice-power-btn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    text-align: left;
}

.sacrifice-power-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.sacrifice-power-btn.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.sacrifice-power-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sacrifice-power-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sacrifice-power-name {
    font-weight: 600;
    color: var(--gold);
    font-size: 0.95rem;
}

.sacrifice-power-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.sacrifice-confirm-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #8b0000, #c0392b);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-title);
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 1px;
}

.sacrifice-confirm-btn:hover {
    background: linear-gradient(135deg, #a00000, #e74c3c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .game-title {
        font-size: 2rem;
    }
    
    .gods-grid {
        grid-template-columns: 1fr;
    }
    
    .game-board {
        width: 95vw;
        height: 95vw;
    }
    
    .players-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .player-card {
        min-width: 160px;
        flex-shrink: 0;
    }
}

/* ================================
   SES KONTROL BUTONLARI
   ================================ */
.audio-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.audio-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(18, 18, 26, 0.9);
    border: 2px solid var(--border-color);
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: scale(1.1);
}

.audio-btn.muted {
    opacity: 0.5;
    color: var(--text-muted);
}

.audio-btn.muted::after {
    content: '×';
    position: absolute;
    font-size: 1.5rem;
    color: var(--fear-color);
}

/* ================================
   QR MOD STİLLERİ
   ================================ */

/* QR Mod Butonu */
.qr-btn {
    background: rgba(155, 89, 182, 0.3) !important;
    border-color: #9b59b6 !important;
}

.qr-btn.active {
    background: rgba(155, 89, 182, 0.6) !important;
    border-color: #8e44ad !important;
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.5);
    animation: qrPulse 1.5s ease-in-out infinite;
}

@keyframes qrPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(155, 89, 182, 0.3); }
    50% { box-shadow: 0 0 20px rgba(155, 89, 182, 0.6); }
}

/* QR Tarama Modal */
.qr-modal-content {
    max-width: 480px;
    text-align: center;
}

.qr-scanner-header h2 {
    color: var(--gold);
    margin-bottom: 5px;
}

.qr-scanner-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.qr-scanner-area {
    width: 100%;
    min-height: 300px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.qr-scanner-area video {
    width: 100%;
    border-radius: 12px;
}

.qr-scan-error {
    color: var(--fear-color);
    font-size: 0.9rem;
    margin: 10px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.qr-scan-error.visible {
    opacity: 1;
}

/* Manuel Giriş (kamera yoksa) */
.manual-input-section {
    padding: 20px;
}

.manual-input-section p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.manual-god-select {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.manual-select-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.manual-select-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.manual-select-btn.primary {
    background: var(--gold);
    color: #1a1a2e;
    font-weight: bold;
}

.manual-tile-input,
.manual-card-input {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.manual-tile-input input,
.manual-card-input input {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1rem;
    width: 200px;
    text-align: center;
}

/* QR Zar Paneli */
.qr-dice-panel {
    background: var(--bg-panel);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.qr-dice-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.qr-dice-input label {
    color: var(--gold);
    font-weight: bold;
    font-size: 1rem;
}

.qr-dice-input input {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1.2rem;
    width: 80px;
    text-align: center;
}

/* QR Mod aktifken body */
body.qr-mode .bottom-panel #roll-dice-btn {
    display: none;
}

body.qr-mode .qr-dice-panel {
    display: flex !important;
}

/* QR mod göstergesi */
/* QR Tanrı Okutma Butonu */
.qr-god-scan-container {
    text-align: center;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px dashed rgba(255, 215, 0, 0.4);
    border-radius: 12px;
}

.qr-god-scan-container.hidden {
    display: none;
}

.qr-scan-god-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    font-weight: bold;
    font-size: 1.1em;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    animation: qrPulse 2s infinite;
}

.qr-scan-god-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.qr-hint {
    margin-top: 8px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

body.qr-mode::after {
    content: '📷 QR MOD';
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(155, 89, 182, 0.9);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1000;
    animation: qrPulse 2s ease-in-out infinite;
}

/* ================================
   ANA MENÜ BUTONLARI
   ================================ */
.main-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.menu-btn {
    min-width: 280px;
    justify-content: center;
    font-size: 1.2rem;
    padding: 18px 40px;
}

.secondary-btn {
    padding: 15px 40px;
    font-family: var(--font-title);
    font-size: 1.1rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.secondary-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ================================
   NASIL OYNANIR EKRANI
   ================================ */
#how-to-play-screen {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 30px 20px;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
}

.how-to-play-content {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.how-to-play-content .section-title {
    margin-bottom: 30px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    text-align: left;
    transition: all var(--transition-normal);
}

.step-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.step-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-dark);
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-info h3 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.step-info p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ================================
   YENİ OYUN KURULUM EKRANI
   ================================ */
#new-game-setup-screen {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    justify-content: center;
    align-items: center;
}

.setup-content {
    text-align: center;
}

.setup-content .section-title {
    margin-bottom: 10px;
}

.setup-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 35px;
    font-style: italic;
}

.setup-content .player-count-selector {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 40px;
}

.setup-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* ================================
   AKTİF OYUNCU BÜYÜK KART GÖRÜNÜMÜ
   ================================ */
.active-player-view {
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.active-player-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.apc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 2px solid;
}

.apc-god-icon {
    font-size: 3.2rem;
}

.apc-info {
    flex: 1;
}

.apc-name {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--gold-light);
}

.apc-god {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

.apc-total {
    text-align: center;
}

.apc-total-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apc-total-value {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--gold);
    line-height: 1;
}

.apc-position {
    text-align: center;
    padding: 10px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.apc-faith-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.apc-faith-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apc-faith-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.apc-faith-name {
    width: 55px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.apc-faith-track {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
}

.apc-faith-fill {
    height: 100%;
    border-radius: 5px;
    transition: width var(--transition-normal);
}

.apc-faith-fill.fear { background: var(--fear-color); }
.apc-faith-fill.love { background: var(--love-color); }
.apc-faith-fill.justice { background: var(--justice-color); }
.apc-faith-fill.war { background: var(--war-color-faith); }
.apc-faith-fill.fertility { background: var(--fertility-color); }

.apc-faith-val {
    width: 35px;
    text-align: right;
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.apc-civs {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.apc-civs-label {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.apc-civs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.owned-civ-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-primary);
}

.no-civ-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.apc-oblivion-badge {
    margin-top: 14px;
    padding: 10px;
    text-align: center;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 10px;
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--fear-color);
    animation: oblivionPulse 2s ease-in-out infinite;
}

@keyframes oblivionPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Oyuncu Mini Paneli (alt kısım - diğer oyuncular) */
.players-mini-panel {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    padding: 12px 15px;
    overflow-x: auto;
    flex-shrink: 0;
}

.players-mini-panel .players-list {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
}

.players-mini-panel .player-card {
    min-width: 160px;
    max-width: 200px;
    padding: 10px 14px;
    font-size: 0.85rem;
}

/* ================================
   RESPONSIVE TASARIM
   ================================ */

/* Tablet (768px ve altı) */
@media (max-width: 768px) {
    .game-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .menu-btn {
        min-width: 240px;
        font-size: 1.05rem;
        padding: 15px 30px;
    }
    
    .gods-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .god-card {
        padding: 18px;
    }
    
    .god-icon {
        font-size: 2.8rem;
    }
    
    .step-card {
        padding: 16px;
    }
    
    .step-number {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1.1rem;
    }
    
    .active-player-card {
        max-width: 100%;
        padding: 18px;
    }
    
    .apc-god-icon {
        font-size: 2.5rem;
    }
    
    .apc-name {
        font-size: 1.2rem;
    }
    
    .apc-total-value {
        font-size: 1.8rem;
    }
    
    .top-bar {
        padding: 10px 15px;
    }
    
    #active-player-name {
        font-size: 1rem;
    }
    
    .bottom-panel {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .action-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .players-mini-panel .player-card {
        min-width: 140px;
        padding: 8px 10px;
    }
}

/* Mobil (480px ve altı) */
@media (max-width: 480px) {
    .game-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .title-container {
        margin-bottom: 40px;
    }
    
    .menu-btn {
        min-width: 220px;
        font-size: 0.95rem;
        padding: 14px 25px;
    }
    
    #how-to-play-screen {
        padding: 20px 15px;
    }
    
    .step-card {
        padding: 14px;
        gap: 12px;
    }
    
    .step-info h3 {
        font-size: 0.95rem;
    }
    
    .step-info p {
        font-size: 0.82rem;
    }
    
    #god-selection-screen {
        padding: 20px 15px;
    }
    
    .gods-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .god-card {
        padding: 14px;
    }
    
    .god-icon {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .god-card h3 {
        font-size: 1rem;
    }
    
    .god-stats .stat {
        padding: 5px 0;
        font-size: 0.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .name-input-container {
        flex-direction: column;
        margin-top: 25px;
    }
    
    #player-name-input {
        width: 100%;
    }
    
    .active-player-view {
        padding: 8px;
    }

    .active-player-card {
        padding: 12px;
        border-radius: 14px;
    }

    .apc-header {
        gap: 10px;
        padding-bottom: 10px;
        margin-bottom: 8px;
    }

    .apc-god-icon {
        font-size: 1.8rem;
    }

    .apc-name {
        font-size: 1rem;
    }

    .apc-god {
        font-size: 0.8rem;
    }

    .apc-total-label {
        font-size: 0.65rem;
    }

    .apc-total-value {
        font-size: 1.4rem;
    }

    .apc-position {
        padding: 6px;
        margin-bottom: 8px;
        font-size: 0.85rem;
    }

    .apc-faith-bars {
        gap: 5px;
        margin-bottom: 10px;
    }

    .apc-faith-row {
        gap: 6px;
    }

    .apc-faith-icon {
        font-size: 0.9rem;
        width: 20px;
    }

    .apc-faith-name {
        width: 42px;
        font-size: 0.72rem;
    }

    .apc-faith-track {
        height: 7px;
    }

    .apc-faith-val {
        width: 30px;
        font-size: 0.8rem;
    }

    .apc-civs {
        padding-top: 8px;
    }

    .apc-civs-label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .owned-civ-tag {
        padding: 3px 8px;
        font-size: 0.75rem;
    }

    .top-bar {
        padding: 6px 10px;
        gap: 6px;
    }

    .turn-label {
        font-size: 0.75rem;
    }

    .turn-number {
        font-size: 1.1rem;
    }

    #active-player-name {
        font-size: 0.9rem;
    }

    .god-badge {
        padding: 3px 8px;
        font-size: 0.75rem;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .bottom-panel {
        padding: 8px 10px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .action-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        justify-content: center;
    }

    .dice-result {
        font-size: 1.6rem;
        gap: 6px;
    }

    .players-mini-panel {
        padding: 6px 8px;
    }

    .players-mini-panel .players-list {
        gap: 6px;
        justify-content: flex-start;
    }

    .players-mini-panel .player-card {
        min-width: 110px;
        padding: 6px 8px;
        font-size: 0.75rem;
    
    .player-card-name {
        font-size: 0.85rem;
    }
    
    .player-god-type {
        font-size: 0.7rem;
    }
    
    .faith-bar-track {
        height: 4px;
    }
    
    .faith-bar-value {
        font-size: 0.65rem;
        width: 24px;
    }
    
    /* Modal responsive */
    .modal-content {
        margin: 10px;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .count-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .player-count-selector {
        gap: 12px;
    }
    
    .setup-content .player-count-selector {
        gap: 12px;
    }
}
