/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

html {
  min-height: 100%;
  background: linear-gradient(
    to bottom,
    #eeeeee 0%,
    #f7f2e6 45%,
    #f4ecd6 65%,
    #edd9ba 100%
  );
}

body {
  min-height: 100%;
  background: transparent; /* IMPORTANT */
}

.app-banner {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 10px 15px;
  position: relative;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 10px;
}

.app-logo {
  width: 40px;  /* adjust size as needed */
  height: 40px;
  border-radius: 10px;
  margin-right: 10px;
}

.app-text {
  flex: 1;   /* expands to fill space */
  color: #000;
  font-size: 0.9rem;
  line-height: 1.2;
}

.download-btn {
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);
  color: #000;
  text-decoration: none;
  padding: 2px 15px;
  border-radius: 20px;
  font-weight: bold;
}

.header {
    background-color: #111;
    padding: 0 15px; /* horizontal padding only */
    height: 60px;    /* ✅ Fixed height for desktop */
    display: flex;
    justify-content: space-between;
    align-items: center;  /* ✅ centers logo vertically */
}
.flag {
    width: 24px;
}
.menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
}

/* === Banner Slideshow === */
.app-banner-slideshow {
  position: relative;
  width: 100%;
  max-width: 1200px;   /* Or your layout max */
  margin: 0 auto;
  aspect-ratio: 16 / 5;  /* ✅ Match your banner’s shape */
  overflow: hidden;
  border-radius: 15px;
}

/* Adjust slideshow banner height for desktop */

@media (min-width: 769px) {
  .app-banner-slideshow {
    max-width: 100%;     /* Or keep container width */
    aspect-ratio: 16 / 5;  /* Or use fixed height instead */
    height: auto;
  }
}

.app-banner-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.app-banner-slideshow .slide.active {
  opacity: 1;
}

.app-banner-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: fill;    /* ✅ No stretch, fills container */
  display: block;
}

.app-banner-slideshow .download-btn {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #ffc107;
  border: none;
  padding: 5px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px; 
}
.auth-buttons .btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.btn {
    padding: 10px 20px;
    background: linear-gradient(to right, #fbcdcf, #ff9a9e);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

html, body {
  min-height: 100%;
}

.main-layout {
    display: flex;
    flex-direction: row;
    padding: 20px;
}

.main-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  overflow: hidden;
}

.games-scroll-wrapper {
  flex-grow: 1;
  overflow-y: auto;   /* ✅ vertical scroll */
  overflow-x: hidden; /* ✅ no horizontal scroll for desktop */
  padding: 20px;
} 

.sidebar {
    display: flex;
    flex-direction: column;
    padding: 5px;
    width: 100px;
    min-width: 100px;
    gap: 5px;
    flex-shrink: 0;
    margin-left: -30px;
}
.sidebar .tab {
  width: 60px;
  height: 60px;
  background: #ffffff;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.1;
  white-space: normal;
}

.games-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-content: start;
}

.game-card {
  overflow: hidden;
  border-radius: 10px;
}

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


/* === Mobile Grid === */
@media (max-width: 768px) {
  .games-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .games-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }

  .game-card {
    
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
  }

  .game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}
/* Show sidebar buttons only on desktop */
.sidebar .auth-buttons {
  display: flex;
}

@media (max-width: 768px) {
  .sidebar .auth-buttons {
    display: none;
  }

  /* Keep your original buttons for mobile view */
  .auth-buttons-mobile {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 10px;
    margin: 20px 0;
  }
}

@media (min-width: 769px) {
  .auth-buttons-mobile {
    display: none;
  }
}
/* By default, show both (safe fallback) */
.sidebar-auth-buttons { display: flex; flex-direction: column; gap: 10px; }
.mobile-auth-buttons { display: flex; flex-direction: column; gap: 15px; }

/* Desktop: hide mobile version */
@media (min-width: 769px) {
  .mobile-auth-buttons {
    display: none;
  }
}

/* Mobile: hide sidebar version */
@media (max-width: 768px) {
  .sidebar-auth-buttons {
    display: none;
  }
}
/* Desktop: keep game cards square & consistent size */
@media (min-width: 769px) {
  .game-card {
    
    max-width: 200px;  
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
  }

  .game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
} 
@media (min-width: 769px) {
  .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
    gap: 20px;
    justify-content: start;
  }

  .game-card {
    
    max-width: 200px;
    width: 100%;
  }
}

/* === Desktop vertical scroll === */
@media (min-width: 769px) {
  .games-scroll-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
  }

    .games-page {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, 1fr);
    grid-auto-columns: 100px;
    gap: 10px;
  }
}

/* ✅ MOBILE: force cards to go DOWN */
@media (max-width: 768px) {
  .games-scroll-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .games-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 12px;
  }

  .game-card {
     /* normal square */
  }
}


/* DESKTOP ONLY: shrink layout like mobile */
@media (min-width: 769px) {
  .container {
    max-width: 1200px;  /* or 600px if you want it a bit wider */
    margin: 0 auto;
    padding: 0 15px;
  }
}

.scrolling-text {
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);
  color: #000;
  padding: 2px 0; 
  overflow: hidden;
  position: relative;
  margin-bottom: 15px;  
  font-size: 0.8rem;    
  line-height: 1;       
}

.scrolling-text p {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 15s linear infinite;
  font-weight: bold;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;   /* desktop */
  width: auto;
  display: block;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
  .header {
    height: 50px;  /* ✅ fixed height for mobile */
  }

  .logo img {
    height: 50px;  /* ✅ smaller logo for mobile */
  }
}
.register-btn {
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);  /* yellow background */
  color: #000;                /* black text */
  border: none;
  padding: 8px 20px;
  border-radius: 20px;        /* pill shape */
  cursor: pointer;
  font-weight: bold;
}

.register-btn:hover {
  background-color: #e6ac00; /* darker yellow on hover */
}

@media (max-width: 768px) {
  .header {
    height: 50px; /* fixed height for mobile */
  }

  .logo img {
    height: 30px; /* smaller logo on mobile */
  }

  .register-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
  }
}
.register-btn {
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}

.register-btn:hover {
  animation-play-state: paused;   /* pause the pulse on hover */
  transform: scale(1.15);         /* grow bigger on hover */
}
.freedemo-btn {
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);  /* yellow background */
  color: #000;                /* black text */
  border: none;
  padding: 8px 20px;
  border-radius: 20px;        /* pill shape */
  cursor: pointer;
  font-weight: bold;
}

.freedemo-btn:hover {
  background-color: #e6ac00; /* darker yellow on hover */
}

@media (max-width: 768px) {
  .header {
    height: 50px; /* fixed height for mobile */
  }

  .logo img {
    height: 30px; /* smaller logo on mobile */
  }

  .freedemo-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
  }
}
.freedemo-btn {
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}

.freedemo-btn:hover {
  animation-play-state: paused;   /* pause the pulse on hover */
  transform: scale(1.15);         /* grow bigger on hover */
}
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); } /* grow bigger */
  100% { transform: scale(1); }
}

.promo-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.promotions-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
}

.promotions-carousel::-webkit-scrollbar {
  display: none;
}

.promo-card {
  flex: 0 0 calc(50% - 10px);  /* 2 cards per view */
  scroll-snap-align: start;
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
}

.promo-card img {
  width: 100%;
  height: auto;
}

.promo-content {
  padding: 15px;
  text-align: center;
}

.promo-content h4 {
  margin: 10px 0;
  font-size: 1rem;      /* back to normal size */
  font-weight: bold;
  color: #fff;
  white-space: normal;  /* wrap text nicely */
}

.info-btn,
.proceed-btn {
  display: inline-block;
  background: #eee;
  border: none;
  margin: 5px;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.8rem;    /* back to normal size */
}

.proceed-btn {
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);
  color: #ffffff;
}


@media (max-width: 768px) {
  .promo-card {
    flex: 0 0 calc(50% - 10px); /* ✅ 2 cards side-by-side */
  }
}
.video-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 20px auto; /* centers it & adds vertical spacing */
  padding: 0 15px;   /* optional side padding */
  margin-bottom: 50px; /* 👈 adds space below */
  box-sizing: border-box;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;  /* optional: rounded corners */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.image-container {
  width: 100%;
  max-width: 600px;     /* adjust as needed */
  margin: 0 auto 50px;  /* center it and add space below */
  overflow: hidden;     /* ensures border-radius works */
  border-radius: 15px;  /* 👈 rounded corners */
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 -2px 5px rgba(255, 255, 255, 0.2);
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000000;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
}

.footer-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
}

.footer-item span {
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  padding-bottom: 80px;  /* ✅ Add this! */
  box-sizing: border-box;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  height: 60px;
  background-color: #ffffff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-selector {
  position: relative;
  cursor: pointer;
}

.language-selector .current-flag {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.flag-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background: #fff;
  color: #000;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  min-width: 120px;
  z-index: 999;
}

.flag-option {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  cursor: pointer;
}

.flag-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 8px;
}

.flag-option:hover {
  background: #f5f5f5;
}
@media (max-width: 768px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    padding: 10px 15px;
  }

  .header-right {
    gap: 10px;
  }

  .language-selector .current-flag {
    width: 24px;
    height: 24px;
  }

  .register-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  .freedemo-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }  
}
@media (max-width: 768px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    padding: 10px 15px;
  }

  .header-right {
    gap: 10px;
  }

  .language-selector .current-flag {
    width: 24px;
    height: 24px;
  }

  .register-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  .freedemo-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}
/* ✅ MOBILE: turn sidebar into top category bar */
@media (max-width: 768px) {
  .sidebar {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 10px 0;
    padding: 0;
    overflow-x: auto;
    gap: 10px;
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar .tab {
    min-width: 70px;
    height: 50px;
    border-radius: 14px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .main-layout {
    flex-direction: column;
  }

  .games-scroll-wrapper {
    padding: 10px;
  }
}
/* ✅ MOBILE GRID: 3 big cards per row */
@media (max-width: 768px) {
  .mobile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}
/* 🎨 Gradient describe active sidebar tab */
.sidebar .tab.active {
  background: linear-gradient(
    135deg,
    #ff9a9e 0%,
    #fad0c4 40%,
    #ff9a9e 100%
  );
  color: #ffffff;
  box-shadow: 0 6px 12px rgba(255, 160, 122, 0.45);
  border: none;
}
/* ✨ hover feedback */
.sidebar .tab:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}
.sidebar .tab {
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
/* ❌ Remove blue tap highlight on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Extra safety for buttons & links */
button,
a,
.sidebar .tab {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
/* Default (NOT active) sidebar tab text */
.sidebar .tab {
  color: #000; /* black text */
}

/* Active sidebar tab text */
.sidebar .tab.active {
  color: #fff; /* white text */
}
/* ✅ GAME CARD – SUPPORT LANDSCAPE IMAGES (MOBILE + DESKTOP) */
.game-card {
  border-radius: 12px;
  overflow: hidden;
}

.game-card img {
  width: 100%;
  height: auto;          /* ✅ keep original ratio */
  object-fit: cover;  /* ✅ show FULL image */
  display: block;
  background: #000;     /* optional (fills empty space) */
}
/* ===== ABOUT / BRAND SECTION ===== */
.about-section {
  color: #000000;
  padding: 60px 20px;
  text-align: center;
}

.section-small-title {
  color: #ff9a9e;
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ff9a9e;
}

.section-title span {
  color: #ff9a9e;
}

.section-text {
  max-width: 900px;
  margin: 0 auto 35px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #000000;
}

.section-text .highlight {
  color: #ff9a9e;
  font-weight: 600;
}

.divider {
  width: 70%;
  max-width: 500px;
  height: 2px;
  background: linear-gradient(to right, #fbcdcf, #ff9a9e);
  margin: 40px auto;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .about-section {
    padding: 45px 16px;
  }

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

  .section-text {
    font-size: 0.9rem;
  }
}











    



