:root {
    --bg-dark: #050505;
    --bg-surface: #0d0d0d;
    --primary: #d4af37;
    /* Gold */
    --accent: #e63946;
    /* Blood Red */
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: rgba(212, 175, 55, 0.2);
    --glass: rgba(20, 20, 20, 0.7);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.15);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% -20%, #1a1a1a 0%, #050505 100%);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Header & Logo */
.branding {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 1.2s ease;
}

.logo-img {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #f9e29c 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Cards & Layout */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--gold-glow);
}

.story-card {
    cursor: pointer;
    border-left: 4px solid transparent;
}

.story-card:hover {
    border-left: 4px solid var(--primary);
}

/* Clue History Panel */
.clue-history {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.clue-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    border-left: 2px solid var(--accent);
    animation: fadeInLeft 0.5s ease;
}

/* Typography Enhancements */
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

p {
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, var(--primary) 0%, #b8860b 100%);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* Suspects Grid - Updated for 7 suspects */
.suspects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.suspect-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.suspect-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary);
    padding: 5px;
}

/* Sorgu Odası (Interrogation) */
.interrogation-room {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.interrogation-content {
    max-width: 700px;
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 3rem;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
}

.interrogation-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    white-space: pre-wrap;
    margin-bottom: 2rem;
}

/* Feedback Styles */
.feedback-success {
    color: #4ade80;
    font-size: 1.5rem;
    font-weight: 700;
}

.feedback-error {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Ad Gate & Overlays */
#ad-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(20px);
}

.ad-video-mock {
    width: 100%;
    height: 200px;
    background: #111;
    border: 1px dashed #333;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.ad-video-mock::after {
    content: 'REKLAM OYNATILIYOR...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

#adblock-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-surface);
    border: 2px solid var(--accent);
    padding: 2rem;
    text-align: center;
    z-index: 4000;
    border-radius: 20px;
    box-shadow: 0 0 100px rgba(230, 57, 70, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .container {
        padding: 1rem;
    }

    .glass-card {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .suspects-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .suspect-img {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .interrogation-content {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .interrogation-text {
        font-size: 1rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px;
    }

    .suspect-card .btn {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
}