/* ============================================
   ÖZ TÜRKİYEM™ VTC — Design System & Styles
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --bg-section-alt: #080808;
    --bg-glass: rgba(17, 17, 17, 0.7);

    --primary: #e51937;
    --primary-dark: #b8142c;
    --primary-light: #ff2d4f;
    --primary-glow: rgba(229, 25, 55, 0.3);
    --primary-glow-strong: rgba(229, 25, 55, 0.5);

    --accent: #ff2d4f;
    --accent-secondary: #ff6b81;

    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    --border-color: #1a1a1a;
    --border-light: #2a2a2a;

    --discord: #5865F2;
    --youtube: #FF0000;
    --instagram: #E4405F;
    --kick: #53fc18;
    --truckersmp: #bf3030;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Selection --- */
::selection {
    background: var(--primary);
    color: white;
}

/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.line-accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 16px;
    border-radius: 2px;
}

.section-header.center .line-accent {
    margin-left: auto;
    margin-right: auto;
}

/* --- Sections --- */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section.dark-bg {
    background: var(--bg-section-alt);
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

#preloader img {
    width: 100px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

#preloader .preloader-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo img {
    height: 36px;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

.logo .tm {
    color: var(--primary);
    font-size: 0.7em;
    vertical-align: super;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Login Button in Header */
.login-btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.login-btn-header:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 25, 55, 0.3);
}

/* Nav Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    background: transparent;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: none;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.lang-dropdown a:hover {
    background: var(--primary);
    color: white;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.hero:hover .hero-bg {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.5) 40%,
        rgba(10, 10, 10, 0.7) 80%,
        rgba(10, 10, 10, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* CTA Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow-strong);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 0;
    position: relative;
    z-index: 3;
    margin-top: -50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stat-item {
    background: var(--bg-card);
    padding: 40px 30px;
    text-align: center;
    transition: background var(--transition-normal);
}

.stat-item:hover {
    background: var(--bg-card-hover);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card .card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--primary);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    background: transparent;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
}

/* Team Filter Buttons */
.team-filter-bar {
    margin-bottom: 50px;
}
.team-filter-btn {
    background: rgba(229, 25, 55, 0.08);
    border: 1px solid rgba(229, 25, 55, 0.2);
    color: var(--text-primary);
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.team-filter-btn:hover {
    background: rgba(229, 25, 55, 0.15);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 25, 55, 0.2);
}
.team-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 25, 55, 0.4);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-card {
    flex: 0 1 220px; /* Each card takes 220px */
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.team-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: border-color var(--transition-normal);
}

.team-card:hover .member-avatar {
    border-color: var(--primary);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 1;
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 20px;
    transition: color var(--transition-fast);
}

.lightbox-nav:hover {
    color: var(--primary);
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-content {
    padding: 24px;
}

.event-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.event-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 16px;
    transition: gap var(--transition-fast);
}

.event-link:hover {
    gap: 10px;
}

.events-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.events-empty i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ============================================
   RULES SECTION
   ============================================ */
.rules-list {
    max-width: 800px;
    margin: 0 auto;
}

.rule-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.rule-item:hover {
    border-color: var(--border-light);
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background var(--transition-fast);
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
}

.rule-header:hover {
    background: var(--bg-card-hover);
}

.rule-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

.rule-title {
    flex: 1;
}

.rule-toggle {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.rule-item.active .rule-toggle {
    transform: rotate(180deg);
}

.rule-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.rule-item.active .rule-body {
    max-height: 500px;
}

.rule-body-inner {
    padding: 0 24px 20px 72px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.social-buttons {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.social-buttons h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.discord {
    background: var(--discord);
}

.social-btn.discord:hover {
    background: #4752c4;
}

.social-btn.truckersmp {
    background: var(--truckersmp);
    border: 1px solid var(--border-light);
}

.social-btn.truckersmp:hover {
    background: #a52828;
}

.social-btn.youtube {
    background: var(--youtube);
}

.social-btn.youtube:hover {
    background: #cc0000;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.instagram:hover {
    opacity: 0.9;
}

.social-btn.twitch {
    background: var(--kick);
    color: #000;
}

.social-btn.twitch:hover {
    background: #46d812;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-col .footer-logo img {
    height: 40px;
}

.footer-col .footer-logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom .heart {
    color: var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow-strong); }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        z-index: 10000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .mobile-toggle {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-section {
        margin-top: -30px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .team-grid {
        justify-content: center;
        gap: 12px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        justify-content: center;
        gap: 10px;
    }

    .team-card {
        padding: 16px;
    }

    .member-avatar {
        width: 60px;
        height: 60px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   EVENTS COMMAND CENTER
   ============================================ */
.events-page-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 300px);
    padding: 140px 0 110px;
    background:
        radial-gradient(circle at 15% 10%, rgba(229,25,55,.13), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(255,255,255,.055), transparent 26%),
        linear-gradient(180deg, #080808 0%, #050505 100%);
}
.events-page-container { position: relative; z-index: 2; }
.events-page-glow { position:absolute; border-radius:50%; filter:blur(90px); opacity:.22; pointer-events:none; }
.events-page-glow-one { width:420px; height:420px; background:var(--primary); top:80px; left:-250px; }
.events-page-glow-two { width:320px; height:320px; background:#fff; right:-220px; top:420px; opacity:.07; }
.events-hero-panel {
    display:grid; grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr); gap:28px;
    padding:34px; border:1px solid rgba(255,255,255,.09); border-radius:28px;
    background:linear-gradient(145deg, rgba(24,24,24,.96), rgba(9,9,9,.96));
    box-shadow:0 26px 80px rgba(0,0,0,.38); position:relative; overflow:hidden;
}
.events-hero-panel:before { content:""; position:absolute; inset:0; background:linear-gradient(105deg, rgba(229,25,55,.1), transparent 42%); pointer-events:none; }
.events-hero-copy,.event-server-card { position:relative; z-index:1; }
.events-eyebrow { display:inline-flex; align-items:center; gap:9px; color:#ff6b81; font-size:.78rem; letter-spacing:.14em; font-weight:800; margin-bottom:15px; }
.events-hero-copy h1 { font:800 clamp(2rem,4vw,3.7rem)/1.04 var(--font-heading); max-width:800px; letter-spacing:-.035em; }
.events-hero-copy p { max-width:720px; margin:18px 0 25px; color:#b5b5b5; line-height:1.75; }
.events-hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.events-primary-btn,.events-secondary-btn { min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:0 18px; border-radius:12px; font-weight:750; transition:.25s ease; cursor:pointer; }
.events-primary-btn { background:linear-gradient(135deg,var(--primary),#a90d25); color:white; box-shadow:0 12px 28px rgba(229,25,55,.23); }
.events-secondary-btn { border:1px solid #303030; background:#171717; color:white; font:700 .92rem var(--font-body); }
.events-primary-btn:hover,.events-secondary-btn:hover { transform:translateY(-2px); filter:brightness(1.08); }
.event-server-card { border:1px solid rgba(255,255,255,.09); border-radius:20px; padding:21px; background:rgba(3,3,3,.68); backdrop-filter:blur(12px); }
.event-server-head { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; }
.event-server-kicker { color:var(--text-muted); font-size:.7rem; letter-spacing:.16em; font-weight:800; }
.event-server-head h3 { margin-top:4px; font:750 1.28rem var(--font-heading); }
.server-state { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:999px; font-size:.72rem; font-weight:800; white-space:nowrap; }
.server-state span { width:7px; height:7px; border-radius:50%; background:currentColor; box-shadow:0 0 10px currentColor; }
.server-state.online { color:#55e38e; background:rgba(42,189,102,.12); }
.server-state.offline { color:#ff6b81; background:rgba(229,25,55,.12); }
.server-state.checking { color:#f2c94c; background:rgba(242,201,76,.1); }
.event-server-body { min-height:135px; margin:18px 0; }
.server-loading { color:#8f8f8f; font-size:.88rem; display:flex; align-items:center; gap:9px; min-height:120px; justify-content:center; text-align:center; }
.server-list { display:grid; gap:10px; }
.server-list-item { display:flex; justify-content:space-between; gap:15px; padding:12px; border:1px solid #222; border-radius:12px; background:#101010; }
.server-list-item strong { display:block; font-size:.87rem; margin-bottom:4px; }
.server-list-item small { color:#777; }
.server-players { text-align:right; white-space:nowrap; font-weight:800; color:#eee; }
.event-server-empty { min-height:125px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:9px; color:#777; text-align:center; }
.event-server-empty i { font-size:1.7rem; color:#444; }
.event-server-foot { display:flex; justify-content:space-between; gap:15px; padding-top:14px; border-top:1px solid #202020; color:#666; font-size:.72rem; }
.event-server-foot a { color:#aaa; }
.events-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; margin:22px 0 34px; }
.events-stat-card { display:flex; align-items:center; gap:13px; padding:18px; border:1px solid #1f1f1f; border-radius:16px; background:rgba(15,15,15,.8); }
.events-stat-icon { width:43px; height:43px; display:grid; place-items:center; border-radius:12px; background:rgba(229,25,55,.12); color:var(--primary-light); }
.events-stat-card strong { display:block; font:800 1.42rem var(--font-heading); }
.events-stat-card div span { color:#777; font-size:.75rem; }
.events-toolbar { display:flex; justify-content:space-between; gap:15px; margin-bottom:31px; }
.events-search-wrap { flex:1; max-width:530px; position:relative; }
.events-search-wrap i { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:#666; }
.events-search-wrap input { width:100%; height:50px; padding:0 16px 0 45px; border:1px solid #242424; border-radius:13px; background:#101010; color:white; outline:none; font:500 .9rem var(--font-body); }
.events-search-wrap input:focus { border-color:rgba(229,25,55,.7); box-shadow:0 0 0 3px rgba(229,25,55,.08); }
.events-filter-group { display:flex; gap:7px; padding:5px; border:1px solid #222; border-radius:13px; background:#101010; }
.event-filter-btn { border:0; border-radius:9px; padding:0 15px; background:transparent; color:#858585; font-weight:750; cursor:pointer; }
.event-filter-btn.active { background:var(--primary); color:white; box-shadow:0 6px 16px rgba(229,25,55,.22); }
.events-section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:18px; }
.events-section-heading h2 { font:800 clamp(1.6rem,3vw,2.45rem) var(--font-heading); }
.events-result-count { color:#777; font-size:.82rem; }
.featured-event { margin-bottom:20px; }
.featured-event-card { min-height:320px; border:1px solid #282828; border-radius:22px; overflow:hidden; position:relative; display:flex; align-items:flex-end; background:#111; }
.featured-event-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.62; }
.featured-event-card:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.93),rgba(0,0,0,.34)),linear-gradient(0deg,rgba(0,0,0,.9),transparent 65%); }
.featured-event-content { position:relative; z-index:2; max-width:700px; padding:31px; }
.featured-label { display:inline-flex; gap:7px; align-items:center; padding:7px 10px; border-radius:999px; color:#fff; background:var(--primary); font-size:.68rem; font-weight:850; margin-bottom:13px; }
.featured-event-content h3 { font:800 clamp(1.55rem,3vw,2.65rem) var(--font-heading); margin-bottom:14px; }
.featured-meta { display:flex; flex-wrap:wrap; gap:15px; color:#ddd; font-size:.84rem; margin-bottom:20px; }
.events-grid-panel { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.events-grid-panel .event-card { border:1px solid #202020; border-radius:18px; background:linear-gradient(155deg,#141414,#0b0b0b); overflow:hidden; min-width:0; display:flex; flex-direction:column; }
.events-grid-panel .event-card:hover { transform:translateY(-6px); border-color:rgba(229,25,55,.46); box-shadow:0 20px 45px rgba(0,0,0,.3); }
.event-image-wrap { height:178px; position:relative; overflow:hidden; background:#151515; }
.event-image-wrap .event-image { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.event-card:hover .event-image { transform:scale(1.045); }
.event-image-overlay { position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.72),transparent 55%); }
.event-status-badge { position:absolute; top:13px; left:13px; z-index:2; padding:7px 10px; border-radius:999px; font-size:.68rem; font-weight:850; backdrop-filter:blur(8px); }
.event-status-badge.upcoming { background:rgba(229,25,55,.9); color:white; }
.event-status-badge.live { background:rgba(31,190,98,.92); color:white; }
.event-status-badge.past { background:rgba(20,20,20,.86); color:#aaa; }
.event-game-badge { position:absolute; right:13px; top:13px; z-index:2; padding:7px 9px; border-radius:8px; background:rgba(5,5,5,.78); color:#ddd; font-size:.65rem; font-weight:800; }
.events-grid-panel .event-content { padding:19px; flex:1; display:flex; flex-direction:column; }
.event-card-date { display:flex; align-items:center; gap:8px; color:#ff6b81; font-size:.76rem; font-weight:750; margin-bottom:10px; }
.events-grid-panel .event-title { font-size:1.13rem; line-height:1.3; min-height:2.9em; }
.event-route { display:grid; grid-template-columns:20px minmax(0,1fr); gap:10px; margin:17px 0; }
.route-line { display:flex; flex-direction:column; align-items:center; padding-top:4px; }
.route-dot { width:8px; height:8px; border:2px solid var(--primary); border-radius:50%; }
.route-track { width:1px; height:28px; background:#333; }
.route-destination { color:#eee; font-size:.82rem; margin-bottom:12px; }
.route-destination span { display:block; color:#666; font-size:.67rem; margin-bottom:2px; }
.event-card-details { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:auto; }
.event-detail-pill { padding:9px; border:1px solid #222; border-radius:10px; background:#0b0b0b; font-size:.72rem; color:#999; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.event-detail-pill i { color:var(--primary-light); margin-right:5px; }
.event-card-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; }
.event-attendance { color:#8a8a8a; font-size:.75rem; }
.event-attendance strong { color:white; }
.events-grid-panel .event-link { display:inline-flex; gap:7px; align-items:center; font-size:.78rem; font-weight:800; }
.events-loading-card,.events-empty-modern { grid-column:1/-1; min-height:310px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; border:1px dashed #272727; border-radius:20px; color:#777; background:rgba(14,14,14,.55); }
.events-loading-logo img { width:62px; height:62px; object-fit:contain; margin-bottom:14px; opacity:.9; }
.events-loading-card>i,.events-empty-modern>i { color:var(--primary); font-size:1.5rem; margin-bottom:12px; }
.events-loading-card h3,.events-empty-modern h3 { color:white; font:750 1.2rem var(--font-heading); margin-bottom:6px; }
@media(max-width:1000px){
    .events-hero-panel{grid-template-columns:1fr}.events-stats{grid-template-columns:repeat(2,1fr)}.events-grid-panel{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
    .events-page-section{padding-top:115px}.events-hero-panel{padding:21px;border-radius:20px}.events-toolbar{flex-direction:column}.events-search-wrap{max-width:none}.events-filter-group{height:48px}.event-filter-btn{flex:1;padding:0 8px}.events-grid-panel{grid-template-columns:1fr}.events-stats{grid-template-columns:1fr 1fr;gap:10px}.events-stat-card{padding:13px}.events-stat-icon{display:none}.events-section-heading{align-items:flex-start;flex-direction:column}.event-server-foot{flex-direction:column}.featured-event-card{min-height:390px}.featured-event-content{padding:22px}.events-hero-actions>*{width:100%}
}
.application-section{padding-top:145px;min-height:100vh}.application-form{max-width:900px;margin:35px auto 0;padding:32px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:rgba(255,255,255,.045);box-shadow:0 25px 70px rgba(0,0,0,.25)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.application-form label{display:flex;flex-direction:column;gap:9px;color:#fff;font-weight:600;margin-bottom:20px}.application-form input,.application-form textarea{width:100%;padding:15px 16px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#15171c;color:#fff;font:inherit;outline:none}.application-form input:focus,.application-form textarea:focus{border-color:#e51937;box-shadow:0 0 0 3px rgba(229,25,55,.15)}.application-form .consent{flex-direction:row;align-items:center;font-weight:400}.application-form .consent input{width:18px;height:18px}.application-submit{width:100%;justify-content:center}.form-status{margin-top:16px;padding:13px;border-radius:10px;display:none}.form-status.success{display:block;background:rgba(31,180,95,.15);color:#6ee7a4}.form-status.error{display:block;background:rgba(229,25,55,.15);color:#ff8e9f}@media(max-width:700px){.form-grid{grid-template-columns:1fr}.application-form{padding:20px}}

/* ========== TRUCKERSMP SUNUCU & KATILIM SLIDERLARI ========== */
.server-head-actions,
.attending-heading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.slider-arrow-group {
    display: inline-flex;
    gap: 7px;
}

.slider-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    background: #151515;
    color: #fff;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
}

.slider-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(229, 25, 55, .7);
    background: rgba(229, 25, 55, .12);
}

.slider-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.event-server-body {
    overflow: hidden;
}

.server-slider,
.attending-events-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a transparent;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.server-slider::-webkit-scrollbar,
.attending-events-slider::-webkit-scrollbar {
    height: 7px;
}

.server-slider::-webkit-scrollbar-thumb,
.attending-events-slider::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #353535;
}

.server-slider-track,
.attending-events-track {
    display: flex;
    gap: 13px;
    width: max-content;
    min-width: 100%;
}

.server-slide-card {
    width: min(285px, calc(100vw - 92px));
    flex: 0 0 min(285px, calc(100vw - 92px));
    scroll-snap-align: start;
    border: 1px solid #242424;
    border-radius: 15px;
    padding: 15px;
    background: linear-gradient(145deg, #141414, #0c0c0c);
    transition: transform .24s ease, border-color .24s ease;
}

.server-slide-card:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 25, 55, .45);
}

.server-slide-card.is-offline {
    opacity: .66;
}

.server-slide-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 13px;
}

.server-type-badge,
.server-online-dot {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .06em;
}

.server-type-badge.event {
    color: #ff8396;
    background: rgba(229, 25, 55, .13);
}

.server-type-badge.normal {
    color: #a7b3ff;
    background: rgba(85, 105, 255, .12);
}

.server-online-dot.online {
    color: #55e38e;
    background: rgba(42, 189, 102, .11);
}

.server-online-dot.offline {
    color: #ff6b81;
    background: rgba(229, 25, 55, .11);
}

.server-slide-card h4 {
    min-height: 2.5em;
    margin-bottom: 11px;
    font: 750 1rem/1.25 var(--font-heading);
}

.server-slide-meta {
    display: grid;
    gap: 7px;
    min-height: 45px;
    color: #888;
    font-size: .72rem;
}

.server-slide-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.server-player-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.server-player-row strong {
    font-size: .95rem;
}

.server-player-row span {
    color: #777;
    font-size: .72rem;
}

.server-capacity {
    height: 5px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #242424;
}

.server-capacity span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #e51937, #ff667d);
}

.attending-events-section {
    margin: 8px 0 36px;
    padding: 24px;
    border: 1px solid #202020;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(18, 18, 18, .95), rgba(9, 9, 9, .95));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.attending-heading {
    margin-bottom: 18px;
}

.attending-events-slider {
    padding-bottom: 7px;
}

.attending-event-card {
    width: min(350px, calc(100vw - 72px));
    flex: 0 0 min(350px, calc(100vw - 72px));
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid #242424;
    border-radius: 18px;
    background: #101010;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.attending-event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 25, 55, .5);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .28);
}

.attending-event-image {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.attending-event-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .9));
}

.attending-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attending-event-badge {
    position: absolute;
    z-index: 2;
    left: 13px;
    top: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #e51937, #a80b22);
    box-shadow: 0 8px 20px rgba(229, 25, 55, .25);
    font-size: .66rem;
    font-weight: 850;
}

.attending-event-content {
    padding: 17px;
}

.attending-event-date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: #ff8092;
    font-size: .74rem;
    font-weight: 700;
}

.attending-event-content h3 {
    min-height: 2.7em;
    margin-bottom: 13px;
    font: 760 1.08rem/1.3 var(--font-heading);
}

.attending-event-info {
    display: grid;
    gap: 8px;
    min-height: 54px;
    margin-bottom: 15px;
    color: #8d8d8d;
    font-size: .75rem;
}

.attending-event-info span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.attending-event-info i {
    width: 14px;
    margin-top: 2px;
    color: #d4d4d4;
}

.attending-event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.attending-loading-card,
.attending-empty-card {
    min-width: 100%;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 28px;
    border: 1px dashed #2b2b2b;
    border-radius: 17px;
    color: #777;
    text-align: center;
    background: rgba(10, 10, 10, .72);
}

.attending-loading-card > i,
.attending-empty-card > i {
    margin-bottom: 3px;
    color: var(--primary);
    font-size: 1.65rem;
}

.attending-loading-card strong,
.attending-empty-card strong {
    color: #fff;
    font: 750 1rem var(--font-heading);
}

.attending-empty-card .events-primary-btn,
.attending-empty-card .events-secondary-btn {
    margin-top: 8px;
}

@media (max-width: 760px) {
    .event-server-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .server-head-actions {
        width: 100%;
        justify-content: space-between;
    }

    .attending-events-section {
        padding: 17px;
        border-radius: 18px;
    }

    .attending-heading-actions {
        width: 100%;
        justify-content: space-between;
    }

    .attending-event-image {
        height: 155px;
    }
}


/* Application menu fit */
@media (max-width: 1250px) and (min-width: 769px) {
  .nav-links { gap: 18px; }
  .nav-link { font-size: 0.82rem; }
  .logo span { display: none; }
  .lang-btn { padding: 7px 10px; }
}

/* Yeni ana ekran bannerı */
.hero-bg {
    background-color: #050505;
    background-size: 100% auto;
    background-position: center center;
    transform: none;
}
.hero:hover .hero-bg { transform: none; }
.hero-overlay { background: linear-gradient(180deg, rgba(5,5,5,.20), rgba(5,5,5,.05) 55%, rgba(5,5,5,.85) 100%); }
.hero-content { padding-top: 430px; }
@media (max-width: 900px) {
    .hero-bg { background-size: cover; }
    .hero-content { padding-top: 330px; }
}

/* DLC seçim alanı */
.dlc-fieldset {
    grid-column: 1 / -1;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    margin: 0;
}
.dlc-fieldset legend {
    padding: 0 8px;
    color: var(--text-primary);
    font-weight: 700;
}
.dlc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.dlc-option {
    display: flex !important;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    cursor: pointer;
    transition: .2s ease;
}
.dlc-option:hover { border-color: var(--primary); background: rgba(232,20,54,.08); }
.dlc-option input { width: 18px !important; height: 18px; accent-color: var(--primary); flex: 0 0 auto; }
.dlc-option span { font-size: .92rem; }
.dlc-all { border-color: rgba(232,20,54,.6); background: rgba(232,20,54,.10); font-weight: 800; }
.dlc-help { display: block; margin-top: 12px; color: var(--text-secondary); }
@media (max-width: 760px) { .dlc-grid { grid-template-columns: 1fr; } }

/* DLC alanı - kompakt rozet görünümü */
.application-form .dlc-fieldset {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.application-form .dlc-fieldset legend {
  padding: 0 8px;
  font-weight: 800;
  color: var(--text-primary, #fff);
}
.application-form .dlc-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.application-form .dlc-option {
  display: inline-flex !important;
  width: auto !important;
  min-height: 36px;
  margin: 0 !important;
  padding: 8px 11px !important;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: #15171b;
  cursor: pointer;
  line-height: 1;
  transition: .2s ease;
}
.application-form .dlc-option:hover {
  border-color: var(--primary, #e81436);
  background: rgba(232,20,54,.10);
}
.application-form .dlc-option:has(input:checked) {
  border-color: var(--primary, #e81436);
  background: rgba(232,20,54,.18);
  box-shadow: inset 0 0 0 1px rgba(232,20,54,.14);
}
.application-form .dlc-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px;
  margin: 0 !important;
  border: 1.5px solid rgba(255,255,255,.48);
  border-radius: 5px;
  background: transparent;
  display: grid;
  place-content: center;
}
.application-form .dlc-option input[type="checkbox"]::before {
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  transform: scale(0);
  transition: .12s ease;
}
.application-form .dlc-option input[type="checkbox"]:checked {
  background: var(--primary, #e81436);
  border-color: var(--primary, #e81436);
}
.application-form .dlc-option input[type="checkbox"]:checked::before { transform: scale(1); }
.application-form .dlc-option span {
  font-size: .84rem;
  white-space: nowrap;
}
.application-form .dlc-all {
  order: -1;
  font-weight: 800;
  border-color: rgba(232,20,54,.7);
}
.application-form .dlc-help {
  margin-top: 9px;
  font-size: .78rem;
}
@media (max-width: 600px) {
  .application-form .dlc-fieldset { padding: 12px; }
  .application-form .dlc-grid { gap: 7px; }
  .application-form .dlc-option { min-height: 34px; padding: 7px 9px !important; }
  .application-form .dlc-option span { font-size: .78rem; }
}

/* DLC alanı: giriş kutusu boyutunda, dikey kaydırmalı */
.application-form .dlc-fieldset {
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.application-form .dlc-fieldset legend {
  margin: 0 0 10px !important;
  padding: 0 !important;
}
.application-form .dlc-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  height: 58px !important;
  max-height: 58px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 8px !important;
  border: 1px solid var(--border-color, #30343b) !important;
  border-radius: 13px !important;
  background: #15181e !important;
  scrollbar-width: thin;
  scrollbar-color: var(--primary, #e81436) #20242b;
}
.application-form .dlc-grid::-webkit-scrollbar { width: 7px; }
.application-form .dlc-grid::-webkit-scrollbar-track { background: #20242b; border-radius: 10px; }
.application-form .dlc-grid::-webkit-scrollbar-thumb { background: var(--primary, #e81436); border-radius: 10px; }
.application-form .dlc-option {
  width: 100% !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 5px 8px !important;
  border-radius: 8px !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}
.application-form .dlc-option span {
  font-size: .78rem !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.application-form .dlc-option input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
}
.application-form .dlc-help {
  margin-top: 6px !important;
  font-size: .72rem !important;
}
@media (max-width: 600px) {
  .application-form .dlc-grid { grid-template-columns: 1fr !important; }
}

/* Üye Girişi ve Kayıt bağlantıları eklendiğinde masaüstü menü uyumu */
@media (max-width: 1550px) and (min-width: 769px) {
    .nav-links { gap: 12px; }
    .nav-link { font-size: .76rem; }
    .logo span { display: none; }
    .nav-controls { gap: 8px; }
    .lang-btn { padding: 7px 9px; }
}


/* Kadro fotoğraflı kartlar */
.team-grid-photos { gap: 24px; }
.team-card-photo {
    flex: 0 1 250px;
    padding: 28px 22px 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20,23,30,.98), rgba(13,15,20,.98));
}
.team-member-avatar {
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
    border: 3px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    background: #151922;
}
.team-card-photo:hover .team-member-avatar { border-color: var(--primary); }
.member-avatar-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f21c45, #8c1025);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}
.team-role-pill {
    margin-top: 2px;
    background: rgba(242, 28, 69, .15);
    color: #ff6280;
    border: 1px solid rgba(242, 28, 69, .22);
}
.team-meta-row {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}
.team-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2px;
}
.team-status-badge.active {
    background: rgba(47, 188, 95, .14);
    color: #6ff5a0;
    border: 1px solid rgba(47,188,95,.25);
}
.team-status-badge.leave {
    background: rgba(255, 184, 0, .14);
    color: #ffd66e;
    border: 1px solid rgba(255,184,0,.25);
}
.team-profile-link {
    margin-top: 16px;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    transition: all .25s ease;
}
.team-profile-link:hover {
    background: rgba(242, 28, 69, .12);
    border-color: rgba(242, 28, 69, .35);
    color: #ff6a85 !important;
}
@media (max-width: 640px) {
    .team-card-photo { flex-basis: 100%; max-width: 340px; }
}
