/* Modern Metin2 Theme - Black & Gold */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cinzel:wght@400;500;600&display=swap');

:root {
  /* Color Palette */
  --primary-black: #0a0a0a;
  --secondary-black: #1a1a1a;
  --tertiary-black: #2a2a2a;
  --primary-gold: #d4af37;
  --secondary-gold: #b8941f;
  --accent-gold: #ffd700;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --text-dark: #666666;
  
  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8941f 100%);
  --black-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
  
  /* Shadows */
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);
  --gold-glow-strong: 0 0 30px rgba(212, 175, 55, 0.6);
  --black-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary-black);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Utility Classes */
.gold-text { color: var(--primary-gold); }
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-effect {
  box-shadow: var(--gold-glow);
  transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
  box-shadow: var(--gold-glow-strong);
}

/* Header */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--primary-gold);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-gold);
  text-decoration: none;
  letter-spacing: 2px;
  flex-shrink: 0;
  border: none;
  outline: none;
  background: transparent;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  
  /* Şık altın glow efekti */
  text-shadow: 
    0 0 10px rgba(212, 175, 55, 0.4),
    0 0 20px rgba(212, 175, 55, 0.3),
    0 0 30px rgba(212, 175, 55, 0.2);
  
  /* Subtle gradient background */
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.1) 0%, 
    rgba(212, 175, 55, 0.05) 50%, 
    rgba(212, 175, 55, 0.1) 100%);
  
  /* Soft border */
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 
    0 2px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.logo:hover {
  transform: translateY(-2px);
  text-shadow: 
    0 0 15px rgba(212, 175, 55, 0.6),
    0 0 25px rgba(212, 175, 55, 0.4),
    0 0 35px rgba(212, 175, 55, 0.3);
  
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.15) 0%, 
    rgba(212, 175, 55, 0.08) 50%, 
    rgba(212, 175, 55, 0.15) 100%);
  
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  list-style: none;
}

.nav-item a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  white-space: nowrap;
  font-size: 0.95rem;
  cursor: pointer;
  min-height: 20px;
  line-height: 1.2;
}

.nav-item a:hover,
.nav-item a:focus {
  color: var(--primary-gold);
  background: rgba(212, 175, 55, 0.15);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-item a:hover::after,
.nav-item a:focus::after {
  width: 80%;
}

/* Login Form */
.login-form {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 400px;
}

.login-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.login-form label span {
  color: var(--primary-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.login-input {
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid var(--tertiary-black);
  color: var(--text-light);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  width: 140px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  cursor: text;
}

.login-input:focus,
.login-input:hover {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  background: rgba(26, 26, 26, 1);
}

.login-input::placeholder {
  color: var(--text-dark);
  font-size: 0.85rem;
}

.login-btn {
  background: var(--gold-gradient);
  color: var(--primary-black);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
  min-height: 40px;
  min-width: 80px;
}

.login-btn:hover,
.login-btn:focus {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-strong);
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8941f 100%);
}

/* Main Layout */
.main-wrapper {
  margin-top: 100px;
  min-height: calc(100vh - 100px);
}

.container {
  max-width: 1200px; /* Genişlik geri düşürüldü */
  margin: 0 auto;
  padding: 0 2rem; /* Padding geri artırıldı */
}

/* Hero Section */
.hero-section {
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

/* Hero Logo Image */
.hero-logo {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
  animation: logoGlow 3s ease-in-out infinite alternate;
  transition: transform 0.1s ease-out;
  cursor: pointer;
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.9));
  }
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

/* Card hover effects */
.card {
  background: var(--black-gradient);
  border: 1px solid var(--tertiary-black);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--black-shadow);
  transition: all 0.3s ease;
  cursor: default;
}

.card:hover,
.card:focus-within {
  border-color: var(--primary-gold);
  box-shadow: var(--gold-glow), var(--black-shadow);
  transform: translateY(-5px);
}

.card-title {
  color: var(--primary-gold);
  margin-bottom: 1rem;
  cursor: default;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  min-height: 20px;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  outline: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--primary-black);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-strong);
  color: var(--primary-black);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary-gold);
  color: var(--primary-black);
  box-shadow: var(--gold-glow);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes goldPulse {
  0%, 100% {
    text-shadow: 
      0 0 10px rgba(212, 175, 55, 0.4),
      0 0 20px rgba(212, 175, 55, 0.3),
      0 0 30px rgba(212, 175, 55, 0.2);
    box-shadow: 
      0 2px 15px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(212, 175, 55, 0.2),
      inset 0 1px 0 rgba(212, 175, 55, 0.1);
  }
  50% {
    text-shadow: 
      0 0 15px rgba(212, 175, 55, 0.6),
      0 0 25px rgba(212, 175, 55, 0.4),
      0 0 35px rgba(212, 175, 55, 0.3);
    box-shadow: 
      0 2px 15px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(212, 175, 55, 0.4),
      inset 0 1px 0 rgba(212, 175, 55, 0.2);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.gold-pulse {
  animation: goldPulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1200px) {
  .header-container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  .login-form {
    min-width: 350px;
  }
  
  .nav-menu {
    gap: 0.8rem;
  }
  
  .nav-item a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  
  .nav-item a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .login-form {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    min-width: auto;
    gap: 0.75rem;
  }
  
  .login-form label {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  
  .login-form label span {
    min-width: 60px;
    font-size: 0.75rem;
  }
  
  .login-input {
    width: 120px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .main-wrapper {
    margin-top: 140px;
  }
}

@media (max-width: 480px) {
  .login-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .login-form label {
    width: 100%;
    text-align: center;
  }
  
  .login-input {
    width: 200px;
  }
  
  .nav-menu {
    display: flex !important; /* Show mobile menu */
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }
  
  .logo {
    font-size: 1.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Additional Styles for Layout */

/* Stats Grid */
.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--tertiary-black);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.stat-value {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Ranking Table */
.ranking-table {
  width: 100%;
}

.ranking-header {
  display: grid;
  grid-template-columns: 20% 60% 20%;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--primary-gold);
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-gold);
}

.ranking-row {
  display: grid;
  grid-template-columns: 20% 60% 20%;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--tertiary-black);
  transition: all 0.3s ease;
}

.ranking-row:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-gold);
}

/* Modern Footer */
.modern-footer {
  background: var(--black-gradient);
  border-top: 1px solid var(--primary-gold);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h5,
.footer-section h6 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--tertiary-black);
  color: var(--text-gray);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Login Form Styling */
.login-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.login-form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  /* Login form inherits from general form styles but with smaller size */
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  width: 140px;
  margin-bottom: 0.5rem;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
  /* Focus styles inherited from general form styles */
  outline: none;
  border-color: var(--primary-gold);
}

.login-form .btn {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Grid Layout Responsive */
@media (max-width: 1200px) {
  .container > div[style*="grid-template-columns"] {
    grid-template-columns: 280px 1fr 280px !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 1024px) {
  .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .sidebar-left,
  .sidebar-right {
    order: 2;
  }
  
  .main-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 200px;
  }
  
  .login-form {
    justify-content: center;
    width: 100%;
  }
  
  .nav-menu {
    display: flex !important; /* Show mobile menu */
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }
}

/* Loading Animation for Stats */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-value[data-count] {
  animation: countUp 0.8s ease forwards;
}

/* Hover Effects for Cards */
.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.card:hover::before {
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}
/* Video Responsive */
@media (max-width: 768px) {
  .hero-video {
    opacity: 0.2;
  }
  
  .hero-logo {
    max-width: 380px;
  }
  
  .hero-section {
    min-height: 300px;
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 320px;
  }
  
  .hero-section {
    min-height: 250px;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* Video Loading State */
.hero-video:not([src]) {
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
}
/* Modern Player List Styles - Fixed Alignment Edition */
.modern-player-list {
  background: var(--secondary-black);
  border: 1px solid var(--tertiary-black);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--black-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;
}

.modern-player-list:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--gold-glow), var(--black-shadow);
}

.player-list-header {
  display: grid;
  grid-template-columns: 30px 1fr 60px;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--gold-gradient);
  color: var(--primary-black);
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
  gap: 0.5rem;
}

.player-list-header span:first-child {
  text-align: center;
  font-weight: 800;
  justify-self: center;
}

.player-list-header span:nth-child(2) {
  text-align: left;
  padding-left: 0.5rem;
  justify-self: start;
}

.player-list-header span:last-child {
  text-align: center;
  font-weight: 800;
  justify-self: center;
}

.player-list-row {
  display: grid;
  grid-template-columns: 30px 1fr 60px;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(42, 42, 42, 0.3);
  transition: all 0.3s ease;
  font-size: 0.85rem;
  border-radius: 6px;
  margin-bottom: 0.25rem;
  min-height: 40px;
  gap: 0.5rem;
}

.player-list-row:hover {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-color: var(--primary-gold);
  transform: translateX(3px);
  box-shadow: 0 2px 15px rgba(212, 175, 55, 0.2);
  border-left: 3px solid var(--primary-gold);
}

.player-list-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.player-rank {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-gold);
  font-family: 'Cinzel', serif;
  justify-self: center;
}

.player-name {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: left;
  padding: 0.5rem;
  font-size: 0.85rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  justify-self: start;
  cursor: pointer;
  border-radius: 4px;
}

.player-name:hover,
.player-name:focus {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transform: translateX(3px);
  background: rgba(212, 175, 55, 0.1);
  text-decoration: none;
}

.player-level {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  background: rgba(255, 215, 0, 0.1);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--primary-gold);
  font-family: 'Cinzel', serif;
  min-width: 50px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

/* Special styling for top 3 players */
.player-list-row:nth-child(2) .player-rank {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: var(--primary-black);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  font-weight: 800;
}

.player-list-row:nth-child(3) .player-rank {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: var(--primary-black);
  box-shadow: 0 0 8px rgba(192, 192, 192, 0.4);
  font-weight: 800;
}

.player-list-row:nth-child(4) .player-rank {
  background: linear-gradient(135deg, #cd7f32, #daa520);
  color: var(--primary-black);
  box-shadow: 0 0 8px rgba(205, 127, 50, 0.4);
  font-weight: 800;
}

/* Remove pagination from small lists */
.simple-player-list .pagination {
  display: none;
}

/* List title styling */
.list-title {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--tertiary-black);
}

.list-title a {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--primary-gold);
  border-radius: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  min-height: 20px;
  line-height: 1.2;
}

.list-title a:hover,
.list-title a:focus {
  background: var(--primary-gold);
  color: var(--primary-black);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1rem;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--secondary-black);
  color: var(--primary-gold);
  text-decoration: none;
  border: 1px solid var(--tertiary-black);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 40px;
  text-align: center;
}

.pagination a:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

.pagination .current {
  background: var(--gold-gradient);
  color: var(--primary-black);
  box-shadow: var(--gold-glow);
}

.pagination .prev,
.pagination .next {
  font-weight: 600;
  padding: 0.5rem 1.5rem;
}

/* Discord Section */
.discord-section {
  background: var(--black-gradient);
  border: 1px solid var(--tertiary-black);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.discord-section:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--gold-glow);
}

.discord-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) saturate(100%) invert(84%) sepia(29%) saturate(1458%) hue-rotate(18deg) brightness(95%) contrast(89%);
}

.discord-title {
  color: var(--primary-gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.discord-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
  transition: all 0.3s ease;
}

.discord-link:hover {
  color: var(--text-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Responsive Player List - Grid Edition */
@media (max-width: 768px) {
  .player-list-header,
  .player-list-row {
    grid-template-columns: 25px 1fr 50px;
    gap: 0.4rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
  
  .modern-player-list {
    padding: 1rem;
  }
  
  .player-rank {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }
  
  .player-name {
    padding-left: 0.3rem;
    font-size: 0.8rem;
  }
  
  .player-level {
    font-size: 0.8rem;
    min-width: 40px;
    height: 26px;
    padding: 0.2rem 0.4rem;
  }
  
  .player-list-header {
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .player-list-header,
  .player-list-row {
    grid-template-columns: 22px 1fr 45px;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }
  
  .player-rank {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
  
  .player-name {
    font-size: 0.75rem;
    padding-left: 0.2rem;
  }
  
  .player-level {
    font-size: 0.75rem;
    min-width: 35px;
    height: 24px;
    padding: 0.15rem 0.3rem;
  }
  
  .modern-player-list {
    padding: 0.75rem;
  }
}

/* Modern Image Slider Styles */
.modern-slider-container {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--black-shadow);
}

.modern-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--secondary-black);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: all 0.3s ease;
}

.slide:hover img {
  filter: brightness(0.8);
  transform: scale(1.05);
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--text-light);
  padding: 2rem;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.slide-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin: 0;
}

/* Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.slider-nav:hover,
.slider-nav:focus {
  background: var(--primary-gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  outline: none;
}

.slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

/* Arrow Icons */
.arrow-left, .arrow-right {
  width: 0;
  height: 0;
  border-style: solid;
}

.arrow-left {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid var(--primary-black);
  margin-right: 2px;
}

.arrow-right {
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--primary-black);
  margin-left: 2px;
}

/* Dots Navigation */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  padding: 4px;
}

.dot:hover,
.dot:focus {
  background: rgba(212, 175, 55, 0.8);
  transform: scale(1.2);
  outline: none;
}

.dot.active {
  background: var(--primary-gold);
  border-color: var(--text-light);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Responsive Slider */
@media (max-width: 768px) {
  .modern-slider {
    height: 280px;
  }
  
  .slide-content {
    padding: 1.5rem;
  }
  
  .slide-content h3 {
    font-size: 1.4rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .slider-nav {
    width: 40px;
    height: 40px;
  }
  
  .slider-nav.prev {
    left: 15px;
  }
  
  .slider-nav.next {
    right: 15px;
  }
  
  .arrow-left {
    border-right: 10px solid var(--primary-black);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }
  
  .arrow-right {
    border-left: 10px solid var(--primary-black);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }
}

@media (max-width: 480px) {
  .modern-slider {
    height: 220px;
  }
  
  .slide-content {
    padding: 1rem;
  }
  
  .slide-content h3 {
    font-size: 1.2rem;
  }
  
  .slide-content p {
    font-size: 0.9rem;
  }
  
  .slider-nav {
    width: 35px;
    height: 35px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}
/* Enhanced Click Areas and Hover Fixes */
a, button, .clickable {
  position: relative;
  z-index: 1;
}

/* Ensure all clickable elements have proper cursor */
a, button, input[type="submit"], input[type="button"], .btn, .clickable {
  cursor: pointer !important;
}

/* Prevent hover state loss */
a:hover, button:hover, .btn:hover {
  pointer-events: auto !important;
}

/* Enhanced touch targets for mobile */
@media (max-width: 768px) {
  a, button, .btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-item a {
    padding: 1rem 1.5rem;
    min-height: 44px;
  }
  
  .player-name {
    padding: 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .dot {
    width: 16px;
    height: 16px;
    padding: 6px;
  }
  
  .slider-nav {
    width: 50px;
    height: 50px;
  }
}

/* Fix for elements losing hover state */
.nav-item a,
.btn,
.player-name,
.list-title a,
.slider-nav,
.dot {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Ensure hover states persist */
.nav-item a:hover,
.btn:hover,
.player-name:hover,
.list-title a:hover,
.slider-nav:hover,
.dot:hover {
  pointer-events: auto;
  cursor: pointer;
}

/* Fix for rapid hover state changes */
* {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Smooth transitions for all interactive elements */
a, button, .btn, .clickable {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Prevent text selection on interactive elements */
.nav-item a,
.btn,
.slider-nav,
.dot,
.player-rank,
.player-level {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Modern Download Page Styles */
.modern-download-page {
  margin: 2rem auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 1rem;
}

.download-hero {
  background: var(--black-gradient);
  border: 1px solid var(--tertiary-black);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--black-shadow);
  position: relative;
  overflow: hidden;
}

.download-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: rotateGlow 10s linear infinite;
  z-index: 1;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.download-content {
  position: relative;
  z-index: 2;
}

.download-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
  animation: logoFloat 3s ease-in-out infinite alternate;
}

@keyframes logoFloat {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}

.download-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  letter-spacing: 2px;
}

.download-description {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 1.2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.download-btn:hover::before {
  left: 100%;
}

.download-icon {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid currentColor;
  position: relative;
}

.download-icon::after {
  content: '';
  position: absolute;
  top: 15px;
  left: -4px;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 1px;
}

.admin-content {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--secondary-black);
  border-radius: 12px;
  border: 1px solid var(--tertiary-black);
}

.admin-content:empty {
  display: none;
}

/* System Requirements Section */
#system-requirements {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--secondary-black);
  border-radius: 12px;
  border: 1px solid var(--tertiary-black);
}

/* Responsive Download Page */
@media (max-width: 768px) {
  .download-hero {
    padding: 2rem 1rem;
  }
  
  .download-title {
    font-size: 2rem;
  }
  
  .download-description {
    font-size: 1rem;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .download-logo {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .download-title {
    font-size: 1.5rem;
  }
  
  .download-description {
    font-size: 0.9rem;
  }
  
  .download-logo {
    max-width: 120px;
  }
}

/* ===== ENHANCED MOBILE RESPONSIVE DESIGN ===== */

/* Mobile-first approach - override existing styles */

/* Header mobile improvements */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 1rem;
    gap: 1rem;
  }
  
  .logo {
    font-size: 1.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-item a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

/* ===== MOBILE HEADER IMPROVEMENTS - ONLY FOR MOBILE ===== */

@media (max-width: 768px) {
  .modern-header {
    padding: 0.75rem 0;
  }
  
  .header-container {
    flex-direction: column !important;
    gap: 1rem;
    padding: 0 1rem;
    justify-content: center !important;
  }
  
  .logo {
    font-size: 1.8rem !important;
    margin-bottom: 0;
    padding: 0.4rem 0.8rem;
    order: 1 !important;
  }
  
  /* Show navigation menu on mobile */
  .nav-menu {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0.5rem 0;
    order: 2 !important;
  }
  
  .nav-item {
    flex: 0 0 auto;
  }
  
  .nav-item a {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 6px;
    white-space: nowrap;
  }
  
  .nav-item a:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    transform: none;
  }
  
  .login-form {
    width: 100% !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    min-width: auto !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    order: 3 !important;
  }
  
  .login-section {
    width: 100% !important;
    background: transparent !important; /* Removed background */
    padding: 1rem !important;
    border-radius: 8px;
    border: none !important; /* Removed border */
    order: 3 !important;
  }
  
  .login-form label {
    font-size: 0.85rem !important;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 0.25rem;
  }
  
  .login-form label span {
    min-width: auto !important;
    font-size: 0.8rem !important;
    color: var(--primary-gold) !important;
    font-weight: 500;
    text-align: center !important;
  }
  
  .login-form input {
    width: 140px !important;
    font-size: 0.85rem !important;
    padding: 0.5rem;
    text-align: center;
  }
  
  .login-form .btn {
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem;
    min-width: 80px;
    margin-top: 0.25rem;
    margin-left: 0 !important;
  }
  
  /* Login form links */
  .header-container > div:last-child {
    text-align: center;
    margin-top: 0.5rem;
    order: 4 !important;
    position: static !important;
  }
  
  .header-container > div:last-child a {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-decoration: underline;
    margin: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.5rem;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .nav-menu {
    gap: 0.25rem;
  }
  
  .nav-item a {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .login-form {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  .login-form > div {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Main content mobile improvements */
@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
  
  .main-wrapper {
    padding-top: 120px;
  }
}

@media (max-width: 768px) {
  .main-wrapper {
    padding-top: 200px; /* Increased for mobile header */
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  /* Fix the grid layout */
  .container > div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  .sidebar-left,
  .sidebar-right {
    order: 2;
  }
  
  .main-content {
    order: 1;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    padding-top: 200px;
  }
  
  .container {
    padding: 0 0.25rem;
  }
}

/* Hero section mobile improvements */
@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
    padding: 2rem 0;
  }
  
  .hero-logo {
    max-width: 350px;
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .hero-buttons .btn {
    width: 200px;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 400px;
  }
  
  .hero-logo {
    max-width: 280px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-buttons .btn {
    width: 180px;
  }
}

/* Card mobile improvements */
@media (max-width: 768px) {
  .card {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
}

/* Stats grid mobile improvements */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .stat-item {
    padding: 0.75rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .stat-value {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .stat-item {
    padding: 0.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .stat-value {
    font-size: 1.1rem;
  }
}

/* Player list mobile improvements */
@media (max-width: 768px) {
  .modern-player-list {
    font-size: 0.85rem;
  }
  
  .player-list-header,
  .player-list-row {
    grid-template-columns: 25px 1fr 50px;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  .player-rank {
    font-size: 0.8rem;
  }
  
  .player-name {
    font-size: 0.85rem;
  }
  
  .player-level {
    font-size: 0.75rem;
    min-width: 35px;
    height: 24px;
    padding: 0.2rem 0.3rem;
  }
}

@media (max-width: 480px) {
  .player-list-header,
  .player-list-row {
    grid-template-columns: 20px 1fr 45px;
    gap: 0.25rem;
    padding: 0.4rem;
  }
  
  .player-rank {
    font-size: 0.75rem;
  }
  
  .player-name {
    font-size: 0.8rem;
  }
  
  .player-level {
    font-size: 0.7rem;
    min-width: 30px;
    height: 22px;
    padding: 0.15rem 0.25rem;
  }
}

/* Button mobile improvements */
@media (max-width: 768px) {
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    min-height: 44px;
    min-width: 100px;
  }
}

/* Slider mobile improvements */
@media (max-width: 768px) {
  .modern-slider {
    height: 250px;
    margin: 1rem 0;
  }
  
  .slide-content {
    padding: 1rem;
  }
  
  .slide-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .slide-content p {
    font-size: 0.9rem;
  }
  
  .slider-nav {
    width: 40px;
    height: 40px;
  }
  
  .slider-dots {
    bottom: 15px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .modern-slider {
    height: 200px;
  }
  
  .slide-content {
    padding: 0.75rem;
  }
  
  .slide-content h3 {
    font-size: 1rem;
  }
  
  .slide-content p {
    font-size: 0.8rem;
  }
  
  .slider-nav {
    width: 35px;
    height: 35px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* Footer mobile improvements */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-section h5,
  .footer-section h6 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-section p,
  .footer-section li {
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 1rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
}

/* Typography mobile improvements */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.1rem; }
  h6 { font-size: 1rem; }
  
  body {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
  
  body {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Touch improvements for mobile */
@media (max-width: 768px) {
  /* Ensure all clickable elements have proper touch targets */
  a, button, .btn, .nav-item a, .dot, .slider-nav {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }
  
  /* Improve form inputs for mobile */
  input, select, textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
    border-radius: 6px;
  }
  
  /* Better spacing for mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }
  
  /* Better video handling on mobile */
  .hero-video {
    opacity: 0.3;
  }
}

/* Ultra-small screens */
@media (max-width: 320px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .card {
    padding: 0.5rem;
  }
  
  .btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    min-width: 80px;
  }
  
  .hero-logo {
    max-width: 250px;
  }
  
  .logo {
    font-size: 1.2rem;
  }
}
/* ===== MOBILE GRID LAYOUT FIXES ===== */

/* Main content wrapper responsive */
.main-content-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 2rem;
  margin: 2rem auto; /* auto ile ortalama */
  max-width: 1800px; /* Maksimum genişlik artırıldı */
  width: 100%;
  padding: 0 2rem; /* Padding artırıldı */
  justify-content: center; /* Grid içeriğini ortala */
}

@media (max-width: 1200px) {
  .main-content-wrapper {
    grid-template-columns: 260px 1fr 260px;
    gap: 1.5rem;
    max-width: 1400px; /* Küçük ekranlarda daha geniş */
    padding: 0 1.5rem;
  }
}

@media (max-width: 1024px) {
  .main-content-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem auto; /* Auto ile ortalama */
    max-width: 800px; /* Tablet'te daha dar */
    padding: 0 1rem;
  }
  
  .sidebar-left,
  .sidebar-right {
    order: 2;
  }
  
  .main-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .main-content-wrapper {
    gap: 1rem;
    margin: 1rem auto; /* Auto ile ortalama */
    max-width: 600px; /* Mobilde daha dar */
    padding: 0 0.5rem;
  }
}

/* Quick access buttons mobile */
@media (max-width: 768px) {
  .quick-access-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .quick-access-buttons {
    grid-template-columns: 1fr !important;
  }
}

/* Discord section mobile */
@media (max-width: 768px) {
  .discord-section {
    text-align: center;
  }
  
  .discord-icon {
    max-width: 40px;
    height: auto;
  }
  
  .discord-title {
    font-size: 1rem;
    margin: 0.5rem 0;
  }
  
  .discord-description {
    font-size: 0.8rem !important;
  }
  
  .discord-link {
    font-size: 0.85rem;
    word-break: break-all;
  }
}

/* Social media buttons mobile */
@media (max-width: 768px) {
  .sidebar-right .card:first-child .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Enhanced mobile navigation */
@media (max-width: 768px) {
  .nav-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem;
  }
  
  .nav-item a {
    text-align: center;
    padding: 0.6rem 0.4rem;
    font-size: 0.8rem;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
  }
  
  .nav-item a:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: none;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
  }
  
  .nav-item a {
    font-size: 0.75rem;
    padding: 0.5rem 0.3rem;
  }
}

/* Mobile form improvements */
@media (max-width: 768px) {
  .login-form {
    background: transparent; /* Removed background */
    padding: 1rem;
    border-radius: 8px;
    border: none; /* Removed border */
    margin-top: 0.5rem;
  }
  
  .login-form label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
  }
  
  .login-form label span {
    min-width: auto;
    text-align: left;
    font-weight: 500;
  }
  
  .login-form input {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .login-form {
    padding: 0.75rem;
  }
  
  .login-form input {
    max-width: 150px;
  }
}

/* Mobile video background fix */
@media (max-width: 768px) {
  .hero-video {
    opacity: 0.2;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

/* Mobile loading screen fix */
@media (max-width: 768px) {
  .loading-screen {
    padding: 1rem;
  }
  
  .loading-content h2 {
    font-size: 1.5rem;
  }
  
  .loading-content p {
    font-size: 0.9rem;
  }
  
  .loading-spinner {
    width: 40px;
    height: 40px;
  }
}

/* Ensure no horizontal overflow */
@media (max-width: 768px) {
  * {
    max-width: 100%;
  }
  
  .container,
  .header-container,
  .main-content-wrapper,
  .card,
  .hero-section {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Fix any potential overflow issues */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Better text wrapping */
  .discord-link,
  .stat-value,
  .player-name {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
/* ===== MOBILE LOGIN LINKS FIX ===== */

@media (max-width: 768px) {
  /* Login form altındaki linkler için */
  .header-container > div:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .header-container > div:last-child a {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-decoration: underline;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.3s ease;
  }
  
  .header-container > div:last-child a:hover {
    color: var(--primary-gold);
  }
}

/* ===== MOBILE HERO SECTION IMPROVEMENTS ===== */

@media (max-width: 768px) {
  .hero-section {
    padding-top: 1rem; /* Less padding since header is taller */
    min-height: 400px;
  }
  
  .hero-logo {
    max-width: 300px;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    line-height: 1.4;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  
  .hero-buttons .btn {
    width: 200px;
    max-width: 90%;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 350px;
  }
  
  .hero-logo {
    max-width: 250px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-buttons .btn {
    width: 180px;
    font-size: 0.85rem;
  }
}

/* ===== MOBILE NAVIGATION IMPROVEMENTS ===== */

@media (max-width: 480px) {
  .nav-menu {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .nav-item a {
    font-size: 0.75rem;
    padding: 0.5rem 0.4rem;
    text-align: center;
    min-height: 40px;
  }
}

/* ===== ENSURE PROPER SPACING ===== */

@media (max-width: 768px) {
  /* Prevent content from being too close to header */
  .main-wrapper {
    padding-top: 220px; /* Extra space for mobile header */
  }
  
  /* Better container spacing */
  .container {
    padding: 0 0.75rem;
  }
  
  /* Card spacing improvements */
  .card {
    margin-bottom: 1rem;
  }
  
  /* Stats grid mobile spacing */
  .stats-grid {
    gap: 0.5rem;
  }
  
  .stat-item {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    padding-top: 240px; /* Even more space for very small screens */
  }
}
/* ===== MOBILE STICKY HEADER WITH SCROLL EFFECT ===== */

@media (max-width: 768px) {
  .modern-header {
    transition: all 0.3s ease;
    transform: translateY(0);
  }
  
  /* Compact header when scrolled */
  .modern-header.scrolled {
    padding: 0.25rem 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
  }
  
  .modern-header.scrolled .header-container {
    gap: 0.5rem;
  }
  
  .modern-header.scrolled .logo {
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Hide navigation when scrolled on mobile */
  .modern-header.scrolled .nav-menu {
    display: none !important;
  }
  
  /* Compact login form when scrolled */
  .modern-header.scrolled .login-form {
    padding: 0.5rem;
    flex-direction: row;
    gap: 0.5rem;
    background: rgba(26, 26, 26, 0.6);
  }
  
  .modern-header.scrolled .login-form label {
    flex-direction: row;
    gap: 0.25rem;
    align-items: center;
  }
  
  .modern-header.scrolled .login-form label span {
    font-size: 0.7rem;
    min-width: 40px;
  }
  
  .modern-header.scrolled .login-form input {
    width: 80px;
    font-size: 0.75rem;
    padding: 0.25rem;
  }
  
  .modern-header.scrolled .login-form .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    min-width: 50px;
    min-height: 32px;
  }
  
  /* Hide login links when scrolled */
  .modern-header.scrolled .header-container > div:last-child {
    display: none;
  }
  
  /* Adjust main wrapper padding for compact header */
  .main-wrapper.header-scrolled {
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  .modern-header.scrolled .login-form {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .modern-header.scrolled .login-form label {
    flex-direction: column;
    gap: 0.1rem;
  }
  
  .modern-header.scrolled .login-form input {
    width: 100px;
  }
}
/* ===== DESKTOP LAYOUT FIXES ===== */

/* Desktop header - ensure proper layout */
@media (min-width: 769px) {
  .modern-header {
    padding: 1rem 0;
    position: relative;
  }
  
  .header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* Logo - left side */
  .logo {
    flex-shrink: 0;
    font-size: 2.2rem;
    order: 1;
  }
  
  /* Navigation - center */
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    order: 2;
    flex-grow: 1;
    justify-content: center;
  }
  
  /* Login section - positioned absolutely to control exact position */
  .login-section {
    position: absolute;
    top: 55%; /* Moved slightly down */
    right: 65%; /* Moved more to the right */
    transform: translateY(-50%);
    background: transparent; /* Removed transparent background */
    border: none; /* Removed border */
    border-radius: 8px;
    padding: 1rem;
    min-width: 300px;
    z-index: 10;
  }
  
  .login-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    background: transparent;
    padding: 0;
    border: none;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem; /* Login form'u aşağı indirdik */
  }
  
  .login-form label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 500;
  }
  
  .login-form label span {
    min-width: 70px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--primary-gold);
  }
  
  .login-form input {
    width: 100px;
    font-size: 0.85rem;
    padding: 0.4rem;
    text-align: left;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(10, 10, 10, 0.8);
    color: var(--text-light);
    border-radius: 4px;
  }
  
  .login-form input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
  }
  
  .login-form .btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    min-height: 32px;
    min-width: 60px;
    margin-left: 0.5rem;
    background: var(--gold-gradient);
    color: var(--primary-black);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .login-form .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  }
  
  .login-form .btn:active {
    transform: translateY(0);
  }
  
  /* Login links inside the login section */
  .login-links {
    text-align: right;
    margin-top: -0.55rem; /* Şifremi Unuttum linkini yukarı aldık */
  }
  
  .login-links a {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-decoration: underline;
    transition: color 0.3s ease;
  }
  
  .login-links a:hover {
    color: var(--primary-gold);
  }
  
  /* Desktop main wrapper */
  .main-wrapper {
    padding-top: 100px;
  }
}

/* Large desktop adjustments */
@media (min-width: 1200px) {
  .header-container {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .login-form {
    min-width: 450px;
  }
}

/* Medium desktop adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-container {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-item a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .login-form {
    min-width: 350px;
  }
  
  .login-form label span {
    min-width: 70px;
    font-size: 0.85rem;
  }
  
  .login-form input {
    width: 100px;
    font-size: 0.85rem;
  }
  
  .login-form .btn {
    font-size: 0.85rem;
    min-width: 70px;
  }
}
/* ===== MOBILE LOGIN SECTION ===== */

@media (max-width: 768px) {
  .login-section {
    width: 100% !important;
    background: rgba(26, 26, 26, 0.8) !important;
    padding: 1rem !important;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    order: 3 !important;
  }
  
  .login-links {
    text-align: center !important;
    margin-top: 0.5rem !important;
  }
  
  .login-links a {
    font-size: 0.8rem !important;
    color: var(--text-gray) !important;
    text-decoration: underline;
  }
  
  .login-links a:hover {
    color: var(--primary-gold) !important;
  }
  
  /* Mobile scrolled state for login section */
  .modern-header.scrolled .login-section {
    padding: 0.5rem !important;
    background: rgba(26, 26, 26, 0.6) !important;
  }
  
  .modern-header.scrolled .login-links {
    display: none !important;
  }
}
/* ===== LOGGED IN USER STYLES ===== */

.user-logged-in {
  min-width: 250px !important;
}

.user-logged-in .user-info {
  text-align: center;
  margin-bottom: 0.75rem;
}

.user-logged-in .welcome-text {
  font-size: 0.8rem;
  color: var(--text-gray);
  display: block;
  margin-bottom: 0.25rem;
}

.user-logged-in .username {
  font-size: 0.9rem;
  color: var(--primary-gold);
}

.user-logged-in .ep-info {
  font-size: 0.75rem;
  color: var(--text-gray);
  display: block;
  margin-top: 0.25rem;
}

.user-logged-in .user-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.user-logged-in .user-actions .btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  text-decoration: none;
  min-width: 60px;
  text-align: center;
}

/* Mobile styles for logged in user */
@media (max-width: 768px) {
  .user-logged-in {
    min-width: auto !important;
    width: 100% !important;
  }
  
  .user-logged-in .user-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .user-logged-in .user-actions .btn {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  /* Scrolled state for logged in user */
  .modern-header.scrolled .user-logged-in .user-info {
    display: none;
  }
  
  .modern-header.scrolled .user-logged-in .user-actions {
    flex-direction: row;
    gap: 0.25rem;
  }
  
  .modern-header.scrolled .user-logged-in .user-actions .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
    min-width: 50px;
  }
}
  .nav-item {
    list-style: none;
  }
  
  .nav-item a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    white-space: nowrap;
    font-size: 0.95rem;
    cursor: pointer;
    min-height: 20px;
    line-height: 1.2;
    background: transparent;
    border: none;
  }
  
  .nav-item a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    transform: translateY(-2px);
  }
/* ===== SYSTEM REQUIREMENTS SECTION ===== */

.system-requirements-section {
  background: var(--black-gradient);
  padding: 3rem 0;
  margin: 2rem auto;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  max-width: 1200px;
  width: 100%;
}

.requirements-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.requirements-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--primary-gold);
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  letter-spacing: 2px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.requirements-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  min-height: 400px;
}

.requirements-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
}

.requirements-card.recommended::before {
  background: linear-gradient(90deg, #00ff88, #00cc6a);
}

.requirements-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  border-color: var(--primary-gold);
}

.requirements-card .card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  justify-content: center;
  line-height: 1.3;
  padding: 0.5rem;
  white-space: nowrap;
  overflow: visible;
}

.requirements-card.recommended .card-title {
  color: #00ff88;
}

.icon-minimum::before,
.icon-recommended::before {
  content: '⚙️';
  font-size: 1.2rem;
}

.icon-recommended::before {
  content: '⭐';
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.requirement-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(10, 10, 10, 0.5);
  border-radius: 6px;
  border-left: 3px solid var(--primary-gold);
}

.requirements-card.recommended .requirement-item {
  border-left-color: #00ff88;
}

.requirement-label {
  font-weight: 600;
  color: var(--primary-gold);
  font-size: 0.9rem;
}

.requirements-card.recommended .requirement-label {
  color: #00ff88;
}

.requirement-value {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.4;
}

.requirements-notes {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
}

.requirements-notes h4 {
  font-family: 'Cinzel', serif;
  color: var(--primary-gold);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.requirements-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-notes li {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.requirements-notes li::before {
  content: '💡';
  position: absolute;
  left: 0;
  top: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .requirements-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .requirements-card {
    padding: 1.5rem;
  }
  
  .requirements-card .card-title {
    font-size: 1.2rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }
  
  .requirements-container {
    padding: 0 1rem;
  }
  
  .system-requirements-section {
    padding: 2rem 0;
    margin: 1rem 0;
  }
  
  .requirements-notes {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .requirements-title {
    font-size: 1.5rem;
  }
  
  .requirements-card {
    padding: 1rem;
  }
  
  .requirements-card .card-title {
    font-size: 1rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .requirement-item {
    padding: 0.5rem;
  }
  
  .requirement-label {
    font-size: 0.8rem;
  }
  
  .requirement-value {
    font-size: 0.75rem;
  }
}
/* ===== CONTROL PANEL FULL WIDTH LAYOUT ===== */

/* Hide sidebars on control panel page */
body.kontrol-paneli .sidebar-left,
body.kontrol-paneli .sidebar-right {
  display: none !important;
}

/* Make main content full width on control panel */
body.kontrol-paneli .main-content-wrapper {
  grid-template-columns: 1fr !important;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
}

body.kontrol-paneli .main-content {
  max-width: 100%;
  width: 100%;
}

/* Control panel specific styling */
.kontrol-panel-container {
  background: var(--black-gradient);
  border: 2px solid var(--primary-gold);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.kontrol-panel-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--primary-gold);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
  font-weight: bold;
}

/* Account info section */
.hesap-bilgisi {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 2px solid var(--primary-gold);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.hesap-bilgisi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  border-left: 4px solid var(--primary-gold);
  transition: all 0.3s ease;
}

.hesap-bilgisi-item:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateX(5px);
}

.hesap-bilgisi-item:last-child {
  margin-bottom: 0;
}

.hesap-bilgisi-label {
  font-weight: bold;
  color: var(--text-light);
  font-size: 1.1rem;
  min-width: 140px;
}

.hesap-bilgisi-value {
  color: var(--primary-gold);
  text-align: right;
  flex: 1;
  font-weight: 500;
}

/* Account operations - vertical list */
.hesap-islemleri {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hesap-islem-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
  border: 2px solid var(--primary-gold);
  border-radius: 12px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.hesap-islem-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.25));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: var(--primary-gold);
  border-color: #fff;
}

.hesap-islem-btn span:first-child {
  font-size: 1.5rem;
  min-width: 30px;
  text-align: center;
}

.hesap-islem-btn span:last-child {
  flex: 1;
  text-align: left;
}

/* Mobile responsive for control panel */
@media (max-width: 768px) {
  body.kontrol-paneli .main-content-wrapper {
    padding: 1rem;
  }
  
  .kontrol-panel-container {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .kontrol-panel-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .hesap-bilgisi {
    padding: 1rem;
  }
  
  .hesap-bilgisi-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .hesap-bilgisi-label {
    min-width: auto;
  }
  
  .hesap-islem-btn {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .hesap-islem-btn span:first-child {
    font-size: 1.3rem;
  }
}
  
  .kontrol-panel-container {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .kontrol-panel-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hesap-bilgisi {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .hesap-islemleri {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .hesap-islem-btn {
    padding: 0.75rem;
    font-size: 0.8rem;
    min-height: 70px;
  }

@media (max-width: 480px) {
  .hesap-islemleri {
    grid-template-columns: 1fr;
  }
  
  .hesap-islem-btn {
    min-height: 60px;
  }
}

/* ===== MODERN FORM STYLES ===== */

/* General form input styling */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select,
.Input_Text {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.9));
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    color: var(--text-light);
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-family: inherit;
    position: relative;
    z-index: 10;
}

/* Focus states */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.Input_Text:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 1));
    transform: none; /* Remove transform to prevent click issues */
    z-index: 20;
}

/* Hover states */
input[type="text"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
textarea:hover,
select:hover,
.Input_Text:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 15;
}

/* Placeholder styling */
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Textarea specific */
textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Select dropdown */
select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

/* Form labels */
label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
    position: relative;
    z-index: 5;
}

/* Form groups */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 5;
}

.form-group label {
    margin-bottom: 0.75rem;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Submit buttons */
input[type="submit"],
button[type="submit"],
.btn-submit {
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    color: var(--primary-black);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 55px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: auto;
    position: relative;
    z-index: 10;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.btn-submit:hover {
    background: linear-gradient(135deg, #ffd700, var(--primary-gold));
    transform: translateY(-2px); /* Reduced transform */
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    border-color: #fff;
    z-index: 20;
}

input[type="submit"]:active,
button[type="submit"]:active,
.btn-submit:active {
    transform: translateY(0px); /* Reset transform on click */
}

/* Checkbox and radio styling */
input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    accent-color: var(--primary-gold);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Form validation states */
.form-error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.3) !important;
}

.form-success {
    border-color: #44ff44 !important;
    box-shadow: 0 0 15px rgba(68, 255, 68, 0.3) !important;
}

/* Captcha styling */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    position: relative;
    z-index: 5;
}

.captcha-container img {
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Form container styling */
.form-container {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-title {
    color: var(--primary-gold);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    font-weight: bold;
}

/* Table form styling (for older forms) */
table input[type="text"],
table input[type="password"],
table input[type="email"],
table input[type="tel"],
table textarea,
table select {
    margin: 0.5rem 0;
}

/* Fix for overlapping elements */
form {
    position: relative;
    z-index: 5;
}

/* Ensure clickable area */
input, textarea, select, button {
    pointer-events: auto !important;
}

/* Mobile responsive forms */
@media (max-width: 768px) {
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select,
    .Input_Text {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
        min-height: 45px;
    }
    
    input[type="submit"],
    button[type="submit"],
    .btn-submit {
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
        min-height: 50px;
        transform: none !important; /* Disable transforms on mobile */
    }
    
    .form-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}
/* ===== SUCCESS POPUP STYLES ===== */

.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
}

.success-popup-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.95));
    border: 3px solid var(--primary-gold);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
    animation: popupSlideIn 0.6s ease-out;
}

.success-popup-title {
    color: var(--primary-gold);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    font-family: 'Cinzel', serif;
}

.success-popup-message {
    color: var(--text-light);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.success-popup-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.success-popup-countdown {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile responsive popup */
@media (max-width: 768px) {
    .success-popup-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .success-popup-title {
        font-size: 2rem;
    }
    
    .success-popup-message {
        font-size: 1.1rem;
    }
    
    .success-popup-icon {
        font-size: 3rem;
    }
    
    .success-popup-countdown {
        font-size: 1.3rem;
    }
}
/* ===== DOWNLOAD PAGE LEFT ALIGNMENT ===== */

/* Force download page to left side */
body.download-page .main-content-wrapper {
  display: grid !important;
  grid-template-columns: 280px 1fr 280px !important;
  gap: 2rem;
  margin: 2rem 0 !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  justify-content: start !important;
  position: relative;
  left: 0 !important;
}

/* Move the entire container to left */
body.download-page .container {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 2rem !important;
  width: 100% !important;
  text-align: left !important;
}

/* Ensure main content stays left aligned */
body.download-page .main-content {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Download page content alignment */
body.download-page .modern-download-page {
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  text-align: left !important;
}

body.download-page .system-requirements-section {
  margin: 2rem 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  text-align: left !important;
}

/* Force left alignment for all download page elements */
body.download-page .download-hero,
body.download-page .download-content,
body.download-page .requirements-container {
  text-align: center !important; /* Keep content centered within its container */
  margin: 0 !important;
  padding-left: 0 !important;
}

/* Mobile responsive for download page */
@media (max-width: 1200px) {
  body.download-page .main-content-wrapper {
    grid-template-columns: 260px 1fr 260px !important;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  body.download-page .main-content-wrapper {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  body.download-page .main-content-wrapper {
    padding: 1rem !important;
    margin: 1rem 0 !important;
    gap: 1rem;
  }
  
  body.download-page .modern-download-page {
    padding: 0 !important;
  }
}
/* ===== DOWNLOAD PAGE CONTAINER ===== */

.download-page-container {
  max-width: 1200px !important;
  margin: 2rem 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Discord Welcome Popup */
.discord-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.discord-popup.show {
    opacity: 1;
    pointer-events: all;
}

.discord-popup-content {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(-400px);
    width: 320px;
    max-width: 90vw;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.discord-popup.show .discord-popup-content {
    transform: translateY(-50%) translateX(0);
}

.discord-popup-header {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #fff;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.discord-popup-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.discord-popup-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    line-height: 1.2;
}

.discord-popup-close {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.discord-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.discord-popup-body {
    padding: 18px;
    color: #e0e0e0;
}

.discord-popup-body p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #ccc;
    text-align: center;
}

.discord-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.discord-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    border-left: 3px solid #d4af37;
}

.discord-feature i {
    color: #d4af37;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.discord-feature span {
    font-size: 12px;
    color: #e0e0e0;
    line-height: 1.3;
}

.discord-link-section {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #333;
}

.discord-link-section p {
    margin-bottom: 12px;
    color: #d4af37;
    font-weight: 600;
    font-size: 13px;
}

.discord-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(88, 101, 242, 0.3);
}

.discord-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(88, 101, 242, 0.5);
    color: #fff;
}

.discord-popup-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.btn-close-popup {
    background: transparent;
    border: 2px solid #666;
    color: #ccc;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.btn-close-popup:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.btn-join-discord {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-join-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(212, 175, 55, 0.5);
    color: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .discord-popup-content {
        left: 50%;
        transform: translateY(-50%) translateX(-50%) translateY(100px);
        width: 90%;
        max-width: 300px;
    }
    
    .discord-popup.show .discord-popup-content {
        transform: translateY(-50%) translateX(-50%) translateY(0);
    }
    
    .discord-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .discord-popup-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-close-popup,
    .btn-join-discord {
        width: 100%;
        justify-content: center;
    }
}
/* Discord Button Special Style */
.discord-btn {
    background: linear-gradient(135deg, #5865F2 0%, #d4af37 50%, #4752C4 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
    background: linear-gradient(135deg, #4752C4 0%, #b8941f 50%, #5865F2 100%);
}

.discord-btn i {
    font-size: 16px;
}
/* Sidebar Content Optimization for 280px Width */
.sidebar-left,
.sidebar-right {
    min-width: 280px;
}

/* Optimize player list for narrower sidebar */
.sidebar-left .modern-player-list,
.sidebar-right .modern-player-list {
    font-size: 0.85rem;
}

.sidebar-left .player-list-header,
.sidebar-right .player-list-header,
.sidebar-left .player-list-row,
.sidebar-right .player-list-row {
    grid-template-columns: 25px 1fr 50px;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
}

/* Optimize card titles for narrower sidebar */
.sidebar-left .card-title,
.sidebar-right .card-title {
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

/* Optimize quick access buttons */
.sidebar-left .quick-access-buttons .btn,
.sidebar-right .quick-access-buttons .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
}

/* Optimize stats grid */
.sidebar-right .stats-grid {
    gap: 0.75rem;
}

.sidebar-right .stat-item {
    padding: 0.75rem;
}

.sidebar-right .stat-label {
    font-size: 0.8rem;
}

.sidebar-right .stat-value {
    font-size: 1.1rem;
}

/* Optimize Discord button */
.sidebar-left .discord-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
}

.sidebar-left .discord-btn i {
    font-size: 14px;
}

/* Responsive adjustments for smaller sidebars */
@media (max-width: 1200px) {
    .sidebar-left,
    .sidebar-right {
        min-width: 260px;
    }
    
    .sidebar-left .player-list-header,
    .sidebar-right .player-list-header,
    .sidebar-left .player-list-row,
    .sidebar-right .player-list-row {
        grid-template-columns: 22px 1fr 45px;
        gap: 0.3rem;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .sidebar-left .card-title,
    .sidebar-right .card-title {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
}
/* Social Media Buttons Optimization for Narrower Sidebar */
.sidebar-right .card .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure buttons don't break layout */
.sidebar-right .quick-access-buttons,
.sidebar-right .card > div[style*="flex-direction: column"] {
    gap: 0.75rem !important;
}

/* Optimize card padding for narrower sidebar */
.sidebar-left .card,
.sidebar-right .card {
    padding: 1rem 0.75rem;
}

/* List title optimization */
.sidebar-left .list-title,
.sidebar-right .list-title {
    padding: 0.5rem 0.75rem;
    text-align: center;
}

.sidebar-left .list-title a,
.sidebar-right .list-title a {
    font-size: 0.85rem;
}
/* Modern Ranking Page Styles */
.oara_list {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

.oara_list label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 15px;
}

.oara_list select {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #d4af37;
    border-radius: 8px;
    color: #e0e0e0;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.oara_list select:hover {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.oara_list select:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
}

.oara_list select option {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 10px;
    border: none;
}

.oara_list select option:hover {
    background: #d4af37;
    color: #000;
}

.oara_list input[type="text"] {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #d4af37;
    border-radius: 8px;
    color: #e0e0e0;
    padding: 12px 16px;
    font-size: 14px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.oara_list input[type="text"]:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.oara_list input[type="text"]::placeholder {
    color: #888;
    font-style: italic;
}

.oara_list input[type="submit"] {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oara_list input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
}

/* Modern Player List Table */
.oyunculiste table {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #d4af37;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
    border-collapse: separate;
    border-spacing: 0;
}

.oyunculiste .siralama_th_bg {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #000;
    font-weight: bold;
    padding: 15px 12px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oyunculiste .siralama_th_bg:last-child {
    border-right: none;
}

.oyunculiste .siralama_th_bg h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.oyunculiste table tr:not(:first-child) {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.oyunculiste table tr:not(:first-child):hover {
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.01);
}

.oyunculiste table tr:not(:first-child):last-child {
    border-bottom: none;
}

.oyunculiste table td {
    padding: 12px;
    text-align: center;
    color: #e0e0e0;
    font-size: 14px;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
}

.oyunculiste table td:last-child {
    border-right: none;
}

.oyunculiste table td a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.oyunculiste table td a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.oyunculiste table td img {
    width: 24px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #d4af37;
}

/* Pagination Styles */
.sayfalama {
    text-align: center;
    margin-top: 25px;
    padding: 20px;
}

.sayfalama a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #d4af37;
    border-radius: 8px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sayfalama a:hover {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.sayfalama-active {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%) !important;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Special styling for top 3 players in ranking */
.oyunculiste table tr:nth-child(2) td:first-child {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.oyunculiste table tr:nth-child(3) td:first-child {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.oyunculiste table tr:nth-child(4) td:first-child {
    background: linear-gradient(135deg, #cd7f32, #daa520);
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Mobile Responsive for Ranking Page */
@media (max-width: 768px) {
    .oara_list {
        padding: 15px;
    }
    
    .oara_list label {
        display: block;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .oara_list select,
    .oara_list input[type="text"] {
        width: 100%;
        min-width: auto;
    }
    
    .oyunculiste table {
        font-size: 12px;
    }
    
    .oyunculiste table td {
        padding: 8px 4px;
    }
    
    .oyunculiste .siralama_th_bg {
        padding: 10px 6px;
    }
    
    .oyunculiste .siralama_th_bg h5 {
        font-size: 12px;
    }
    
    .sayfalama a {
        padding: 8px 12px;
        margin: 0 2px;
        font-size: 12px;
    }
}
/* Modern Notification System */
.modern-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15000;
    min-width: 400px;
    max-width: 600px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.modern-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.modern-notification.success {
    border: 2px solid #27ae60;
    box-shadow: 0 0 30px rgba(39, 174, 96, 0.4);
}

.modern-notification.error {
    border: 2px solid #e74c3c;
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.4);
}

.modern-notification-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.modern-notification.success .modern-notification-header {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
}

.modern-notification.error .modern-notification-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.modern-notification-icon {
    font-size: 28px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.modern-notification-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    margin: 0;
}

.modern-notification-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modern-notification-body {
    padding: 25px;
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.modern-notification-footer {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-notification-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-notification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Notification Overlay */
.modern-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 14999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modern-notification-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* Hide old notification styles */
.notification.success,
.notification.fail {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-notification {
        min-width: 90%;
        max-width: 90%;
        margin: 0 5%;
    }
    
    .modern-notification-header {
        padding: 15px 20px;
    }
    
    .modern-notification-body {
        padding: 20px;
        font-size: 14px;
    }
    
    .modern-notification-footer {
        padding: 15px 20px;
    }
    
    .modern-notification-title {
        font-size: 16px;
    }
    
    .modern-notification-icon {
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
}

/* Mobile responsive for Discord link */
@media (max-width: 768px) {