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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 64px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #3b82f6;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.mobile-nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: #3b82f6;
}

.mobile-nav.active {
  display: flex;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 28px;
  color: #374151;
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-text {
  font-size: 18px;
  color: #4b5563;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 28px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 32px;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  font-size: 18px;
  color: #374151;
  line-height: 1.8;
}

.about-content strong {
  color: #1f2937;
  font-weight: 700;
}

/* Games Section */
.games {
  padding: 80px 0;
  background: #f9fafb;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.game-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.game-image {
  width: 100%;
  height: 256px;
  overflow: hidden;
  margin: 0;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-content {
  padding: 24px;
}

.game-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.game-description {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
  padding: 80px 0;
  background: #fff;
  position: relative;
  width: calc(100% + 48px);
  margin-left: -24px;
  margin-right: -24px;
  animation: fadeIn 1s ease-in;
}

.why-choose .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.why-choose-content {
  max-width: 900px;
  margin: 0 auto;
}

.why-choose-content p {
  font-size: 18px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 48px;
}

.why-choose-content strong {
  color: #1f2937;
  font-weight: 700;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-choose-card {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.why-choose-card:nth-child(1) {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.why-choose-card:nth-child(2) {
  background: #f0f4ff;
  border-color: #c7d2fe;
}

.why-choose-card:nth-child(3) {
  background: #faf5ff;
  border-color: #e9d5ff;
}

.why-choose-card:nth-child(4) {
  background: #fdf2f8;
  border-color: #fbcfe8;
}

.uc_counter_box {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  flex-direction: column;
  text-align: center;
}

.counter_icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1em;
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  transition: 0.3s;
  margin-bottom: 12px;
}

.counter_icon i {
  font-size: 24px;
  color: #3b82f6;
  transition: 0.3s;
}

.ue_icon_spacer {
  flex-grow: 0;
  flex-shrink: 0;
}

.counter_number {
  margin-bottom: 8px;
}

.counter_number .counter {
  visibility: hidden;
}

.counter_label {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
}

/* Contact Section */
.contact-hero {
  position: relative;
  padding: 80px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.contact-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.contact-wrapper {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  text-align: center;
}

.contact-subtitle {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 32px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-submit {
  padding: 14px 24px;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #2563eb;
}

/* Page Content */
.page-content {
  padding: 80px 0;
  background: #fff;
}

.breadcrumb {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #2563eb;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
}

.page-text {
  max-width: 900px;
}

.page-text p {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-text h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-top: 32px;
  margin-bottom: 16px;
}

.page-text ul {
  margin-left: 24px;
  margin-bottom: 20px;
}

.page-text li {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 8px;
}

.page-text a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s;
}

.page-text a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.page-text strong {
  font-weight: 700;
  color: #1f2937;
}

/* Footer */
.footer {
  background: #111827;
  color: #fff;
  margin-top: 80px;
  position: relative;
}

.site-footer-wrap {
  width: 100%;
}

.site-middle-footer-wrap {
  padding: 48px 0;
}

.site-footer-row-container-inner {
  width: 100%;
}

.site-middle-footer-inner-wrap {
  display: flex;
  flex-direction: column;
}

.site-footer-middle-section-1 {
  width: 100%;
}

.footer-widget-area {
  padding: 0;
}

.footer-widget-area-inner {
  text-align: center;
}

.widget-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-widget-area-inner p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

.site-bottom-footer-wrap {
  border-top: 1px solid #374151;
  padding: 32px 0;
}

.site-bottom-footer-inner-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer-bottom-section-1 {
  flex: 1;
  min-width: 200px;
}

.site-footer-bottom-section-2 {
  flex: 1;
  min-width: 200px;
}

.site-info {
  text-align: center;
}

.site-info-inner p {
  color: #9ca3af;
  font-size: 14px;
  margin: 0;
}

.footer-navigation-wrap {
  text-align: center;
}

.footer-navigation-inner {
  width: 100%;
}

.footer-navigation {
  width: 100%;
}

.footer-menu-container {
  width: 100%;
}

.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin: 0;
}

.footer-menu a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #fff;
}

.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
}

.scroll-to-top:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 22px;
  }

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

  .why-choose {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-bottom-footer-inner-wrap {
    flex-direction: column;
    text-align: center;
  }

  .site-footer-bottom-section-1,
  .site-footer-bottom-section-2 {
    width: 100%;
  }

  .contact-wrapper {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

