
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --bg-main: #06050b;
  --bg-surface-1: #0e0c18;
  --bg-surface-2: #161324;
  --bg-surface-3: #201b34;
  --primary: #8a2be2;
  --primary-glow: rgba(138, 43, 226, 0.4);
  --primary-hover: #9d4edd;
  --secondary: #ffb703;
  --secondary-glow: rgba(255, 183, 3, 0.3);
  --secondary-hover: #ffc300;
  --text-main: #f5f4fa;
  --text-muted: #a5a2bc;
  --text-dim: #706b8c;
  --border: rgba(138, 43, 226, 0.2);
  --border-focus: #8a2be2;
  --border-light: rgba(255, 255, 255, 0.08);
  --success: #00f5d4;
  --error: #ff5d8f;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  --glow: 0 0 20px rgba(138, 43, 226, 0.35);
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
  overflow-x: hidden;
}
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}
a {
  color: var(--primary-hover);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--secondary);
}
.text-gradient {
  color: var(--secondary);
}
.text-gradient-purple {
  color: var(--primary-hover);
  text-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}
main {
  flex-grow: 1;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}
header {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
header .container {
  max-width: 1400px; 
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem; 
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
  z-index: 1010;
  flex-shrink: 0; 
}
.logo svg {
  fill: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary-glow));
  flex-shrink: 0;
}
nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  margin: 0 20px;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px; 
}
.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem; 
  position: relative;
  padding: 6px 0;
  white-space: nowrap; 
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px; 
  z-index: 1010;
  flex-shrink: 0; 
}
.user-balance-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}
.balance-coins {
  color: var(--secondary);
}
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  z-index: 1010;
  width: 30px;
  height: 20px;
  position: relative;
}
.mobile-nav-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}
.mobile-nav-toggle span:nth-child(1) { top: 0px; }
.mobile-nav-toggle span:nth-child(2) { top: 9px; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; }
.mobile-nav-toggle.open span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.mobile-nav-toggle.open span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}
.mobile-only {
  display: none !important;
}
@media (max-width: 1200px) {
  .mobile-only {
    display: block !important;
  }
  nav {
    display: block;
    position: static;
    flex-grow: 0;
    margin: 0;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px; 
    width: 280px;
    height: 100vh;
    background-color: var(--bg-surface-1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    justify-content: flex-start;
    padding: 120px 40px 40px 40px;
    gap: 24px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-light);
    z-index: 1000;
  }
  .nav-menu.open {
    right: 0;
  }
  .header-actions {
    margin-right: 40px;
  }
  .header-actions .btn-login,
  .header-actions .btn-primary {
    display: none !important;
  }
  .user-balance-bar span {
    display: none; 
  }
}
@media (max-width: 576px) {
  .header-actions {
    margin-right: 20px;
    gap: 8px;
  }
  .logo {
    font-size: 1.05rem;
    gap: 6px;
  }
  .logo svg {
    width: 20px;
    height: 20px;
  }
  .user-balance-bar {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}
@media (max-width: 380px) {
  .header-actions {
    margin-right: 10px;
    gap: 6px;
  }
  .logo span {
    font-size: 0.95rem;
  }
  .logo svg {
    width: 18px;
    height: 18px;
  }
  .user-balance-bar {
    padding: 4px 6px;
    font-size: 0.75rem;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--secondary);
  color: var(--bg-main);
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  background-color: rgba(138, 43, 226, 0.05);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.hero {
  position: relative;
  background: var(--bg-main);
  padding: 120px 0 80px 0;
  border-bottom: 1px solid var(--border-light);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-glow-card {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/3;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow), var(--glow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .hero-glow-card {
    aspect-ratio: auto;
    gap: 20px;
  }
}
.hero-glow-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--bg-surface-2);
  pointer-events: none;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-badge {
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.card-mid h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.card-mid p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.card-score {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}
@media (max-width: 992px) {
  .hero {
    padding: 80px 0 50px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 30px auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
  }
}
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
}
.feature-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.badge-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.badge-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.badge-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .feature-badges-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.game-card {
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow), 0 0 15px rgba(138, 43, 226, 0.15);
}
.game-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.game-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.game-card:hover .game-img-wrapper img {
  transform: scale(1.05);
}
.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 5, 11, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.game-card:hover .game-overlay {
  opacity: 1;
}
.game-badge-free {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.game-title {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.game-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}
.game-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.game-footer-row strong {
  color: var(--secondary);
}
.game-frame-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/11;
  background: #000;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow), var(--glow);
  position: relative;
}
.game-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 768px) {
  .game-frame-container {
    aspect-ratio: auto;
    height: 520px;
  }
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 45px;
}
@media (max-width: 380px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
.review-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.review-author h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.review-author span {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.review-rating {
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}
.rating-star-filled {
  color: var(--secondary);
}
.rating-star-empty {
  color: var(--bg-surface-3);
}
.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
  flex-grow: 1;
}
.review-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: right;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}
.faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--primary);
  background: var(--bg-surface-2);
}
.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  text-align: left;
}
.faq-icon-arrow {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--secondary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}
.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}
.faq-answer-inner {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
footer {
  background-color: #030206;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--text-main);
  padding-left: 4px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-1);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--primary);
  color: var(--text-main);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.footer-compliance {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-compliance p {
  line-height: 1.6;
}
.legal-entity-note {
  color: var(--text-muted);
  font-weight: 500;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 3, 7, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 440px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow), var(--glow);
}
.modal-overlay.open .modal-content {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}
.modal-close:hover {
  color: var(--text-main);
}
.modal-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}
.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}
.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-footer a {
  font-weight: 600;
}
.error-message {
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 4px;
  display: none;
}
.age-gate-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #06050b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;
}
.age-gate-card {
  background: var(--bg-surface-1);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow), var(--glow);
}
.age-gate-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}
.age-gate-logo span {
  color: var(--secondary);
}
.age-gate-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.age-gate-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.age-gate-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.age-gate-buttons button {
  min-width: 120px;
}
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
  transform: translateY(150px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 800px;
}
.cookie-text a {
  font-weight: 600;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 20px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.pricing-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.pricing-card.popular {
  border-color: var(--secondary);
  background: var(--bg-surface-2);
}
.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--secondary);
  color: var(--bg-main);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 30px;
  transform: rotate(45deg);
  text-transform: uppercase;
}
.pricing-header h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.coin-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}
.coin-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}
.pricing-features li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.info-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.map-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.2);
}
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-wrapper {
    height: 300px;
  }
}
.page-header {
  background: var(--bg-surface-1);
  padding: 80px 0 40px 0;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.page-header h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.rich-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.rich-text h2 {
  font-size: 1.6rem;
  margin: 36px 0 16px 0;
  color: var(--text-main);
}
.rich-text h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px 0;
  color: var(--text-main);
}
.rich-text p {
  margin-bottom: 20px;
}
.rich-text ul, .rich-text ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.rich-text li {
  margin-bottom: 8px;
}
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1600;
  font-family: var(--font-body);
}
.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.5), var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chat-toggle:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}
.chat-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.chat-box {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  height: 480px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow), var(--glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.chat-box.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-header {
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-light);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}
.chat-agent-name h4 {
  font-size: 0.9rem;
  line-height: 1.2;
}
.chat-agent-status {
  font-size: 0.72rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}
.chat-agent-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}
.chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
}
.chat-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.4;
}
.message-agent {
  background: var(--bg-surface-2);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 0;
  border-left: 2px solid var(--primary);
}
.message-user {
  background: var(--primary);
  color: var(--text-main);
  align-self: flex-end;
  border-bottom-right-radius: 0;
}
.chat-input-area {
  padding: 12px;
  background: var(--bg-surface-2);
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
}
.chat-input-area input {
  flex-grow: 1;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.85rem;
}
.chat-input-area input:focus {
  outline: none;
  border-color: var(--primary);
}
.chat-input-area button {
  background: var(--primary);
  border: none;
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chat-input-area button:hover {
  background: var(--primary-hover);
}
.chat-input-area button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
@media (max-width: 480px) {
  .chat-box {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    bottom: 0;
  }
  .chat-toggle {
    bottom: 16px;
    right: 16px;
  }
}
