/* MOBILE RESPONSIVE - NAVIGATION FIX */
@media (max-width: 768px) {
  /* Hide desktop navigation completely */
  nav {
    display: none !important;
  }
  
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block !important;
  }
  
  /* Enable mobile navigation overlay */
  .mobile-nav-overlay {
    display: flex !important;
  }
  
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Hero Section - Main Screen Mobile Fix */
  .center-container {
    height: 100vh;
    padding: 80px 15px 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .logo-image {
    max-width: 85%;
    max-height: 40vh;
    width: auto;
    height: auto;
    margin-bottom: 20px;
  }
  
  /* Content section mobile optimization */
  .content {
    padding: 20px 15px 40px 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    overflow: hidden;
  }
  
  .content h1 {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    padding: 0 10px;
    word-wrap: break-word;
  }
  
  .content p {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin: 0 auto 2rem auto;
    line-height: 1.5;
    text-align: center;
    max-width: 100%;
    padding: 0 10px;
    word-wrap: break-word;
  }
  
  .content .links {
    text-align: center;
    width: 100%;
  }
  
  .btn {
    padding: 15px 30px;
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    width: auto;
    min-width: 200px;
    max-width: 280px;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
  }

  /* Services section mobile */
  .services-container,
  .promotional-videos-section,
  .clients-section,
  .footer-section {
    padding: 50px 15px 40px 15px;
  }
  
  .services-title,
  .section-title,
  .clients-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-card h3 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }
  
  .service-card p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  /* Enhanced Carousel Section Mobile */
  .carousel-section {
    margin-bottom: 50px;
    padding: 30px 0;
  }
  
  .carousel-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: 30px;
  }
  
  .carousel-section:nth-child(odd),
  .carousel-section:nth-child(even) {
    padding: 30px 15px;
    margin: 25px 0;
    border-radius: 15px;
  }

  /* Client logos mobile - FLEXIBLE SIZING */
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.2rem;
    padding: 0 10px;
  }
  
  .client-logo {
    padding: 1.2rem;
    min-height: 100px;
    border-radius: 12px;
  }
  
  .client-logo-img {
    max-width: 120px;
    max-height: 45px;
  }
  
  /* About page mobile - FLEXIBLE containers */
  .client-logos-row {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .client-logo-about {
    padding: 15px;
    min-height: 85px;
    max-height: 85px;
    min-width: 150px;
  }
  
  .client-logo-about .client-logo-img {
    max-width: 110px;
    max-height: 40px;
  }

  /* Game cards mobile */
  .game-card {
    margin: 0 5px;
  }
  
  .game-image {
    height: 180px;
  }
  
  .game-info {
    padding: 1.2rem;
  }
  
  .game-title {
    font-size: clamp(1rem, 4vw, 1.1rem);
    margin: 0.8rem 0 0.4rem 0;
  }
  
  .game-description {
    font-size: clamp(0.8rem, 3.5vw, 0.9rem);
  }
  
  .game-tag {
    font-size: clamp(0.7rem, 3vw, 0.8rem);
    padding: 4px 10px;
  }

  /* Footer mobile */
  .footer-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .footer-content p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 1.5rem;
  }
  
  .footer-bar {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-icon {
    font-size: 22px;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
  }

  /* Video modal mobile */
  .video-modal-content {
    width: 95%;
    margin: 20px 10px;
  }
  
  .video-modal-close {
    top: -40px;
    right: 5px;
    padding: 8px 12px;
    font-size: 14px;
    min-height: 40px;
  }
  
  /* Swiper navigation mobile */
  .swiper-button-next,
  .swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
    bottom: 30px !important;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 18px !important;
  }
  
  .swiper-button-next {
    right: 15px !important;
  }
  
  .swiper-button-prev {
    left: 15px !important;
  }

  /* All promotions grid mobile */
  .all-promos-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 30px 15px;
  }
  
  .all-promos-header {
    padding: 90px 15px 40px 15px;
  }
  
  /* About page mobile adjustments */
  .about-header {
    padding: 90px 15px 40px 15px;
  }
  
  .production-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .production-image {
    height: 160px;
  }
  
  .client-category {
    padding: 20px;
    margin-bottom: 25px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 15px 25px;
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }
  
  .back-btn {
    top: 15px;
    left: 15px;
    padding: 10px 15px;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
  }

  /* View all button mobile */
  .view-all-btn {
    padding: 15px 25px;
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    width: auto;
    max-width: 300px;
  }
}

/* Small mobile phones (480px and below) */
@media (max-width: 480px) {
  .mobile-menu-toggle {
    width: 45px;
    height: 45px;
    font-size: 16px;
    top: 15px;
    right: 15px;
  }
  
  /* Content extra small */
  .content {
    padding: 20px 10px;
  }
  
  .content h1 {
    font-size: clamp(1.1rem, 7vw, 2rem);
    margin-bottom: 1.2rem;
  }
  
  .content p {
    font-size: clamp(0.85rem, 4.5vw, 1rem);
    margin-bottom: 1.8rem;
  }

  /* Sections extra small */
  .services-container,
  .promotional-videos-section,
  .clients-section,
  .footer-section {
    padding: 40px 10px 30px 10px;
  }

  .services-title,
  .section-title,
  .clients-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
    margin-bottom: 2rem;
  }

  /* Carousel sections extra small */
  .carousel-section {
    margin-bottom: 40px;
    padding: 20px 0;
  }
  
  .carousel-title {
    margin-bottom: 25px;
  }
  
  .carousel-section:nth-child(odd),
  .carousel-section:nth-child(even) {
    padding: 25px 10px;
    margin: 20px 0;
    border-radius: 12px;
  }

  /* Client logos extra small - FLEXIBLE */
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    padding: 0 5px;
  }
  
  .client-logo {
    padding: 1rem;
    min-height: 85px;
  }
  
  .client-logo-img {
    max-width: 100px;
    max-height: 38px;
  }
  
  /* About page extra small */
  .client-logos-row {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
  }
  
  .client-logo-about {
    padding: 12px;
    min-height: 70px;
    max-height: 70px;
    min-width: 130px;
  }
  
  .client-logo-about .client-logo-img {
    max-width: 95px;
    max-height: 35px;
  }

  /* Game cards extra small */
  .game-image {
    height: 160px;
  }
  
  .game-info {
    padding: 1rem;
  }
  
  .game-title {
    font-size: clamp(0.9rem, 4.5vw, 1rem);
  }
  
  .game-description {
    font-size: clamp(0.75rem, 4vw, 0.85rem);
  }

  /* All promotions extra small */
  .all-promos-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px 10px;
  }
  
  /* Production gallery extra small */
  .production-gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
  }
  
  .production-image {
    height: 140px;
  }

  /* Navigation menu extra small */
  .mobile-nav-menu {
    width: 95%;
    padding: 0 10px;
    margin-top: 60px;
  }
  
  .mobile-nav-menu li a {
    padding: 12px 15px;
    font-size: clamp(0.9rem, 4.5vw, 1rem);
    gap: 10px;
    min-height: 45px;
  }
  
  /* Footer extra small */
  .footer-bar {
    gap: 1.2rem;
  }
  
  .footer-icon {
    font-size: 20px;
    padding: 10px;
    min-width: 40px;
    min-height: 40px;
  }

  /* Buttons extra small */
  .btn, .cta-btn, .view-all-btn {
    padding: 12px 20px;
    font-size: clamp(0.85rem, 4vw, 1rem);
    min-height: 45px;
  }
  
  /* Swiper navigation extra small */
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    bottom: 20px !important;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px !important;
  }
}

/* Very small phones (360px and below) */
@media (max-width: 360px) {
  .content {
    padding: 15px 8px;
  }
  
  .services-container,
  .promotional-videos-section,
  .clients-section,
  .footer-section {
    padding: 30px 8px 25px 8px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.8rem;
  }
  
  .client-logo {
    padding: 0.8rem;
    min-height: 75px;
  }
  
  .client-logo-img {
    max-width: 85px;
    max-height: 32px;
  }
  
  .client-logos-row {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
  }
  
  .client-logo-about {
    padding: 10px;
    min-height: 65px;
    max-height: 65px;
    min-width: 110px;
  }
  
  .client-logo-about .client-logo-img {
    max-width: 80px;
    max-height: 30px;
  }
  
  .all-promos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px 8px;
  }
  
  .production-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .mobile-nav-menu li a {
    padding: 10px 12px;
    gap: 8px;
    min-height: 40px;
  }
  
  .game-image {
    height: 140px;
  }
  
  .production-image {
    height: 120px;
  }
  
  .about-header,
  .all-promos-header {
    padding: 70px 8px 25px 8px;
  }
  
  .about-content {
    padding: 25px 8px;
  }

  /* Carousel sections very small */
  .carousel-section {
    margin-bottom: 30px;
    padding: 15px 0;
  }
  
  .carousel-section:nth-child(odd),
  .carousel-section:nth-child(even) {
    padding: 20px 8px;
    margin: 15px 0;
    border-radius: 10px;
  }
}
  /* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #0a0a0a;
  overflow-x: hidden;
  min-height: 100vh;
  height: auto;
  width: 100%;
  max-width: 100vw;
}

/* Video Background */
.backvid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

#youtube-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 177.77vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.video-container {
  width: 100%;
  height: 100%;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Ensure proper video sizing */
@media (max-aspect-ratio: 16/9) {
  #youtube-background {
    width: 177.77vh;
    height: 100vh;
  }
}

@media (min-aspect-ratio: 16/9) {
  #youtube-background {
    width: 100vw;
    height: 56.25vw;
  }
}

/* Navigation - Desktop Only */
nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.upper_buttons {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.upper_buttons li a {
  text-decoration: none;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.upper_buttons li a:hover {
  color: #ff6b35;
  text-shadow: 0 0 10px #ff6b35;
}

.upper_buttons li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  transition: width 0.3s ease;
}

.upper_buttons li a:hover::after {
  width: 100%;
}

/* Unified Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: rgba(255, 107, 53, 0.9);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  touch-action: manipulation;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  background: #ff6b35;
  transform: scale(1.1);
}

/* Icon transformation styles */
.mobile-menu-toggle i {
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-toggle.active i {
  transform: rotate(180deg);
}

/* Remove the separate close button since we're using one unified button */
.mobile-close-btn {
  display: none !important;
}

/* Enhanced mobile navigation overlay with swipe support */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  touch-action: pan-y;
}

.mobile-nav-overlay.active {
  opacity: 1;
  transform: translateX(0);
}

/* Swipe indicator */
.swipe-indicator {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  animation: swipePulse 2s infinite;
}

@keyframes swipePulse {
  0%, 100% { opacity: 0.3; transform: translateY(-50%) translateX(0); }
  50% { opacity: 0.7; transform: translateY(-50%) translateX(-10px); }
}

/* Enhanced Mobile Navigation Menu */
.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin-top: 40px;
}

.mobile-nav-menu li {
  margin: 15px 0;
}

.mobile-nav-menu li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 25px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  width: 100%;
  min-height: 50px;
  touch-action: manipulation;
}

.mobile-nav-menu li a:hover,
.mobile-nav-menu li a:active {
  background: rgba(255, 107, 53, 0.3);
  border-color: #ff6b35;
  color: #ff6b35;
  transform: translateY(-2px);
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
  display: block !important;
  opacity: 1;
}

/* Touch feedback styles */
.touch-active {
  transform: scale(0.95) !important;
  opacity: 0.8 !important;
}

/* Logo */
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: relative;
  z-index: 5;
}

.logo-image {
  max-width: 80%;
  max-height: 60vh;
  height: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.3));
}

.logo-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.6));
}

/* Content Section */
.content {
  position: relative;
  width: 100%;
  text-align: center;
  z-index: 10;
  padding: 40px 20px;
  background: transparent;
  margin: 0 auto;
  max-width: 1200px;
}

.content h1 {
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 2s ease-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.content p {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.8;
  animation: fadeInUp 2s ease-out 0.5s both;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.5);
}

/* Background Transitions */
.background-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: all 0.8s ease-in-out;
  opacity: 0;
}

.bg1 {
  background: rgba(0, 0, 0, 0.8);
  opacity: 1;
}

.bg2 {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
  opacity: 1;
}

.bg3 {
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
  opacity: 1;
}

.bg4 {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(40, 40, 40, 0.95));
  opacity: 1;
}

/* Sections - ALTERNATING SLIDE ANIMATIONS */
.services-container {
  position: relative;
  width: 100%;
  padding: 80px 5% 60px 5%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s ease-out;
  min-height: auto;
  z-index: 1;
}

.services-container.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* FIXED - Our Work Section - Force Visibility */
.promotional-videos-section {
  position: relative;
  width: 100%;
  padding: 80px 5% 60px 5%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  opacity: 1 !important; /* Force visible */
  transform: translateX(0) !important; /* Remove transform */
  transition: all 1.2s ease-out;
  min-height: auto;
  z-index: 1;
}

.promotional-videos-section.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.clients-section {
  position: relative;
  width: 100%;
  padding: 80px 5% 60px 5%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s ease-out;
  min-height: auto;
  z-index: 1;
}

.clients-section.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.footer-section {
  position: relative;
  width: 100%;
  padding: 80px 5% 60px 5%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s ease-out;
  min-height: auto;
  z-index: 1;
}

.footer-section.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Services Section */
.services-title,
.clients-title {
  text-align: center;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Enhanced Main Section Title */
.section-title {
  text-align: center;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

/* Individual Carousel Section Spacing */
.carousel-section {
  margin-bottom: 80px; /* Space between carousels */
  padding: 40px 0;
  position: relative;
}

.carousel-section:last-child {
  margin-bottom: 40px; /* Less margin for the last carousel */
}

/* Carousel Titles */
.carousel-title {
  text-align: center;
  color: #ff6b35;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  position: relative;
  padding-bottom: 15px;
}

.carousel-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 1px;
}

/* Add subtle background separation for each carousel */
.carousel-section:nth-child(odd) {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 50px 20px;
  margin: 40px 0;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.carousel-section:nth-child(even) {
  background: rgba(255, 107, 53, 0.03);
  border-radius: 20px;
  padding: 50px 20px;
  margin: 40px 0;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.service-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(255, 107, 53, 0.3);
  border-color: #ff6b35;
  background: rgba(0, 0, 0, 0.5);
}

.service-card h3 {
  color: #ff6b35;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.service-card p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.service-btn {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.4);
}

/* Gaming Portfolio - SWIPER STYLES - WIDER CONTAINERS */
.promo-carousel {
  max-width: 1600px; /* Increased from 1400px */
  margin: 0 auto;
  overflow: visible !important;
  position: relative;
  padding: 20px 0;
}

/* Enhanced Swiper Centering */
.swiper {
  overflow: visible !important;
  padding: 0 20px !important; /* Add padding to show partial slides */
}

/* Center slide emphasis */
.swiper-slide {
  transition: all 0.3s ease !important;
  opacity: 0.7 !important;
  transform: scale(0.9) !important;
  flex-shrink: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: stretch !important;
  min-width: 350px; /* Added minimum width for consistency */
}

.swiper-slide-active,
.swiper-slide-center-active {
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 2 !important;
}

.swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
}

/* Mobile-specific carousel improvements */
@media (max-width: 768px) {
  .swiper {
    overflow: hidden !important; /* Hide overflow on mobile */
    padding: 0 10px !important; /* Reduced padding */
  }
  
  .swiper-slide {
    opacity: 1 !important; /* Full opacity for all slides on mobile */
    transform: scale(1) !important; /* No scaling on mobile */
    min-width: 300px; /* Smaller minimum width for mobile */
    width: 100% !important; /* Full width on mobile */
    max-width: calc(100vw - 40px) !important; /* Prevent overflow */
  }
  
  .swiper-slide-active,
  .swiper-slide-center-active {
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 2 !important;
  }
  
  /* Center the active slide */
  .swiper-container-horizontal > .swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
  }
}

/* Extra small mobile phones */
@media (max-width: 480px) {
  .swiper {
    padding: 0 5px !important;
  }
  
  .swiper-slide {
    min-width: 280px;
    max-width: calc(100vw - 20px) !important;
  }
  
  .game-card {
    margin: 0 2px; /* Reduced margin for smaller screens */
  }
}

.game-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 5px;
  min-height: 460px; /* Increased minimum height for uniformity */
}

.game-card::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg, #ff6b35, #f7931e, #ff6b35);
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(255, 107, 53, 0.3);
  border-color: #ff6b35;
}

.game-card:hover::before {
  opacity: 0.8;
}

.game-image {
  position: relative;
  width: 100%;
  height: 220px; /* Increased from 200px for better proportions */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  cursor: pointer;
  flex-shrink: 0;
}

/* Video Hover Container Styles */
.hover-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.hover-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.game-image:hover .hover-video-container {
  opacity: 1;
  pointer-events: auto;
}

.game-image:hover .play-btn {
  opacity: 0.7;
  z-index: 10;
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.9);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: relative;
}

.play-btn:hover {
  background: #ff6b35;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.5);
}

.game-info {
  padding: 1.8rem; /* Increased from 1.5rem for wider cards */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-tag {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  padding: 5px 14px; /* Slightly increased padding */
  border-radius: 15px;
  font-size: 0.85rem; /* Slightly larger font */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.game-title {
  color: #fff;
  font-size: 1.3rem; /* Increased from 1.2rem */
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  min-height: 50px; /* Added minimum height for consistency */
}

.game-description {
  color: #ddd;
  font-size: 0.95rem; /* Slightly increased from 0.9rem */
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Limit to 4 lines for consistency */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  position: relative;
}

/* See More/Less Button Styles */
.see-more-btn {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  align-self: flex-start;
  display: none; /* Hidden by default */
}

.see-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Show button for long descriptions */
.game-card.has-long-description .see-more-btn {
  display: block;
}

/* Expanded Content Overlay */
.expanded-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(247, 147, 30, 0.95));
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 10;
  overflow-y: auto;
}

.expanded-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.expanded-content h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.expanded-content p {
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  flex-grow: 1;
  margin-bottom: 15px;
}

.see-less-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  backdrop-filter: blur(5px);
}

.see-less-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Client Logos - MAIN PAGE */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.client-logo {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 107, 53, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.client-logo:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 1);
  border-color: #ff6b35;
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

/* Logo image sizing - BIGGER ACROSS ALL LOGOS */
.client-logo-img {
  max-width: 180px;
  max-height: 65px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(0%) opacity(0.9);
}

.client-logo:hover .client-logo-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* About page client logos - UNIFORM CONTAINER SIZES */
.client-category {
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.client-category h3 {
  color: #ff6b35;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.client-logos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: center;
}

.client-logo-about {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  max-height: 110px;
  min-width: 220px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.client-logo-about:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 1);
  border-color: #ff6b35;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.client-logo-about .client-logo-img {
  max-width: 160px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(0%) opacity(0.8);
}

.client-logo-about:hover .client-logo-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* Specific sizing for smaller logos to make them bigger */
.client-logo-img[src*="CP3"],
.client-logo-img[src*="cp3"],
.client-logo-img[alt="CP3"] {
  max-width: 220px !important;
  max-height: 80px !important;
}

.client-logo-img[src*="Rainy Frog"],
.client-logo-img[src*="rainy-frog"],
.client-logo-img[alt="Rainy Frog"] {
  max-width: 220px !important;
  max-height: 80px !important;
}

.client-logo-img[src*="Dark Star"],
.client-logo-img[src*="dark-star"],
.client-logo-img[alt="Dark Star"] {
  max-width: 220px !important;
  max-height: 80px !important;
}

/* About page specific sizing for these logos */
.client-logo-about .client-logo-img[src*="CP3"],
.client-logo-about .client-logo-img[src*="cp3"],
.client-logo-about .client-logo-img[alt="CP3"] {
  max-width: 200px !important;
  max-height: 75px !important;
}

.client-logo-about .client-logo-img[src*="Rainy Frog"],
.client-logo-about .client-logo-img[src*="rainy-frog"],
.client-logo-about .client-logo-img[alt="Rainy Frog"] {
  max-width: 200px !important;
  max-height: 75px !important;
}

.client-logo-about .client-logo-img[src*="Dark Star"],
.client-logo-about .client-logo-img[src*="dark-star"],
.client-logo-about .client-logo-img[alt="Dark Star"] {
  max-width: 200px !important;
  max-height: 75px !important;
}

/* Footer */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content h2 {
  color: #ff6b35;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.footer-content p {
  color: #ddd;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-icon {
  color: #fff;
  font-size: 24px;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.3);
  text-decoration: none;
}

.footer-icon:hover {
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.5);
  transform: translateY(-3px);
}

.copyright {
  color: #999;
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 107, 53, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Swiper Navigation - POSITIONED OUTSIDE CONTAINERS */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  width: 60px !important;
  height: 60px !important;
  background: rgba(255, 107, 53, 0.9) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(10px) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  z-index: 10 !important;
  top: 50% !important; /* Center vertically */
  transform: translateY(-50%) !important; /* Perfect vertical centering */
  bottom: auto !important;
  margin-top: 0 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #ff6b35 !important;
  transform: translateY(-50%) scale(1.1) !important; /* Maintain centering on hover */
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.swiper-button-next {
  right: -120px !important; /* Increased from -80px for wider spacing */
}

.swiper-button-prev {
  left: -120px !important; /* Increased from -80px for wider spacing */
}

/* Responsive positioning for different screen sizes */
@media (min-width: 1600px) {
  .swiper-button-next {
    right: -150px !important; /* Increased from -100px */
  }
  
  .swiper-button-prev {
    left: -150px !important; /* Increased from -100px */
  }
}

@media (max-width: 1400px) {
  .swiper-button-next {
    right: -100px !important; /* Increased from -60px */
  }
  
  .swiper-button-prev {
    left: -100px !important; /* Increased from -60px */
  }
}

@media (max-width: 1200px) {
  .swiper-button-next {
    right: -80px !important; /* Increased from -40px */
  }
  
  .swiper-button-prev {
    left: -80px !important; /* Increased from -40px */
  }
}

/* Mobile positioning - move arrows to bottom corners */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    top: 40% !important;           /* ← Keep them centered vertically */
    bottom: auto !important;       /* ← Remove bottom positioning */
    transform: translateY(-50%) !important; /* ← Maintain centering */
  }
  
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    transform: scale(1.1) !important; /* Simple scale on mobile hover */
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 20px !important;
  }
  
  .swiper-button-next {
    right: 20px !important; /* Bottom right corner */
  }
  
  .swiper-button-prev {
    left: 20px !important; /* Bottom left corner */
  }
}

@media (max-width: 480px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
    bottom: 15px !important;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 18px !important;
  }
  
  .swiper-button-next {
    right: 15px !important;
  }
  
  .swiper-button-prev {
    left: 15px !important;
  }
}

/* Remove the special handling for expanded content since arrows are now outside */

/* Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  opacity: 1;
}

.video-modal.closing {
  opacity: 0;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  z-index: 10001;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 107, 53, 0.9);
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  z-index: 10002;
}

.video-modal-close:hover {
  background: #ff6b35;
  transform: translateY(-2px);
}

/* About Page Specific Styles */
.about-header {
  background: rgba(0, 0, 0, 0.9);
  padding: 120px 20px 60px 20px;
  text-align: center;
}

.about-header h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.about-header .subtitle {
  color: #ff6b35;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(255, 107, 53, 0.9);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.back-btn:hover {
  background: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.4);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.about-section {
  margin-bottom: 50px;
}

.about-section h2 {
  color: #ff6b35;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.about-section p {
  color: #ddd;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.5);
}

/* Production Gallery Styles */
.production-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.production-image {
  position: relative;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.production-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.production-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.production-image:hover img {
  transform: scale(1.05);
}

.production-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.production-image:hover .production-overlay {
  transform: translateY(0);
}

.production-overlay span {
  font-weight: 600;
  font-size: 0.9rem;
}

.clients-showcase {
  margin-top: 40px;
}

/* All Promotions Page Styles - UPDATED FOR WIDER CONTAINERS */
.all-promos-header {
  background: rgba(0, 0, 0, 0.9);
  padding: 100px 20px 50px 20px;
  text-align: center;
}

.all-promos-header h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.all-promos-header p {
  color: #ddd;
  font-size: clamp(1rem, 3vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto;
}

/* ENHANCED Portfolio Grid Layout - MUCH WIDER CONTAINERS */
.all-promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); /* Increased from 300px to 480px */
  gap: 40px; /* Increased gap for better spacing */
  padding: 50px 30px; /* Increased padding */
  max-width: 1800px; /* Expanded max-width for ultra-wide screens */
  margin: 0 auto;
}

/* Enhanced Game Card Styling for Portfolio Page */
.all-promos-grid .game-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly more visible background */
  border-radius: 20px; /* Larger radius for modern look */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(15px); /* Enhanced blur effect */
  border: 2px solid rgba(255, 255, 255, 0.15); /* Thicker border */
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px; /* Increased for better proportions */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Added default shadow */
  position: relative;
}

.all-promos-grid .game-card::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg, #ff6b35, #f7931e, #ff6b35);
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}

.all-promos-grid .game-card:hover {
  transform: translateY(-15px); /* More dramatic lift */
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
}

.all-promos-grid .game-card:hover::before {
  opacity: 0.8;
}

/* Enhanced Game Image Container for Portfolio */
.all-promos-grid .game-image {
  position: relative;
  width: 100%;
  height: 300px; /* Increased height for wider containers */
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 15px 0 0; /* Rounded top corners */
}

/* Enhanced Play Button for Portfolio */
.all-promos-grid .play-btn {
  width: 70px; /* Larger button for wider cards */
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  font-size: 24px; /* Larger icon */
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.all-promos-grid .play-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Enhanced Game Info Section for Portfolio */
.all-promos-grid .game-info {
  padding: 25px; /* Increased padding for wider cards */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Enhanced Game Tag for Portfolio */
.all-promos-grid .game-tag {
  display: inline-block;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  width: fit-content;
}

/* Enhanced Game Title for Portfolio */
.all-promos-grid .game-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 12px 0;
  line-height: 1.3;
  min-height: 48px; /* Ensure consistent title area height */
  display: flex;
  align-items: flex-start;
}

/* Enhanced Game Description for Portfolio */
.all-promos-grid .game-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Increased to 5 lines for wider containers */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* View All Promotions Button Styles */
.view-all-container {
  text-align: center;
  margin-top: 40px;
  padding: 20px 0;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 35px;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.view-all-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.view-all-btn:hover::before {
  left: 100%;
}

.view-all-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.5);
}

.view-all-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.view-all-btn:hover i {
  transform: translateX(3px);
}

/* Enhanced Responsive Design for Portfolio */
@media (max-width: 1200px) {
  .all-promos-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 1400px;
  }
}

@media (max-width: 768px) {
  .all-promos-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 15px;
  }
  
  .all-promos-grid .game-card {
    min-height: 450px;
  }
  
  .all-promos-grid .game-image {
    height: 220px;
  }
  
  .all-promos-grid .game-info {
    padding: 20px;
  }
  
  .all-promos-grid .game-title {
    font-size: 16px;
    min-height: 40px;
  }
  
  .all-promos-grid .game-description {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 480px) {
  .all-promos-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px 10px;
  }
}

/* Ensure smooth centering on different screen sizes */
@media (max-width: 640px) {
  .swiper {
    padding: 0 10px !important;
  }
  
  .swiper-slide {
    transform: scale(0.95) !important;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .swiper {
    padding: 0 15px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .swiper {
    padding: 0 25px !important;
  }
}

@media (min-width: 1400px) {
  .swiper {
    padding: 0 30px !important;
  }
  
  /* Disable scaling on very large screens */
  .swiper-slide {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
}