@import url('https://fonts.googleapis.com/css2?family=Share:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --pink: #FF2B91;
  --blue: #00C2FF;
  --purple: #9D4EDD;
  --green: #2BFFA3;
  --dark: #0F0F1A;
  --light: #FFFFFF;
  --accent: #F0F0FF;
  --text: #111111;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.25);
  --border: 1px solid rgba(255, 43, 145, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Share', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  color: var(--text);
  background: 
    radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(0, 194, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(255, 43, 145, 0.05) 0%, transparent 30%),
    linear-gradient(135deg, #FFFFFF 0%, #F9F9FF 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 20px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 30%, rgba(43, 255, 163, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 70%, rgba(255, 43, 145, 0.15) 0%, transparent 25%);
  z-index: -1;
  animation: gradientShift 15s ease infinite;
}

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

.section-container {
  width: min(1200px, 90%);
  margin: 0 auto;
  position: relative;
}

header {
  position: sticky;
  top: 20px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: var(--border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  margin: 20px;
  padding: 0 20px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Share', serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--dark);
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none; /* Remove underline from logo */
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: url('img/logo.png') center/cover no-repeat;
  display: inline-block;
  border: 2px solid var(--pink);
  box-shadow: 0 0 15px rgba(255, 43, 145, 0.4);
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Enhanced header navigation link design */
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.5);
  transform: translateZ(0);
  perspective: 1000px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  z-index: -1;
  border-radius: 50px;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(0.8);
}

nav a::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: rotate(30deg);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
}

nav a:hover {
  color: var(--light);
  transform: translateY(-8px) scale(1.08);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
  border: 2px solid var(--light);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

nav a:hover::after {
  left: 120%;
  opacity: 1;
}

/* Active state for navigation links */
nav a.active {
  color: var(--light);
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4);
  border: 2px solid var(--light);
}

nav a.active::before {
  opacity: 0;
}

/* New primary button design */
.btn {
  display: inline-block;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--light);
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--pink);
  transform: translateZ(0);
  perspective: 1000px;
  font-size: 16px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
  transform: translateY(-5px) scale(1.05) rotateX(5deg);
  box-shadow: var(--shadow-hover);
  border: 2px solid var(--blue);
}

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

.btn:hover::after {
  left: 120%;
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

.section-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(255, 43, 145, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 194, 255, 0.2) 0%, transparent 40%);
  border: var(--border);
  border-radius: 20px;
  margin: 0 20px 40px;
}

.section-hero .section-section-02 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-text-02 {
  font-size: clamp(18px, 2.2vw, 22px);
  opacity: 0.9;
  margin-bottom: 30px;
  color: var(--dark);
  line-height: 1.6;
}

.section-section {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section-text {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: var(--border);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.section-text:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 1);
}

.section-hero-02 {
  position: relative;
  perspective: 1000px;
}

.section-hero-02 img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-hover);
  border: 3px solid var(--light);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.section-hero-02:hover img {
  transform: rotateY(0) rotateX(0);
}

.wave {
  display: none;
}

.section-section-09 {
  padding: 80px 0;
  position: relative;
  margin: 10px 20px;
  border: var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.section-section-09 h2 {
  font-size: clamp(36px, 5vw, 48px);
  margin: 0 0 20px;
  letter-spacing: -0.3px;
  text-align: center;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* New games section design */
.section-container-02 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.game-item {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 255, 0.95));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(157, 78, 221, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(157, 78, 221, 0.25);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transform: translateZ(0);
  position: relative;
}

.game-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--pink), var(--blue), var(--purple), var(--green));
  z-index: -1;
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-item:hover {
  transform: translateY(-15px) translateZ(25px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(43, 255, 163, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.95);
}

.game-item:hover::before {
  opacity: 0.15;
}

.section-section-05 {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.section-section-05 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.section-section-04 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(157, 78, 221, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.section-section-05:hover .section-section-04 {
  opacity: 1;
}

.play-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--light);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid var(--light);
  transform: translateY(20px);
  opacity: 0;
}

.section-section-05:hover .play-btn {
  transform: translateY(0);
  opacity: 1;
}

.play-btn:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.section-section-03 {
  padding: 25px;
}

.section-section-03 h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-section-03 p {
  margin: 0;
  opacity: 0.85;
  line-height: 1.6;
  font-size: 15px;
}

/* Card design without icons */
.card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 255, 0.9));
  border-radius: 15px;
  padding: 30px;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(157, 78, 221, 0.1),
    inset 0 0 15px rgba(255, 255, 255, 0.7);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(157, 78, 221, 0.2);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transform: translateZ(0);
  text-align: center;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--purple), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.card:hover {
  transform: translateY(-8px) translateZ(15px);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 194, 255, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.9);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin: 0 0 15px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card p {
  opacity: 0.85;
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
}

/* Game detail section */
.game-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 255, 0.95));
  border-radius: 15px;
  padding: 35px;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 194, 255, 0.1),
    inset 0 0 15px rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 194, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.game-detail:hover {
  transform: translateY(-8px) translateZ(15px);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(157, 78, 221, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.9);
}

.game-detail:hover::before {
  transform: scaleX(1);
}

.section-section-06 {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  height: 300px;
  background: linear-gradient(45deg, #f0f0ff, #e6e6ff);
}

.section-section-06 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-detail:hover .section-section-06 img {
  transform: scale(1.05);
}

.section-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-desc h2 {
  margin: 0 0 20px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc p {
  margin: 0 0 15px 0;
  opacity: 0.85;
  line-height: 1.7;
  font-size: 17px;
}

.section-section-08 {
  display: flex;
  gap: 6px;
  font-size: 24px;
  margin: 20px 0;
}

.section-text-03 {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.section-text-03:hover {
  transform: scale(1.2);
}

.pill {
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: var(--border);
  backdrop-filter: blur(5px);
}

.disclaimer-18 {
  position: relative;
  background: linear-gradient(135deg, #ff0000, #ff6b6b);
  color: white;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  animation: pulse 1.5s infinite;
  z-index: 2;
  border: 2px solid white;
  margin: 20px auto 0;
  max-width: 1200px;
  text-align: center;
  line-height: 1.5;
}

.disclaimer-18::before {
  content: "+18";
  display: inline-block;
  background: white;
  color: #ff0000;
  font-weight: 900;
  font-size: 16px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  }
}

footer {
  background: linear-gradient(135deg, var(--dark), #1a1a2e);
  color: var(--light);
  padding: 50px 0 30px;
  margin: 80px 20px 20px;
  border: var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  min-height: 150px; /* Adjusted for shorter disclaimer */
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.2) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(0, 194, 255, 0.2) 0%, transparent 20%);
  z-index: 0;
}

footer > * {
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--light);
  text-decoration: none;
  opacity: 0.9;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

footer a:hover {
  opacity: 1;
  text-decoration: underline;
  background: rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.section-section-07 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.burst {
  z-index: 9999;
}

/* Responsive */
@media (max-width: 1100px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  body {
    padding: 10px;
  }
  
  header {
    top: 10px;
    margin: 10px;
    padding: 0 15px;
  }
  
  .section-hero, .section-section-09, footer {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 900px) {
  .section-hero .section-section-02 {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .section-grid {
    grid-template-columns: 1fr;
  }
  
  .game-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-grid div:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 700px) {
  nav ul {
    gap: 15px;
  }
  
  .header-nav {
    padding: 12px 0;
  }
  
  .logo {
    font-size: 28px;
  }
  
  .section-hero {
    padding: 60px 0 80px;
  }
  
  .section-section-09 {
    padding: 60px 0;
  }
  
  .section-container-02 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  nav ul {
    display: none;
  }
  
  .footer-grid div:last-child {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .footer-grid div:last-child a {
    display: block;
    padding: 6px 0;
  }
  
  /* Reorder footer elements on mobile - copyright at bottom */
  .footer-grid div:first-child {
    order: 2;
    margin-top: 25px;
  }
  
  .footer-grid div:last-child {
    order: 1;
  }
  
  .game-detail {
    padding: 20px;
  }
}