:root {
  --zon-body-bg-color: #111;
  --zon-common-text-color: #111;
  --zon-theme-color: #d92202;
  --zon-div-color: #999;
  --zon-muted-color: #777;
  --zon-more-button-bg-color: #222;
  --zon-search-bg-color: #222;
  --zon-search-hover-color: #333;
  --zon-gmeta-bg-color: #222;
  --zon-overlay-bg-color: #000000af;
  --zon-cursor-color: #fff;
  --zon-toggler-bg-color: #222;
  --zon-icon-color: #fff;
  --zon-dark-logo: block;
  --zon-light-logo: none;
  --zon-sidebar-shadow: 0px 0px 40px 0px #000;
  --zon-blog-social-button-bg-hover-color: #222;
  --zon-comment-input-b-color: #222;
}

a {
  text-decoration: none;
}

.header-action-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-action-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.header-action-btn svg path {
  stroke: #374151 !important;
}

.header-action-btn:hover {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.header-action-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.desktop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 6px;
}

.desktop-category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  line-height: 1;
  transition: all 0.2s ease;
}

.desktop-category-link svg {
  width: 14px;
  height: 14px;
}

.desktop-category-link svg path {
  stroke: #6b7280;
}

.desktop-category-link:hover {
  border-color: #d1d5db;
  background: #f8fafc;
  color: #111827;
}

.contact-wrap {
  max-width: 760px;
  margin: 28px auto 0;
}

.contact-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  padding: 22px;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.contact-subtitle {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-field {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  color: #111827;
  background: #fff;
}

.contact-field:focus {
  outline: none;
  border-color: var(--zon-theme-color);
  box-shadow: 0 0 0 3px rgba(217, 34, 2, 0.12);
}

.contact-field.textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.contact-submit {
  border: 0;
  border-radius: 10px;
  background: var(--zon-theme-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
}

.contact-submit:hover {
  filter: brightness(0.95);
}

.contact-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.contact-alert.success {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
}

.contact-alert.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

@media (max-width: 768px) {
  .zon-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .logo img {
    width: 112px;
    height: auto;
  }

  .header-action-group {
    gap: 8px;
  }

  .desktop-category-nav {
    display: none;
  }

  .header-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .page-heading {
    font-size: 1.5rem !important;
    line-height: 1.2;
    margin-bottom: 16px !important;
  }

  .game__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .home__game__grid .game.large {
    grid-column: span 2;
  }

  .game__thumb img {
    border-radius: 10px;
  }

  .game_name {
    font-size: 13px !important;
    line-height: 1.35;
  }

  .game__categories {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .category {
    padding: 10px !important;
  }

  .search-drawer,
  .menu-drawer {
    width: calc(100vw - 24px) !important;
    max-width: 360px;
  }

  .main-gameplay .game-frame iframe,
  #zonFrame {
    height: 260px !important;
  }

  footer ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px !important;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 16px;
    border-radius: 12px;
  }

  .contact-title {
    font-size: 1.5rem;
  }
}
