/* CSS Reset and Variables - Modern Gaming & Türk Teması (Neon Kırmızı ve Tok Tonlar) */
:root {
    --bg-main: #070303; /* Ultra koyu kırmızı/siyah */
    --bg-secondary: #0e0505;
    --bg-card: rgba(18, 7, 7, 0.6);
    --bg-glass: rgba(12, 4, 4, 0.75);
    --bg-input: rgba(5, 2, 2, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-color: #ff0022; /* Canlı Neon Türk Kırmızısı */
    --accent-hover: #ff334b;
    --accent-glow: rgba(255, 0, 34, 0.45);
    --border-color: rgba(255, 0, 34, 0.18);
    --border-glow: rgba(255, 0, 34, 0.3);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #250a0d;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 80% 15%, rgba(255, 0, 34, 0.08), transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(255, 0, 34, 0.06), transparent 45%),
        linear-gradient(180deg, rgba(7, 3, 3, 0.96) 0%, rgba(7, 3, 3, 0.99) 100%);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Background Crescent & Star Watermark */
.crescent-star-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65vw;
    height: 65vw;
    max-width: 850px;
    max-height: 850px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 124 124' fill='none'><defs><filter id='glow'><feGaussianBlur stdDeviation='2.5' result='blur'/><feMerge><feMergeNode in='blur'/><feMergeNode in='SourceGraphic'/></feMerge></filter></defs><path d='M50 10 A 40 40 0 1 0 90 50 A 32 32 0 1 1 50 18 Z M 72 32 L 75 39 L 82 39 L 77 44 L 79 51 L 72 46 L 65 51 L 67 44 L 62 39 L 69 39 Z' fill='%23ff0022' fill-opacity='0.075' filter='url(%23glow)'/></svg>") center/contain no-repeat;
    z-index: -1;
    pointer-events: none;
    opacity: 0.9;
    filter: blur(0.5px);
    animation: pulseGlow 12s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #ff4d66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 77, 102, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #b90918, var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 34, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), #ff4d66);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    color: white;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 0, 34, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: #ff4d66;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-3px);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: 0.8s;
    opacity: 0;
}

.btn-glow:hover::after {
    left: 120%;
    opacity: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 85px; /* Sabit Yükseklik */
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}

.navbar.scrolled {
    background-color: rgba(7, 3, 3, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    height: 70px; /* Scrolled Sabit Yükseklik */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 130px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 0, 34, 0.4));
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 95px;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-accent {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
    color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--accent-glow);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: white;
    background: transparent;
    border: none;
    transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
    color: var(--accent-color);
}

/* Mobile Nav Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(14, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    z-index: 10000;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    border-left: 1px solid var(--border-color);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
}

.mobile-drawer-overlay.active {
    display: block;
}

.drawer-close {
    align-self: flex-end;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.drawer-close:hover {
    color: var(--accent-color);
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-links a {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    padding: 0.5rem 0;
    display: block;
}

/* User Menu & Dropdown */
.discord-login-btn {
    background: transparent;
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: white;
    padding: 0.65rem 1.35rem;
    border-radius: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.discord-login-btn i {
    color: #5865F2;
}

.discord-login-btn:hover {
    background: rgba(88, 101, 242, 0.12);
    border-color: #5865F2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.2);
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem 1.1rem 0.4rem 0.4rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color);
}

.user-profile-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 12px;
    right: 0;
    background: #0d0606;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    min-width: 250px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
    animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-header img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
}

.dropdown-display-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    font-family: var(--font-heading);
}

.dropdown-username {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.6rem;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.logout-btn:hover {
    background: rgba(255, 0, 34, 0.15);
    border-color: rgba(255, 0, 34, 0.4);
    color: #ff4d66;
}

/* Config Warning Band */
.warning-band {
    background: linear-gradient(90deg, #5b1016, #a1141e);
    color: #ffccd0;
    text-align: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,0,0,0.2);
    position: relative;
    z-index: 1005;
    margin-top: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.hero-slideshow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(7, 3, 3, 0.95) 90%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 950px;
    padding: 2rem 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 0, 34, 0.08);
    border: 1px solid rgba(255, 0, 34, 0.4);
    color: #ff4d66;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(255, 0, 34, 0.15);
}

.hero-title {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    font-weight: 900;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 680px;
    margin-inline: auto;
}

.server-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    margin-bottom: 3rem;
    background: rgba(18, 7, 7, 0.65);
    padding: 1.1rem 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.pulse {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

.pulse.offline {
    background-color: #ff0022;
    box-shadow: 0 0 10px #ff0022;
    animation: pulse-offline 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-offline {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 34, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 34, 0); }
}

.player-count {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Stats Section (New Dashboard feature) */
.stats-section {
    padding: 5rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 0, 34, 0.05);
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(255, 0, 34, 0.1);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 0, 34, 0.02) 0%, transparent 60%),
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+CjxwYXRoIGQ9Ik0wIDBoNDB2NDBIMHoiIGZpbGw9Im5vbmUiLz4KPHBhdGggZD0iTTAgMGw0MCA0ME00MCAwTDAgNDAiIHN0cm9rZT0icmdiYSgyNTUsIDAsIDM0LCAwLjAxOCkiIHN0cm9rZS13aWR0aD0iMSIvPgo8L3N2Zz4=");
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin-inline: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(145deg, rgba(20, 8, 8, 0.75), rgba(10, 4, 4, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 1.25rem;
    padding: 3rem 2.25rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 34, 0.12);
    border-color: var(--border-color);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon {
    font-size: 2.7rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Accordion Rules (New Feature) */
.rules-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: rgba(18, 7, 7, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.accordion-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(255, 0, 34, 0.05);
}

.accordion-header {
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    user-select: none;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    background: rgba(255, 0, 34, 0.04);
}

.accordion-icon {
    font-size: 0.9rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid transparent;
}

.accordion-item.active .accordion-content {
    border-top-color: rgba(255, 0, 34, 0.08);
}

.accordion-body-text {
    padding: 1.5rem 1.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.accordion-body-text strong {
    color: white;
}

/* Team Section */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.team-card {
    background: linear-gradient(135deg, rgba(20, 8, 8, 0.75), rgba(12, 4, 4, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    width: calc(33.33% - 1.5rem);
    min-width: 250px;
    max-width: 320px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 0, 34, 0.15);
    border-color: var(--border-color);
}

.team-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 15px var(--accent-glow);
    object-fit: cover;
}

.team-card h3 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.team-role {
    display: inline-block;
    background: rgba(255, 0, 34, 0.12);
    color: #ff4d66;
    padding: 0.35rem 1.1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 0, 34, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Whitelist Form Container */
.form-container {
    max-width: 800px;
    margin: 120px auto 50px;
    padding: 3.5rem;
    background: rgba(16, 7, 7, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.75rem;
    text-align: left;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.6rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

input, textarea, select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-input);
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 0, 34, 0.25);
    background: rgba(0, 0, 0, 0.8);
}

input:disabled {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border-color: transparent;
    cursor: not-allowed;
}

/* Tooltip / Form Help Hint (New Feature) */
.form-help {
    display: inline-block;
    margin-left: 0.4rem;
    color: var(--accent-color);
    cursor: help;
    font-size: 0.9rem;
    position: relative;
}

.tooltip-container {
    display: flex;
    align-items: center;
}

/* Word Counter for Character Story */
.word-counter-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.word-count-badge {
    padding: 0.15rem 0.6rem;
    border-radius: 1rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
}

.word-count-badge.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.word-count-badge.success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* Alerts */
.alert {
    padding: 1.25rem 1.75rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.alert.success {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.alert.error {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

.user-profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.user-profile-header img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Admin Dashboard CSS (New feature updates) */
.admin-container {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 2rem;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Admin stats widget cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    background: rgba(18, 7, 7, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.admin-stat-card.pending { border-left: 4px solid #fbbf24; }
.admin-stat-card.approved { border-left: 4px solid #10b981; }
.admin-stat-card.rejected { border-left: 4px solid #ef4444; }
.admin-stat-card.total { border-left: 4px solid #3b82f6; }

.admin-stat-info h5 {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
}

.admin-stat-info .num {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: white;
}

.admin-stat-icon {
    font-size: 2rem;
    opacity: 0.25;
}

.admin-stat-card.pending .admin-stat-icon { color: #fbbf24; }
.admin-stat-card.approved .admin-stat-icon { color: #10b981; }
.admin-stat-card.rejected .admin-stat-icon { color: #ef4444; }
.admin-stat-card.total .admin-stat-icon { color: #3b82f6; }

/* Filter & Search Bar */
.control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: rgba(18, 7, 7, 0.4);
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.search-box {
    position: relative;
    flex-grow: 1;
    max-width: 450px;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1.2rem 0.8rem 2.8rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.5);
}

.search-box i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.filter-btn.active {
    background: rgba(255, 0, 34, 0.15);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 10px rgba(255, 0, 34, 0.2);
}

.app-card {
    background: rgba(18, 7, 7, 0.55);
    padding: 2.25rem;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 5px solid var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.app-card.status-Bekliyor { border-left-color: #fbbf24; }
.app-card.status-Onaylandı { border-left-color: #10b981; }
.app-card.status-Reddedildi { border-left-color: #ef4444; }

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.app-header h4 {
    font-size: 1.25rem;
}

.app-details {
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.app-details p {
    margin-bottom: 0.8rem;
}

.app-details strong {
    color: var(--accent-color);
}

.app-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.reject-reason-input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-family: var(--font-body);
}

/* Quick rejection templates (New Feature) */
.templates-container {
    width: 100%;
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.template-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.4rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.template-btn:hover {
    background: rgba(255, 0, 34, 0.1);
    border-color: rgba(255, 0, 34, 0.3);
    color: white;
}

/* Footer */
.footer {
    background-color: #030101;
    padding: 5rem 0 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 1px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    box-shadow: 0 0 20px var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 320px;
    font-size: 0.9rem;
}

.footer-links h3, .footer-legal h3 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after, .footer-legal h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 0.85rem;
}

.footer-links a, .footer-legal a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-links a:hover, .footer-legal a:hover {
    color: #ff4d66;
    padding-left: 5px;
}

.footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* Modal styling for details */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.custom-modal.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.8rem; }
    .team-card { width: calc(50% - 1rem); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.8rem; }
    .server-status { flex-direction: column; gap: 1.2rem; padding: 1.25rem 2rem; width: 100%; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-buttons .btn { width: 100%; }
    .footer-container { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-brand p { margin-inline: auto; }
    .footer-links h3::after, .footer-legal h3::after { left: 50%; transform: translateX(-50%); }
    .form-container { padding: 2rem 1.5rem; margin-top: 100px; }
    .control-bar { flex-direction: column; align-items: stretch; gap: 1rem; }
    .filter-tabs { overflow-x: auto; padding-bottom: 0.25rem; }
    .team-card { width: 100%; max-width: 100%; }
}

/* Rules Tabbed System */
.rules-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.rules-tab-btn {
    padding: 0.85rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.rules-tab-btn:hover {
    background: rgba(255, 0, 34, 0.05);
    border-color: rgba(255, 0, 34, 0.2);
    color: white;
}

.rules-tab-btn.active {
    background: rgba(255, 0, 34, 0.15);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 34, 0.25);
}

.rules-tab-content {
    display: none;
    animation: tabFadeIn 0.5s ease;
}

.rules-tab-content.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.rule-item-card {
    background: rgba(18, 7, 7, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.rule-item-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(255, 0, 34, 0.08);
}

.rule-icon {
    font-size: 1.25rem;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

.rule-text h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.rule-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Cards Colors & Glows (Making the feature section colorful) */
.feature-card.economy {
    border-color: rgba(255, 215, 0, 0.15);
}
.feature-card.economy:hover {
    border-color: #ffd700;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.1);
}
.feature-card.cars {
    border-color: rgba(255, 0, 34, 0.15);
}
.feature-card.cars:hover {
    border-color: #ff0022;
    box-shadow: 0 15px 30px rgba(255, 0, 34, 0.12);
}
.feature-card.admin {
    border-color: rgba(59, 130, 246, 0.15);
}
.feature-card.admin:hover {
    border-color: #3b82f6;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.1);
}
.feature-card.whitelist {
    border-color: rgba(16, 185, 129, 0.15);
}
.feature-card.whitelist:hover {
    border-color: #10b981;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1);
}
.feature-card.illegal {
    border-color: rgba(168, 85, 247, 0.15);
}
.feature-card.illegal:hover {
    border-color: #a855f7;
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.1);
}
.feature-card.jobs {
    border-color: rgba(249, 115, 22, 0.15);
}
.feature-card.jobs:hover {
    border-color: #f97316;
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.1);
}

