/* ===================================
   StarRise - Müzik Simülasyon Oyunu
   Ana Stil Dosyası
   =================================== */

:root {
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #1f1f35;
    --bg-sidebar: #12121f;
    --bg-input: #252540;
    --text-primary: #e8e8f0;
    --text-secondary: #8888a8;
    --text-muted: #6666880;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-dark: #5b21b6;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --border: #2a2a45;
    --hp-color: #ef4444;
    --mood-color: #f59e0b;
    --energy-color: #22c55e;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --sidebar-width: 260px;
}

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent-light);
    text-decoration: none;
}
a:hover { color: var(--accent); }

/* ===== LOGO ===== */
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-light), var(--accent)); color: white; }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-xs { padding: 4px 10px; font-size: 0.78rem; }

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.88rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-primary) !important;
    font-weight: 400 !important;
}

.inline-form { display: inline; }

/* ===== ALERTS ===== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.alert-success { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: var(--success); }
.alert-error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: var(--danger); }

/* ===== AUTH PAGE ===== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}
.auth-container {
    width: 100%;
    max-width: 440px;
}
.auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}
.tagline {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}
.auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-box {
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.88rem;
}
.info-box ul { margin: 0.5rem 0 0 1.2rem; }
.info-box li { margin-bottom: 4px; }

/* ===== LANDING PAGE ===== */
.landing-page { overflow-x: hidden; }

/* Üst Menü */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4rem;
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-secondary); font-weight: 500; }
.nav-links a:hover { color: var(--accent-light); }
.nav-links .btn { color: #fff; }

/* Hero */
.landing-hero {
    position: relative;
    padding: 4rem 4rem 5rem;
    background:
        linear-gradient(180deg, rgba(15, 15, 26, 0.55) 0%, rgba(21, 21, 42, 0.7) 100%),
        url('/img/hero_section.png') center/cover no-repeat;
}
.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(124, 58, 237, 0.18), transparent 65%),
        radial-gradient(ellipse at bottom left, rgba(59, 130, 246, 0.12), transparent 65%);
    pointer-events: none;
}
.landing-hero > * { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.hero-content { max-width: 640px; }
.hero-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.2);
    color: var(--accent-light);
    border: 1px solid var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}
.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #e8e8f0, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 2rem;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 1.6rem; color: var(--text-primary); font-weight: 700; }
.hero-stat span { color: var(--text-secondary); font-size: 0.85rem; }
.online-dot { color: var(--success) !important; position: relative; padding-left: 1rem; }
.online-dot::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Login Kutusu */
.hero-login { width: 100%; }
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.login-card h3 { margin-bottom: 1.25rem; font-size: 1.3rem; }
.login-card .form-group { margin-bottom: 1rem; }
.login-card .auth-link { margin-top: 1rem; text-align: center; font-size: 0.9rem; color: var(--text-secondary); }

/* Hakkında */
.landing-about {
    padding: 4rem 2rem;
    background: var(--bg-dark);
    text-align: center;
}
.about-inner { max-width: 800px; margin: 0 auto; }
.about-inner h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-inner p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }

/* Duyurular */
.landing-news {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--bg-dark), #12121f);
}
.news-inner { max-width: 900px; margin: 0 auto; }
.news-inner h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.news-list { display: flex; flex-direction: column; gap: 1rem; }
.news-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}
.news-meta { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.5rem; flex-wrap: wrap; }
.news-type {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
}
.news-type-update { background: var(--info); }
.news-type-event { background: var(--warning); color: #1a1a2e; }
.news-type-maintenance { background: var(--danger); }
.news-pin {
    font-size: 0.72rem;
    color: var(--warning);
    font-weight: 600;
}
.news-date { font-size: 0.82rem; color: var(--text-secondary); margin-left: auto; }
.news-item h4 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.news-item p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* Özellikler */
.landing-features {
    padding: 5rem 4rem;
    background: var(--bg-dark);
}
.section-title { text-align: center; font-size: 2rem; margin-bottom: 3rem; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.92rem; }

.landing-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    .landing-nav { padding: 1rem 1.5rem; flex-wrap: wrap; gap: 1rem; }
    .nav-links { gap: 1rem; font-size: 0.9rem; }
    .landing-hero { padding: 2.5rem 1.5rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-content h2 { font-size: 2.2rem; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .landing-features { padding: 3rem 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header { margin-bottom: 1.5rem; }

.char-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.char-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.char-mini-info {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    overflow: hidden;
}
.char-mini-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.char-bars {
    margin-bottom: 0.8rem;
}
.bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.75rem;
}
.bar-label {
    width: 38px;
    color: var(--text-secondary);
}
.bar {
    flex: 1;
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s;
}
.bar-fill.hp { background: var(--hp-color); }
.bar-fill.mood { background: var(--mood-color); }
.bar-fill.energy { background: var(--energy-color); }
.bar-val {
    width: 24px;
    text-align: right;
    color: var(--text-secondary);
}

.char-money {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0 0 0.8rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.8rem;
}
.char-money strong { color: var(--success); }

.nav-menu {
    list-style: none;
    flex: 1;
}
.nav-menu li { margin-bottom: 2px; }
.nav-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
}
.nav-menu a:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}
.nav-menu a.active {
    background: rgba(124,58,237,0.15);
    color: var(--accent-light);
}

.sidebar-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.btn-logout {
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.btn-logout:hover { color: var(--danger); }

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem 2.5rem;
    min-height: 100vh;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.page-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.card-header {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-body {
    padding: 1.25rem;
}

/* ===== GRIDS ===== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== DASHBOARD KARAKTER KARTI ===== */
.char-hero-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    align-items: center;
    box-shadow: var(--shadow);
}
.char-hero-left { display: flex; gap: 1rem; align-items: center; }
.char-hero-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
}
.char-hero-info h3 { margin: 0 0 0.15rem; font-size: 1.2rem; }
.char-hero-info p { margin: 0; font-size: 0.9rem; }
.char-wallet { margin-top: 0.3rem !important; font-size: 0.95rem !important; color: var(--text-primary) !important; }
.char-wallet strong { color: var(--success); }

.char-hero-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.char-hero-bars .bar-item {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.85rem;
}
.char-hero-bars .bar-label { color: var(--text-secondary); }
.char-hero-bars .bar { height: 8px; background: var(--bg-input); border-radius: 4px; overflow: hidden; }
.char-hero-bars .bar-fill { height: 100%; transition: width 0.3s; }
.char-hero-bars .bar-val { text-align: right; font-weight: 600; }

.energy-timer {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-align: right;
    margin-top: -0.25rem;
    padding-right: 0.25rem;
}
.energy-timer #energy-countdown {
    color: var(--energy-color);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.active-job-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: var(--text-primary);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}
.active-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .char-hero-card { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}
.stat-card-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-light);
}
.stat-card-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-row span { color: var(--text-secondary); }

/* ===== ATTRIBUTE BARS ===== */
.attr-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.attr-label { width: 90px; font-size: 0.85rem; color: var(--text-secondary); }
.attr-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}
.attr-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
    border-radius: 4px;
    transition: width 0.3s;
}
.attr-val { width: 30px; text-align: right; font-size: 0.85rem; font-weight: 600; }

/* ===== SKILLS ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.skill-item {
    background: var(--bg-input);
    border-radius: var(--radius);
    padding: 12px;
}
.skill-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.skill-icon { font-size: 1.3rem; }
.skill-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
    transition: width 0.3s;
}

.skills-list {}
.skill-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.skill-row:last-child { border-bottom: none; }
.skill-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}
.skill-meta { font-size: 0.78rem; color: var(--text-secondary); }
.skill-middle { flex: 1; }
.skill-actions { display: flex; gap: 6px; align-items: center; }

.category-title {
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.learnable-skills {}
.learnable-skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* ===== JOBS ===== */
.current-job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.job-stats {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.job-actions { display: flex; gap: 8px; flex-direction: column; }

.jobs-list {}
.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.job-item:last-child { border-bottom: none; }
.job-info h4 { margin-bottom: 4px; }

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--bg-input);
    color: var(--text-secondary);
}
.badge-primary { background: rgba(124,58,237,0.2); color: var(--accent-light); }
.badge-sm { padding: 2px 8px; font-size: 0.72rem; }

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px;
}
.tab {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.tab:hover { color: var(--text-primary); }
.tab.active {
    background: var(--accent);
    color: white;
}

/* ===== TABLE ===== */
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}
.table th {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.highlight-row {
    background: rgba(124,58,237,0.1);
}
.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.82rem;
}
.rank-top {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: #1a1a2e;
}

/* ===== NOTIFICATIONS ===== */
.notification-list {
    list-style: none;
}
.notification-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.notification-list li:last-child { border-bottom: none; }
.notification-list li.unread { border-left: 3px solid var(--accent); padding-left: 10px; }

/* ===== ACTIVITY LIST ===== */
.activity-list {
    list-style: none;
}
.activity-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.88rem;
}

/* ===== ACHIEVEMENTS ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8rem;
}
.achievement-item {
    padding: 10px 14px;
    background: var(--bg-input);
    border-radius: var(--radius);
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.focus-info {
    padding-top: 0.5rem;
}

/* ===== UTILITIES ===== */
.mt-1 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.text-muted { color: var(--text-secondary); }
.text-sm { font-size: 0.88rem; }
.text-xs { font-size: 0.78rem; }

/* ===== HUNGER BAR ===== */
.bar-fill.hunger { background: #f97316; }

/* ===== STATUS BADGES ===== */
.status-badge {
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}
.status-jail { background: rgba(239,68,68,0.2); color: var(--danger); }
.status-hospital { background: rgba(59,130,246,0.2); color: var(--info); }

/* ===== GAME INFO ===== */
.game-info {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ===== NAV SECTION ===== */
.nav-section {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 12px 14px 4px;
    opacity: 0.6;
}

/* ===== HEADER BADGES ===== */
.header-badges { display: flex; gap: 6px; }

/* ===== EDUCATION ===== */
.subjects-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.subject-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 10px 12px;
    background: var(--bg-input);
    border-radius: var(--radius);
}
.subject-info { display: flex; align-items: center; gap: 8px; min-width: 180px; }
.subject-grade { flex: 1; text-align: center; }
.grade-value { font-weight: 700; font-size: 1.1rem; }
.grade-pass { color: var(--success); }
.grade-fail { color: var(--danger); }

/* ===== PROPERTY ===== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.property-card {
    background: var(--bg-input);
    border-radius: var(--radius);
    padding: 14px;
}
.property-cat {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-light);
    margin-bottom: 4px;
}
.property-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ===== PRODUCTION ===== */
.production-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.production-mini {
    font-size: 0.82rem;
    padding: 4px 0;
    color: var(--text-secondary);
}

.recipe-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.recipe-card:last-child { border-bottom: none; }
.recipe-locked { opacity: 0.5; }
.recipe-output { font-size: 0.88rem; margin: 4px 0; }
.recipe-ingredients { font-size: 0.82rem; color: var(--text-secondary); }

/* ===== INVENTORY ===== */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.inventory-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--bg-input);
    border-radius: var(--radius);
    font-size: 0.85rem;
}
.inv-icon { font-size: 1.2rem; }

/* ===== CRIME ===== */
.crime-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.crime-card:last-child { border-bottom: none; }

/* ===== MARKET ===== */
.listing-mini {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; padding: 1rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .landing-hero { padding: 1.5rem; }
    .hero-content h2 { font-size: 2.2rem; }
    .form-row { grid-template-columns: 1fr; }
    .skill-row { flex-wrap: wrap; }
    .current-job { flex-direction: column; }
}

/* ===== EĞİTİM SİSTEMİ ===== */
.subject-group-title {
    margin: 1rem 0 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted, #888);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0.25rem;
}
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}
.subject-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    transition: border-color 0.2s, background 0.2s;
}
.subject-card:hover { border-color: rgba(255,215,0,0.3); }
.subject-card.subject-locked {
    opacity: 0.72;
    background: rgba(255,255,255,0.02);
    border-style: dashed;
}
.subject-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.badge-locked {
    background: rgba(200,60,60,0.2) !important;
    color: #ff9b9b !important;
    border: 1px solid rgba(200,60,60,0.35);
}
.stars {
    display: flex;
    gap: 2px;
    font-size: 1.15rem;
    line-height: 1;
    user-select: none;
}
.star.earned { color: #f5c518; text-shadow: 0 0 6px rgba(245,197,24,0.4); }
.star.empty  { color: rgba(255,255,255,0.18); }
.subject-grade { display: flex; flex-direction: column; gap: 0.25rem; }
.grade-value { font-weight: 600; font-size: 1rem; }
.grade-value.grade-pass { color: #4ade80; }
.grade-value.grade-fail { color: #f87171; }
.subject-reqs {
    font-size: 0.78rem;
    background: rgba(200,60,60,0.08);
    border-left: 3px solid rgba(200,60,60,0.45);
    padding: 0.4rem 0.55rem;
    border-radius: 4px;
    color: #ffb0b0;
}
.subject-reqs .req-row { margin-top: 2px; }
.req-current { color: rgba(255,255,255,0.55); font-size: 0.72rem; margin-left: 4px; }
.subject-meta { margin-top: -0.2rem; }
.inline-form { margin: 0; }

/* ===== YETENEK SİSTEMİ ===== */
.subject-card.skill-focused {
    border-color: rgba(245,197,24,0.55);
    background: linear-gradient(135deg, rgba(245,197,24,0.08), rgba(255,255,255,0.04));
    box-shadow: 0 0 0 1px rgba(245,197,24,0.18);
}
.skill-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}
.info-box {
    background: rgba(100,150,255,0.08);
    border-left: 3px solid rgba(100,150,255,0.45);
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    color: #cfd9ff;
}
