/* Common styles for all pages */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@400;700&display=swap");

:root {
  /* Dark theme colors matching the design */
  --dark-background: #0a0a0a;
  --primary-blue: #00bfff;
  --gray-900: rgba(17, 24, 39, 0.7);
  --gray-800: #374151;
  --gray-700: #4b5563;
  --gray-600: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --blue-700: #0099cc;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-background);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-horizontal {
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-700);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography */
.font-oswald {
  font-family: "Oswald", sans-serif;
}

/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Special container for header - no max-width constraint */
.header .container {
  max-width: none;
  width: 100%;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--dark-background);
}

.btn-primary:hover {
  background-color: var(--blue-700);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--dark-background);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gray-300);
  border: 1px solid var(--gray-400);
}

.btn-secondary:hover {
  background-color: var(--gray-700);
  color: white;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

/* Card styles */
.card {
  background-color: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 191, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.1);
}

.card-header {
  padding: 1rem 1rem 0.75rem;
}

.card-content {
  padding: 1rem;
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background-color: var(--primary-blue);
  color: var(--dark-background);
}

.badge-secondary {
  background-color: var(--gray-700);
  color: var(--gray-300);
}

.badge-outline {
  background-color: transparent;
  color: var(--gray-300);
  border: 1px solid var(--gray-600);
}

.badge-live {
  background-color: #ef4444;
  color: white;
  animation: pulse 2s infinite;
}

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

.badge-stream-type {
  background-color: rgba(0, 191, 255, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(0, 191, 255, 0.3);
  padding: 0.125rem 0.375rem;
  font-size: 0.6875rem;
  border-radius: 0.25rem;
  text-transform: capitalize;
}

.modal-stream-item-button {
  background: var(--gray-800);
}

/* Avatar styles */
.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  object-fit: cover;
}

.avatar-sm {
  width: 2rem;
  height: 2rem;
}

.avatar-lg {
  width: 4rem;
  height: 4rem;
}

/* Styles for the modal backdrop */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Global Platform-specific icon colors */
.icon-twitch {
  color: #9146ff;
}
.icon-youtube {
  color: #ff0000;
}
.icon-kick {
  color: #53fc18;
}
.icon-default {
  color: var(--gray-400);
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}

/* Flex utilities */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.space-x-2 > * + * {
  margin-left: 0.5rem;
}
.space-x-4 > * + * {
  margin-left: 1rem;
}
.space-x-6 > * + * {
  margin-left: 1.5rem;
}
.space-x-8 > * + * {
  margin-left: 2rem;
}

/* Text utilities */
.text-center {
  text-align: center;
}
.text-white {
  color: white;
}
.text-gray-300 {
  color: var(--gray-300);
}
.text-gray-400 {
  color: var(--gray-400);
}
.text-primary {
  color: var(--primary-blue);
}

.text-xs {
  font-size: 0.75rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-6xl {
  font-size: 3.75rem;
}

.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}

/* Spacing utilities */
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.m-2 {
  margin: 0.5rem;
}
.m-4 {
  margin: 1rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}

/* Position utilities */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-50 {
  z-index: 50;
}

/* Size utilities */
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.h-screen {
  height: 100vh;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-7xl {
  max-width: 80rem;
}

/* Hidden utilities */
.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:flex {
    display: flex;
  }
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  .md\:text-6xl {
    font-size: 3.75rem;
  }
  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .md\:hidden {
    display: none;
  }
  .md\:block {
    display: block;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Backdrop blur */
.backdrop-blur-md {
  backdrop-filter: blur(0px);
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

/* Drop shadow */
.drop-shadow-lg {
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

/* Gradients */
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-dark-background {
  --tw-gradient-from: var(--dark-background);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10, 10, 10, 0));
}
.to-gray-950 {
  --tw-gradient-to: #030712;
}
.via-transparent {
  --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgba(10, 10, 10, 0));
}

/* IMPROVED HEADER STYLES - MOBILE FIRST APPROACH */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
  min-height: 60px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: none;
  min-height: 60px;
  gap: 1rem; /* Gap between sections */
}

/* Mobile-first header layout - FIXED SPACING */
.header-left-section {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

/* GameReplays logo */
.gamereplays-logo {
  display: none; /* Hidden by default */
  opacity: 0.9;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.gamereplays-logo:hover {
  opacity: 1;
}

.gamereplays-logo img {
  width: 120px;
  height: 25px;
  object-fit: contain;
}

/* World Series logo */
.logo {
  display: flex; /* Shown by default */
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
  min-width: 0;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--blue-700));
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.logo-text {
  min-width: 0;
}

.logo-text h1 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-text p {
  font-size: 0.625rem;
  color: var(--primary-blue);
  margin: 0;
  line-height: 1;
}

/* Navigation - SCROLLABLE HORIZONTALLY */
.nav {
  display: none; /* Hidden by default on small screens */
  flex-grow: 1; /* Allows it to take available space */
  overflow-x: auto; /* Enable horizontal scrolling */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  white-space: nowrap; /* Prevent wrapping */
  align-items: center;
  gap: 1.5rem; /* Adjust gap for items */
  padding: 0 1rem; /* Add some padding for scrollable area */
  position: static; /* Remove absolute positioning */
  transform: none; /* Remove transform */
}

.nav::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.nav a {
  color: var(--gray-300);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}

.nav a:hover,
.nav a.active {
  background: rgba(0, 191, 255, 0.1);
  color: var(--primary-blue);
}

/* Header actions - PROPER SPACING FOR MOBILE */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* User auth section - MOBILE OPTIMIZED */
.user-auth-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-info {
  display: none; /* Hidden on mobile to save space */
  align-items: center;
  gap: 0.5rem;
}

/* Mobile menu button - ALWAYS VISIBLE ON SMALL SCREENS */
.mobile-menu-button {
  display: flex; /* Always show on mobile */
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.3);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.mobile-menu-button:hover {
  background: rgba(0, 191, 255, 0.2);
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(0, 191, 255, 0.2);
  z-index: 100;
  transition: left 0.3s ease;
  padding: 1rem;
  overflow-y: auto;
  display: flex; /* Ensure flex column for content */
  flex-direction: column;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray-800);
}

/* Ensure World Series logo is always visible in mobile menu header */
.mobile-menu-header .logo {
  display: flex !important;
}

.mobile-menu-close {
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.3);
  color: white;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: rgba(0, 191, 255, 0.2);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  color: var(--gray-300);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  background: rgba(0, 191, 255, 0.1);
  color: var(--primary-blue);
}

.mobile-menu-auth {
  padding-top: 1rem;
  border-top: 1px solid var(--gray-800);
  margin-bottom: 1rem;
}

.mobile-menu-auth .space-y-3 > * + * {
  margin-top: 0.75rem;
}

.mobile-menu-auth .w-full {
  width: 100%;
}

/* GameReplays logo in mobile menu footer - REMOVED */
.mobile-menu-footer {
  display: none; /* Hide this section as GameReplays logo is now in header */
}

/* RESPONSIVE BREAKPOINTS */

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .header .container {
    padding: 0.5rem 0.75rem;
  }

  .gamereplays-logo {
    display: block; /* Show GameReplays logo in header */
    width: 100px;
    height: 21px;
  }
  .logo {
    display: none; /* Hide World Series logo in header */
  }

  .logo-text h1 {
    font-size: 0.9375rem;
  }

  .logo-text p {
    font-size: 0.5625rem;
  }

  .logo-icon {
    width: 1.875rem;
    height: 1.875rem;
  }

  .header-actions {
    gap: 0.375rem;
  }

  .btn-sm {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
  }

  .nav {
    display: none; /* Hide nav on small mobile */
  }
  .mobile-menu-button {
    display: flex; /* Show mobile menu button */
  }
}

/* Mobile Landscape & Small Tablet (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .header .container {
    padding: 0.5rem 1rem;
    gap: 0.75rem; /* Adjust gap for two logos + button */
  }

  .header-left-section {
    gap: 0.75rem; /* Gap between GameReplays and World Series logos */
  }

  .gamereplays-logo {
    display: block; /* Show GameReplays logo in header */
    width: 100px; /* Smaller size for GameReplays logo */
    height: 21px;
  }
  .logo {
    display: none; /* Hide World Series logo in header */
  }

  .logo-text h1 {
    font-size: 0.9375rem; /* Smaller World Series text */
  }

  .logo-text p {
    font-size: 0.5625rem;
  }

  .logo-icon {
    width: 1.875rem;
    height: 1.875rem;
  }

  .nav {
    display: none; /* Hide main nav */
  }
  .mobile-menu-button {
    display: flex; /* Show mobile menu button */
  }
}

/* Tablet Portrait & Small Desktop (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .header .container {
    padding: 0.75rem 1.5rem;
    gap: 1rem; /* Adjust gap for scrollable nav */
  }

  .header-left-section {
    gap: 0; /* No gap if World Series is hidden */
  }

  .gamereplays-logo {
    display: block; /* Show GameReplays logo in header */
    width: 130px;
    height: 27px;
  }
  .logo {
    display: none; /* Hide World Series logo in header */
  }

  .logo-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .logo-text h1 {
    font-size: 1.125rem;
  }

  .logo-text p {
    font-size: 0.6875rem;
  }

  .nav {
    display: flex; /* Show scrollable nav */
    padding: 0 0.5rem; /* Add padding for scrollable area */
    gap: 1rem; /* Smaller gap for nav items */
  }
  .nav a {
    font-size: 0.8125rem; /* Smaller font size for nav items */
    padding: 0.375rem 0.625rem;
  }
  .mobile-menu-button {
    display: none; /* Hide mobile menu button */
  }

  .user-info {
    display: flex; /* Show user info */
  }

  .header-actions {
    gap: 1rem;
  }

  .user-auth-section {
    gap: 1rem;
  }
}

/* Desktop (1025px - 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {
  .header .container {
    padding: 0.75rem 2rem;
    gap: 2rem;
  }

  .header-left-section {
    gap: 2rem;
  }

  .gamereplays-logo {
    display: block; /* Show GameReplays logo */
    width: 210px;
    height: 40px;
  }
  .logo {
    display: none; /* Hide World Series logo in this range */
  }

  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .logo-text h1 {
    font-size: 1.25rem;
  }

  .logo-text p {
    font-size: 0.75rem;
  }

  .nav {
    display: flex; /* Show full nav */
    overflow-x: visible; /* No scrolling needed */
    padding: 0; /* No padding needed */
    gap: 1.5rem;
  }
  .nav a {
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
  }
  .mobile-menu-button {
    display: none; /* Hide mobile menu button */
  }

  .user-info {
    display: flex; /* Show user info */
  }

  .header-actions {
    gap: 1.5rem;
  }

  .user-auth-section {
    gap: 1.5rem;
  }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .header .container {
    padding: 0.75rem 2rem;
    gap: 3rem; /* Reinstated larger gap for very wide screens */
  }

  .header-left-section {
    gap: 3rem; /* Reinstated larger gap for very wide screens */
  }

  .gamereplays-logo {
    display: block; /* Show GameReplays logo */
    width: 170px;
    height: 35px;
  }
  .gamereplays-logo img {
	  display: block; /* Ensures the image behaves as a block element */
	  width: 100%;    /* Make the image fill 100% of its parent's width */
	  height: auto;   /* Automatically adjust height to maintain aspect ratio */
	  object-fit: contain; /* Ensures the entire image is visible within its bounds */
	}
  .logo {
    display: flex; /* Show World Series logo again for 1440px+ */
  }

  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .logo-text h1 {
    font-size: 1.25rem;
  }

  .logo-text p {
    font-size: 0.75rem;
  }

  .nav {
    display: flex; /* Show full nav */
    overflow-x: visible; /* No scrolling needed */
    padding: 0; /* No padding needed */
    gap: 2rem; /* Reinstated larger gap for very wide screens */
  }
  .nav a {
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
  }
  .mobile-menu-button {
    display: none; /* Hide mobile menu button */
  }

  .user-info {
    display: flex; /* Show user info */
  }

  .header-actions {
    gap: 1.5rem;
  }

  .user-auth-section {
    gap: 1.5rem;
  }
}

/* Very small screens (320px) */
@media (max-width: 360px) {
  .header-left-section {
    gap: 0;
  }

  .logo-text h1 {
    font-size: 0.875rem;
  }

  .logo-text p {
    font-size: 0.5625rem;
  }

  .logo-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* MOBILE RESPONSIVE IMPROVEMENTS */
@media (max-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .md\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .md\:grid-cols-3 {
    grid-template-columns: 1fr;
  }
  .lg\:grid-cols-3 {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .card {
    margin-bottom: 1rem;
  }

  .card-content {
    padding: 0.75rem;
  }

  .card-header {
    padding: 0.75rem 0.75rem 0.5rem;
  }

  .text-4xl {
    font-size: 2rem;
  }

  .text-6xl {
    font-size: 2.5rem;
  }

  .py-12 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .mb-12 {
    margin-bottom: 2rem;
  }

  .gap-6 {
    gap: 1rem;
  }
}

@media (min-width: 640px) and (max-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
  }

  .card {
    transition: none;
  }

  .card:hover {
    border-color: var(--gray-800);
    box-shadow: none;
  }
}

/* Streamer Modal Responsive Styles */
.streamer-item-modal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}

.streamer-item-modal:hover {
  background-color: rgba(0, 191, 255, 0.1);
  border-color: rgba(0, 191, 255, 0.3);
}

@media (max-width: 640px) {
  .streamer-item-modal {
    padding: 0.625rem;
    font-size: 0.8125rem;
  }
}
