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

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  height: 100%;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Modern Header Styles - JioGames Style */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.9;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-icon svg {
  width: 18px;
  height: 18px;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Header Search */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  width: 300px;
  transition: all 0.3s ease;
}

.header-search:focus-within {
  border-color: rgba(102, 126, 234, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 0.75rem;
  flex-shrink: 0;
  stroke-width: 2;
}

.search-input {
  flex: 1 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Category Navigation */
.category-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1;
}

/* Category Dropdown */
.category-dropdown {
  position: relative;
}

.category-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.category-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-dropdown-btn .category-icon {
  font-size: 1rem;
}

.category-dropdown-btn .category-name {
  font-size: 0.9rem;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease;
  stroke-width: 2;
}

.dropdown-arrow.open {
  transform: rotate(180deg);
}

.category-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: rgba(26, 26, 46, 0.98);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: left;
}

.category-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.category-dropdown-item.active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  color: white;
}

.category-dropdown-item .category-icon {
  font-size: 1rem;
}

.category-dropdown-item .category-name {
  flex: 1 1;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: #667eea;
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 0.75rem 1rem;
}

/* Mobile Categories */
.mobile-categories {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-categories .category-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  justify-content: flex-start;
  text-align: left;
}

.mobile-categories .category-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-categories .category-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.mobile-categories .category-icon {
  font-size: 1rem;
}

.mobile-categories .category-name {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .category-nav {
    gap: 0.25rem;
  }
  
  .category-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .header-search {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .header-container {
    gap: 1rem;
  }
  
  .header-search,
  .category-dropdown {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .logo-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-container {
    height: 60px;
    padding: 0 0.5rem;
  }
  
  .logo-icon {
    width: 28px;
    height: 28px;
  }
  
  .logo-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 70px;
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }
}

/* Modern NMS Games - Optimized CSS */

.App {
  min-height: 100vh;
  background: #0a0a0a;
}

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

/* Modern Home Styles */
.modern-home {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem 1rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
  font-family: 'Inter', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.simple-play-btn {
  background: #667eea;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.simple-play-btn:hover {
  background: #5a6fd8;
  transform: translateY(-2px);
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  color: white;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.section-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
  text-align: center;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

/* Modern Games Page Styles */
.modern-games-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  overflow-x: hidden;
}

/* Games Hero Section */
.games-hero {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
  text-align: center;
}

.games-hero-content h1 {
  color: white;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.games-hero-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Games Container */
.games-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Games Controls */
.games-controls {
  margin-bottom: 3rem;
}

.search-section {
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 1rem 1.5rem;
  max-width: 500px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: rgba(102, 126, 234, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 1rem;
  flex-shrink: 0;
}

.search-input {
  flex: 1 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.clear-search {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.clear-search:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Category Tabs */
.category-section {
  display: flex;
  justify-content: center;
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  white-space: nowrap;
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.category-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.category-icon {
  font-size: 1.1rem;
}

.category-name {
  font-size: 0.9rem;
}

/* Games Section */
.games-section {
  margin-top: 2rem;
}

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

.games-header h2 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

.games-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Modern Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  padding: 1rem 0;
}

.modern-game-card {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
}

.modern-game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(102, 126, 234, 0.4);
}

.modern-game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-game-card:hover::before {
  opacity: 1;
}

/* Game Image Container */
.game-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-game-card:hover .game-image {
  transform: scale(1.1);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.modern-game-card:hover .game-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
  transform: scale(1.1);
  background: white;
}

.play-button svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  z-index: 2;
}

/* Game Content */
.game-content {
  padding: 1.5rem;
  background: rgba(22, 33, 62, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.game-header {
  margin-bottom: 1rem;
}

.game-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
}

.game-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Game Meta */
.game-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.category-text {
  text-transform: capitalize;
}

/* Game Actions */
.game-actions {
  display: flex;
  gap: 0.75rem;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.action-btn svg {
  width: 16px;
  height: 16px;
}

.action-btn.primary {
  flex: 1 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.action-btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.875rem;
}

.action-btn.secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-2px);
}

.action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* No Games State */
.no-games {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.no-games-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-games h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.no-games p {
  font-size: 1rem;
  margin: 0;
}

/* Coming Soon Styles */
.modern-game-card.coming-soon {
  opacity: 0.8;
}

.modern-game-card.coming-soon:hover {
  transform: translateY(-5px) scale(1.01);
  cursor: default;
}

.modern-game-card.coming-soon .game-overlay {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.8), rgba(238, 90, 36, 0.8));
}

/* Responsive Design */
@media (max-width: 768px) {
  .games-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .games-hero-content p {
    font-size: 1rem;
  }
  
  .games-container {
    padding: 1rem 0.5rem;
  }
  
  .category-tabs {
    justify-content: flex-start;
    padding: 0.25rem;
  }
  
  .category-tab {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .games-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .search-box {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .games-hero {
    padding: 2rem 0 1rem;
  }
  
  .games-hero-content h1 {
    font-size: 2rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .game-content {
    padding: 1rem;
  }
  
  .game-actions {
    flex-direction: column;
  }
  
  .action-btn.secondary {
    padding: 0.875rem 1.25rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .simple-play-btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .games-container {
    padding: 1rem 0.5rem;
  }
  
  .games-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .search-container {
    max-width: none;
  }
  
  .games-count {
    text-align: center;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 1rem 0.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .features-section, .cta-section {
    padding: 4rem 0;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .games-container {
    padding: 1rem 0.5rem;
  }
}
/* Enhanced Auth Page Styles */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
}

.auth-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.auth-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.auth-form h2 {
  color: white;
  text-align: center;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.auth-subtitle {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Google Login Button */
.google-login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: white;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-login-btn:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.google-login-btn:disabled,
.google-login-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f5f5f5;
  color: #999;
  transform: none;
}

.google-login-btn:disabled:hover,
.google-login-btn.disabled:hover {
  background: #f5f5f5;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.divider span {
  background: rgba(26, 26, 46, 0.95);
  color: rgba(255, 255, 255, 0.6);
  padding: 0 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: white;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.85rem;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: #667eea;
}

.checkbox-container a {
  color: #667eea;
  text-decoration: none;
}

.checkbox-container a:hover {
  text-decoration: underline;
}

.forgot-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Loading Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Auth Switch */
.auth-switch {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.auth-switch a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Error Message */
.error-message {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-form {
    padding: 2rem 1.5rem;
    max-width: 380px;
  }
  
  .auth-form h2 {
    font-size: 1.75rem;
  }
  
  .form-options {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .auth-page {
    padding: 1rem 0.5rem;
  }
  
  .auth-form {
    padding: 1.5rem 1rem;
  }
  
  .auth-form h2 {
    font-size: 1.5rem;
  }
}

/* Game Detail Page Styles */
.game-detail-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  position: relative;
}

.game-detail-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

.game-detail-header {
  margin-bottom: 2rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-button:hover {
  color: white;
}

.back-button svg {
  width: 20px;
  height: 20px;
}

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

.game-hero-image {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.game-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.game-hero-overlay h1 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.game-info-section {
  color: white;
}

.game-description {
  margin-bottom: 2rem;
}

.game-description h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.game-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.stat-card h3 {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.stat-card p {
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
  margin: 0;
  text-transform: capitalize;
}

.game-tags h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.game-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.game-actions-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
}

.primary-action-btn,
.secondary-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.primary-action-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.primary-action-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.secondary-action-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-action-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.primary-action-btn:disabled,
.secondary-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.primary-action-btn svg,
.secondary-action-btn svg {
  width: 18px;
  height: 18px;
}

.game-quick-stats {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.game-not-found {
  text-align: center;
  color: white;
  padding: 4rem 2rem;
}

.game-not-found h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.back-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .game-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .game-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .game-detail-container {
    padding: 1rem 0.5rem;
  }
  
  .game-hero-image {
    height: 300px;
  }
  
  .game-hero-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .game-hero-overlay h1 {
    font-size: 2rem;
  }
  
  .game-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .auth-form {
    padding: 1.5rem;
  }
}


/* JioGames Style - Games Page */
.jio-games-page {
  min-height: 100vh;
  background: #1a1a1a;
  padding-top: 70px;
}

.games-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Game Section */
.game-section {
  margin-bottom: 3rem;
}

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

.section-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.games-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

/* Game Card Wrapper */
.game-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.game-card-wrapper:hover {
  transform: translateY(-4px);
}

/* Game Card with Image */
.game-card-with-image {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.game-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card-wrapper:hover .game-card-overlay {
  opacity: 1;
}

.game-card-wrapper:hover .game-card-with-image {
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.game-card-overlay .play-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 1.8rem;
  padding-left: 4px;
  transition: all 0.3s ease;
}

.game-card-wrapper:hover .game-card-overlay .play-icon {
  transform: scale(1.15);
  background: white;
}

/* Game Title Below Card */
.game-card-wrapper .game-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

/* No Games State */
.no-games {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.no-games-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-games h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.no-games p {
  font-size: 1rem;
  margin: 0;
}

/* Loading State */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: white;
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .games-container {
    padding: 1.5rem 1rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .game-card-with-image {
    height: 150px;
  }
  
  .game-card-overlay .play-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .game-card-wrapper .game-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .games-container {
    padding: 1rem 0.5rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .game-card-with-image {
    height: 130px;
  }
  
  .game-card-overlay .play-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .game-card-wrapper .game-title {
    font-size: 0.95rem;
  }
}


/* Game Detail Page */
.game-detail-page {
  min-height: 100vh;
  background: #1a1a1a;
  padding-top: 70px;
}

.game-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-gap: 2rem;
  gap: 2rem;
}

/* Main Content */
.game-detail-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Game Preview Section */
.game-preview-section {
  width: 100%;
}

.game-preview-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.game-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 3rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.game-preview-title {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.play-now-btn {
  background: #00b894;
  color: white;
  border: none;
  padding: 0.875rem 3rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

.play-now-btn:hover {
  background: #00a383;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 184, 148, 0.4);
}

/* Game Info Tabs */
.game-info-tabs {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.tab-header {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn {
  flex: 1 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #00b894;
  border-bottom-color: #00b894;
  background: rgba(0, 184, 148, 0.05);
}

.tab-content {
  padding: 1.5rem;
}

.game-meta-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.game-meta-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: capitalize;
}

.game-meta-separator {
  color: rgba(255, 255, 255, 0.3);
}

.game-description-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Sidebar */
.game-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.25rem;
  gap: 0.25rem;
}

.sidebar-tab {
  flex: 1 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  border-radius: 6px;
  text-align: center;
}

.sidebar-tab:hover {
  color: rgba(255, 255, 255, 0.9);
}

.sidebar-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Similar Games Grid */
.similar-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  gap: 1rem;
}

.similar-game-card {
  position: relative;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
}

.similar-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  border-color: rgba(102, 126, 234, 0.3);
}

.similar-game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.similar-game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.similar-game-card:hover .similar-game-overlay {
  opacity: 1;
}

.play-icon-small {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 1.2rem;
  padding-left: 3px;
  transition: all 0.2s ease;
}

.similar-game-card:hover .play-icon-small {
  transform: scale(1.1);
  background: white;
}

/* Game Not Found */
.game-not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2rem;
}

.game-not-found h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.back-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .game-detail-container {
    grid-template-columns: 1fr;
  }
  
  .game-detail-sidebar {
    order: -1;
  }
  
  .similar-games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .game-detail-container {
    padding: 1.5rem 1rem;
  }
  
  .game-preview-card {
    height: 280px;
  }
  
  .game-preview-title {
    font-size: 1.5rem;
  }
  
  .play-now-btn {
    padding: 0.75rem 2.5rem;
    font-size: 0.95rem;
  }
  
  .similar-games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .similar-game-card {
    height: 100px;
  }
}

@media (max-width: 480px) {
  .game-detail-container {
    padding: 1rem 0.5rem;
  }
  
  .game-preview-card {
    height: 240px;
  }
  
  .game-preview-title {
    font-size: 1.3rem;
  }
  
  .play-now-btn {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }
  
  .similar-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .similar-game-card {
    height: 90px;
  }
  
  .play-icon-small {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

