.mobile-notice-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-notice-box.active {
  opacity: 1;
  visibility: visible;
}

.mobile-notice-content {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  max-width: 400px;
  color: #fff;
}

.mobile-notice-content h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.mobile-notice-content p {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.5;
}

.mobile-notice-content .close-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.mobile-notice-content .close-button:hover {
  background-color: #0056b3;
  color: #fff;
}

body.light-theme {
  background-color: #949494;
  color: #111;
}

/* Default (Dark) Theme */

body.dark-theme {
  --bg-primary: #0a0a0a;
  --bg-secondary: #161616;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-color: #d35400;
  --accent-hover: #e67e22;
  --card-bg: #1a1a1a;
  --border-color: #333333;
}

/* Light Theme */
body.light-theme {
  --bg-primary: #f4f4f4;
  --bg-secondary: #ffffff;
  --text-primary: #111111;
  --text-secondary: #444444;
  --accent-color: #d35400;
  --accent-hover: #e67e22;
  --card-bg: #ffffff;
  --border-color: #dddddd;
}

/* System Theme - Will switch between light/dark based on OS preference */
body.system-theme {
  --bg-primary: #0a0a0a;
  --bg-secondary: #161616;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-color: #d35400;
  --accent-hover: #e67e22;
  --card-bg: #1a1a1a;
  --border-color: #333333;
}

@media (prefers-color-scheme: light) {
  body.system-theme {
    --bg-primary: #f4f4f4;
    --bg-secondary: #ffffff;
    --text-primary: #111111;
    --text-secondary: #444444;
    --accent-color: #d35400;
    --accent-hover: #e67e22;
    --card-bg: #ffffff;
    --border-color: #dddddd;
  }
}

/* === Base Styles === */
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  scroll-behavior: smooth;
}

/* Base smooth styles */
html {
  scroll-behavior: smooth;
}

/* Performance optimizations */
[data-scroll-container] {
  contain: query style, layout, paint;
}

.card,
.game-card,
.cta-button {
  will-change: transform, opacity;
}

/* Reduced motion overrides */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Scroll Progress Indicator === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6600, #ff0066);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* === Navbar === */
.navbar {
  background-color: #161616;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  height: 25px;
  max-width: 100%;
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  z-index: 1000;
  animation: slideDown 0.8s ease-out forwards;
}

@keyframes slideDown {
  from {
    top: -100px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}







/* === Animation Keyframes === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* === Reduced Motion Preferences === */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll,
  .navbar,
  .hero,
  .image-row,
  .feature,
  .card,
  .game-card,
  .testimonial-card,
  .footer-logo,
  .social-icons a,
  .btn,
  .cta-button,
  .game-join-btn,
  .hero-btn,
  .login-btn,
  .privacy-btn,
  #skipBtn,
  #spinner,
  .loading-text,
  .dp-dropdown button,
  .mobile-menu a,
  .image-wrapper,
  .subscribe-form button,
  .footer-bottom a,
  .author img {
    animation: none !important;
    transition: none !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none !important;
  }

  .navbar {
    animation: none;
    top: 0;
    opacity: 1;
  }

  .hero h1,
  .hero p,
  .hero-btn,
  .game-left h1,
  .game-left p,
  .game-join-btn,
  .game-card {
    animation: none !important;
    opacity: 1;
    transform: none !important;
    filter: none !important;
  }

  .scroll-left,
  .scroll-right {
    animation: none !important;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-up {
    opacity: 1;
    transform: none !important;
  }
}

/* === Scroll Animation Classes === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Specific animation variations */
.fade-in-left {
  transform: translateX(-50px);
}

.fade-in-right {
  transform: translateX(50px);
}

.scale-up {
  transform: scale(0.8);
}

.scale-up.animated {
  transform: scale(1);
}

/* === Text highlight on scroll === */
.highlight-text {
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6600, #ff0066);
  transition: width 1s ease;
}

.highlight-text.in-view::after {
  width: 100%;
}

/* === Enhanced card animations === */
.card {
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 15px 30px rgba(255, 102, 0, 0.3);
}

/* === Dropdown Enhancements === */
.dp-dropdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #1a1a1a;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  position: absolute;
  right: 0;
  top: 60px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.dp-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dp-dropdown button {
  background: transparent;
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: background 0.3s;
}

.dp-dropdown button:hover {
  background: #333;
}





/* Navbar */
.navbar {
  background-color: #161616;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  height: 25px;
  max-width: 100%;
  position: fixed;
  top: -100px;
  /* Hide initially for animation */
  left: 0;
  right: 0;
  z-index: 1000;
  animation: slideDown 0.8s ease-out forwards;
}

/* Keyframe for slide-in */
@keyframes slideDown {
  from {
    top: -100px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

/* Logo */
.logo img {
  height: 30px;
  width: auto;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #aaa;
}

.arrow {
  margin-left: 4px;
  font-size: 14px;
}

/* Animated Button */
.login-btn {
  position: sticky !important;
  padding: 10px 20px;
  transform: translate(0px, 0px) scale(0.95, 0.95) !important;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  opacity: 1 !important;
  filter: none !important;
}

.login-btn:hover {

  transform: scale(1.05);
}



.dp-wrapper {
  position: relative;
  cursor: pointer;
}

.dp {
  width: 40px;
  height: 40px;

  background: linear-gradient(135deg, #6e8efb, #a777e3);
  border-radius: 50%;

  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

#dpImage,
.imgdp {
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}



.dp-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  min-width: 120px;
  z-index: 1000;
  padding: 5px 0;
}

.dp-dropdown button {
  background: none;
  border: none;
  padding: 10px 16px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  width: 100%;
  font-size: 14px;
}

.dp-dropdown button:hover {
  background-color: #333;
}

.user-name {
  margin-left: 8px;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
  transition: opacity 0.3s ease;
}

.dp-wrapper:hover .user-name,
.dp-wrapper.clicked .user-name {
  display: inline-block;
  opacity: 1;
}

#dpWrapper {
  opacity: 0.5;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

#dpWrapper.visible {
  opacity: 1;
  transform: scale(1);
}

body:hover #dpWrapper {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  #dpWrapper {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
  }

}

/* Dropdown styles */
.dp-dropdown {
  display: none;
  /* Hidden by default */
}

.dp-dropdown.show {
  display: block;
  /* Show when 'show' class is present */
}


/* 🔸 Animated Background on Hover */
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #3e3e3e, #b1b1b1, #000000);
  background-size: 100% 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.navbar:hover::before {
  animation: navSweep 3s ease-out forwards;
  opacity: 0.15;
}

/* Background Sweep Animation */
@keyframes navSweep {
  0% {
    left: -100%;
  }

  50% {
    left: 0%;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@media (max-width: 1024px) {

  .game-section,
  .hero,
  .pricing-container {
    padding-top: 70px;
  }
}

@media (max-width: 768px) {

  .game-section,
  .hero,
  .pricing-container {
    padding-top: 80px;
  }
}


/* Hamburger (Mobile Only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 11000 !important;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Slide-out Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 220px;
  background: #161616;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  padding: 80px 20px;
  gap: 20px;
  transition: right 0.4s ease-in-out;
  z-index: 1099;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #2a2a2a;
}

.mobile-menu a:hover {
  color: #f97316;
  padding-left: 8px;
}

/* Active states */
.mobile-menu.active {
  right: 0;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}

/* Responsive control */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}



















/* Hero Section */



/* Hero Section with Video Background */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  padding: 0 20px;
}


/* Background Video */
.hero-bg-video {
  position: fixed;
  /* pinned to viewport */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  /* use 100% to avoid 100vw scrollbar overflow issues */
  height: 100vh;
  /* full viewport height */
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.3) saturate(1.2);
  pointer-events: none;
  /* make sure clicks pass through */
  animation: fadeIn 1s ease-in-out forwards;
  will-change: transform;
  transform-origin: center center;
}

/* Overlay Effects */
/* background image layer */
.hero-section::after {
  content: "";
  position: absolute;
  /* 👈 important */
  inset: 0;
  background-image: url(../images/cs-rank-5-Photoroom.png);
  background-size: 80% auto;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--bg-shift, 0px));
}

@media (max-width: 480px) {
  .hero-section::after {
    background-size: 200vw auto;
    background-position: center 35%;
  }
}

@media (max-width: 768px) {
  .hero-section::after {
    background-size: 190vw auto;
    background-position: center 40%;
    opacity: 0.25;
    /* lighter for readability */
  }
}


@keyframes zoomInFade {
  from {
    transform: scale(1.1);
    opacity: 0.3;
  }

  to {
    transform: scale(1);
    opacity: 0.5;
  }
}

@keyframes zoomInFade2 {
  from {
    transform: scale(1.1);
    opacity: 0.5;
  }

  to {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Hero Content Styles */
.hero-content {
  color: #fff;
  max-width: 900px;
  padding: 40px 20px;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

.hero-section .next-gen-heading {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-30px);
  animation: slideFadeIn 1s ease-out 0.4s forwards;
  -webkit-text-stroke: 2px rgb(198, 198, 198);
  /* border thickness + color */
  transition: var(--transition);
}

.hero-section .gaming-description {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(20px);
  animation: fadeBlurUp 1s ease-out 0.8s forwards;
}

.hero-section .hero-btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: bold;

  border: none;
  border-radius: 32px;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, background 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
  animation: popBounce 1.2s ease-out 1.2s forwards;
}

.hero-section .hero-btn:hover {
  transform: scale(1.05);

}

/* Animations */
@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeBlurUp {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes popBounce {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  60% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-section .next-gen-heading {
    font-size: 2.4rem;
  }

  .hero-section .gaming-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 15px;
  }

  .hero-section .next-gen-heading {
    font-size: 2rem;
  }

  .hero-section .gaming-description {
    font-size: 1rem;
  }

  .hero-section .hero-btn {
    font-size: 0.95rem;
    padding: 12px 26px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: auto;
    padding: 60px 0px;
  }

  .hero-section .next-gen-heading {
    font-size: 1.6rem;
  }

  .hero-section .gaming-description {
    font-size: 0.9rem;
  }

  .hero-section .hero-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
  }
}










/* Keyframes */
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeBlurUp {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes popBounce {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  60% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 25px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-btn {
    font-size: 16px;
    padding: 12px 28px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-btn {
    font-size: 15px;
    padding: 10px 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 400px;
    padding: 60px 15px;
    text-align: center;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 18px;
  }

  .hero p {
    font-size: 11px;
  }

  .hero-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}



/* Gallery Section */
.gallery-container {
  background-color: #00000000;
  padding: 10px 0;
}

.scroll-wrapper {
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}

.image-row {
  display: flex;
  gap: 20px;
  width: max-content;
  margin-top: 20px;
}

/* Duplicate animation rows */
.scroll-left {
  animation: scrollLeftLinear 70s linear infinite;
}

.scroll-right {
  animation: scrollRightLinear 70s linear infinite;
}

@keyframes scrollLeftLinear {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRightLinear {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Pause on hover */
.image-row:hover {
  animation-play-state: paused !important;
}

/* Image styling */
.image-wrapper {
  position: relative;
  width: 450px;
  height: 300px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(270deg, #111111cc, #1a1a1acc, #111111cc);
  background-size: 600% 600%;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: all 0.4s ease-in-out;
  pointer-events: none;
}

.image-wrapper:hover .image-overlay {
  bottom: 0;
  opacity: 1;
  animation: bgFlow 6s ease infinite, fadeSlideUp 0.5s ease-out forwards;
}

@keyframes bgFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .image-wrapper {
    width: 240px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .image-wrapper {
    width: 180px;
    height: 120px;
  }
}













/* Features Section */
.container {
  display: flex;
  background-color: transparent;
  padding: 20px;
  border-radius: 10px;
  max-width: 1000px;
  margin: 50px auto;
}

.animated-heading {
  font-size: 2.5rem;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}


.image-section {
  position: relative;
  z-index: 999;
}

.image-section img {
  width: 400px;
  height: auto;
  border-radius: 10px;
  transition: opacity 0.5s ease-in-out;
  z-index: 999;
}

.text-section {
  margin-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  z-index: 1;
  /* <— Add this */
  position: relative;
  /* <— Required for z-index to apply */
}


.feature {

  cursor: pointer;
  padding-left: 15px;
  border-left: 4px solid transparent;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0 0 10px rgba(0, 0, 0, 0),
    transform 0.2s ease;
  padding: 15px 10px;
  border-radius: 8px;
}

.feature :last-child {
  margin-bottom: 0;
}

.feature:hover {
  transform: scale(1.02);
  background-color: rgba(255, 255, 255, 0.05);
}

.feature h2 {
  margin: 0;
  font-size: 24px;
  color: white;
  transition: color 0.3s ease;
}

.feature p {
  margin-top: 5px;
  font-size: 14px;
  color: #ccc;
  transition: color 0.3s ease;
}

.feature:hover h2 {
  color: #d55943;
}

.feature.active {
  border-left: 4px solid #bd2d2d;
  background-color: rgba(136, 136, 136, 0.1);
  box-shadow: 0 0 10px rgba(45, 45, 45, 0.4);
}

.feature.active h2 {
  color: #85381c;
}

.feature.active p {
  color: #ddd;
}







@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 15px;
    margin: 30px 15px;
  }

  .image-section img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .text-section {
    margin-left: 0;
  }

  .feature h2 {
    font-size: 20px;
  }

  .feature p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .feature {
    padding: 12px 8px;
  }

  .feature h2 {
    font-size: 18px;
  }

  .feature p {
    font-size: 12px;
  }
}


.animated-heading {
  font-size: 5rem;
  font-weight: bold;
  color: #fff;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.animated-heading .underline {
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #ff6600, #ffa600);
  animation: underlineSlide 2s ease-in-out infinite;
}

@keyframes underlineSlide {
  0% {
    width: 0;
    left: 0;
  }

  50% {
    width: 100%;
    left: 0;
  }

  100% {
    width: 0;
    left: 100%;
  }
}

.container {
  display: flex;
  background-color: #111;
  padding: 20px;
  border-radius: 10px;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.image-section {

  text-align: center;
}

.image-section img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  transition: opacity 0.5s ease-in-out;
}

.text-section {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.feature {
  cursor: pointer;
  padding: 15px;
  border-left: 4px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.02);
}

.feature:hover {
  transform: scale(1.02);
  background-color: rgba(255, 255, 255, 0.05);
}

.feature h2 {
  font-size: 24px;
  color: #fff;
  margin: 0;
  transition: color 0.3s ease;
}

.feature p {
  font-size: 14px;
  color: #ccc;
  margin-top: 8px;
}

.feature:hover h2 {
  color: #d55943;
}

.feature.active {
  border-left: 4px solid #bd2d2d;
  background-color: rgba(136, 136, 136, 0.1);
  box-shadow: 0 0 10px rgba(45, 45, 45, 0.4);
}

.feature.active h2 {
  color: #85381c;
}

.feature.active p {
  color: #ddd;
}

.button-group {
  text-align: center;
  margin-top: 10px;
}

.glass-button,
.orange-button {
  padding: 12px 25px;
  margin: 10px 5px 0;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Consistent CTA sizing in features button group */
.button-group .glass-button,
.button-group .orange-button,
.button-group .btn-play-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 180px;
  padding: 0 24px;
  margin: 10px 8px 0;
  box-sizing: border-box;
  white-space: nowrap;
  transform: scale(1) !important;
}






.glass-button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: white;
  padding: 14px 29px;
  margin: 0 0 0 0;
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.25);
}



@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .text-section {
    width: 100%;
    padding: 0;
    margin-top: 20px;
  }

  .image-section {
    width: 100%;
  }

  .feature h2 {
    font-size: 20px;
  }

  .feature p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .feature h2 {
    font-size: 18px;
  }

  .feature p {
    font-size: 12px;
  }

  /* Full-width buttons on small screens */
  .glass-button,
  .orange-button {
    width: 100%;
    font-size: 14px;
  }

  .button-group .btn-play-now {
    width: 100%;
    height: 44px;
  }
}











/* .prasing-section */


.pricing-container {
  text-align: center;
  width: 100%;
  padding: 60px 20px;
  margin: 20px auto;
  max-width: 1200px;
  min-height: 600px;
  /* Optional minimum height */
  height: auto;
  /* Auto height so it expands with content */
  box-sizing: border-box;

}


h1,
h4,
p {
  color: white;
  margin-bottom: 0.5rem;
}

p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.switcher {
  display: inline-flex;
  margin-bottom: 2rem;
  border: 2px solid #f97316;
  border-radius: 30px;
  overflow: hidden;
}

.switcher button {
  padding: 10px 25px;
  background: transparent;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.switcher .active {
  background-color: #f97316;
  color: black;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;

}

.card {
  perspective: 1000px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #f97116;
  border-radius: 15px;
}

.card-inner {
  width: 280px;
  border-radius: 12px;
  position: relative;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  background: #1e1e1e;

  border-radius: 12px;
  height: 350px;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  backface-visibility: hidden;
  border-radius: 12px;
  color: white;
  overflow: hidden;
  /* important */
}

/* Add fixed background using pseudo-element */
.card-front::before,
.card-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/lines_on_black.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  /* Make it visible */
  opacity: 1;

  /* required to stay behind the content */
  z-index: -1;

  /* Ultra smooth */
  transform: translateZ(0);
}

.card-front,
.card-back {
  padding: 0;

  align-items: center;
}

.card-back {
  transform: rotateY(180deg);
  background: #00000000;
  padding: -5;
}

.card h2 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.card span {
  font-size: 1rem;
  color: #ccc;
}

.card ul {
  list-style: none;
  text-align: left;
  margin: 1rem 0;
  color: #eee;
}

.card ul li {
  margin-bottom: 0.5rem;
}

.btn {

  margin-top: 10px;
  padding: 10px 20px;
  border: 2px solid #f97316;
  background: transparent;
  color: #f97316;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn1 {
  margin: 51px 0 0 0;
}

.btn2 {
  margin: 43px 0 0 0;
}

.btn3 {
  margin: 20px 0 0 0;
}

.btn1i {
  margin: 35px 0 0 0;
}

.btn3i {
  margin: 50px 0 0 0;
}

.btn3i {
  margin: 2px 0 0 0;
}

.btn:hover {
  background: #f97316;
  color: black;
  transform: scale(1.05);
  box-shadow: 0 0 10px #f97316;
}

/* Animations */
.fade-in {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {


  .card {
    width: 100%;

  }

  .cards {
    flex-direction: column;
    align-items: center;
    max-width: 315px;
  }

  .pricing-container {
    align-items: center;
    justify-items: center;
  }

}
















/* //// */

/* Container with hover-triggered animations */
.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem auto;
  max-width: 1000px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  gap: 1.5rem;

  background-image: url(../images/contarback.jpg);
  background-size: 150% 150%;
  transition: transform 0.6s ease, background-position 1.5s ease;
}

.cta-container:hover {
  transform: scale(1.03);
  background-position: 100% 50%;
}

/* Text animation on hover */
.animated-heading,
.animated-subtext,
.cta-button {
  transition: all 0.5s ease;
  opacity: 0.7;
  transform: scale(0.97);
}

.cta-container:hover .animated-heading,
.cta-container:hover .animated-subtext,
.cta-container:hover .cta-button {
  opacity: 1;
  transform: scale(1);
}

/* Heading */
.animated-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* Subtext */
.animated-subtext {
  font-size: 1rem;
  color: #dddddd;
  line-height: 1.5;
}

/* Button styles */
.cta-button2 {
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
  opacity: auto;
  transition: all 0.3s ease;
  transform: none !important;
}

.cta-button:hover {
  background-color: #ff7b45;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
    margin: auto 10;
  }

  .cta-button2 {
    width: 100%;
  }
}















/* Container Layout */
.game-section {
  display: flex;
  flex-wrap: wrap;
  padding: 6rem 4rem 4rem;
  gap: 2rem;
  background: linear-gradient(to bottom, #111, #222);
  min-height: 830px;
  /* grows if needed */
}


/* Left Side */
.game-left {
  flex: 1 1 300px;
  color: white;
  padding-right: 2rem;
}

.game-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out forwards;
}

.game-left p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #ccc;
  animation: fadeInUp 1.2s ease-out forwards;
}

.game-join-btn {
  background-color: #cc4b1e;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 1.4s ease-out forwards;
}

.game-join-btn:hover {
  background-color: #a03a17;
  transform: scale(1.05);
}

/* Right Side (Cards) */
.game-right {
  flex: 1 1 300px;
  position: relative;
  perspective: 1200px;
  height: 600px;
}

.game-stack {
  position: sticky;
  top: 100px;
  height: 100%;
}

.game-card {
  width: 98%;
  padding: 2rem;
  border-radius: 1.2rem;
  background: #3a2e27;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  color: white;

  /* Initial position */
  transform: translateY(60px) translateZ(0);
  opacity: 1;

  /* Smooth transitions */
  transition:
    transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);

  transform-style: preserve-3d;
  z-index: 1;

  /* Entry animation */
  animation: fadeUp 0.8s ease-out forwards;

  margin: 0 0 2rem 0;

  will-change: transform, box-shadow;
}


.game-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.game-card span {
  position: absolute;
  top: 0;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
}

/* Hover Animation */
.game-card:hover {
  box-shadow: 0 20px 40px rgba(255, 120, 80, 0.4);
  transform: scale(1.02) rotateY(4deg) translateY(-5px) !important;
  z-index: 99;
}

/* Fade-up Animation */
@keyframes fadeUp {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Text Fade In */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .game-section {
    flex-direction: column;
  }

  .game-right {
    height: auto;
  }

  .game-card {
    position: relative;
    margin-bottom: 2rem;
    opacity: 1 !important;

  }
}

/* Updated Responsive Fix */
@media (max-width: 1024px) {
  .game-section {
    flex-direction: column;
    padding: 2rem;
    height: auto;
    /* Allow content to grow */
  }

  .game-left,
  .game-right {
    flex: 1 1 100%;
    padding: 0;
  }

  .game-left h1 {
    font-size: 2.2rem;
  }

  .game-right {
    position: relative;
    height: auto;
    perspective: none;
  }

  .game-stack {
    position: static;
    top: auto;
    height: auto;
  }

  .game-card {
    transform: none !important;
    opacity: 1;
    animation: none;
    margin-bottom: 1.5rem;
  }

  .game-right {

    padding-right: 52px;

  }
}

@media (max-width: 480px) {
  .game-right {

    padding-right: 48px;

  }

  .game-left h1 {
    font-size: 1.8rem;
  }

  .game-left p {
    font-size: 0.95rem;
  }

  .game-join-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .game-card h2 {
    font-size: 1.2rem;
  }

  .game-card span {
    font-size: 1.5rem;
  }
}








/* General Body Styles */
:root {
  --primary-color: #cc4b1e;
  --dark-bg: #111;
  --medium-bg: #222;
  --light-bg: #2c2c2c;
  --card-bg: #3a2e27;
  --text-color: #fff;
  --text-muted: #ccc;
  --player-color: #4a90e2;
  --ai-color: #e74c3c;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Container Layout */
.game-section {
  display: flex;
  flex-wrap: wrap;
  padding: 6rem 4rem 4rem;
  gap: 2rem;
  background: linear-gradient(to bottom, #111, #222);
  min-height: 830px;
}

/* Left Side */
.game-left {
  flex: 1 1 300px;
  color: white;
  padding-right: 2rem;
}

.game-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out forwards;
}

.game-left p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #ccc;
  animation: fadeInUp 1.2s ease-out forwards;
}

.game-join-btn {
  background-color: #cc4b1e;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 1.4s ease-out forwards;
}

.game-join-btn:hover {
  background-color: #a03a17;
  transform: scale(1.05);
}

/* Tic Tac Toe Game Container */
.game-iframe-container {
  margin-top: 30px;
  border: 2px solid rgb(0, 0, 0);
  /* optional visual border */
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  height: 510px;
  box-shadow: 0 0 15px rgba(57, 57, 57, 0.3);
}

.game-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow: auto;
  /* Hide scrollbars for all browsers */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Hide scrollbar for WebKit browsers */
.game-iframe-container iframe::-webkit-scrollbar {
  display: none;
  width: 0;
  background: transparent;
}

/* WebKit browsers (Chrome, Safari) */
.game-iframe-container iframe::-webkit-scrollbar {
  display: none;
}

/* Fullscreen button */
.fullscreen-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

/* Animations */
@keyframes fadeUp {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }

  100% {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .game-section {
    flex-direction: column;
    padding: 2rem;
    height: auto;
  }

  .game-left,
  .game-right {
    flex: 1 1 100%;
    padding: 0;
  }

  .game-left h1 {
    font-size: 2.2rem;
  }

  .game-right {
    position: relative;
    height: auto;
    perspective: none;
    padding-right: 52px;
  }

  .game-stack {
    position: static;
  }

  .game-card {
    transform: none !important;
    opacity: 1;
    animation: none;
    margin-bottom: 1.5rem;
  }

  .tic-tac-toe-container {
    margin: 2rem auto;
  }

  #tic-tac-toe-canvas {
    height: auto;
    aspect-ratio: 1/1;
  }
}

@media (max-width: 480px) {
  .game-right {
    padding-right: 48px;
  }

  .game-left h1 {
    font-size: 1.8rem;
  }

  .game-left p {
    font-size: 0.95rem;
  }

  .game-join-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .game-card h2 {
    font-size: 1.2rem;
  }

  .tic-tac-toe-container {
    padding: 1rem;
  }
}











/* ratings */

/* Testimonials Section */
.testimonials {
  text-align: center;
  padding: 60px 20px;
  background-image: url('images/rewiewpic.png');
  /* Change this to your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  /* Adjust text color if needed */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  /* Optional: dark overlay for text readability */
  z-index: -1;
}


.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.testimonials p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: #ccc;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  position: relative;
  width: 280px;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  border: 2px solid transparent;
  transition: transform 0.3s ease;
  z-index: 0;
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ff6600, #ff0066, #6600ff);
  background-size: 300% 300%;
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradientBorder 5s ease infinite;
}

.card:hover {
  transform: translateY(-5px);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  background: radial-gradient(circle at top left, #262626, #1a1a1a);
}

.stars {
  color: #ffa500;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 20px;
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #ff6600;
  transition: transform 0.3s ease;
}

.card:hover .author img {
  transform: scale(1.1);
}

.author div {
  text-align: left;
}

.author strong {
  font-size: 0.95rem;
}

.author span {
  font-size: 0.8rem;
  color: #999;
}

/* Border Animation Keyframes */
@keyframes gradientBorder {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}







/* === Preloader Styles === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

#preloader.slide-up {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

#preloader video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* === Drag Arrow & Label === */
.drag-to-skip {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  -webkit-user-select: none;
  user-select: none;
  animation: fadeInUp 1.2s ease 1s forwards;
  opacity: 0;
}

.drag-to-skip p {
  font-size: 14px;
  color: #ffcc99;
  font-family: 'Segoe UI', sans-serif;
  margin-top: 6px;
}

/* === Cute Glass Arrow === */
.glass-arrow {
  width: 36px;
  height: 36px;
  border-left: 4px solid rgba(255, 255, 255, 0.25);
  border-bottom: 4px solid rgba(255, 255, 255, 0.25);
  transform: rotate(45deg);
  margin: auto;
  animation: bounce 1.8s infinite;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: transform 0.3s ease;
}



#preloader.dragging {
  transition: none;
  transform: translateY(var(--dragY, 0px));
  opacity: 1;
}

/* === Main Content === */
#mainContent {
  padding: 20px 20px;
  animation: fadeIn 1s ease-in-out;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Wrapper for positioning */
.skip-arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  height: 40px;
  pointer-events: none;
}

/* Elegant animated arrow */
.skip-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: solid rgba(255, 255, 255, 0.35);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  animation: arrowPulse 1.5s ease-in-out infinite;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  opacity: 0.8;
}

/* Animation for the arrow */
@keyframes arrowPulse {
  0% {
    transform: rotate(45deg) translateY(0px);
    opacity: 0.8;
  }

  50% {
    transform: rotate(45deg) translateY(0px);
    opacity: 1;
  }

  100% {
    transform: rotate(45deg) translateY(0px);
    opacity: 0.8;
  }
}

/* "Click and drag to skip" text */
.drag-to-skip p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 8px;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}



.drag-to-skip {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  animation: fadeInUpe 1s ease-out 1s both;
}

.drag-to-skip p {
  margin-top: 8px;
  color: white;
  font-weight: 500;
  font-family: sans-serif;
  font-size: 0.9rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.glass-arrow-wrapper {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.glass-arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #fff;
  transform: rotate(180deg);
  /* Downward arrow */
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes fadeInUpe {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}









/* Privacy Box Styles */

.privacy-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 18px 22px;
  border-radius: 16px;
  max-width: 320px;
  width: 90%;
  z-index: 10000;
  display: block;
  overflow: hidden;
  animation: slideUp 0.6s ease-out, pulseGlow 3s infinite alternate;
}

/* Add gradient border using a pseudo-element */
.privacy-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -4;
  background: linear-gradient(45deg, rgba(255, 166, 0, 0.244), rgba(255, 0, 0, 0.2), black);
  border-radius: 18px;
  pointer-events: none;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 12px #000000, 0 0 18px #000000;
  }

  100% {
    box-shadow: 0 0 18px #282828, 0 0 26px #2c2c2c;
  }
}

.privacy-box p {
  font-size: 14px;
  line-height: 1.5;
  color: #f0f0f0;
  margin: 0 0 14px;
}

.privacy-box a {
  color: #ffcc00;
  text-decoration: underline;
  font-weight: 600;
}

.privacy-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.privacy-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.accept-btn {
  background: linear-gradient(45deg, #ff4500, #ffcc00);
  color: #000;
  box-shadow: 0 0 10px #ffcc00, 0 0 14px #ff4500;
}

.accept-btn:hover {
  background: linear-gradient(90deg, #ff4500, #ffcc00);
  transform: scale(1.07);
  box-shadow: 0 0 16px #ffcc00, 0 0 20px #ff4500;
}

.decline-btn {
  background: transparent;
  color: #ccc;
  border: 1px solid #888;
  border-radius: 10px;
}

.decline-btn:hover {
  border-color: #ff4500;
  color: #fff;
  box-shadow: 0 0 12px #ff4500;
}

@media (max-width: 500px) {
  .privacy-box {
    right: 10px;
    left: 10px;
    bottom: 10px;
    margin: auto;
  }

  .privacy-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-btn {
    width: 100%;
    ;
  }
}










/* Add to your existing CSS */
/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Specific animation variations */
.fade-in-left {
  transform: translateX(-50px);
}

.fade-in-right {
  transform: translateX(50px);
}

.scale-up {
  transform: scale(0.8);
}

.scale-up.animated {
  transform: scale(1);
}

/* Enhanced card animations */
.card {
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 15px 30px rgba(255, 102, 0, 0.3);
}

/* Text highlight on scroll */
.highlight-text {
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6600, #ff0066);
  transition: width 1s ease;
}

.highlight-text.in-view::after {
  width: 100%;
}







/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }
}











/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll,
  .navbar,
  .hero,
  .feature,
  .card,
  .game-card,
  .testimonial-card,
  .footer-logo,
  .social-icons a,
  .btn,
  .cta-button,
  .game-join-btn,
  .hero-btn,
  .login-btn,
  .privacy-btn,
  #skipBtn,
  #spinner,
  .loading-text,
  .dp-dropdown button,
  .mobile-menu a,
  .image-wrapper,
  .subscribe-form button,
  .footer-bottom a,
  .author img {
    animation: none !important;
    transition: none !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none !important;
  }

  .navbar {
    animation: none;
    top: 0;
    opacity: 1;
  }

  .hero h1,
  .hero p,
  .hero-btn,
  .game-left h1,
  .game-left p,
  .game-join-btn,
  .game-card {
    animation: none !important;
    opacity: 1;
    transform: none !important;
    filter: none !important;
  }

  .scroll-left,
  .scroll-right {
    animation: none !important;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-up {
    opacity: 1;
    transform: none !important;
  }
}

/* === Dropdown Styling === */
.dp-dropdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #1a1a1a;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  position: absolute;
  right: 0;
  top: 60px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.dp-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dp-dropdown button {
  background: transparent;
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: background 0.3s;
}

.dp-dropdown button:hover {
  background: #333;
}


/* === Modal Background === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.4s ease;
}


/* === Animations === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Gallery performance smoothing */
.gallery-container {
  contain: layout paint style;
  will-change: contents;
  border-radius: -60px;
  overflow: hidden;
}

.gallery-container .image-row {
  will-change: transform;
  transform: translateZ(0);
  animation-timing-function: linear !important;
}

.gallery-container .image-wrapper {
  perspective: 800px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transform: translateZ(0);
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1), box-shadow 280ms ease;
}

.gallery-container .image-wrapper img {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), filter 260ms ease;
}

/* Enhance overlay entry smoothness */
.gallery-container .image-wrapper:hover .image-overlay {
  transition: all 300ms ease-out;
}

/* Subtle hover polish with micro tilt */
.gallery-container .image-wrapper:hover {
  transform: translateZ(0) scale(1.01) rotateX(0.6deg) rotateY(-0.6deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.gallery-container .image-wrapper:hover img {
  transform: translateZ(0) scale(1.06);
}

/* Mobile safety: reduce tilt and effects intensity */
@media (max-width: 768px) {
  .gallery-container .image-wrapper {
    transition: transform 220ms ease, box-shadow 220ms ease;
  }

  .gallery-container .image-wrapper:hover {
    transform: translateZ(0) scale(1.01);
  }

  .gallery-container .image-wrapper:hover img {
    transform: scale(1.03);
  }
}

/* Hero performance smoothing */
.hero-section {
  transform: none;
}

.hero-section .hero-bg-video {
  transform: none;
}

.hero-section .hero-content {
  will-change: opacity;
  transform: none;
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12000;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 250ms ease, transform 250ms ease;
  will-change: opacity, transform;
}

.gallery-modal.show {
  opacity: 1;
  transform: scale(1);
}

.gallery-modal-inner {
  position: relative;
  display: flex;
  gap: 24px;
  width: min(1100px, 92vw);
  padding: 20px;
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.72);
  border: 1px solid rgba(255, 106, 0, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal-left {
  flex: 1 1 52%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transform: translateX(12px) scale(0.96);
  will-change: transform, opacity;
  transition: transform 400ms cubic-bezier(.2, .8, .2, 1), opacity 400ms ease, filter 400ms ease;
}

.gallery-modal.show .modal-image {
  transform: translateX(0) scale(1);
}

.modal-right {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  margin: 8px 0;
}

.modal-description {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #d9d9d9;
  line-height: 1.75;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
}

.modal-actions {
  margin-top: 12px;
}

.try-now-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff9900, #cc0000);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.25);
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.try-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.35);
  filter: brightness(1.05);
}

.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(36, 36, 36, 0.6);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 22px;
  line-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
  z-index: 99999;
}

.gallery-modal-close:hover {
  background: rgba(54, 54, 54, 0.7);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-modal-inner {
    flex-direction: column;
  }

  .modal-left,
  .modal-right {
    flex: 1 1 auto;
  }






  .gallery-modal-inner {
    flex-direction: column;
  }

  .modal-left,
  .modal-right {
    flex: 1 1 auto;
  }

  .gallery-modal-close:hover {
    background: rgba(54, 54, 54, 0.7);
    transform: scale(1.05);
  }

}

/* New Gallery Overlay */
#gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms ease, visibility 400ms ease;
}

#gallery-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#gallery-overlay .overlay-inner {
  width: min(1200px, 94vw);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 22, 22, 0.88), rgba(30, 30, 30, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  position: relative;
}

#gallery-overlay .overlay-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(40, 40, 40, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 250ms ease, transform 250ms ease;
  z-index: 10;
}

#gallery-overlay .overlay-close:hover {
  background: rgba(50, 50, 50, 0.9);
  transform: scale(1.08);
}

.overlay-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  transform: scale(0.9) translateX(-40px);
  opacity: 0;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms ease;
  will-change: transform, opacity;
}

.overlay-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateX(40px);
  opacity: 0;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms, opacity 500ms ease 100ms;
  will-change: transform, opacity;
}

#gallery-overlay.active .overlay-image-wrap,
#gallery-overlay.active .overlay-text {
  transform: none;
  opacity: 1;
}

#gallery-overlay.active .overlay-image {
  transform: scale(1);
}

.overlay-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

#gallery-overlay .overlay-description {
  color: #dcdcdc;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

.overlay-actions .try-now-btn {
  font-size: 1.1rem;
}

body.gallery-overlay-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  #gallery-overlay .overlay-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .overlay-image-wrap {
    transform: scale(0.95);
    opacity: 0;
  }

  .overlay-text {
    transform: translateY(20px);
    opacity: 0;
    text-align: center;
  }
}

/*==============================*/
/*END ---- ADS N' TECH ---- FOOTER*/
/*==============================*/
