/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --xk9p: #0a1628;
  --qw7z: #152238;
  --mr4n: #1e3a5f;
  --bg8v: #2ecc71;
  --zt5m: #27ae60;
  --lp2x: #ffffff;
  --hy6k: #e0e0e0;
  --vn3q: #95a5a6;
  --df1w: #34495e;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--xk9p);
  color: var(--lp2x);
  line-height: 1.6;
  overflow-x: hidden;
}

.jx8n {
  display: none;
}

/* Header Navigation */
.pk3v {
  background-color: rgba(10, 22, 40, 0.95);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 204, 113, 0.1);
}

.wm9r {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fy2k {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg8v);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fy2k::before {
  content: '🎮';
  font-size: 1.8rem;
}

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

.zn4t a {
  color: var(--lp2x);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.zn4t a:hover {
  color: var(--bg8v);
}

.qr7m {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.qr7m span {
  width: 25px;
  height: 3px;
  background-color: var(--lp2x);
  transition: 0.3s;
}

/* Hero Section */
.bv5x {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(135deg, var(--qw7z) 0%, var(--xk9p) 100%);
  position: relative;
  overflow: hidden;
}

.bv5x::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
}

.gt8w {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.lm6y {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--bg8v) 0%, #3498db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.ux2p {
  font-size: 1.3rem;
  color: var(--hy6k);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.nh9k {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--bg8v) 0%, var(--zt5m) 100%);
  color: var(--lp2x);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.nh9k:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* Section Container */
.tc4r {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.yd7s {
  padding: 5rem 0;
}

.pw1n {
  text-align: center;
  margin-bottom: 3rem;
}

.kj3v {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg8v);
  margin-bottom: 0.5rem;
}

.om8x {
  font-size: 1.1rem;
  color: var(--vn3q);
}

/* 18+ Notice */
.rv6p {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  margin: 3rem auto;
  max-width: 800px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.rv6p h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Game Card */
.wp2z {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ks9m {
  background: var(--qw7z);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.ks9m:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.2);
}

.hf4n {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--mr4n) 0%, var(--qw7z) 100%);
}

.hf4n--fortune {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: radial-gradient(ellipse 85% 70% at 50% 38%, #3d2f5c 0%, #0f0d18 72%, #06050c 100%);
}

.hf4n--fortune img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.tz7v {
  padding: 1.5rem;
}

.tz7v h3 {
  font-size: 1.5rem;
  color: var(--bg8v);
  margin-bottom: 0.5rem;
}

.tz7v p {
  color: var(--hy6k);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Features Grid */
.xm5q {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.bn7w {
  background: var(--qw7z);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(46, 204, 113, 0.1);
  transition: border-color 0.3s, transform 0.3s;
}

.bn7w:hover {
  border-color: var(--bg8v);
  transform: translateY(-5px);
}

.ql8k {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.bn7w h3 {
  font-size: 1.3rem;
  color: var(--bg8v);
  margin-bottom: 0.5rem;
}

.bn7w p {
  color: var(--hy6k);
  line-height: 1.6;
}

/* Info Section */
.yp3m {
  background: var(--qw7z);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.yp3m h3 {
  font-size: 1.8rem;
  color: var(--bg8v);
  margin-bottom: 1rem;
}

.yp3m p {
  color: var(--hy6k);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Footer */
.sj2q {
  background-color: var(--qw7z);
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
  border-top: 2px solid rgba(46, 204, 113, 0.2);
}

.nd8f {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.vb4k h4 {
  color: var(--bg8v);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.vb4k ul {
  list-style: none;
}

.vb4k ul li {
  margin-bottom: 0.5rem;
}

.vb4k a {
  color: var(--hy6k);
  text-decoration: none;
  transition: color 0.3s;
}

.vb4k a:hover {
  color: var(--bg8v);
}

.mx7p {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

.mx7p a {
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}

.mx7p a:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}

.mx7p img {
  height: 60px;
  display: block;
}

.jw9n {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--vn3q);
  font-size: 0.9rem;
}

/* Modal Styles */
.cz5h {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.cz5h.active {
  display: flex;
}

.fq2m {
  background: var(--qw7z);
  padding: 3rem;
  border-radius: 20px;
  max-width: 500px;
  text-align: center;
  border: 2px solid var(--bg8v);
}

.fq2m h2 {
  color: var(--bg8v);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.fq2m p {
  color: var(--hy6k);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.ru8v {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ru8v button {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.dh3x {
  background: linear-gradient(135deg, var(--bg8v) 0%, var(--zt5m) 100%);
  color: var(--lp2x);
}

.dh3x:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.pb6n {
  background: #e74c3c;
  color: var(--lp2x);
}

.pb6n:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Slider Captcha */
.wz8q {
  margin: 2rem 0;
  width: 100%;
}

.hn3k {
  position: relative;
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--mr4n) 0%, var(--qw7z) 100%);
  border-radius: 25px;
  overflow: hidden;
  border: 2px solid rgba(46, 204, 113, 0.3);
  user-select: none;
}

.pk7w {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--bg8v) 0%, var(--zt5m) 100%);
  transition: width 0.3s ease;
  border-radius: 25px;
}

.pk7w.solved {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.mq4h {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--vn3q);
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.tn5r {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--lp2x) 0%, var(--hy6k) 100%);
  border-radius: 50%;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: left 0.3s ease, box-shadow 0.3s;
  z-index: 2;
}

.tn5r:active {
  cursor: grabbing;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.5);
}

.tn5r::after {
  content: '→';
  font-size: 1.5rem;
  color: var(--bg8v);
  font-weight: bold;
}

.tn5r.solved {
  background: linear-gradient(135deg, var(--bg8v) 0%, var(--zt5m) 100%);
}

.tn5r.solved::after {
  content: '✓';
  color: var(--lp2x);
}

/* Cookie Banner */
.gn4z {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--qw7z);
  padding: 1.5rem;
  border-top: 2px solid var(--bg8v);
  z-index: 9999;
  display: none;
}

.gn4z.active {
  display: block;
}

.lt8m {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.lt8m p {
  color: var(--hy6k);
  flex: 1;
  min-width: 300px;
}

.vm2k {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.vm2k button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
}

/* Content Pages */
.xs9p {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.xs9p h1 {
  font-size: 2.5rem;
  color: var(--bg8v);
  margin-bottom: 2rem;
}

.xs9p h2 {
  font-size: 1.8rem;
  color: var(--bg8v);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.xs9p h3 {
  font-size: 1.4rem;
  color: var(--bg8v);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.xs9p p {
  color: var(--hy6k);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.xs9p ul, .xs9p ol {
  color: var(--hy6k);
  margin-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.xs9p a {
  color: var(--bg8v);
  text-decoration: none;
  border-bottom: 1px solid var(--bg8v);
  transition: opacity 0.3s;
}

.xs9p a:hover {
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .zn4t {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--qw7z);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }

  .zn4t.active {
    display: flex;
  }

  .qr7m {
    display: flex;
  }

  .lm6y {
    font-size: 2.5rem;
  }

  .ux2p {
    font-size: 1.1rem;
  }

  .bv5x {
    padding: 8rem 1rem 4rem;
  }

  .wp2z, .xm5q {
    grid-template-columns: 1fr;
  }

  .nd8f {
    grid-template-columns: 1fr;
  }

  .lt8m {
    flex-direction: column;
    align-items: flex-start;
  }

  .fq2m {
    margin: 1rem;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .lm6y {
    font-size: 2rem;
  }

  .nh9k {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .kj3v {
    font-size: 2rem;
  }
}
