@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Water Wave Animation - Hidden */
.water-waves {
  display: none !important;
}

.walking-mascot, .walking-sticker {
  display: none !important;
}

.footer-support-btn {
  display: none !important;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%2340C4FF' opacity='.4'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: wave 8s linear infinite;
}

.wave:nth-child(2) {
  bottom: 15px;
  opacity: 0.5;
  animation: wave 6s linear reverse infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%230088CC' opacity='.35'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
}

.wave:nth-child(3) {
  bottom: 30px;
  opacity: 0.6;
  animation: wave 10s linear infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%2364D5FF' opacity='.45'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
}

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

:root {
  --pink-primary: #FF4FA3;
  --pink-light: #FF7AB8;
  --pink-soft: #FFE0F0;
  --blush-bg: #FFF5FA;
  --white: #FFFFFF;
  --text-dark: #2D2D3A;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --card-border: #FFE8F4;
  --shadow-pink: rgba(255, 79, 163, 0.15);
  --shadow-soft: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
  --pink-primary: #FF6BB3;
  --pink-light: #FF8AC5;
  --pink-soft: #3D2A35;
  --blush-bg: #1A1A2E;
  --white: #252538;
  --text-dark: #F5F5F7;
  --text-gray: #B0B0C0;
  --text-light: #8888A0;
  --card-border: #3D3D55;
  --shadow-pink: rgba(255, 79, 163, 0.25);
  --shadow-soft: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body {
  background: #1A1A2E;
}

[data-theme="dark"] .header {
  background: #252538;
  border-color: #3D3D55;
}

[data-theme="dark"] .footer {
  background: #151525;
}

[data-theme="dark"] .game-card {
  background: #252538;
  border-color: #3D3D55;
}

[data-theme="dark"] .section-title {
  color: #F5F5F7;
}

[data-theme="dark"] .brand-name {
  background: linear-gradient(135deg, #FF6BB3 0%, #FF8AC5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .game-name,
[data-theme="dark"] .game-dev {
  color: #F5F5F7;
}

[data-theme="dark"] .game-dev {
  color: #B0B0C0;
}

[data-theme="dark"] .menu-item {
  color: #F5F5F7;
}

[data-theme="dark"] .side-menu {
  background: #252538;
}

[data-theme="dark"] .menu-footer p {
  color: #8888A0;
}

[data-theme="dark"] .order-modal {
  background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .order-modal-content {
  background: #252538;
}

[data-theme="dark"] .order-input {
  background: #1A1A2E;
  border-color: #3D3D55;
  color: #F5F5F7;
}

[data-theme="dark"] .order-found {
  background: #2A3A2A;
  border-color: #3D5D3D;
}

[data-theme="dark"] .order-error {
  background: #3A2A2A;
  border-color: #5D3D3D;
}

[data-theme="dark"] .order-row span,
[data-theme="dark"] .order-row strong {
  color: #F5F5F7;
}

[data-theme="dark"] .footer-description,
[data-theme="dark"] .footer-text {
  color: #B0B0C0;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', 'Noto Sans Khmer', sans-serif;
  background: linear-gradient(180deg, var(--blush-bg) 0%, #FFF0F7 100%);
  min-height: 100vh;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

.page-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--blush-bg);
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 480px) {
  .page-container {
    max-width: 100%;
  }
}

@media (min-width: 600px) {
  .page-container {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .page-container {
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .page-container {
    max-width: 100%;
  }
}

@media (min-width: 1280px) {
  .page-container {
    max-width: 100%;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
}

@media (min-width: 400px) {
  .header {
    padding: 14px 16px;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 400px) {
  .header-left {
    gap: 10px;
  }
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

@media (min-width: 400px) {
  .logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 400px) {
  .brand-name {
    font-size: 18px;
  }
}

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

.header-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF4FA3, transparent);
  margin: 0 20px 12px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: var(--blush-bg);
  color: var(--pink-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

@media (min-width: 400px) {
  .icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 17px;
  }
}

.icon-btn:hover {
  background: var(--pink-soft);
  transform: scale(1.05);
}

.icon-btn:active {
  transform: scale(0.95);
}

.cambodia-flag img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.cambodia-flag img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.search-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink-primary);
  font-size: 16px;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border: 2px solid var(--card-border);
  border-radius: 50px;
  background: var(--blush-bg);
  color: var(--text-dark);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.25s ease;
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-input:focus {
  outline: none;
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 4px var(--shadow-pink);
  background: var(--white);
}

.category-tabs {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  overflow-x: auto;
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border: 2px solid var(--card-border);
  border-radius: 50px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: var(--pink-primary);
  color: var(--pink-primary);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  border-color: var(--pink-primary);
  color: var(--white);
  box-shadow: 0 4px 16px var(--shadow-pink);
}

.tab-btn i {
  margin-right: 6px;
}

.walking-mascot {
  position: fixed;
  bottom: 16px;
  right: 12px;
  z-index: 999;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.mascot-container {
  position: relative;
  animation: mascotBounce 1s ease-in-out infinite;
}

.mascot-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--pink-primary);
  background: var(--white);
  box-shadow: 0 4px 16px var(--shadow-pink);
  animation: mascotWalk 0.4s ease-in-out infinite alternate;
}

.mascot-shadow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 8px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.15) 0%, transparent 70%);
  animation: shadowPulse 1s ease-in-out infinite;
}

.mascot-bubble {
  background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 136, 204, 0.3);
  animation: bubblePop 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mascot-bubble i {
  font-size: 10px;
}

@keyframes mascotBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes mascotWalk {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
  50% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
}

@keyframes bubblePop {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.05); }
  20% { transform: scale(1); }
}

@media (min-width: 400px) {
  .mascot-img {
    width: 55px;
    height: 55px;
  }
  .mascot-bubble {
    font-size: 10px;
    padding: 5px 10px;
  }
  .walking-mascot {
    bottom: 20px;
    right: 16px;
  }
}

@media (min-width: 768px) {
  .mascot-img {
    width: 60px;
    height: 60px;
  }
  .mascot-bubble {
    font-size: 11px;
    padding: 6px 12px;
  }
  .walking-mascot {
    bottom: 24px;
    right: 20px;
  }
}

.section {
  padding: 0 16px 20px;
}

.section-header {
  margin-bottom: 14px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 400px) {
  .games-grid {
    gap: 10px;
  }
}

.game-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow-soft);
}

@media (min-width: 400px) {
  .game-card {
    border-radius: 14px;
  }
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-pink);
  border-color: var(--pink-primary);
}

.game-card:active {
  transform: scale(0.97);
}

.game-card .game-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--pink-soft);
}

.game-info {
  padding: 6px 4px;
  text-align: center;
  background: var(--white);
}

@media (min-width: 360px) {
  .game-info {
    padding: 8px 6px;
  }
}

.game-name {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1px;
}

.game-dev {
  display: block;
  font-size: 8px;
  color: var(--text-light);
}

@media (min-width: 360px) {
  .game-name {
    font-size: 11px;
    margin-bottom: 2px;
  }
  .game-dev {
    font-size: 9px;
  }
}

@media (min-width: 400px) {
  .game-name {
    font-size: 12px;
  }
  .game-dev {
    font-size: 10px;
  }
  .game-info {
    padding: 10px 8px;
  }
}

.order-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 20px;
}

.order-modal.open {
  opacity: 1;
  visibility: visible;
}

.order-modal-content {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  animation: modalSlide 0.35s ease;
}

@keyframes modalSlide {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.order-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  color: var(--white);
}

.order-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-modal {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.close-modal:hover {
  background: rgba(255,255,255,0.3);
}

.order-modal-body {
  padding: 24px;
}

.order-modal-body .form-group {
  margin-bottom: 20px;
}

.order-modal-body .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.order-modal-body .form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.25s ease;
}

.order-modal-body .form-input:focus {
  outline: none;
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 4px var(--shadow-pink);
}

.check-order-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  border: none;
  border-radius: 14px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px var(--shadow-pink);
}

.check-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 79, 163, 0.35);
}

.order-result {
  margin-top: 20px;
}

.order-loading {
  text-align: center;
  padding: 20px;
  color: var(--text-gray);
  font-size: 14px;
}

.order-error {
  background: #FEF2F2;
  color: #DC2626;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-found {
  background: var(--blush-bg);
  border-radius: 16px;
  overflow: hidden;
}

.order-found .order-header {
  background: #ECFDF5;
  color: #059669;
  padding: 14px 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-details {
  padding: 16px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 14px;
}

.order-row:last-child {
  border-bottom: none;
}

.order-row span:first-child {
  color: var(--text-gray);
}

.order-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-success {
  background: #ECFDF5;
  color: #059669;
}

.status-pending {
  background: #FEF3C7;
  color: #D97706;
}

.status-failed {
  background: #FEF2F2;
  color: #DC2626;
}

.menu-links {
  margin-bottom: 12px;
}

.menu-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 12px;
}

.menu-links span {
  margin: 0 8px;
  color: var(--text-light);
}

.terms-section {
  padding: 16px;
}

.terms-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-soft);
}

.terms-header {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  padding: 24px;
  text-align: center;
  color: white;
}

.terms-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
}

.terms-header h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.terms-subtitle {
  font-size: 12px;
  opacity: 0.9;
}

.terms-content {
  padding: 20px;
}

.terms-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}

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

.terms-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--pink-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terms-item h3 i {
  width: 24px;
  text-align: center;
}

.terms-item p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 10px;
}

.terms-item ul {
  margin: 0;
  padding-left: 20px;
}

.terms-item li {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

.support-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.support-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: all 0.25s ease;
}

.support-btn.telegram {
  background: #0088cc;
}

.support-btn.facebook {
  background: #1877f2;
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.terms-item.privacy {
  background: var(--blush-bg);
  padding: 16px;
  border-radius: 12px;
  border-bottom: none;
}

.terms-footer {
  padding: 20px;
  background: var(--blush-bg);
  text-align: center;
}

.terms-footer p {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  color: white;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px var(--shadow-pink);
}

.back-home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 79, 163, 0.35);
}

.banner-section {
  padding: 0 12px 16px;
}

@media (min-width: 400px) {
  .banner-section {
    padding: 0 16px 20px;
  }
}

.banner-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  box-shadow: 0 4px 20px var(--shadow-pink);
}

@media (min-width: 400px) {
  .banner-slider {
    border-radius: 20px;
    box-shadow: 0 6px 28px var(--shadow-pink);
  }
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.banner-img.active {
  opacity: 1;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--pink-primary);
  width: 28px;
  border-radius: 4px;
}

.section {
  padding: 0 12px 20px;
}

@media (min-width: 400px) {
  .section {
    padding: 0 16px 24px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

@media (min-width: 400px) {
  .section-header {
    margin-bottom: 14px;
  }
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 400px) {
  .section-title {
    font-size: 18px;
    gap: 10px;
  }
}

.section-title .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

@media (min-width: 400px) {
  .section-title .icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 14px;
  }
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}

.see-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.popular-card {
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px var(--shadow-soft);
}

.popular-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-pink);
  border-color: var(--pink-primary);
}

.popular-card:active {
  transform: translateY(0);
}

.popular-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.popular-info {
  flex: 1;
  min-width: 0;
}

.popular-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.popular-dev {
  font-size: 12px;
  color: var(--text-light);
}

.games-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

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

.game-card {
  flex-shrink: 0;
  width: 120px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px var(--shadow-soft);
  scroll-snap-align: start;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-pink);
  border-color: var(--pink-primary);
}

.game-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.game-info {
  padding: 12px;
  text-align: center;
}

.game-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.game-dev {
  font-size: 11px;
  color: var(--text-light);
}

.features-section {
  background: linear-gradient(135deg, var(--pink-primary) 0%, #E91E8C 50%, var(--pink-light) 100%);
  margin: 0 20px 28px;
  border-radius: 28px;
  padding: 32px 24px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: shimmer 8s infinite linear;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.features-content {
  position: relative;
  z-index: 1;
}

.mascot {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  padding: 8px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.features-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.features-subtitle {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 28px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-card {
  background: var(--white);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
  color: var(--text-dark);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
  color: var(--white);
}

.feature-icon.blue { background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%); }
.feature-icon.pink { background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%); }
.feature-icon.yellow { background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%); }
.feature-icon.green { background: linear-gradient(135deg, #34D399 0%, #10B981 100%); }

.feature-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 11px;
  color: var(--text-gray);
  line-height: 1.5;
}

.footer {
  background: #FFFFFF;
  padding: 40px 20px 30px;
  text-align: left;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  border-top: 2px solid var(--pink-primary);
}

.footer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-brand-name span {
  color: var(--pink-primary);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-gray);
}

.footer-description {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  background: var(--pink-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social-btn:hover {
  background: var(--pink-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section-title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--pink-primary);
  border-radius: 2px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: var(--pink-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  font-size: 14px;
  flex-shrink: 0;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
}

.footer-contact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.footer-contact-value {
  font-size: 12px;
  color: var(--text-gray);
}

.footer-payment-text {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.footer-payment-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-payment-img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}

.footer-payment-icon {
  width: 56px;
  height: 40px;
  background: var(--pink-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-payment-icon.wing {
  background: linear-gradient(135deg, #00C853, #00A843);
  color: white;
}

.footer-payment-icon.aba {
  background: linear-gradient(135deg, #B8860B, #DAA520);
  color: white;
}

.footer-payment-icon.khqr {
  background: var(--pink-soft);
  border: 1px solid var(--card-border);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.footer-copyright strong {
  color: var(--text-dark);
}

.footer-developer {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.footer-developer a {
  color: var(--pink-primary);
  text-decoration: none;
}

.footer-links-bottom {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links-bottom a {
  color: var(--text-gray);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-bottom a:hover {
  color: var(--pink-primary);
}

.footer-links-bottom .dot {
  color: var(--text-light);
}

.footer-support-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #40C4FF 0%, #0088CC 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(64, 196, 255, 0.4);
  z-index: 1000;
  transition: all 0.3s;
}

.footer-support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(64, 196, 255, 0.5);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink-primary);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 500;
}

.contact-buttons {
  display: flex;
  gap: 12px;
}

.contact-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.contact-btn.telegram {
  background: linear-gradient(135deg, #40C4FF 0%, #0088CC 100%);
}

.contact-btn.facebook {
  background: linear-gradient(135deg, #5B8DEE 0%, #1877F2 100%);
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--pink-primary);
}

.footer-links .divider {
  margin: 0 16px;
  color: var(--card-border);
}

.copyright {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.copyright strong {
  color: var(--pink-primary);
  font-weight: 600;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-methods span:first-child {
  font-size: 13px;
  color: var(--text-gray);
}

.payment-badge {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.payment-badge.khqr {
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
}

.payment-badge.aba {
  background: linear-gradient(135deg, #4F8EFF 0%, #0052CC 100%);
}

.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: var(--white);
  z-index: 1000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}

.side-menu.open {
  right: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(4px);
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-header {
  display: flex;
  align-items: center;
  padding: 24px 20px;
  gap: 14px;
  background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-light) 100%);
}

.menu-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--white);
  padding: 4px;
}

.menu-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex: 1;
}

.close-menu {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.close-menu:hover {
  background: rgba(255,255,255,0.3);
}

.menu-nav {
  flex: 1;
  padding: 20px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
  border-left: 4px solid transparent;
}

.menu-item:hover,
.menu-item.active {
  background: var(--blush-bg);
  border-left-color: var(--pink-primary);
  color: var(--pink-primary);
}

.menu-item i {
  width: 24px;
  text-align: center;
  font-size: 18px;
}

.menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.menu-footer p {
  font-size: 12px;
  color: var(--text-light);
}

@media (max-width: 400px) {
  .popular-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .game-card {
    width: 100px;
  }
}

@media (min-width: 768px) {
  .header {
    padding: 18px 32px;
  }
  
  .section {
    padding: 0 32px 32px;
  }
  
  .banner-section {
    padding: 0 32px 28px;
  }
  
  .banner-slider {
    height: 200px;
  }
  
  .popular-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .game-card {
    width: 140px;
  }
  
  .features-section {
    margin: 0 32px 32px;
    padding: 40px 32px;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer {
    padding: 40px 32px;
  }
}

@media (min-width: 1024px) {
  .header {
    padding: 20px 48px;
  }
  
  .section {
    padding: 0 48px 40px;
  }
  
  .banner-section {
    padding: 0 48px 32px;
  }
  
  .banner-slider {
    height: 240px;
    border-radius: 32px;
  }
  
  .popular-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .game-card {
    width: 160px;
  }
  
  .features-section {
    margin: 0 48px 40px;
    padding: 48px 40px;
    border-radius: 36px;
  }
  
  .footer {
    padding: 48px;
  }
}