.footer-slim {
    background: #1a1a1a;
    color: var(--white);
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-slim-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-left { display: flex; align-items: center; gap: 1rem; }
.footer-brand { height: 40px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }

.footer-social { display: flex; gap: .75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: #2a2a2a; border: none; display: flex; align-items: center; justify-content: center; color: var(--gray-300); transition: var(--transition); text-decoration: none; }
.footer-social a i { text-decoration: none; }
.footer-social a:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-1px); }

.footer-right { text-align: center; flex: 1; }
.footer-right .disclaimer { color: var(--gray-300); font-size: .85rem; margin-top: .25rem; }
.footer-right a { color: var(--gray-300); text-decoration: underline; }

@media (max-width: 768px) {
  .footer-slim-row { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer-right { text-align: left; }
}
/* Showcase Sections */
.showcase {
    background: #0e0e0e;
    padding: 80px 0;
}

.showcase-row {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr; /* metin alanı geniş */
    column-gap: 3rem; /* daha az boşluk = daha çok metin genişliği */
    row-gap: 2rem;
    align-items: start;
    padding: 0.5rem 0;
    margin: 4rem 0;
}

/* ardışık satırlar arasında ekstra boşluk */
.showcase-row + .showcase-row { margin-top: 5rem; }

.showcase-row.reverse {
    grid-template-columns: 1.5fr 0.5fr; /* simetri */
}

.showcase-text { padding-left: 0; }

.showcase-text .section-title {
    text-align: left;
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    margin-left: 0;
    padding-left: 0;
}

.showcase-text .section-subtitle {
    text-align: left;
    margin-top: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
    font-size: 1rem;
    margin-left: 0;
    padding-left: 0;
}

.showcase-image {
    position: relative;
    max-width: 200px; /* daha küçük görsel */
    justify-self: end;
    align-self: start;
}

.showcase-row.reverse .showcase-image {
    justify-self: start;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    border: none; /* border kaldırıldı */
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    filter: saturate(1.05) contrast(1.05);
}

.showcase-image::after {
    content: '';
    position: absolute;
    inset: -16px -16px -16px -16px; /* ışıma biraz azaltıldı */
    z-index: -1;
    background: radial-gradient(ellipse at 60% 40%, rgba(210,105,30,0.18), rgba(0,0,0,0));
    filter: blur(18px);
}

.showcase-text h2.section-title {
    letter-spacing: 0.3px;
}

.showcase-text p.section-subtitle {
    color: var(--gray-200);
    max-width: 850px;
}

@media (max-width: 992px) {
    .showcase-row,
    .showcase-row.reverse {
        grid-template-columns: 1fr;
    }
    .showcase-image,
    .showcase-row.reverse .showcase-image {
        justify-self: center;
        max-width: 420px;
    }
    .showcase-row { gap: 2rem; margin: 2rem 0; }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Desert/Western Color Palette */
    --primary: #D2691E;
    --primary-dark: #B8860B;
    --secondary: #8B7355;
    --accent: #FFD700;
    --success: #228B22;
    --error: #DC143C;
    --warning: #FF8C00;
    
    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 24px;
    
    /* Transitions */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--white);
    background-color: #0e0e0e;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.custom-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-logo-img {
    width: 32px; /* büyütüldü */
    height: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23FFD700" opacity="0.6"><animate attributeName="opacity" values="0.6;0.2;0.6" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="%23FFD700" opacity="0.4"><animate attributeName="opacity" values="0.4;0.8;0.4" dur="4s" repeatCount="indefinite"/></circle><circle cx="60" cy="70" r="1" fill="%23FFD700" opacity="0.5"><animate attributeName="opacity" values="0.5;0.1;0.5" dur="2.5s" repeatCount="indefinite"/></circle></svg>');
    animation: sparkle 8s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

.title-line {
    display: block;
}

.title-line:first-child {
    color: var(--white);
}

.title-line:nth-child(2) {
    color: var(--primary);
    /* Sarı parıltıyı devre dışı bırak */
    text-shadow: none !important;
    animation: none !important;
}

.subtitle {
    display: block;
    font-size: 0.4em;
    color: var(--gray-200);
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray-100);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary:hover::before {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%,  finer {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* About Section */
.about {
    background: #0e0e0e;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 105, 30, 0.1), transparent);
    transition: var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition-slow);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-slow);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
}

.feature-card:hover .feature-icon::before {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Rules Section */
.rules {
    background: #0e0e0e;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rule-category {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.rule-category:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rule-category h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.rule-category ul {
    list-style: none;
}

.rule-category li {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.rule-category li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Application Section */
.application {
    background: #0e0e0e;
    position: relative;
}

.application-form-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.application-form {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-900);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--gray-700);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    position: relative;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: 1rem;
    background: var(--primary);
    color: var(--white);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.success-message {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border: 2px solid var(--success);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.success-message h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
}

.success-message p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    gap: 8px; /* logo ile yazı arası boşluk */
}

.footer-logo .logo-icon .custom-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #0e0e0e;
    border: 1px solid var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--white);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .application-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .application-form {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* Rules Page Specific Styles */
.rules-page-container {
    display: flex;
    min-height: 100vh;
    background: #0e0e0e;
    padding-top: 80px;
}

/* Left Sidebar */
.rules-sidebar {
    width: 300px;
    background: #1a1a1a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.search-container {
    padding: 1rem 1.5rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: var(--gray-400);
}

.search-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.9rem;
}

.rules-nav {
    padding: 0 1rem 2rem;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-bottom: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-300);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    line-height: 1.4;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transform: translateX(5px);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.nav-link.active {
    background: rgba(210, 105, 30, 0.2);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.3);
}

/* Main Content */
.rules-main-content {
    flex: 1;
    margin-left: 300px;
    padding: 2rem 3rem;
    max-width: calc(100% - 300px);
}

.rules-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.rules-header p {
    color: var(--gray-300);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rules-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.rule-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.rule-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(210, 105, 30, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rule-section.active {
    background: rgba(210, 105, 30, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(210, 105, 30, 0.2);
}

.rule-section.important {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--warning);
}

.rule-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rule-section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    flex: 1;
}

.rule-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.copy-link-btn,
.more-details-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-300);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.copy-link-btn:hover,
.more-details-btn:hover {
    background: rgba(210, 105, 30, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.rule-content {
    margin-bottom: 1rem;
}

.rule-content p {
    color: var(--gray-200);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.rule-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rule-details h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.rule-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rule-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rule-number {
    background: var(--primary);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.rule-text {
    color: var(--gray-300);
    line-height: 1.6;
    font-size: 0.95rem;
}

.rule-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.rule-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    display: block;
}

.rule-example {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

.rule-example-marker {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.rule-example-text {
    color: var(--gray-300);
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.dos h4,
.donts h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dos h4 {
    color: var(--success);
}

.donts h4 {
    color: var(--error);
}

.dos ul,
.donts ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dos li,
.donts li {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.dos li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.donts li::before {
    content: '✗';
    color: var(--error);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    width: 100%;
    background: var(--primary);
}

/* Profile Page */
.profile-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 60%), #0a0a0a;
}

.profile-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.profile-header {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.profile-header-info {
    flex: 1;
    min-width: 260px;
}

.profile-header-info h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.profile-header-info p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.steam-connect {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.steam-connect-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.steam-connect-actions .btn {
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
}

.steam-logout-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-200);
    display: none;
}

.steam-logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.steam-helper {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.steam-helper span {
    color: var(--primary);
    font-weight: 600;
}

.steam-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid transparent;
    color: var(--gray-200);
    display: none;
}

.steam-status.success {
    display: block;
    border-color: rgba(16, 185, 129, 0.5);
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.steam-status.error {
    display: block;
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.steam-status.info {
    display: block;
}

.profile-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.profile-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.profile-tab:hover {
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.profile-tab.active {
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.5), rgba(255, 140, 0, 0.5));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(210, 105, 30, 0.3);
}

.profile-tab-panels {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
}

.profile-tab-panel {
    display: none;
}

.profile-tab-panel.active {
    display: block;
}

.profile-tab-panel h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.profile-summary {
    color: var(--gray-300);
    margin-bottom: 1.75rem;
}

.profile-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.metric {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.profile-roadmap {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
    color: var(--gray-300);
}

.profile-roadmap li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.profile-roadmap i {
    color: var(--primary);
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    margin-top: 1.25rem;
    transition: var(--transition);
}

.profile-link:hover {
    background: rgba(210, 105, 30, 0.3);
    border-color: rgba(210, 105, 30, 0.5);
    transform: translateY(-2px);
}

.profile-support-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
    color: var(--gray-300);
}

.profile-support-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-support-list li i {
    color: var(--primary);
}

.profile-support-list a {
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 768px) {
    .profile-card {
        padding: 1.75rem;
    }

    .profile-tab-panels {
        padding: 1.5rem;
    }

    .profile-tabs {
        justify-content: flex-start;
    }

    .profile-tab {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .profile-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-tab-panels {
        padding: 1.25rem;
    }

    .profile-metrics {
        grid-template-columns: 1fr;
    }
}

/* Character Management Styles */
.character-form-container {
    margin-bottom: 2rem;
}

.character-form-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.character-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-description {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.character-form .form-group {
    margin-bottom: 1.5rem;
}

.character-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-200);
    font-weight: 600;
    font-size: 0.95rem;
}

.character-form input[type="text"],
.character-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.character-form input[type="text"]:focus,
.character-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
}

.character-form textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.6;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-400);
    font-size: 0.85rem;
}

.form-actions {
    margin-top: 1.5rem;
}

.form-status {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.characters-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.character-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.character-card.approved {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.character-card.rejected {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.character-card.pending {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

.character-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.character-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.character-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.character-status.approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.character-status.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.character-status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.character-story {
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.character-story p {
    margin: 0;
}

.character-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    font-weight: 600;
}

.no-characters {
    text-align: center;
    color: var(--gray-400);
    padding: 2rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .character-form-card {
        padding: 1.5rem;
    }
    
    .character-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .character-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Responsive Rules Page */
@media (max-width: 1024px) {
    .rules-sidebar {
        width: 250px;
    }
    
    .rules-main-content {
        margin-left: 250px;
        max-width: calc(100% - 250px);
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .rules-page-container {
        flex-direction: column;
    }
    
    .rules-sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .rules-main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .rule-section {
        padding: 1.5rem;
    }
    
    .rule-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .rule-actions {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .dos-donts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rule-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rule-number {
        align-self: flex-start;
    }
}

/* Characters Public Page Styles */
.characters-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 60%), #0a0a0a;
}

.characters-header {
    text-align: center;
    margin-bottom: 3rem;
}

.characters-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.characters-title i {
    color: #ff6b35;
    font-size: 2.5rem;
}

.characters-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.characters-search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.characters-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.characters-search-box:focus-within {
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.characters-search-box i {
    color: #ff6b35;
    font-size: 1.25rem;
    margin-right: 1rem;
}

.characters-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.characters-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.clear-search-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.clear-search-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.characters-loading,
.characters-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.characters-loading i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.characters-empty i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.characters-empty p {
    font-size: 1.125rem;
    font-weight: 500;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.character-public-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.character-public-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.character-public-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.character-public-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.character-public-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.character-public-badge i {
    font-size: 1rem;
}

.character-public-story {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 0.95rem;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.character-public-story::-webkit-scrollbar {
    width: 6px;
}

.character-public-story::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.character-public-story::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.5);
    border-radius: 3px;
}

.character-public-story::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.7);
}

.character-public-story p {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.character-public-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.character-public-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}

.character-public-meta-item i {
    color: #ff6b35;
    font-size: 0.875rem;
}

.characters-no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.characters-no-results i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.characters-no-results p {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Responsive Characters Page */
@media (max-width: 768px) {
    .characters-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .characters-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .characters-title i {
        font-size: 2rem;
    }

    .characters-subtitle {
        font-size: 1rem;
    }

    .characters-search-container {
        margin-bottom: 2rem;
    }

    .characters-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .character-public-card {
        padding: 1.5rem;
    }

    .character-public-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .character-public-name {
        font-size: 1.25rem;
    }

    .character-public-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Character Modal Styles */
.character-public-read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    color: #ff6b35;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.character-public-card:hover .character-public-read-more {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

.character-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.character-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.character-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(15, 15, 15, 0.98));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    z-index: 10001;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.character-modal-content::-webkit-scrollbar {
    width: 10px;
}

.character-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.character-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.5);
    border-radius: 5px;
}

.character-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.7);
}

.character-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
}

.character-modal-close:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    color: #ff6b35;
    transform: rotate(90deg);
}

.character-modal-header {
    padding: 3rem 3rem 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.character-modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.character-modal-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    color: #10b981;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.character-modal-badge i {
    font-size: 1.125rem;
}

.character-modal-story {
    padding: 2rem 2.5rem;
}

.character-modal-story-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.character-modal-story-title i {
    color: #ff6b35;
    font-size: 1.25rem;
}

.character-modal-story-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.0625rem;
    max-height: 400px;
    overflow-y: auto;
}

.character-modal-story-content::-webkit-scrollbar {
    width: 8px;
}

.character-modal-story-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.character-modal-story-content::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.5);
    border-radius: 4px;
}

.character-modal-story-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.7);
}

.character-modal-story-content p {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.character-modal-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.character-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.character-modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
}

.character-modal-meta-item i {
    color: #ff6b35;
    font-size: 1.125rem;
}

.character-modal-meta-item strong {
    color: var(--white);
    font-weight: 600;
}

/* Responsive Character Modal */
@media (max-width: 768px) {
    .character-modal {
        padding: 1rem;
    }

    .character-modal-content {
        max-height: 95vh;
        border-radius: 20px;
    }

    .character-modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }

    .character-modal-header {
        padding: 2rem 2rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .character-modal-title {
        font-size: 1.75rem;
    }

    .character-modal-story {
        padding: 1.5rem 2rem;
    }

    .character-modal-story-title {
        font-size: 1.25rem;
    }

    .character-modal-story-content {
        padding: 1.5rem;
        font-size: 1rem;
        max-height: 300px;
    }

    .character-modal-footer {
        padding: 1.25rem 2rem 2rem;
    }

    .character-modal-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .rules-main-content {
        padding: 1rem;
    }
    
    .rule-section {
        padding: 1rem;
    }
    
    .rule-section-header h2 {
        font-size: 1.25rem;
    }
    
    .rule-actions {
        flex-direction: column;
        width: 100%;
    }
    
/* Application Form Styles - Completely Dark Theme */
.application-section {
    padding: 2rem 0;
    background: #0a0a0a !important;
    min-height: 100vh;
    color: white !important;
}

.application-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.application-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.application-header h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white !important;
    margin-bottom: 1rem;
}

.application-header p {
    font-size: 1rem;
    color: #cccccc !important;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.application-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    padding: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.application-warning i {
    color: #ffc107;
    font-size: 1rem;
}

.application-warning span {
    color: #ffc107;
    font-weight: 500;
    font-size: 0.9rem;
}

.application-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem !important;
    background: transparent !important;
}

/* Override any form styling */
form#applicationForm.application-form {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Force black inputs */
form#applicationForm input,
form#applicationForm textarea {
    background: #000000 !important;
    border: 1px solid #333333 !important;
    color: white !important;
}

form#applicationForm input:focus,
form#applicationForm textarea:focus {
    background: #000000 !important;
    border-color: #ff8c00 !important;
    color: white !important;
}

/* Ultra specific overrides */
#applicationForm input[type="text"],
#applicationForm input[type="url"],
#applicationForm input[type="number"],
#applicationForm textarea {
    background: #000000 !important;
    border: 1px solid #333333 !important;
    color: white !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    min-height: 200px !important;
    resize: none !important;
    border-radius: 8px !important;
}

/* Force label colors */
#applicationForm label {
    color: #cccccc !important;
}

#applicationForm .form-group label {
    color: #cccccc !important;
}

/* Force textarea height specifically */
#scenario1, #scenario2, #scenario3, #scenario4, #characterBackground {
    min-height: 200px !important;
    height: 200px !important;
}

#metagaming, #powergaming, #ruleBreaking, #roleplayExperience {
    min-height: 150px !important;
    height: 150px !important;
}

/* Placeholder text color */
#applicationForm input::placeholder,
#applicationForm textarea::placeholder {
    color: #cccccc !important;
    opacity: 1 !important;
}

/* Force placeholder colors with webkit */
#applicationForm input::-webkit-input-placeholder,
#applicationForm textarea::-webkit-input-placeholder {
    color: #cccccc !important;
    opacity: 1 !important;
}

#applicationForm input::-moz-placeholder,
#applicationForm textarea::-moz-placeholder {
    color: #cccccc !important;
    opacity: 1 !important;
}

#applicationForm input:-ms-input-placeholder,
#applicationForm textarea:-ms-input-placeholder {
    color: #cccccc !important;
    opacity: 1 !important;
}

.form-section {
    margin-bottom: 3rem;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.form-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white !important;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ff8c00;
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #cccccc !important;
    margin-bottom: 0.75rem;
}

.form-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    border-left: 3px solid #ff8c00;
}

.form-info i {
    color: #ff8c00;
    font-size: 0.9rem;
}

.form-info span {
    color: #cccccc;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #000000 !important;
    border: 1px solid #333333 !important;
    border-radius: 8px !important;
    color: white !important;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: none !important;
    min-height: 200px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff8c00 !important;
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.1);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Ultra specific invalid field styles */
#applicationForm input.invalid,
#applicationForm textarea.invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

#applicationForm input[class*="invalid"],
#applicationForm textarea[class*="invalid"] {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Application Messages */
.application-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.application-message.show {
    transform: translateX(0);
}

.application-message.success {
    background: #10b981;
}

.application-message.error {
    background: #ef4444;
}

.application-message.warning {
    background: #f59e0b;
}

.application-message.info {
    background: #3b82f6;
}

/* Success Page Styles */
.success-section {
    padding: 4rem 0;
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.success-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 2rem;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-content h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.success-content p {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.success-info {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid #333333;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #cccccc;
    font-size: 1.1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #ff8c00;
    font-size: 1.2rem;
    width: 20px;
}

.info-item a {
    color: #ff8c00;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.success-actions .btn-primary {
    background: #ff8c00;
    color: white;
}

.success-actions .btn-primary:hover {
    background: #e67e00;
    transform: translateY(-2px);
}

.success-actions .btn-secondary {
    background: transparent;
    color: #cccccc;
    border: 1px solid #333333;
}

.success-actions .btn-secondary:hover {
    background: #1a1a1a;
    border-color: #555555;
    transform: translateY(-2px);
}

.form-group input {
    min-height: auto;
    height: 50px;
}

.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #cccccc;
}

.char-counter.warning {
    color: #ffc107;
}

.char-counter.error {
    color: #ef4444;
}

.form-submit {
    text-align: center;
    margin-top: 3rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Application Success/Error Messages */
.application-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.application-message.show {
    transform: translateX(0);
}

.application-message.success {
    background: #10b981;
}

.application-message.error {
    background: #ef4444;
}

.application-message.warning {
    background: #f59e0b;
}

/* Footer Styles */
.footer-slim {
    background: var(--dark-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-slim-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    height: 40px;
    width: auto;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-right {
    text-align: right;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.disclaimer a {
    color: var(--primary);
    text-decoration: none;
}

/* Admin Panel Styles */
.admin-section {
    padding: 4rem 0;
    background: var(--dark-bg);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-title h1 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-title p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-logout {
    padding: 0.5rem 1rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-logout:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.btn-refresh {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Simple Admin Panel Styles */
.simple-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
}

.simple-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: center;
}

.simple-filter select,
.simple-filter input {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    min-width: 200px;
}

.simple-filter select:focus,
.simple-filter input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.simple-filter input::placeholder {
    color: #666666;
}

.applications-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    min-height: 400px;
}

.applications-list {
    display: grid;
    gap: 1rem;
}

.application-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.application-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: #ff6b35;
}

.application-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.application-user {
    font-weight: 600;
    color: white;
}

.application-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.application-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.application-status.approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.application-status.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.application-preview {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.application-date {
    color: #666666;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.no-applications {
    text-align: center;
    color: #666666;
    font-size: 1.1rem;
    padding: 3rem;
}

.no-applications i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333333;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.admin-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    min-width: 200px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.applications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.application-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.application-user {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.application-user h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.application-user p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.application-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.application-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.application-status.approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.application-status.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.application-preview {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.application-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.application-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.close {
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--dark-bg);
}

.application-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-section {
    background: var(--dark-bg);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.detail-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.25rem;
}

.detail-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.detail-section textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select,
    .filter-group input {
        min-width: auto;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .application-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Modern Admin Dashboard Styles */
.admin-login-section {
    min-height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.admin-login-section::before {
    display: none;
}

.login-wrapper {
    width: auto !important;
    text-align: center !important;
    background: transparent !important;
    padding: 3rem 2rem !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.login-logo {
    display: none;
}

.login-header {
    margin-bottom: 2rem;
}

.login-header h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

.login-form {
    margin-bottom: 1rem;
}

.login-form .form-group {
    position: relative;
    margin-bottom: 1rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.login-form input {
    width: 100px !important;
    max-width: 100px !important;
    min-width: 100px !important;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem !important;
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    color: #2d3748 !important;
    font-size: 0.7rem !important;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
    display: block !important;
}

.login-form input:focus {
    outline: none !important;
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1) !important;
}

.login-form input::placeholder {
    color: #a0aec0 !important;
}

.login-form .form-group i {
    position: absolute !important;
    left: 0.4rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #666666 !important;
    font-size: 0.7rem !important;
}

.btn-login {
    width: 100px !important;
    max-width: 100px !important;
    min-width: 100px !important;
    padding: 0.4rem !important;
    background: white !important;
    color: #2d3748 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
    margin-top: 0.5rem !important;
    display: block !important;
    text-align: center !important;
}

.btn-login:hover {
    background: #f7fafc !important;
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.login-message {
    padding: 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    display: none;
    max-width: 100px;
}

.login-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    display: block;
}

.login-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: block;
}

/* Modern Admin Dashboard Styles */
.admin-dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
    padding: 2rem 0 !important;
}

.dashboard-header {
    margin-bottom: 3rem;
}

.header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%) !important;
    border-radius: 25px !important;
    padding: 3rem !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6) !important;
    border: 3px solid #ff6b35 !important;
    position: relative !important;
    overflow: hidden !important;
}

.header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.header-title h1 {
    color: #ff6b35 !important;
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: 2px !important;
}

.header-title p {
    color: #ffffff;
    font-size: 1.4rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-logout, .btn-refresh {
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-logout {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.5);
}

.btn-refresh {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.btn-refresh:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
}

.stat-card.total::before {
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
}

.stat-card.pending::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.stat-card.approved::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.stat-card.rejected::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-card.total .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.stat-card.pending .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-card.approved .stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-card.rejected .stat-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

.stat-change.neutral {
    color: #6b7280;
}

/* Applications Section */
.applications-section {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.applications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    color: #ff6b35;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.filter-group select {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    min-width: 180px;
    font-weight: 600;
}

.filter-group select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

.search-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-group i {
    position: absolute;
    left: 1.5rem;
    color: #ff6b35;
    font-size: 1.1rem;
}

.search-group input {
    padding: 1rem 1.5rem 1rem 3rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    min-width: 300px;
    font-weight: 500;
}

.search-group input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

.search-group input::placeholder {
    color: #888888;
}

/* Applications Grid */
.applications-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    padding: 1rem 0 !important;
}

.application-card {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.application-card:hover {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: #ff6b35 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

.application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 12px 12px 0 0;
}

.application-card.pending::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.application-card.approved::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.application-card.rejected::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.application-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
}

.application-user {
    font-weight: 700 !important;
    color: white !important;
    font-size: 1.1rem !important;
}

.application-status {
    padding: 0.5rem 1rem !important;
    border-radius: 25px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 2px solid !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.application-status.pending {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    border-color: #d97706 !important;
}

.application-status.approved {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    border-color: #059669 !important;
}

.application-status.rejected {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: white !important;
    border-color: #dc2626 !important;
}

.application-info {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
    padding: 1rem !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.info-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    color: #cbd5e1 !important;
    font-size: 0.9rem !important;
    padding: 0.25rem 0 !important;
}

.info-item i {
    color: #ff6b35 !important;
    width: 16px !important;
    font-size: 1rem !important;
}

.application-date {
    color: #64748b !important;
    font-size: 0.8rem !important;
    text-align: right !important;
    font-style: italic !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.no-applications {
    grid-column: 1 / -1;
    text-align: center;
    color: #666666;
    font-size: 1.1rem;
    padding: 4rem 2rem;
}

.no-applications i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .section-actions {
        flex-direction: column;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

/* Application Detail Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    color: #cccccc;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff6b35;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-radius: 0 0 16px 16px;
}

.btn-approve, .btn-reject, .btn-close {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-approve {
    background: #10b981;
    color: white;
}

.btn-approve:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-reject {
    background: #ef4444;
    color: white;
}

.btn-reject:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-close {
    background: #6b7280;
    color: white;
}

.btn-close:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* Application Detail Styles */
.application-detail {
    color: white;
}

.detail-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-section h3 {
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item label {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-item span {
    color: white;
    font-size: 1rem;
}

.steam-link {
    color: #ff6b35;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.steam-link:hover {
    color: #e55a2b;
}

.detail-content {
    color: #cccccc;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.scenarios-grid, .questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.scenario-item, .question-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.scenario-item h4, .question-item h4 {
    color: #ff6b35;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.scenario-item p, .question-item p {
    color: #cccccc;
    line-height: 1.5;
    margin: 0;
}

.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666666;
    font-size: 0.9rem;
}

.meta-item i {
    color: #ff6b35;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .scenarios-grid, .questions-grid {
        grid-template-columns: 1fr;
    }
}
