/* 
  SHELTER FC - Official Web Site Stylesheet
  Theme: Navy Blue & Gold (Premium Esports Aesthetic)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --navy-darker: #050811;
  --navy-dark: #0a0e1c;
  --navy-medium: #11182d;
  --navy-light: #1b2542;
  --navy-glow: rgba(27, 37, 66, 0.4);
  
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa7c11;
  --gold-glow: rgba(212, 175, 55, 0.3);
  --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
  
  --text-white: #ffffff;
  --text-muted: #8e9bb4;
  --text-dark: #0a0e1c;
  
  --border-color: rgba(212, 175, 55, 0.15);
  --border-color-hover: rgba(212, 175, 55, 0.4);
  --glass-bg: rgba(10, 14, 28, 0.7);
  --glass-blur: blur(12px);
  
  --sidebar-width: 280px;
  --header-height: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Outfit', sans-serif;
  --font-title: 'Space Grotesk', sans-serif;
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--navy-dark);
}

html, body {
  background-color: var(--navy-darker);
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* App Container */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Background Gradients & Effects */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(20, 30, 70, 0.4) 0%, rgba(0,0,0,0) 70%);
  filter: blur(100px);
}

.bg-glow-2 {
  position: absolute;
  bottom: -10%;
  left: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background: var(--navy-dark);
  border-right: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

.sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}

.sidebar-logo img {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--gold-glow));
  transition: var(--transition);
}

.sidebar-logo:hover img {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 0 20px var(--gold));
}

.sidebar-logo h1 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-white);
  text-transform: uppercase;
}

.sidebar-logo h1 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.sidebar-menu li a i {
  margin-right: 1rem;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
  color: var(--text-white);
  background: rgba(212, 175, 55, 0.05);
  border-left-color: var(--gold);
}

.sidebar-menu li.active a {
  background: rgba(212, 175, 55, 0.08);
  font-weight: 600;
  box-shadow: inset 5px 0 15px rgba(212, 175, 55, 0.05);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-link:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--gold);
  color: var(--gold);
}

/* Main Layout Area */
.main-layout {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  transition: var(--transition);
}

/* Top Navbar */
.topnav {
  height: var(--header-height);
  background: rgba(10, 14, 28, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  position: sticky;
  top: 0;
  z-index: 99;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

.page-title-badge {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  border: 1px solid var(--border-color);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.05);
}

.topnav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.lang-btn:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 150px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 101;
}

.lang-dropdown.show {
  display: flex;
  animation: fadeInDown 0.2s ease forwards;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.lang-option:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

/* Social Icon Buttons */
.social-icons-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.social-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: var(--transition);
  filter: brightness(0.9);
}

.social-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--gold-glow);
}

.social-btn:hover img {
  filter: brightness(1) drop-shadow(0 0 4px var(--gold));
  transform: scale(1.1);
}

/* Main Content Area */
.content-area {
  flex: 1;
  padding: 3rem;
  position: relative;
}

/* Pages Layout & Animations */
.page {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Typography Helpers */
.section-header {
  margin-bottom: 3rem;
  position: relative;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-white);
  line-height: 1.2;
}

.section-header h2 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
  max-width: 600px;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

/* Button Premium styling */
.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-darker);
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

/* ---------------------------------------------------- */
/* ANA SAYFA (HOME PAGE) */
/* ---------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6.5; /* Aspect Ratio Lock adjusted to be taller */
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 3rem 4rem;
  margin-bottom: 4rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-position: center;
  filter: brightness(0.35);
  z-index: 1;
  transition: background-image 1.5s ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5, 8, 17, 0.95) 0%, rgba(5, 8, 17, 0.7) 50%, rgba(5, 8, 17, 0.2) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.hero-content h1 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.sponsors-section {
  margin-bottom: 4rem;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.sponsor-card {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sponsor-card img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: var(--transition);
  filter: grayscale(1) brightness(0.85);
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 100%);
  opacity: 0;
  transition: var(--transition);
}

.sponsor-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
  background: rgba(17, 24, 45, 0.9);
}

.sponsor-card:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}

.sponsor-card:hover::before {
  opacity: 1;
}

/* Home About Snippet */
.home-about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-about-content h3 {
  font-family: var(--font-title);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-about-content h3 span {
  color: var(--gold);
}

.home-about-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.home-about-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.home-about-image img {
  width: 80%;
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 0 15px var(--gold-glow));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ---------------------------------------------------- */
/* HAKKIMIZDA (ABOUT PAGE) */
/* ---------------------------------------------------- */
.about-story-box {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.about-story-box h3 {
  font-family: var(--font-title);
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.about-story-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-story-box p:last-child {
  margin-bottom: 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.achievement-card {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.achievement-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.achievement-image-container {
  height: auto;
  position: relative;
  background: var(--navy-darker);
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.achievement-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.achievement-card:hover .achievement-image-container img {
  transform: scale(1.03);
}

.achievement-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(10, 14, 28, 0.85);
  backdrop-filter: blur(5px);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
}

.achievement-details {
  padding: 1.25rem;
}

.achievement-details h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-white);
  line-height: 1.3;
}

.achievement-details p {
  color: #c2cbd9;
  font-size: 0.85rem;
  line-height: 1.5;
}

.vision-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(17, 24, 45, 0.5) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  position: relative;
}

.vision-box h3 {
  font-family: var(--font-title);
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--gold);
}

.vision-box p {
  font-size: 1.25rem;
  color: var(--text-white);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------------------------------------------------- */
/* KADRO (ROSTER PAGE) */
/* ---------------------------------------------------- */
.roster-subtitle {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  letter-spacing: 1px;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.roster-card {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.roster-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.roster-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.roster-card:hover::after {
  transform: scaleX(1);
}

.roster-img-container {
  height: 160px;
  background: radial-gradient(circle, var(--navy-light) 0%, var(--navy-darker) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.roster-img-container img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.roster-card:hover .roster-img-container img {
  transform: scale(1.05);
  filter: drop-shadow(0 5px 25px var(--gold-glow));
}

.roster-card-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold-glow) 0%, rgba(0,0,0,0) 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.roster-card:hover .roster-card-bg-glow {
  opacity: 1;
}

.roster-info {
  padding: 1rem;
  text-align: center;
  background: rgba(10, 14, 28, 0.5);
  backdrop-filter: blur(5px);
}
 
.roster-info h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.15rem;
  letter-spacing: 0.5px;
}
 
.roster-info p {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------------------------------------------------- */
/* MAÇLAR (MATCHES PAGE) */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* MAÇLAR (MATCHES PAGE) */
/* ---------------------------------------------------- */
.matches-container-redirect {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.match-redirect-card {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.match-redirect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.match-redirect-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.match-redirect-card:hover::before {
  opacity: 1;
}

.match-redirect-logo {
  height: 100px;
  width: 100px;
  background: radial-gradient(circle, var(--navy-light) 0%, var(--navy-darker) 100%);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.match-redirect-card:hover .match-redirect-logo {
  border-color: var(--gold);
  box-shadow: 0 0 25px var(--gold-glow);
  transform: scale(1.05);
}

.match-redirect-logo img {
  height: 55%;
  max-width: 55%;
  object-fit: contain;
  transition: var(--transition);
}

.match-redirect-card h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.match-redirect-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 450px;
  flex-grow: 1;
}

.match-redirect-card .btn-gold {
  width: 100%;
  justify-content: center;
}

/* ---------------------------------------------------- */
/* MAÇ YAYINLARI (STREAMS PAGE) */
/* ---------------------------------------------------- */
.stream-container-full {
  background: var(--navy-medium);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
  width: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.stream-container-full:hover {
  border-color: var(--gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.25);
}

.stream-player-area {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #070a14 0%, #020306 100%);
  position: relative;
}

.stream-chat-area {
  display: grid;
  grid-template-rows: 1fr;
  background: #080b15;
  width: 100%;
  height: 400px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  overflow: hidden;
}

.stream-chat-area iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (min-width: 992px) {
  .stream-container-full {
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: stretch;
  }
  .stream-chat-area {
    width: 100%;
    height: auto;
    border-top: none;
    border-left: 1px solid rgba(212, 175, 55, 0.15);
  }
}

.stream-iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stream-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.stream-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--navy-medium) 0%, var(--navy-darker) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  padding: 2rem;
  text-align: center;
  z-index: 10;
}

.stream-placeholder-icon {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

.stream-placeholder h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.stream-placeholder p {
  color: var(--text-muted);
  max-width: 450px;
  margin-bottom: 1.5rem;
}

.stream-info-footer {
  background: rgba(10, 14, 28, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stream-details-txt {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
}

.stream-details-txt h4 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.stream-details-txt p {
  font-size: 0.9rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stream-status-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  background: rgba(255, 74, 74, 0.1);
  border: 1px solid rgba(255, 74, 74, 0.2);
  color: #ff4a4a;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 1px;
}

.stream-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4a4a;
  box-shadow: 0 0 8px #ff4a4a;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 74, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 74, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 74, 74, 0); }
}

.stream-status-dot.offline {
  background: #555;
  box-shadow: none;
}

.stream-details-txt h4 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.stream-details-txt p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stream-chat-area {
  background: var(--navy-dark);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 450px;
}

.chat-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  font-size: 0.85rem;
  max-height: 380px;
}

.chat-msg-row {
  line-height: 1.4;
}

.chat-msg-user {
  font-weight: 700;
  color: var(--gold-light);
  margin-right: 0.5rem;
}

.chat-msg-text {
  color: var(--text-white);
}

.chat-input-area {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-white);
  padding: 0.5rem;
  font-size: 0.85rem;
}

.chat-send-btn {
  background: var(--gold);
  border: none;
  color: var(--navy-darker);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
}

/* ---------------------------------------------------- */
/* İLETİŞİM (CONTACT PAGE) */
/* ---------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--gold);
  transform: translateX(5px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-card-details h5 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.contact-card-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-card-link:hover {
  color: var(--text-white);
}

.contact-form-box {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form-box h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--gold);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group label span {
  color: #ff4a4a;
}

.form-control {
  background: rgba(10, 14, 28, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-white);
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  background: rgba(27, 37, 66, 0.4);
  box-shadow: 0 0 10px var(--gold-glow);
}

select.form-control option {
  background: var(--navy-medium);
  color: var(--text-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-submit-btn-row {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Success notification message */
.form-notification {
  grid-column: span 2;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.form-notification.success {
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid #2ecc71;
  color: #2ecc71;
  display: block;
}

.form-notification.error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid #e74c3c;
  color: #e74c3c;
  display: block;
}

/* ---------------------------------------------------- */
/* ADMIN PANEL */
/* ---------------------------------------------------- */
.admin-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  min-height: 600px;
}

/* Admin Sidebar */
.admin-tabs-list {
  background: rgba(10, 14, 28, 0.4);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.5rem;
}

.admin-tab-btn {
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.admin-tab-btn i {
  font-size: 1.1rem;
  width: 20px;
}

.admin-tab-btn:hover,
.admin-tab-btn.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.admin-tab-btn.active {
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--gold);
}

.admin-logout-btn {
  margin-top: auto;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.admin-logout-btn:hover {
  background: #e74c3c;
  color: var(--text-white);
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

/* Admin Content */
.admin-content-box {
  padding: 2.5rem;
}

.admin-tab-content {
  display: none;
}

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

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

.admin-content-header h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--text-white);
  text-transform: uppercase;
}

.admin-table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
  background: rgba(10, 14, 28, 0.8);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--gold);
}

.admin-table tr:hover td {
  background: rgba(255,255,255,0.01);
}

.admin-table td {
  font-size: 0.9rem;
}

.action-buttons-cell {
  display: flex;
  gap: 0.5rem;
}

.btn-small {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 4px;
}

.btn-edit {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

.btn-edit:hover {
  background: var(--gold);
  color: var(--navy-darker);
}

.btn-delete {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid #e74c3c;
  color: #ff6b6b;
}

.btn-delete:hover {
  background: #e74c3c;
  color: var(--text-white);
}

/* Admin Dashboard Stats */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(10, 14, 28, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.stat-card-info h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-card-info p {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
}

/* ---------------------------------------------------- */
/* ADMIN LOGIN MODAL / SCREEN */
/* ---------------------------------------------------- */
.login-screen-wrapper {
  max-width: 450px;
  margin: 5rem auto;
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  text-align: center;
}

.login-screen-wrapper h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.login-screen-wrapper p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

/* ---------------------------------------------------- */
/* FOOTER SECTION */
/* ---------------------------------------------------- */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 3rem;
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
}

.footer-logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-area img {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 0 5px var(--gold-glow));
}

.footer-logo-area span {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-logo-area span b {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-right-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.footer-clock {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}

/* ---------------------------------------------------- */
/* COOKIE CONSENT BANNER */
/* ---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 800px;
  background: rgba(10, 14, 28, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 1000;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
  bottom: 2rem;
}

.cookie-banner-content h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.cookie-banner-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-banner-btn {
  background: var(--gold-gradient);
  color: var(--navy-darker);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  text-transform: uppercase;
  transition: var(--transition);
}

.cookie-banner-btn:hover {
  box-shadow: 0 0 15px var(--gold);
  transform: translateY(-2px);
}

/* ---------------------------------------------------- */
/* LIGHTBOX MODAL / POPUPS */
/* ---------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 17, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh; /* Ekrandan taşmaması için maksimum yükseklik */
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-box {
  transform: scale(1);
}

.modal-box form {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: rotate(90deg);
}

/* Image Modal Specifics */
.modal-image-box {
  max-width: 90%;
  max-height: 80%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-image-box img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 0 30px var(--gold-glow);
}

.modal-image-caption {
  margin-top: 1rem;
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: 1.2rem;
  text-align: center;
  font-weight: bold;
}

/* Form Modals (Add/Edit player/sponsor) */
.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Message view details modal */
.message-detail-item {
  margin-bottom: 1.5rem;
}

.message-detail-item:last-child {
  margin-bottom: 0;
}

.message-detail-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.message-detail-val {
  background: rgba(10, 14, 28, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  word-break: break-word;
}

/* Animation Keyframes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------------------------------------------------- */
/* RESPONSIVE LAYOUT MEDIA QUERIES */
/* ---------------------------------------------------- */

@media (max-width: 1200px) {
  .roster-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .achievements-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .achievement-card-wide {
    grid-column: unset;
  }
}

@media (max-width: 1024px) {
  .app-container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
  }
  
  .sidebar-logo {
    margin-bottom: 1.5rem;
  }
  
  .sidebar-logo img {
    width: 70px;
  }
  
  .sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .sidebar-menu li a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  
  .sidebar-menu li a i {
    margin-right: 0.5rem;
  }
  
  .sidebar-menu li:hover a,
  .sidebar-menu li.active a {
    border-left-color: transparent;
    border-bottom-color: var(--gold);
  }
  
  .sidebar-footer {
    display: none; /* Let's place admin link in footer or header on mobile */
  }
  
  .main-layout {
    margin-left: 0;
    width: 100%;
  }
  
  .topnav {
    padding: 0 1.5rem;
  }
  
  .content-area {
    padding: 2rem 1.5rem;
  }
  
  .matches-container-redirect {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stream-chat-area {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .admin-container {
    grid-template-columns: 1fr;
  }
  
  .admin-tabs-list {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .footer-logo-area {
    justify-content: center;
  }
  
  .footer-right-area {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 2rem;
    aspect-ratio: auto;
    min-height: 350px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .home-about-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }
  
  .home-about-image {
    order: -1;
    margin-bottom: 1.5rem;
  }
  
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .achievement-card-wide {
    grid-column: unset;
  }
  
  .roster-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .form-submit-btn-row {
    grid-column: span 1;
    justify-content: center;
  }
  
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .achievement-card-wide {
    grid-column: unset;
  }
  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-menu {
    flex-direction: column;
    width: 100%;
  }
  .sidebar-menu li a {
    width: 100%;
    justify-content: center;
  }
}

/* ==================================================== */
/* NEWS PAGE & CARDS STYLING */
/* ==================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.news-card {
  background: var(--navy-medium);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.news-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--navy-darker);
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-date {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(10, 14, 28, 0.85);
  backdrop-filter: blur(5px);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-body h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.news-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-card-more {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  transition: var(--transition);
}

.news-card:hover .news-card-more {
  color: var(--gold-light);
  gap: 0.6rem;
}

/* News Modal Specifics */
.news-modal-box {
  max-width: 950px;
  width: 90%;
}

.news-modal-img {
  position: relative;
  max-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(10, 14, 28, 0.4);
}

.news-modal-img img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.news-modal-date {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10, 14, 28, 0.9);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.35rem 0.80rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.news-modal-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.news-modal-text {
  color: #c2cbd9;
  font-size: 1rem;
  line-height: 1.7;
}

/* Responsive Overrides for News */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Drag and Drop Reordering Styles */
tr[draggable="true"] {
  user-select: none;
}
tr.dragging-row {
  opacity: 0.45;
  background: rgba(212, 175, 55, 0.08) !important;
  outline: 2px dashed var(--gold);
}
tr.drag-over-row {
  border-top: 2px solid var(--gold) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}
.drag-handle-cell {
  width: 40px;
  text-align: center;
  color: var(--text-muted);
  cursor: grab;
}
.drag-handle-cell:active {
  cursor: grabbing;
}

/* Matches Page Sub-Tabs Styles */
.matches-tabs-header {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.matches-tab-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.matches-tab-btn img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.matches-tab-btn:hover {
  border-color: var(--gold);
  color: var(--text-light);
  transform: translateY(-2px);
}

.matches-tab-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
  color: #0f172a;
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
  .matches-tabs-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Matches Grid & Cards Styles */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
  margin-top: 1rem;
}

.match-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
}

.match-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.match-status {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.match-status.status-live {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  animation: pulse-live 1.5s infinite;
}

.match-status.status-completed {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.match-status.status-upcoming {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

@keyframes pulse-live {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.match-teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
  gap: 0.5rem;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 38%;
  text-align: center;
}

.match-team span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.match-team-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.match-card:hover .match-team-logo {
  transform: scale(1.08);
}

.match-score-box {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  width: 24%;
  text-align: center;
  white-space: nowrap;
}

.match-score-box.score-vs {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Result-based Match Card Outlines & Glows */
.match-card.card-won {
  border-left: 4px solid #10b981;
  border-color: rgba(16, 185, 129, 0.35);
}
.match-card.card-won:hover {
  border-color: #10b981;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.22);
}

.match-card.card-lost {
  border-left: 4px solid #ef4444;
  border-color: rgba(239, 68, 68, 0.35);
}
.match-card.card-lost:hover {
  border-color: #ef4444;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.22);
}

.match-card.card-draw {
  border-left: 4px solid #9ca3af;
  border-color: rgba(156, 163, 175, 0.35);
}
.match-card.card-draw:hover {
  border-color: #9ca3af;
  box-shadow: 0 8px 30px rgba(156, 163, 175, 0.22);
}

.match-card.card-upcoming {
  border-left: 4px solid var(--gold);
  border-color: rgba(212, 175, 55, 0.35);
}
.match-card.card-upcoming:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.22);
}

/* ----------------------------------------------------
   14. KADRO KUR (SQUAD BUILDER) STYLES
   ---------------------------------------------------- */
.lineup-container {
  --primary-bg: var(--navy-darker);
  --gradient-glass: var(--glass-bg);
  --gradient-card: var(--navy-medium);
  --gradient-accent: var(--gold-gradient);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --text-primary: var(--text-white);
  --text-secondary: var(--text-muted);
  --accent-color: var(--gold);
  --accent-secondary: var(--gold-light);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  max-width: 1400px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 2rem;
  align-items: start;
}

/* Sidebar Styles */
.lineup-sidebar {
  background: var(--gradient-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.lineup-sidebar .sidebar-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.lineup-sidebar .sidebar-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.lineup-sidebar .sidebar-section h3 {
  font-size: 1.05rem;
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lineup-sidebar .sidebar-section h3 i {
  color: var(--accent-color);
}

/* Color Options */
.color-group {
  margin-bottom: 1.25rem;
}

.color-group:last-child {
  margin-bottom: 0;
}

.color-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.color-picker-group {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.color-btn {
  width: 100%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.color-btn:hover {
  transform: scale(1.1);
  border-color: var(--accent-color);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.color-btn.active {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.color-btn.active::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* Formation Options */
.formation-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.formation-btn {
  padding: 0.65rem 0.5rem;
  background: rgba(17, 24, 45, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.formation-btn:hover {
  background: var(--navy-medium);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.formation-btn.active {
  background: var(--gradient-accent);
  color: var(--navy-darker);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

/* Action Buttons */
.action-btn {
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.download-btn {
  background: var(--gradient-accent);
  color: var(--navy-darker);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.reset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.reset-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* Pitch Container */
.pitch-container {
  background: var(--gradient-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
}

.pitch {
  width: 100%;
  aspect-ratio: 2/3;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  background: #2d5016;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 50px,
      rgba(0, 0, 0, 0.08) 50px,
      rgba(0, 0, 0, 0.08) 100px);
  border-radius: var(--border-radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}

/* Pitch Lines */
.pitch-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.center-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.center-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.penalty-area {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 14%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.penalty-area-top {
  top: 0;
  border-top: none;
}

.penalty-area-bottom {
  bottom: 0;
  border-bottom: none;
}

.penalty-area-top::before {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.penalty-area-bottom::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.goal-area {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 25%;
  height: 6%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.goal-area-top {
  top: 0;
  border-top: none;
}

.goal-area-bottom {
  bottom: 0;
  border-bottom: none;
}

/* Players Container */
.players-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Pitch Watermark */
.pitch-watermark {
  position: absolute;
  bottom: 4px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 100;
}

/* Player Styles */
.player {
  position: absolute;
  width: 100px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: move;
  user-select: none;
  transition: transform 0.2s ease;
  z-index: 10;
}

.player:hover {
  transform: scale(1.08) translate(-50%, -50%) !important;
  z-index: 20;
}

.player.dragging {
  opacity: 0.6;
  z-index: 100;
  cursor: grabbing;
}

.player-jersey {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
}

.player:hover .player-jersey {
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
  transform: translateY(-2px);
}

.player-name {
  margin-top: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: rgba(5, 8, 17, 0.85);
  border: 1.5px solid var(--accent-color);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  min-width: 80px;
  max-width: 120px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  cursor: text;
  transition: var(--transition);
}

.player-name:hover {
  background: var(--navy-dark);
  border-color: var(--accent-secondary);
}

.player-name[contenteditable="true"]:focus {
  outline: none;
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.player-delete {
  position: absolute;
  top: -8px;
  right: 12px;
  width: 22px;
  height: 22px;
  background: #ff3355;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 900;
  color: #ffffff;
  transition: var(--transition);
  z-index: 30;
}

.player:hover .player-delete {
  display: flex;
}

.player-delete:hover {
  transform: scale(1.15);
  background: #ff1a3d;
}

/* Info Panel */
.info-panel {
  background: var(--gradient-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: fit-content;
}

.info-card {
  background: rgba(17, 24, 45, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--navy-darker);
}

.info-icon.gradient {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
}

.info-card h3 {
  font-size: 1rem;
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li i {
  color: var(--accent-color);
  font-size: 0.75rem;
  width: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .lineup-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lineup-sidebar,
  .info-panel {
    position: static;
    height: auto;
  }

  .lineup-sidebar {
    order: -1;
  }

  .info-panel {
    order: 1;
  }

  .formation-options {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .formation-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .pitch-container {
    padding: 1rem;
  }

  .player {
    width: 80px;
    height: 80px;
  }

  .player-jersey {
    width: 34px;
    height: 34px;
  }

  .player-name {
    font-size: 0.65rem;
    min-width: 70px;
    max-width: 110px;
    padding: 0.3rem 0.65rem;
  }
}

@media (max-width: 480px) {
  .color-picker-group {
    grid-template-columns: repeat(4, 1fr);
  }

  .formation-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .player {
    width: 70px;
    height: 70px;
  }

  .player-name {
    font-size: 0.6rem;
    min-width: 65px;
    max-width: 100px;
    padding: 0.25rem 0.5rem;
  }
}

/* ----------------------------------------------------
   15. ÇEKİLİŞ & TURNUVA (RAFFLE & TOURNAMENT) STYLES
   ---------------------------------------------------- */
.cekilis-container {
  --primary-gold: var(--gold);
  --primary-gold-rgb: 212, 175, 55;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  max-width: 1200px;
  margin: 1.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: var(--font-body);
}

/* Sub-Navigation Tabs */
.cekilis-nav {
  display: flex;
  background: var(--navy-medium);
  border: 1.5px solid rgba(var(--primary-gold-rgb), 0.25);
  border-radius: var(--border-radius-xl);
  padding: 0.6rem;
  gap: 0.6rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cekilis-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.cekilis-nav-btn i {
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.cekilis-nav-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
}

.cekilis-nav-btn.active {
  background: var(--gold-gradient);
  color: var(--navy-darker);
  box-shadow: 0 4px 20px rgba(var(--primary-gold-rgb), 0.35);
}

.cekilis-nav-btn.active i {
  transform: scale(1.1);
}

/* Setup Panel */
.cekilis-setup-box {
  background: var(--navy-medium);
  border: 1.5px solid rgba(var(--primary-gold-rgb), 0.2);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.setup-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .setup-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.setup-panel h3 {
  font-size: 1.3rem;
  font-family: var(--font-title);
  color: var(--text-white);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-gold);
  padding-left: 0.85rem;
  letter-spacing: 0.5px;
}

/* Participant Input (Wider & Taller) */
.tag-input-container {
  display: flex;
  background: var(--navy-darker);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 0.4rem;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.tag-input-container:focus-within {
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(var(--primary-gold-rgb), 0.3);
}

.tag-input-container input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-white);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.tag-input-container input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.tag-input-container input:focus {
  outline: none;
}

.add-tag-btn {
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--border-radius);
  color: var(--navy-darker);
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.add-tag-btn:hover {
  transform: scale(1.05);
}

/* Chips List */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-height: 120px;
  max-height: 250px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--navy-darker);
  border-radius: var(--border-radius);
  border: 1.5px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1.25rem;
}

.tag-chip {
  background: rgba(var(--primary-gold-rgb), 0.08);
  border: 1.5px solid rgba(var(--primary-gold-rgb), 0.25);
  border-radius: 30px;
  padding: 0.45rem 1rem;
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.tag-chip-close {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  font-weight: bold;
  transition: var(--transition-smooth);
}

.tag-chip-close:hover {
  color: #ff4a6b;
  transform: scale(1.2);
}

.setup-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.setup-info strong {
  color: var(--primary-gold);
  font-size: 1.1rem;
  margin-left: 0.25rem;
}

/* Settings fields */
.mode-settings-field {
  margin-bottom: 1.75rem;
}

.mode-settings-field label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.mode-settings-field input[type="number"],
.mode-settings-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--navy-darker);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.mode-settings-field input:focus,
.mode-settings-field select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(var(--primary-gold-rgb), 0.2);
}

.settings-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius);
  padding: 1rem;
  border-left: 3px solid var(--primary-gold);
}

.action-btn.generate-btn {
  background: var(--gold-gradient);
  color: var(--navy-darker) !important;
  box-shadow: 0 4px 20px rgba(var(--primary-gold-rgb), 0.35);
  border: none;
  width: 100%;
  padding: 1.1rem;
  border-radius: var(--border-radius-lg);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.action-btn.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(var(--primary-gold-rgb), 0.5);
}

/* Output Containers */
.cekilis-output-box {
  background: var(--navy-medium);
  border: 1.5px solid rgba(var(--primary-gold-rgb), 0.2);
  border-radius: var(--border-radius-xl);
  padding: 2.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.35s ease-out forwards;
}

.output-header h3 {
  font-size: 1.4rem;
  font-family: var(--font-title);
  color: var(--text-white);
  border-left: 4px solid var(--primary-gold);
  padding-left: 0.85rem;
  letter-spacing: 0.5px;
}

/* ----------------------------------------------------
   BRACKET DESIGN
   ---------------------------------------------------- */
.bracket-scroll-wrapper {
  overflow-x: auto;
  padding: 1.5rem 0;
}

.bracket-tree {
  display: flex;
  gap: 3.5rem;
  min-width: max-content;
}

.bracket-column {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 220px;
}

.round-title {
  font-size: 1rem;
  font-family: var(--font-title);
  color: var(--primary-gold);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.round-matches-list {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  gap: 2.25rem;
}

.bracket-match-card {
  width: 100%;
  background: var(--navy-darker);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
}

.bracket-match-card:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 0 20px rgba(var(--primary-gold-rgb), 0.25);
  transform: translateY(-2px);
}

.bracket-match-card.has-winner {
  border-color: rgba(var(--primary-gold-rgb), 0.25);
}

.bracket-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.bracket-team:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bracket-team:hover {
  background: rgba(var(--primary-gold-rgb), 0.12);
}

.bracket-team.winner {
  color: var(--primary-gold);
  font-weight: 800;
  background: rgba(var(--primary-gold-rgb), 0.04);
}

.bracket-team.loser {
  color: var(--text-muted);
  opacity: 0.45;
}

.bracket-team.bye-team {
  font-style: italic;
  color: var(--text-muted);
}

.team-name {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 140px;
}

.team-score {
  font-weight: bold;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.bracket-team.winner .team-score {
  background: rgba(var(--primary-gold-rgb), 0.15);
  color: var(--primary-gold);
}

/* ----------------------------------------------------
   GROUPS GRID DESIGN
   ---------------------------------------------------- */
.groups-container-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.group-stage-card {
  background: var(--navy-darker);
  border: 1.5px solid rgba(var(--primary-gold-rgb), 0.15);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.group-card-title {
  font-size: 1.25rem;
  color: var(--primary-gold);
  font-family: var(--font-title);
  margin-bottom: 1.25rem;
  text-align: center;
  border-bottom: 2px solid rgba(var(--primary-gold-rgb), 0.2);
  padding-bottom: 0.65rem;
  font-weight: 800;
}

.group-tables-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.group-fixtures-panel h4 {
  font-size: 1rem;
  font-family: var(--font-title);
  color: var(--text-white);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.group-fixtures-scroll {
  max-height: 250px;
  overflow-y: auto;
  border: 1.5px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-lg);
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
}

/* Fixtures input row (Spacious) */
.group-match-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0.65rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

.group-match-row:last-child {
  border-bottom: none;
}

.match-team {
  flex: 1;
  font-weight: 600;
  color: var(--text-white);
}

.match-team.home {
  text-align: right;
  padding-right: 1.1rem;
}

.match-team.away {
  text-align: left;
  padding-left: 1.1rem;
}

/* WIDER SCORE INPUTS FOR BETTER EDITING */
.match-score-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.match-score-inputs input {
  width: 55px;
  height: 36px;
  text-align: center;
  background: var(--navy-medium);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: bold;
  padding: 0.35rem 0;
  transition: var(--transition-smooth);
}

.match-score-inputs input:focus {
  outline: none;
  border-color: var(--primary-gold);
  background: rgba(var(--primary-gold-rgb), 0.06);
  box-shadow: 0 0 10px rgba(var(--primary-gold-rgb), 0.2);
}

.match-score-inputs span {
  color: var(--text-muted);
  font-weight: 800;
}

/* Premium Standings Table */
.premium-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.premium-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  text-align: left;
  padding: 0.75rem 0.5rem;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.premium-table td {
  padding: 0.85rem 0.5rem;
  color: var(--text-white);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.premium-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ----------------------------------------------------
   LEAGUE STANDINGS LAYOUT
   ---------------------------------------------------- */
.league-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .league-layout {
    grid-template-columns: 1fr;
  }
}

.league-standings-section h4,
.league-fixtures-section h4 {
  font-size: 1.2rem;
  font-family: var(--font-title);
  color: var(--primary-gold);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.fixtures-week-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy-darker);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}

.week-nav-btn {
  background: transparent;
  border: none;
  color: var(--primary-gold);
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.week-nav-btn:hover {
  transform: scale(1.2);
  color: var(--gold-light);
}

#currentWeekTitle {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--text-white);
}

.fixtures-list {
  background: var(--navy-darker);
  border: 1.5px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-xl);
  padding: 1rem;
  max-height: 520px;
  overflow-y: auto;
}

/* ----------------------------------------------------
   SPINNING WHEEL GRAPHIC PANEL
   ---------------------------------------------------- */
.wheel-flex-layout {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .wheel-flex-layout {
    flex-direction: column;
    gap: 3rem;
  }
}

.wheel-box {
  width: 500px;
  height: 500px;
  position: relative;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  border: 8px solid rgba(var(--primary-gold-rgb), 0.25);
  background: var(--navy-darker);
  box-sizing: content-box;
}

.wheel-box canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

@media (max-width: 550px) {
  .wheel-box {
    width: 320px;
    height: 320px;
    border-width: 4px;
  }
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 42px;
  background: var(--gold-gradient);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 100;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.7));
}

.spin-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 4px solid var(--navy-darker);
  color: var(--navy-darker);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.spin-center-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 25px rgba(var(--primary-gold-rgb), 0.6);
}

.wheel-results-panel {
  flex: 1;
  background: var(--navy-darker);
  border: 1.5px solid rgba(var(--primary-gold-rgb), 0.15);
  border-radius: var(--border-radius-xl);
  padding: 1.75rem;
  min-width: 300px;
  max-width: 420px;
  height: 420px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.wheel-results-panel h3 {
  font-size: 1.25rem;
  font-family: var(--font-title);
  color: var(--primary-gold);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid rgba(var(--primary-gold-rgb), 0.15);
  padding-bottom: 0.65rem;
  font-weight: 800;
}

.results-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex: 1;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.results-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  animation: slideInDown 0.3s ease-out forwards;
}

.results-list li small {
  color: var(--text-muted);
  font-weight: 500;
}

/* ----------------------------------------------------
   WINNER CELEBRATION MODAL OVERLAY
   ---------------------------------------------------- */
.winner-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 17, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out forwards;
}

.winner-modal-card {
  background: var(--navy-medium);
  border: 2px solid var(--primary-gold);
  border-radius: var(--border-radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 0 60px rgba(var(--primary-gold-rgb), 0.55);
  max-width: 480px;
  width: 90%;
  position: relative;
  overflow: hidden;
  animation: zoomInPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.winner-modal-overlay.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

.winner-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gold-gradient);
}

.trophy-pulse-icon {
  font-size: 4rem;
  color: var(--primary-gold);
  margin-bottom: 1.25rem;
  animation: bouncePulse 2s infinite ease-in-out;
}

.winner-modal-card h2 {
  font-size: 1.4rem;
  font-family: var(--font-title);
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.winner-name-highlight {
  font-size: 2.5rem;
  font-family: var(--font-title);
  color: var(--text-white);
  text-shadow: 0 0 20px rgba(var(--primary-gold-rgb), 0.85);
  margin-bottom: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations */
@keyframes popIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes zoomInPop {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes bouncePulse {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 5px rgba(var(--primary-gold-rgb), 0.4)); }
  50% { transform: translateY(-12px) scale(1.1); filter: drop-shadow(0 0 20px rgba(var(--primary-gold-rgb), 0.9)); }
}

@keyframes slideInDown {
  0% { transform: translateY(-15px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}


