
/* Ultra-Professional Premium Theme for Redline Roleplay */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Premium Color Palette */
    --primary-red: #dc2626;
    --primary-red-hover: #b91c1c;
    --primary-red-light: #fef2f2;
    --primary-red-dark: #991b1b;
    --accent-burgundy: #7c2d12;
    --accent-burgundy-light: #92400e;
    
    /* Dark Theme Colors */
    --dark-bg-primary: #0a0a0a;
    --dark-bg-secondary: #1a1a1a;
    --dark-bg-tertiary: #2a2a2a;
    --card-bg: #1e1e1e;
    --card-bg-hover: #252525;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --text-accent: #f3f4f6;
    
    /* Border & Effects */
    --border-color: #374151;
    --border-accent: #4b5563;
    --success-color: #10b981;
    --warning-color: #7c2d12;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Shadows & Effects */
    --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-xl: 0 12px 24px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(220, 38, 38, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
    --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    --gradient-accent: linear-gradient(135deg, #7c2d12 0%, #92400e 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #ffffff !important;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gradient-dark);
    color: #ffffff !important;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* FORCE ALL TEXT TO BE WHITE - NUCLEAR OPTION */
body *, html *, div, span, p, h1, h2, h3, h4, h5, h6, label, a {
    color: #ffffff !important;
}

/* SPECIFIC OVERRIDES FOR CHARACTER CARDS */
.character-card, .character-card * {
    color: #ffffff !important;
}

.character-name, .character-card .character-name {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* CARD OVERRIDES */
.card, .card * {
    color: #ffffff !important;
}

.card-title, .card h2, .card h3 {
    color: #ffffff !important;
}

/* Premium Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 45, 18, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header Styles - Premium Design */
.header {
    background: var(--gradient-primary);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(124, 45, 18, 0.3);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(124, 45, 18, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-red);
    font-weight: 900;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation Styles - Fixed Blue Text Issue */
.nav-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
}

.nav-menu li {
    margin: 0;
}

.nav-button, .nav-link, .nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary) !important; /* Force white text */
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-button::before, .nav-link::before, .nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-button:hover, .nav-link:hover, .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 45, 18, 0.5);
    color: var(--text-primary) !important; /* Ensure white on hover */
}

.nav-button:hover::before, .nav-link:hover::before, .nav-menu a:hover::before {
    left: 100%;
}

.nav-button.active, .nav-link.active, .nav-menu a.active {
    background: var(--gradient-accent);
    border-color: var(--accent-burgundy);
    color: var(--text-primary) !important;
    box-shadow: var(--shadow-glow);
}

/* Main Content */
.main-content, .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 120px);
}

/* Premium Card Styles */
.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
    background: var(--card-bg-hover);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.card-icon {
    font-size: 2rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: -0.02em;
}

.card-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 400;
}

.card-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Premium Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    background: var(--card-bg-hover);
}

.form-input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

/* Premium Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
}

.btn-warning {
    background: var(--gradient-accent);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Enhanced Stat Cards */
.enhanced-stat-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.enhanced-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.enhanced-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
    background: var(--card-bg-hover);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.4;
    font-weight: 400;
}

/* Info Cards */
.info-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
    background: var(--card-bg-hover);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.info-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Featured Gamemode */
.featured-gamemode {
    position: relative;
    overflow: hidden;
}

.featured-gamemode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(220, 38, 38, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.gamemode-badge {
    position: relative;
    z-index: 1;
}

/* Character Cards */
.character-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.character-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--card-bg-hover);
}

.character-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.character-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.character-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

/* Modal içindeki character-stat için özel stil */
.modal .character-stat {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.character-stat:last-child {
    border-bottom: none;
}

.character-stat span:first-child {
    color: #cccccc !important;
    font-weight: 500;
}

.character-stat span:last-child {
    font-weight: 600;
    color: #ffffff !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background: #ffffff !important;
    margin: 2rem auto;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: calc(100vh - 4rem) !important;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalSlideIn 0.3s ease;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin !important;
    scrollbar-color: #dc2626 #f3f4f6 !important;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.close {
    color: #6b7280;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
}

.close:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.1);
}

/* Modal Body Scrollable Content */
.modal-body {
    flex: 1;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
    scrollbar-width: thin !important;
    scrollbar-color: #dc2626 #f3f4f6 !important;
}

.modal-body::-webkit-scrollbar {
    width: 8px !important;
    display: block !important;
}

.modal-body::-webkit-scrollbar-track {
    background: #f3f4f6 !important;
    border-radius: 4px !important;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #dc2626 !important;
    border-radius: 4px !important;
    min-height: 20px !important;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #b91c1c !important;
}

/* Modal content için de scrollbar stilleri - güçlendirilmiş */
.modal-content::-webkit-scrollbar {
    width: 8px !important;
    display: block !important;
}

.modal-content::-webkit-scrollbar-track {
    background: #f3f4f6 !important;
    border-radius: 4px !important;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #dc2626 !important;
    border-radius: 4px !important;
    min-height: 20px !important;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #b91c1c !important;
}

/* Tüm modal elementleri için genel scrollbar */
.modal *::-webkit-scrollbar {
    width: 8px !important;
    display: block !important;
}

.modal *::-webkit-scrollbar-track {
    background: #f3f4f6 !important;
    border-radius: 4px !important;
}

.modal *::-webkit-scrollbar-thumb {
    background: #dc2626 !important;
    border-radius: 4px !important;
    min-height: 20px !important;
}

.modal *::-webkit-scrollbar-thumb:hover {
    background: #b91c1c !important;
}

/* Form Groups in Modals */
.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal .form-group:last-child {
    margin-bottom: 0;
}

/* Grid in Modals - Responsive */
.modal .grid {
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal .grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

/* Neon and Plate Options */
.neon-option, .plate-option {
    text-align: center;
}

.neon-option input[type="radio"],
.plate-option input[type="radio"] {
    display: none;
}

.neon-label, .plate-label {
    display: block;
    cursor: pointer;
    padding: 0.5rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.neon-label:hover, .plate-label:hover {
    border-color: var(--primary-red);
    background: #f3f4f6;
}

.neon-option input[type="radio"]:checked + .neon-label,
.plate-option input[type="radio"]:checked + .plate-label {
    border-color: var(--primary-red);
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.neon-label span, .plate-label span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Vehicle Badges */
.vehicle-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-super {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
}

.badge-sports {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.badge-sedan {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.badge-suv {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.badge-van {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.badge-fuel {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--dark-bg-tertiary);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td {
    color: var(--text-secondary);
    font-weight: 500;
}

.table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Alert Styles */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success-color);
    color: #10b981;
}

.alert-warning {
    background: rgba(124, 45, 18, 0.1);
    border-left-color: var(--warning-color);
    color: #7c2d12;
}

.alert-danger, .alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--danger-color);
    color: #ef4444;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--info-color);
    color: #3b82f6;
}

/* Modal içindeki alert'ler için beyaz arka plan uyumlu renkler */
.modal .alert-info {
    background: rgba(59, 130, 246, 0.15);
    border-left-color: var(--info-color);
    color: #1d4ed8;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.profile-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Balance Display */
.balance-display {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.balance-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.balance-amount {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.balance-label {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Shop Items */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.shop-item {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.shop-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.shop-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
}

.shop-item-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--dark-bg-tertiary);
}

.shop-item-content {
    padding: 2rem;
}

.shop-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.shop-item-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.shop-item-price {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* News Item Styles */
.news-item {
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
    background: var(--card-bg-hover);
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date::before {
    content: '📅';
    font-size: 0.8rem;
}

.news-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

.news-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.news-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.news-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Modal içinde text renklerini override et */
.modal .text-primary { color: #1a1a1a !important; }
.modal .text-secondary { color: #374151 !important; }
.modal .text-muted { color: #6b7280 !important; }

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-red { color: var(--primary-red) !important; }
.text-blue { color: var(--info-color) !important; }
.text-green { color: var(--success-color) !important; }
.text-orange { color: var(--warning-color) !important; }
.text-purple { color: #8b5cf6 !important; }
.text-gray { color: var(--text-muted) !important; }

.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.font-bold { font-weight: 700; }

.flex { display: flex; }
.gap-2 { gap: 1rem; }

/* Login Form Specific Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-title {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Vehicle Actions */
.vehicle-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .nav-container {
        justify-content: center;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-button, .nav-link, .nav-menu a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .main-content, .container {
        padding: 2rem 1rem;
    }
    
    .card {
        padding: 2rem;
    }
    
    .modal-content {
        margin: 1rem auto;
        padding: 1.5rem;
        width: 95%;
        max-height: calc(100vh - 2rem);
    }
    
    .modal {
        padding: 10px 0;
    }
    
    .modal .grid-3,
    .modal .grid-4,
    .modal .grid-5 {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .neon-label img, .plate-label img {
        height: 60px;
    }
    
    .balance-amount {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .vehicle-actions {
        flex-direction: column;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .nav-button, .nav-link, .nav-menu a {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .balance-amount {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .login-title {
        font-size: 1.75rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .modal-content {
        margin: 0.5rem auto;
        padding: 1rem;
        width: 98%;
        max-height: calc(100vh - 1rem);
    }
    
    .modal {
        padding: 5px 0;
    }
    
    .modal .grid-5 {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .neon-label img, .plate-label img {
        height: 50px;
    }
    
    .character-stats {
        gap: 0.75rem;
    }
    
    .character-stat {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
    }
}

.card {
    animation: fadeInUp 0.6s ease;
}

.stat-card:hover {
    animation: pulse 0.6s ease;
}

.btn-primary:hover {
    animation: glow 2s infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-hover);
}

/* Selection Styling */
::selection {
    background: var(--primary-red);
    color: white;
}

::-moz-selection {
    background: var(--primary-red);
    color: white;
}

/* Forum Styles */
.forum-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-category {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forum-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.forum-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
    background: var(--card-bg-hover);
}

.category-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 12px;
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.category-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.category-stats .stat {
    text-align: center;
}

.category-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.category-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Forum Topics */
.forum-topics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-topic {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.forum-topic:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
    background: var(--card-bg-hover);
}

.topic-status {
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.status-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 8px;
}

.status-icon.pinned {
    background: rgba(251, 191, 36, 0.2);
}

.status-icon.locked {
    background: rgba(239, 68, 68, 0.2);
}

.status-icon.open {
    background: rgba(16, 185, 129, 0.2);
}

.topic-info {
    flex: 1;
    margin-right: 1rem;
}

.topic-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.topic-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.topic-title a:hover {
    color: var(--primary-red);
}

.topic-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.topic-category {
    background: rgba(220, 38, 38, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.topic-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-right: 1rem;
}

.topic-stats .stat {
    text-align: center;
}

.topic-stats .stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
}

.topic-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.topic-admin-actions {
    display: flex;
    align-items: center;
}

.btn-admin {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-admin:hover {
    background: var(--primary-red);
    color: white;
    transform: scale(1.05);
}

/* Forum Filters */
.forum-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.forum-filters .form-input {
    min-width: 200px;
}

/* Modal içindeki textarea */
.modal textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Responsive Forum Styles */
@media (max-width: 768px) {
    .forum-category {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .category-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .forum-topic {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .topic-info {
        margin-right: 0;
    }
    
    .topic-meta {
        justify-content: center;
    }
    
    .topic-stats {
        justify-content: center;
        margin-right: 0;
    }
    
    .forum-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .forum-filters .form-input {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .forum-category {
        padding: 1rem;
    }
    
    .category-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
    
    .category-name {
        font-size: 1.1rem;
    }
    
    .forum-topic {
        padding: 1rem;
    }
    
    .topic-title {
        font-size: 1.1rem;
    }
    
    .topic-meta {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .topic-stats {
        gap: 1rem;
    }
}

/* Additional Text Color Fixes for Dark Theme */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
}

p, span, div, label {
    color: var(--text-secondary);
}

/* Ensure all text in cards is visible */
.card *, .character-card * {
    color: var(--text-secondary);
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.character-card h1, .character-card h2, .character-card h3, .character-card h4, .character-card h5, .character-card h6 {
    color: var(--text-primary) !important;
}

.card p, .card span, .card div,
.character-card p, .character-card span, .character-card div {
    color: var(--text-secondary) !important;
}

/* Fix for character card names - these are the titles like "💰 Mevcut Bakiyeniz" */
.character-card .character-name,
.card .character-name {
    color: var(--text-primary) !important;
}

/* Fix for all text content in cards */
.card-content, .card-content *,
.character-stats, .character-stats *,
.character-stat, .character-stat * {
    color: var(--text-secondary) !important;
}

/* Specific fixes for stat values */
.character-stat span:first-child {
    color: var(--text-muted) !important;
}

.character-stat span:last-child {
    color: var(--text-primary) !important;
}

/* Modal specific overrides for white background */
.modal {
    color: #1a1a1a;
}

.modal * {
    color: inherit;
}

.modal h1, .modal h2, .modal h3, .modal h4, .modal h5, .modal h6 {
    color: #1a1a1a !important;
}

.modal p, .modal span, .modal div, .modal label {
    color: #374151 !important;
}

.modal .form-label {
    color: #1a1a1a !important;
}

.modal .form-input {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border-color: #d1d5db;
}

.modal .form-input:focus {
    background: #ffffff !important;
    color: #1a1a1a !important;
}

.modal .character-name {
    color: #1a1a1a !important;
}

.modal .character-stat span:first-child {
    color: #6b7280 !important;
}

.modal .character-stat span:last-child {
    color: #1a1a1a !important;
}

.modal .card-content, .modal .card-content *,
.modal .character-stats, .modal .character-stats *,
.modal .character-stat, .modal .character-stat * {
    color: #374151 !important;
}

/* ULTRA AGGRESSIVE FIX: Force ALL text to be white on dark theme */
body, html {
    color: #ffffff !important;
}

/* CRITICAL FIX: Character card titles - MAXIMUM PRIORITY */
.character-name,
div.character-name,
.character-card .character-name,
.card .character-name,
[class*="character-name"],
*[class*="character-name"] {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* FORCE ALL CHARACTER CARDS TO BE WHITE TEXT */
.character-card,
.character-card *,
.character-card div,
.character-card span,
.character-card p {
    color: #ffffff !important;
}

/* FORCE ALL CARDS TO BE WHITE TEXT */
.card,
.card *,
.card div,
.card span,
.card p {
    color: #ffffff !important;
}

/* OVERRIDE ANY BLACK TEXT */
* {
    color: inherit !important;
}

/* SPECIFIC OVERRIDES FOR DARK ELEMENTS */
body * {
    color: #ffffff !important;
}

/* CHARACTER STATS - WHITE TEXT */
.character-stats,
.character-stats *,
.character-stat,
.character-stat * {
    color: #ffffff !important;
}

.character-stat span:first-child {
    color: #cccccc !important;
}

.character-stat span:last-child {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* CARD TITLES - FORCE WHITE */
.card-title,
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
    color: #ffffff !important;
}

/* GRID ELEMENTS - FORCE WHITE */
.grid,
.grid *,
.grid div,
.grid span {
    color: #ffffff !important;
}

/* TEXT UTILITY CLASSES - OVERRIDE */
.text-gray {
    color: #cccccc !important;
}

.text-red {
    color: #dc2626 !important;
}

.text-green {
    color: #10b981 !important;
}

.text-blue {
    color: #3b82f6 !important;
}

.text-purple {
    color: #8b5cf6 !important;
}

.text-orange {
    color: #f59e0b !important;
}

/* SPECIFIC FIX FOR SHOP.PHP TITLES */
body .character-card .character-name,
body .card .character-name,
body [class*="character"] .character-name {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* MODAL EXCEPTIONS - Keep modal text dark for white background */
.modal,
.modal *,
.modal div,
.modal span,
.modal p {
    color: #1a1a1a !important;
}

.modal .character-name {
    color: #1a1a1a !important;
}

.modal .form-label {
    color: #1a1a1a !important;
}

.modal .form-input {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border-color: #d1d5db;
}

/* ========================================
   FINAL NUCLEAR OPTION - ABSOLUTE MAXIMUM PRIORITY
   ======================================== */

/* Override EVERYTHING with the highest possible specificity */
html body div.character-card div.character-name,
html body .character-card .character-name,
html body .card .character-name,
html body [class*="character-name"],
html body div[class*="character-name"] {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    font-size: 1.3rem !important;
}

/* Force all text elements to be white */
html body * {
    color: #ffffff !important;
}

/* Specific overrides for common elements */
html body div,
html body span,
html body p,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
    color: #ffffff !important;
}

/* Character card specific with maximum specificity */
html body .grid .character-card .character-name {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
}

/* Modal exceptions with high specificity */
html body .modal * {
    color: #1a1a1a !important;
}

html body .modal .character-name {
    color: #1a1a1a !important;
}

/* ========================================
   ULTIMATE NUCLEAR OPTION - OVERRIDE EVERYTHING
   ======================================== */

/* FORCE character-name to be white with maximum specificity */
html body div.character-card div.character-name,
html body .character-card .character-name,
html body .card .character-name,
html body div.character-name,
html body .character-name {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    font-size: 1.3rem !important;
}

/* Override inline styles with even higher specificity */
html body div[class*="character-card"] div[class*="character-name"],
html body div[class="character-card"] div[class="character-name"] {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Target specific elements by content - for the exact titles */
html body .character-name:contains("💰"),
html body .character-name:contains("ℹ️") {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Force ALL text in character cards to be white */
html body .character-card,
html body .character-card *,
html body .character-card div,
html body .character-card span {
    color: #ffffff !important;
}

/* Override any possible inline styles */
html body [style*="color"] .character-name {
    color: #ffffff !important;
}

/* Target by attribute selector */
html body div[class~="character-name"] {
    color: #ffffff !important;
}

/* Use CSS custom properties with !important */
:root {
    --force-white-text: #ffffff !important;
}

html body .character-name {
    color: var(--force-white-text) !important;
}

/* FINAL ATTEMPT - Use CSS attribute selectors and pseudo-elements */
div[class*="character-name"]::before {
    content: "";
    color: #ffffff !important;
}

div[class*="character-name"]::after {
    content: "";
    color: #ffffff !important;
}

/* Try using CSS content replacement */
.character-card .character-name {
    color: #ffffff !important;
    background-color: transparent !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    display: block !important;
    margin-bottom: 1.5rem !important;
}

/* Use CSS animation to force color change */
@keyframes forceWhite {
    0%, 100% {
        color: #ffffff !important;
    }
}

.character-name {
    animation: forceWhite 0.1s infinite !important;
    color: #ffffff !important;
}