* {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  cursor: url("/static/images/cursor.png") 4 4, auto;
}
a {
  text-decoration: none;
}
body {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  overflow-x: hidden;
  margin: 0;
}

/* Animated background particles */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #64ffda;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 0 10px #64ffda;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.7;
  }

  50% {
    transform: translate(50px, -50px) rotate(180deg);
    opacity: 1;
  }
}

.particle:nth-child(2) {
  animation-delay: 1s;
  left: 20%;
}

.particle:nth-child(3) {
  animation-delay: 2s;
  left: 40%;
}

.particle:nth-child(4) {
  animation-delay: 3s;
  left: 60%;
}

.particle:nth-child(5) {
  animation-delay: 4s;
  left: 80%;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2px;
  background: rgba(15, 15, 35, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(100, 255, 218, 0.2);
  box-sizing: border-box;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px;
}

.logo img,
.bottom-logo img {
  width: 150px;
  height: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a,
.bottom-nav-menu a {
  color: #ff6b6b;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #fd4e4e;
  text-shadow: 0 0 10px #64ffda;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #64ffda;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #ff6b6b;
  margin: 4px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .logo img {
    width: 150px;
    height: auto;
  }
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.804);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .nav-menu.show {
    display: flex;
  }
}

.search-box {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  height: 30px;
  margin: 0;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  padding: 5px;
}

.search-box span {
  font-size: 18px;
  margin-left: 8px;
}

.game-card.highlight {
  outline: 3px solid #e9d8a6;
  border-radius: 12px;
  animation: glow 0.6s ease-in-out;
}

@keyframes glow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

mark {
  background-color: yellow;
  color: black;
  padding: 0 2px;
  border-radius: 3px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

@media (max-width: 1020px) {
  .search-box {
    display: none;
  }
  header {
    justify-content: space-between;
    padding: 10px 20px;
  }
}
.search-box:focus-within {
  border-color: #94d2bd;
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  padding: 0.3rem;
  width: 250px;
}

/* main {
  margin-top: 100px;
} */

.side-rail-container {
  display: flex;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1250px) {
  .side_rail_left,
  .side_rail_right,
  .side-rail-container {
    display: none !important;
  }
}
.cta-button {
  font-family: "Galindo", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.5);
}

/* Game Categories */
.game-categories {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin: 1rem 0;
  background: linear-gradient(45deg, #64ffda, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.category-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.category-card h3 {
  color: #fff;
  font-size: 1.2rem;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(218, 96, 96, 0.5);
  border-color: #ff6b6b;
}

.category-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Featured Games */
.featured-games {
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.1) 0%,
    rgba(78, 205, 196, 0.1) 100%
  );
  display: flex;
  justify-content: center;
}

.games-container {
  max-width: 1000px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
  max-width: 1000px;
}

.game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 4px solid #ff6b6b;
}

.game-image {
  width: 100%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 400% 400%;
  animation: gradientShift 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.game-info {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.game-info h3 {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: #64ffda;
}

.play-button {
  font-family: "Galindo", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 1rem;
  width: 100%;
  font-size: 0.8rem;
}

.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

/* Footer */
footer {
  background: rgba(15, 15, 35, 0.937);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(100, 255, 218, 0.2);
}
footer p {
  margin-top: 20px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.footer-content p {
  font-size: 1rem;
  margin-top: 20px;
  color: #fff;
}
.content-pages {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.content-pages h4 {
  font-size: 1rem;
  margin: 0;
}
.bottom-logo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.bottom-logo img {
  width: 110px;
  height: auto;
}
.bottom-logo p {
  font-size: 0.8rem;
  text-align: start;
  margin-top: 10px;
  max-width: 440px;
}
.bottom-nav-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.2rem;
  padding: 0;
}
.footer-contact {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-contact form {
  display: flex;
}
.footer-contact h3 {
  font-size: 1rem;
  margin: 0 0 20px 0;
  color: #ff6b6b;
}

.footer-contact input,
.footer-contact textarea {
  font-family: "Galindo", sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.footer-contact button {
  font-family: "Galindo", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 10px;
  width: 200px;
  background-color: #ff6b6b;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
}

.footer-contact button:hover {
  background-color: #e03939;
}
/* Responsive design */
@media (max-width: 1025px) {
  .bottom-logo p {
    max-width: 100% !important;
  }
  .footer-content {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }
  .bottom-nav-menu {
    margin-top: 20px;
    justify-content: flex-start;
  }
  .footer-contact {
    margin-top: 20px;
  }
  header {
    padding: 2px 20px;
  }
  .featured-games {
    display: inherit;
  }
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

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

/* Loading animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f0f23;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(100, 255, 218, 0.3);
  border-top: 3px solid #64ffda;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.game-image img {
  width: 240px;
  height: 130px;
  background-size: cover;
}

@media (max-width: 470px) {
  .game-image img {
    width: 220px;
    height: 110px;
    background-size: cover;
  }

  .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .game-info h3 {
    font-size: 0.8rem;
  }
}
@media (max-width: 371px) {
  .game-image img {
    width: 2000px;
    height: 120px;
    background-size: cover;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .game-info {
    padding: 0.4rem;
  }
  .game-info h3 {
    font-size: 0.6rem;
  }
  .play-button {
    font-size: 0.6rem;
  }
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .category-card {
    padding: 1rem;
  }
  .category-icon {
    font-size: 3rem;
  }
  .category-card h3 {
    font-size: 0.8rem;
  }
}
.ad-responsive {
  width: 100%;
  height: 250px;
  border: 2px dotted #fff;
  background-color: #00000031;
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.game-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  width: 95%;
  max-width: 1000px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  animation: slideUp 0.8s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.game-container::before {
  content: "";
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  );
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.gameName {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin: 30px 0;
  background: linear-gradient(45deg, #64ffda, #ff6b6b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 1s ease-in-out infinite alternate;
}

.gameImgLink {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  margin: 20px 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.gameImgLink:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.playLink {
  background: linear-gradient(45deg, #64ffda, #ff6b6b);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 30px 0;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
  overflow: hidden;
  animation: bounce 2s ease-in-out infinite;
}

.playLink::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 ease;
}

.playLink:hover::before {
  left: 100%;
}

.playLink:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
  background: linear-gradient(45deg, #ff6b6b, #64ffda);
}

.playLink:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(255, 107, 107, 0.4);
}

.aboutGame {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gameDescription {
  text-align: justify;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.game-meta-details {
  width: 90%;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  height: fit-content;
  margin-top: 20px;
}

.meta-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #6af9d561;
}

.meta-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.meta-label {
  color: rgba(255, 255, 255, 0.9);
}

.meta-value {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.rating-stars {
  color: #ffd700;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

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

.circle-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.circle-3 {
  width: 40px;
  height: 40px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
  }

  to {
    text-shadow: 0 0 30px rgba(78, 205, 196, 0.8);
  }
}

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

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@media (max-width: 1200px) {
  .game-container {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .game-container {
    padding: 30px 20px;
  }

  .gameName {
    font-size: 2rem;
  }

  .gameImgLink {
    width: 100%;
    max-width: 250px;
    height: 180px;
  }

  .playLink {
    padding: 14px 30px;
    font-size: 1.1rem;
  }
}
.contentPage-main {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contentPage-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  animation: slideUp 0.8s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: start;
}
.affiliateBg img {
  width: 100%;
}
.mb-3 {
  margin-bottom: 20px;
}
.mb-3 a {
  color: #538bff;
}
.banner_top,
.banner_mid,
.banner_bottom,
.side_rail_left,
.side_rail_right {
  display: flex;
  width: 100% !important;
  height: auto;
  justify-content: center;
}

.ad_overlay_pop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.402);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s;
  z-index: 9999;
}

.ad_overlay_pop.show {
  opacity: 1;
  visibility: visible;
}

.ad-close-btn {
  position: absolute;
  top: 20px;
  right: 30px; 
  font-size: 3.2rem;
  color: #fff;
  cursor: pointer;
  border: 3px solid #ff6b6b;
  border-radius: 12px;
  padding: 0px 15px 5px 15px;
  background: rgba(125, 116, 116, 0.89);
}
