@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

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

:root {
  --primary: #6366f1;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  --secondary-gradient: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  --accent-gradient: linear-gradient(135deg, #3730a3 0%, #4338ca 100%);
  --glow-primary: rgba(99, 102, 241, 0.3);
  --glow-secondary: rgba(79, 70, 229, 0.3);
  --surface-glass: rgba(255, 255, 255, 0.03);
  --surface-glass-hover: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0a0a0f;
  background-image:
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(67, 56, 202, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(55, 48, 163, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.06) 0px, transparent 50%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.01) 0px,
      rgba(255, 255, 255, 0.01) 1px,
      transparent 1px,
      transparent 2px
    );
  pointer-events: none;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
  max-width: 100%;
  display: block;
}

main {
  flex: 1 0 auto;
}

/* ==========================================
   PAGE LOADER
   ========================================== */

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0a0a0f 0%, #0f0f15 50%, #0a0a0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.loader-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  animation: pulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 50%, #8b5cf6 100%);
  border-radius: 100px;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
    transform: translateX(200px);
  }
}

@media (max-width: 768px) {
  .loader-logo {
    width: 80px;
    height: 80px;
  }
  
  .loader-bar {
    width: 150px;
  }
}

/* ==========================================
   SITE HEADER
   ========================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  position: relative;
}

.logo {
  position: relative;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo a:hover {
  transform: translateY(-1px);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  transition: all 0.3s ease;
}

.logo a:hover .logo-img {
  transform: scale(1.03);
}

.logo span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.2;
}

.logo span:first-child {
  font-weight: 800;
  color: var(--text-primary);
}

.logo-inner {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.25rem;
}

.main-nav a {
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 8px;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.main-nav a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.main-nav a.active svg {
  opacity: 1;
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions form {
  display: inline-flex;
  margin: 0;
}

.btn-profile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-profile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-profile svg {
  color: var(--text-secondary);
}

.user-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: rgba(99, 102, 241, 0.15);
  color: var(--text-primary);
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

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

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero {
  padding-top: 80px;
  position: relative;
}

.hero-modern {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 10, 31, 0.92) 0%,
    rgba(15, 10, 31, 0.75) 50%,
    rgba(15, 10, 31, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-modern h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-modern h1 span {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-actions .btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.3), transparent);
}

/* Hero Bottom Wave Divider */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  preserveAspectRatio: none;
}

.hero-wave path {
  fill: url(#wave-gradient);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .hero-modern {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-gradient {
    background: linear-gradient(
      to bottom,
      rgba(15, 10, 31, 0.92) 0%,
      rgba(15, 10, 31, 0.85) 100%
    );
  }
  
  .hero-bg img {
    object-position: 70% center;
  }
  
  .hero-content {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .hero-stat-divider {
    display: none;
  }
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
}

.section-title-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.section-title-icon svg {
  width: 24px;
  height: 24px;
}

.muted-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   MODERN SECTION HEADERS - Clean Design
   ========================================== */

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

.section-title-modern {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

@media (max-width: 768px) {
  .section-title-modern {
    font-size: 1.75rem;
  }
  
  .section-header-modern {
    margin-bottom: 2rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .section-title-modern {
    font-size: 1.5rem;
  }
}

/* ==========================================
   EVENTS PAGE STYLES
   ========================================== */

.events-section {
  padding-top: 6rem;
}

/* Completed Event Styles */
.event-completed {
  filter: grayscale(0.7) brightness(0.6);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.event-completed:hover {
  filter: grayscale(0.3) brightness(0.8);
  opacity: 0.95;
}

.event-completed-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(239, 68, 68, 0.9);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  z-index: 10;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .event-completed-badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  padding: 2rem;
  border-radius: 20px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: var(--surface-glass-hover);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(102, 126, 234, 0.2);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
}

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

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(102, 126, 234, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  flex-shrink: 0;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1rem;
  }
}

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

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.25s ease;
  text-align: center;
}

.partner-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(139, 92, 246, 0.15);
}

.partner-logo-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.partner-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(139, 92, 246, 0.3);
}

.partner-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.card {
  border-radius: 20px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::after {
  opacity: 1;
}

.card-body {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.event-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover {
  border-color: rgba(102, 126, 234, 0.6);
  transform: translateY(-5px);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-header .section-title {
  margin-bottom: 0;
}

.event-highlight {
  display: block;
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.event-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at top left, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(circle at bottom right, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.event-highlight:hover {
  transform: translateY(-8px);
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(102, 126, 234, 0.3);
}

.event-highlight:hover::before {
  opacity: 1;
}

.event-card-modern {
  display: block;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.event-card-modern:hover {
  transform: translateY(-8px);
}

.event-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.event-card-modern:hover .event-card-bg {
  transform: scale(1.05);
}

.event-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 11, 30, 0.9) 0%, rgba(10, 11, 30, 0.7) 50%, rgba(102, 126, 234, 0.3) 100%);
}

.event-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 30, 0.95) 0%, rgba(10, 11, 30, 0.4) 50%, transparent 100%);
}

.event-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  justify-content: flex-end;
}

.event-card-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.event-tag-modern {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.4);
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-card-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.event-card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}

.event-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.event-info-item svg {
  color: #667eea;
  flex-shrink: 0;
}

.event-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  width: fit-content;
  transition: all 0.3s ease;
}

.event-card-modern:hover .event-card-btn {
  transform: translateX(5px);
}

.event-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.event-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
}

.event-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  margin: 0;
}

.event-detail-hero {
  margin-bottom: 3rem;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.event-box {
  padding: 2rem;
  background: var(--surface-glass);
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.event-box:hover {
  background: var(--surface-glass-hover);
  border-color: rgba(102, 126, 234, 0.3);
}

.event-detail-section {
  padding-top: 6rem;
}

.btn-back {
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.event-hero-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
  background: rgba(255, 255, 255, 0.03);
  background-size: cover;
  background-position: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(10, 10, 15, 0.4) 100%);
}

.event-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
}

.event-hero-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.event-hero-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.event-hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  color: white;
}

.event-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.event-meta-item svg {
  color: var(--text-secondary);
}

.event-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.event-info-card {
  padding: 2rem;
  border-radius: 20px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.event-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.event-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(102, 126, 234, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  margin-bottom: 1rem;
}

.event-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.event-route-flow {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.route-point {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.route-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.route-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.route-arrow {
  font-size: 1.5rem;
  color: #667eea;
}

.event-dlc-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
}

.event-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.event-link-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

.event-link-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.event-link-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.event-link-secondary:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.4);
}

.event-maps-section {
  margin-top: 2rem;
}

.event-maps-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.event-maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.event-map-wrapper {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.event-map-wrapper h4 {
  padding: 1.25rem 1.5rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.event-map-image-container {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
}

.event-map-image-container img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
}

.event-map-error {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  text-align: center;
  padding: 3rem;
}

.event-map-image-container.error .event-map-error {
  display: flex;
}

.event-map-image-container.error img {
  display: none;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.event-list-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.event-list-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.event-list-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.event-list-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.event-list-content {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
}

.event-list-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.event-list-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.event-list-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: white;
  line-height: 1.3;
}

.event-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.pagination-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.pagination-info {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.profile-section {
  padding-top: 6rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.profile-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex: 1;
}

.logout-form {
  margin: 0;
  flex-shrink: 0;
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-logout:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
  transform: translateY(-1px);
}

.btn-logout svg {
  flex-shrink: 0;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(102, 126, 234, 0.3);
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.1);
  color: var(--text-muted);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.profile-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-badge.role-ceo {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.profile-badge.role-dev {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.profile-badge.role-moderator {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #0a0b1e;
}

.profile-badge.role-driver {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
}

.profile-badge.role-member {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.profile-id {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 0.35rem;
}

.profile-joined {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.profile-joined svg {
  width: 14px;
  height: 14px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profile-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.profile-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(102, 126, 234, 0.15);
}

.profile-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.profile-card-title svg {
  width: 18px;
  height: 18px;
  color: #667eea;
}

.game-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.game-stat-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.game-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.game-logo.ets2 {
  background: linear-gradient(135deg, #00a8e8 0%, #0077b6 100%);
  color: white;
}

.game-logo.ats {
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  color: white;
}

.game-info {
  flex: 1;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.stat-row:last-child {
  margin-bottom: 0;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.stat-value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.8rem;
}

.no-data {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.ban-status {
  padding: 0.875rem;
  border-radius: 10px;
  text-align: center;
}

.ban-status.active {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.ban-status.cleared {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.ban-status.clean {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.ban-text {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.15rem;
}

.ban-status.active .ban-text {
  color: #ef4444;
}

.ban-status.cleared .ban-text {
  color: #f59e0b;
}

.ban-status.clean .ban-text {
  color: #10b981;
}

.ban-subtext,
.ban-until {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.patreon-card {
  background: linear-gradient(135deg, rgba(255, 66, 77, 0.05) 0%, rgba(232, 91, 70, 0.05) 100%);
  border-color: rgba(255, 66, 77, 0.15);
}

.patreon-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.patreon-tier {
  font-weight: 600;
  font-size: 0.9rem;
  color: #ff424d;
}

.patreon-status {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.social-link:hover {
  transform: translateY(-1px);
}

.social-link.twitch {
  background: rgba(145, 70, 255, 0.1);
  color: #9146ff;
}

.social-link.youtube {
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
}

.social-link.twitter {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.profile-steam {
  text-align: center;
}

.steam-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: rgba(27, 40, 56, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.steam-btn:hover {
  background: rgba(27, 40, 56, 1);
  border-color: rgba(255, 255, 255, 0.2);
}

.profile-error {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .profile-header-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .logout-form {
    width: 100%;
  }
  
  .btn-logout {
    width: 100%;
    justify-content: center;
  }
  
  .profile-name {
    justify-content: center;
    font-size: 1.25rem;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-avatar {
    width: 64px;
    height: 64px;
  }
}

.role-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-ceo {
  background: linear-gradient(135deg, #fc0101 0%, #dc2626 100%);
  color: white;
}

.role-dev {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a2e;
}

.role-moderator {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.role-driver {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.role-member {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

.drivers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.driver-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.driver-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.driver-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(102, 126, 234, 0.3);
  flex-shrink: 0;
}

.driver-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.driver-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.1);
  color: var(--text-muted);
}

.driver-info {
  flex: 1;
  min-width: 0;
}

.driver-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.driver-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.badge-ceo {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.badge-dev {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a2e;
}

.badge-moderator {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-driver {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.driver-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.driver-stat {
  color: var(--text-secondary);
}

.stat-game {
  color: #667eea;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* Lightbox - Clean Design */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  text-align: center;
  margin-top: 1.25rem;
  padding: 0 1.5rem;
}

.lightbox-caption h4 {
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
}

.lightbox-caption p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.2s;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  opacity: 1;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.home-gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-gallery-item:hover img {
  transform: scale(1.03);
}

.home-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.home-gallery-overlay h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.home-gallery-more {
  text-align: center;
  margin-top: 2.5rem;
}

.home-gallery-more .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.admin-gallery-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.admin-gallery-card:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

.admin-gallery-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.admin-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gallery-info {
  padding: 1rem;
}

.admin-gallery-info h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.gallery-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

.admin-gallery-actions {
  padding: 0 1rem 1rem;
  display: flex;
  gap: 0.5rem;
}

.admin-gallery-actions form {
  margin: 0;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.4);
}

/* ==========================================
   ADMIN PANEL - APPLICATIONS
   ========================================== */
.application-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.application-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.application-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.application-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.application-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.application-info-grid .full-width {
  grid-column: 1 / -1;
}

.info-label {
  color: var(--text-muted);
}

.application-motivation {
  margin-bottom: 1.25rem;
}

.application-motivation .info-label {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.application-motivation p:last-child {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.admin-note {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

.admin-note .info-label {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.admin-note p:last-child {
  font-size: 0.9rem;
  margin: 0;
}

.application-actions {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.application-actions .form-select,
.application-actions .form-input {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text-primary);
}

.application-actions .form-select {
  cursor: pointer;
}

.application-actions .form-input {
  flex: 1;
  min-width: 150px;
}

.delete-form {
  margin: 0;
}

.btn-full {
  width: 100%;
}

.delete-form-inline {
  margin: 0;
  display: inline;
}

/* ==========================================
   ADMIN PANEL - APPLICATIONS GRID (3 sütun)
   ========================================== */
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.application-card-compact {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
}

.application-card-compact .application-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.application-card-compact .application-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.application-card-compact .application-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.application-card-compact .application-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

.application-card-compact .application-info-grid .full-width {
  grid-column: 1 / -1;
}

.application-card-compact .application-motivation {
  margin-bottom: 0.75rem;
}

.application-card-compact .application-motivation .info-label {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.application-card-compact .application-motivation p:last-child {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.application-card-compact .admin-note {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid var(--border-glass);
}

.application-card-compact .admin-note .info-label {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.application-card-compact .admin-note p:last-child {
  font-size: 0.8rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.application-card-compact .application-actions {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.application-card-compact .application-actions .form-select,
.application-card-compact .application-actions .form-input {
  font-size: 0.8rem;
  padding: 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text-primary);
  flex: 1;
  min-width: 80px;
}

.application-card-compact .application-actions .form-select {
  cursor: pointer;
  flex: 0 0 auto;
}

.application-card-compact .application-actions .btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.application-card-compact .delete-form .btn {
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
}

/* Responsive - tablet 2 sütun */
@media (max-width: 1024px) {
  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - mobile 1 sütun */
@media (max-width: 640px) {
  .application-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   ADMIN PANEL - EVENTS GRID (3 sütun)
   ========================================== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.event-card-compact {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
}

.event-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card-title {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-meta {
  margin: 0 0 0.75rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-date {
  color: var(--text-muted);
}

.event-route {
  color: var(--text-secondary);
}

.event-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.event-card-actions .btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

/* Responsive - tablet 2 sütun */
@media (max-width: 1024px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - mobile 1 sütun */
@media (max-width: 640px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   ADMIN PANEL - PARTNERS GRID (3 sütun)
   ========================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.partner-card-compact {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
  text-align: center;
}

.partner-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.partner-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.partner-logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.partner-card-title {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.partner-card-date {
  margin: 0 0 0.75rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.partner-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.partner-card-actions .btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.partner-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.partner-form .form-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

/* Responsive - tablet 2 sütun */
@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - mobile 1 sütun */
@media (max-width: 640px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

.truck-image {
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 640px) {
  .application-actions {
    flex-direction: column;
  }
  
  .application-actions .form-select,
  .application-actions .form-input,
  .application-actions .btn {
    width: 100%;
  }
}

.form-help {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.image-preview {
  margin-top: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
  max-width: 300px;
}

.image-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .home-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .admin-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.news-image-link {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.news-content {
  padding: 1.25rem;
}

.news-meta-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-date, .news-views {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.news-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.author-role {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.read-more {
  font-size: 0.9rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #764ba2;
  transform: translateX(5px);
}

.news-detail-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

.news-detail {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
}

.news-detail-image {
  aspect-ratio: 21/9;
  overflow: hidden;
}

.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-header {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-detail-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-info .author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.meta-stats {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meta-date, .meta-views {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-detail-content {
  padding: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3 {
  color: var(--text-primary);
  margin: 1.5rem 0 1rem;
}

.news-detail-content p {
  margin: 0 0 1.25rem;
}

.news-detail-content strong {
  color: var(--text-primary);
}

.news-detail-content a {
  color: #667eea;
  text-decoration: none;
}

.news-detail-content a:hover {
  text-decoration: underline;
}

.news-detail-footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.news-detail-section {
  padding-top: 7rem;
}

.news-article {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
}

.news-hero-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
}

.news-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-article:hover .news-hero-image img {
  transform: scale(1.02);
}

.news-article-content {
  padding: 2.5rem;
}

.news-article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-article-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #c0c0c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-article-meta {
  display: flex;
  align-items: center;
}

.meta-author-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  overflow: hidden;
}

.author-avatar-large .author-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-name-main {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.author-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-badge.role-ceo {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.author-badge.role-dev {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.author-badge.role-moderator {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #0a0b1e;
}

.article-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stat-separator {
  opacity: 0.5;
}

.news-article-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.news-article-body h1,
.news-article-body h2,
.news-article-body h3 {
  color: var(--text-primary);
  margin: 2rem 0 1rem;
  font-weight: 700;
}

.news-article-body h1 {
  font-size: 1.75rem;
}

.news-article-body h2 {
  font-size: 1.5rem;
}

.news-article-body h3 {
  font-size: 1.25rem;
}

.news-article-body p {
  margin: 0 0 1.5rem;
}

.news-article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.news-article-body a {
  color: #667eea;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.news-article-body a:hover {
  border-bottom-color: #667eea;
}

.news-article-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.news-article-body ul,
.news-article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.news-article-body li {
  margin: 0.5rem 0;
}

.news-article-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.news-article-footer .btn {
  display: inline-flex;
  align-items: center;
}

.news-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.5rem;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-news-item {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.recent-news-item:hover {
  background: rgba(102, 126, 234, 0.1);
}

.recent-news-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-news-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.recent-news-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-section {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.section-header-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.view-all-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: #764ba2;
  transform: translateX(5px);
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-news-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.home-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(102, 126, 234, 0.2);
}

.home-news-image-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.home-news-image {
  width: 100%;
  height: 100%;
}

.home-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.home-news-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: var(--text-muted);
}

.home-news-content {
  padding: 1.25rem;
}

.home-news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.home-news-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.home-news-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.home-news-title a:hover {
  color: #667eea;
}

.home-news-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-name-small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.author-role-small {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.admin-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.admin-news-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.admin-news-card.unpublished {
  opacity: 0.7;
}

.admin-news-image {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.admin-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.draft-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(245, 158, 11, 0.9);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.admin-news-content {
  padding: 1.25rem;
}

.admin-news-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-meta .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.role-badge-small {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.admin-news-actions {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 992px) {
  .news-detail-layout {
    grid-template-columns: 1fr;
  }
  
  .news-sidebar {
    position: static;
    order: -1;
  }
  
  .home-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .news-detail-title {
    font-size: 1.5rem;
  }
  
  .news-detail-header,
  .news-detail-content,
  .news-detail-footer {
    padding: 1.5rem;
  }
  
  .home-news-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header-with-link {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

.success-section {
  text-align: center;
}

.success-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.success-icon-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
  }
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.success-message {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 450px;
}

.success-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .success-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .success-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .success-title {
    font-size: 1.5rem;
  }
  
  .success-message {
    font-size: 1rem;
  }
  
  .success-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .success-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.stats-section {
  padding: 2.5rem 0;
}

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

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(102, 126, 234, 0.2);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(102, 126, 234, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .stat-icon {
    width: 44px;
    height: 44px;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .stat-card {
    flex-direction: row;
    text-align: left;
    padding: 1rem 1.25rem;
  }
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo a:hover {
  transform: translateY(-1px);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.footer-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  padding: 8px;
}

.footer-logo-text h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo-text p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-icon:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: #a78bfa;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-glass);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
}

.footer-bottom-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.8;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-logo-text h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-logo img {
    width: 50px;
    height: 50px;
  }
}

.event-maps {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.event-map-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
}

.event-map-card img {
  width: 100%;
  display: block;
}

.site-footer {
  background: #0a0a0f;
  margin-top: 6rem;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  flex-shrink: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-inner h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.footer-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-inner li {
  margin-bottom: 0.75rem;
}

.footer-inner a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-inner a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-glass);
}

.auth-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 2rem;
  position: relative;
  margin-bottom: -6rem;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 30, 0.85);
  backdrop-filter: blur(10px);
  z-index: 0;
}

.auth-section .container {
  position: relative;
  z-index: 1;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 3rem;
  border-radius: 24px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(30px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.auth-card h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.auth-card > p {
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

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

.form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: -0.25rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(102, 126, 234, 0.6);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form select option {
  background: #1a1b35;
}

.form-footer {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.form-footer a {
  color: #667eea;
  font-weight: 600;
}

.form-footer a:hover {
  color: #a78bfa;
}

.alert {
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.alert-error {
  background: rgba(245, 87, 108, 0.12);
  border-color: rgba(245, 87, 108, 0.35);
  color: #fc8fa1;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.not-found p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin: 0 0 2.5rem;
}

.career-section {
  padding-top: 8rem;
}

.career-hero {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.career-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #b8c1ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.career-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.apply-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 24px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(30px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.form-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.5rem 0 -0.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-card {
  max-width: 560px;
  padding: 3.5rem;
  border-radius: 28px;
  background: var(--surface-glass);
  border: 1px solid rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(30px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(16, 185, 129, 0.1);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

.success-card h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.success-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pending {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fcd34d;
}

.status-approved {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.status-rejected {
  background: rgba(245, 87, 108, 0.12);
  border: 1px solid rgba(245, 87, 108, 0.3);
  color: #fc8fa1;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .stats-grid,
  .feature-grid,
  .card-grid,
  .admin-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .event-maps {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-glass);
    margin-top: 1rem;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.75rem 0;
    width: 100%;
  }

  .header-actions {
    display: none;
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-glass);
  }

  .header-actions.open {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stats-grid,
  .feature-grid,
  .card-grid,
  .admin-cards,
  .event-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.media-page {
  padding-top: 6rem;
}

.spotify-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.spotify-welcome {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}

.spotify-quick-stats {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.spotify-stat-pill {
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d1d5db;
  font-size: 0.78rem;
}

.media-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.25rem;
}

.media-player-card,
.media-list-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 0.9rem;
}

.media-cover {
  width: 200px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.media-cover-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.media-cover-halo {
  position: absolute;
  inset: -16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(244, 114, 182, 0.22), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(129, 140, 248, 0.22), transparent 60%);
  opacity: 0.8;
  filter: blur(8px);
  z-index: 1;
}

.media-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.5rem 0 0.3rem;
  text-align: center;
}

.media-meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
}

.media-listener-badge {
  margin-top: 0.5rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.6);
  background: rgba(88, 28, 135, 0.35);
  color: #e9d5ff;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.media-eq {
  display: flex;
  gap: 4px;
  margin-top: 0.6rem;
  height: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.media-eq span {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a78bfa 0%, #4c1d95 100%);
  transform-origin: bottom;
  animation: mediaBar 1.2s ease-in-out infinite;
}

.media-eq span:nth-child(2) { animation-delay: 0.12s; }
.media-eq span:nth-child(3) { animation-delay: 0.24s; }
.media-eq span:nth-child(4) { animation-delay: 0.36s; }
.media-eq span:nth-child(5) { animation-delay: 0.48s; }

.media-eq.playing {
  opacity: 1;
}

@keyframes mediaBar {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

.media-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.media-progress-wrap {
  width: min(460px, 100%);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.media-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

.media-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  appearance: none;
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.media-progress::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.2);
}

.media-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.2);
}

.media-volume-wrap {
  width: min(320px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.media-mute-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.media-mute-btn:hover {
  background: rgba(29, 185, 84, 0.2);
  border-color: rgba(29, 185, 84, 0.5);
}

.media-volume-slider {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  appearance: none;
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.media-volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: #1db954;
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.55);
}

.media-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: #1db954;
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.55);
}

.media-volume-value {
  min-width: 38px;
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.media-search {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.media-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Custom scrollbar for WebKit browsers */
.media-list::-webkit-scrollbar {
  width: 6px;
}

.media-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.media-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.media-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.media-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  text-align: left;
}

.media-item.active {
  border-color: rgba(192, 132, 252, 0.8);
  background: rgba(139, 92, 246, 0.18);
}

.media-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.media-order {
  min-width: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.media-item-main {
  display: flex;
  flex-direction: column;
}

.media-item-main small {
  color: var(--text-muted);
}

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

.spotify-hero {
  margin-bottom: 1rem;
}

.media-chip {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #d8b4fe;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.spotify-shell {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 1rem;
}

.spotify-left,
.spotify-main {
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  padding: 0.9rem;
}

.spotify-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.18), transparent 40%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.2), transparent 48%),
    rgba(255, 255, 255, 0.02);
}

.spotify-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.spotify-tab {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.spotify-tab.active {
  background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
  border-color: transparent;
}

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

  .spotify-main {
    min-height: auto;
  }
}

/* ==========================================
   NEWS CATEGORY BADGES
   ========================================== */

/* Base category badge styles */
.news-category,
.category-badge,
.news-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
  transition: all 0.3s ease;
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #c084fc;
}

/* Update category - Blue */
.news-category.category-update,
.category-badge.category-update,
.news-category-badge.category-update {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

/* Announcement category - Green */
.news-category.category-announcement,
.category-badge.category-announcement,
.news-category-badge.category-announcement {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

/* Event category - Purple */
.news-category.category-event,
.category-badge.category-event,
.news-category-badge.category-event {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

/* News category - Orange */
.news-category.category-news,
.category-badge.category-news,
.news-category-badge.category-news {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: #fb923c;
}

/* Important category - Red */
.news-category.category-important,
.category-badge.category-important,
.news-category-badge.category-important {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Info category - Cyan */
.news-category.category-info,
.category-badge.category-info,
.news-category-badge.category-info {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #67e8f9;
}

/* Warning category - Yellow */
.news-category.category-warning,
.category-badge.category-warning,
.news-category-badge.category-warning {
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.4);
  color: #facc15;
}

/* Admin panel category badge */
.admin-news-image .category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

/* Position for draft badge with category */
.admin-news-image .draft-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

/* News list category badge */
.news-meta-header .news-category {
  margin-right: 0.75rem;
}

/* News detail category badge */
.news-category-badge {
  margin-bottom: 1rem;
}

/* Category specific hover effects */
.news-category:hover,
.category-badge:hover,
.news-category-badge:hover {
  transform: translateY(-1px);
  filter: brightness(1.2);
}

/* ==========================================
   ADMIN PANEL - MODULE ICONS & HELPERS
   ========================================== */
.admin-module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  flex-shrink: 0;
}

/* ==========================================
   ADMIN PANEL - SECTION HEADERS
   ========================================== */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.admin-header .section-title,
.admin-page-header .section-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.admin-user-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .admin-header,
  .admin-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.admin-title-small {
  margin: 0;
  font-size: 1.5rem;
}

.admin-subtitle {
  margin: 0;
  font-size: 0.8rem;
}

/* YouTube Search Styles */
.search-with-youtube {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.search-with-youtube .media-search {
  flex: 1;
  margin-bottom: 0;
}

.youtube-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 0, 0.3);
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.youtube-search-btn:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.5);
  transform: scale(1.05);
}

.youtube-search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.youtube-search-btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 0, 0, 0.3);
  border-top-color: #ff0000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.youtube-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #ff6b6b;
}

.yt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 0.15rem 0.4rem;
  background: #ff0000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.youtube-search-btn.hidden {
  display: none !important;
}