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

:root {
  --primary-color: #ff6b35;
  --secondary-color: #1a1a1a;
  --accent-color: #ffd700;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #ffffff;
  --bg-dark: #0f0f0f;
  --card-bg: #1a1a1a;
  --border-color: #333;
  --success-color: #10b981;
  --gradient: linear-gradient(135deg, #ff6b35 0%, #ff8f65 100%);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

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

/* Header */
.header {
  background: var(--bg-dark);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

.hero {
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('/images/view-game-gambling-table-casino.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ff6b35" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ff6b35" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>')
    no-repeat center center;
  background-size: cover;
  opacity: 0.3;
}

/* Rankings Section */
.rankings {
  padding: 60px 0;
  background: var(--bg-dark);
}

.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

.ranking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
  border-color: var(--primary-color);
}

.ranking-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
}

.ranking-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.ranking-position {
  background: var(--gradient);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.ranking-logo {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-color);
  flex-shrink: 0;
}

.ranking-details h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.ranking-details p {
  color: #999;
  font-size: 13px;
}

.ranking-bonus {
  text-align: center;
  margin: 0 20px;
}

.bonus-amount {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 16px;
  display: block;
}

.bonus-type {
  color: #999;
  font-size: 12px;
}

.ranking-cta {
  flex-shrink: 0;
}

.cta-button {
  background: var(--gradient);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Why Choose Section */
.why-choose {
  padding: 80px 0;
  background: var(--bg-color);
}

.why-choose h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: var(--bg-dark);
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.faq .section-subtitle {
  color: #ccc;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  padding: 25px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: #ccc;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo a {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-section p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 15px;
}

.age-restriction {
  background: var(--primary-color);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 700;
  display: inline-block;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #999;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
}

.close:hover {
  color: var(--primary-color);
}

/* Disclaimer Section */
.disclaimer {
  background: #f8f9fa;
  padding: 40px 0;
  border-top: 3px solid var(--primary-color);
}

.disclaimer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.disclaimer h3 {
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

.disclaimer-text {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-color);
}

.disclaimer-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-color);
}

.disclaimer-text p:last-child {
  margin-bottom: 0;
}

.disclaimer-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

.disclaimer-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.disclaimer-text a:hover {
  text-decoration: underline;
}

.page-hero {
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('/images/page-hero.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 120px 0 60px;
  text-align: center;
}


.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

.legal-content {
  padding: 60px 0;
  background: var(--bg-color);
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legal-text h2 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 30px 0 15px 0;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.legal-text h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-color);
}

.legal-text ul {
  margin: 15px 0;
  padding-left: 25px;
}

.legal-text li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--text-color);
}

.legal-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.legal-text a:hover {
  text-decoration: underline;
}

/* Guide Page Styles */
.guide-content {
  padding: 60px 0;
  background: var(--bg-color);
}

.guide-sections {
  max-width: 1000px;
  margin: 0 auto;
}

.guide-section {
  background: #fff;
  margin-bottom: 40px;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.guide-section h2 {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 10px;
}

.guide-text h3 {
  color: var(--text-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 25px 0 15px 0;
}

.guide-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-color);
}

.guide-text ul {
  margin: 15px 0;
  padding-left: 25px;
}

.guide-text li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--text-color);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.sport-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.sport-card h3 {
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.sport-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Responsible Gaming Page Styles */
.responsible-gaming {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.emergency-contact {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 25px;
  margin-top: 20px;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.responsible-content {
  padding: 60px 0;
  background: var(--bg-color);
}

.warning-box {
  background: #fef2f2;
  border: 2px solid #fecaca;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 40px;
  text-align: center;
}

.warning-box h2 {
  color: #dc2626;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.warning-box p {
  color: #991b1b;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.responsible-sections {
  max-width: 1000px;
  margin: 0 auto;
}

.responsible-section {
  background: #fff;
  margin-bottom: 40px;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.responsible-section h2 {
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 10px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.tip-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.tip-card h3 {
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.tip-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

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

.help-card {
  background: #f0f9ff;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #0ea5e9;
}

.help-card h3 {
  color: #0c4a6e;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.help-card p {
  color: #0c4a6e;
  line-height: 1.6;
  margin-bottom: 10px;
}

.help-card p:last-child {
  margin-bottom: 0;
}

.help-card strong {
  font-weight: 600;
}

.help-card a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 500;
}

.help-card a:hover {
  text-decoration: underline;
}

.age-warning {
  background: #fff3cd;
  border: 2px solid #ffeaa7;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-top: 40px;
}

.age-warning h2 {
  color: #856404;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.age-warning p {
  color: #856404;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.age-symbol {
  background: #856404;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto;
}

/* Animation for cards loading */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ranking-card {
  animation: fadeInUp 0.6s ease forwards;
}

.ranking-card:nth-child(1) {
  animation-delay: 0.1s;
}

.ranking-card:nth-child(2) {
  animation-delay: 0.2s;
}

.ranking-card:nth-child(3) {
  animation-delay: 0.3s;
}

.ranking-card:nth-child(4) {
  animation-delay: 0.4s;
}

.ranking-card:nth-child(5) {
  animation-delay: 0.5s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--bg-dark);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding: 100px 0 60px;
    min-height: 350px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .ranking-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    min-height: auto;
  }

  .ranking-info {
    width: 100%;
  }

  .ranking-bonus {
    margin: 0;
    align-self: flex-start;
  }

  .ranking-cta {
    align-self: stretch;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-choose h2,
  .faq h2 {
    font-size: 2rem;
  }

  .disclaimer {
    padding: 30px 0;
  }

  .disclaimer-text {
    padding: 25px 20px;
  }

  .legal-text {
    padding: 30px 20px;
  }

  .guide-section {
    padding: 30px 20px;
  }

  .responsible-section {
    padding: 30px 20px;
  }

  .tips-grid,
  .help-resources,
  .sports-grid {
    grid-template-columns: 1fr;
  }

  .emergency-contact {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .age-symbol {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 0 15px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .ranking-card {
    padding: 15px;
  }

  .feature-card {
    padding: 25px 20px;
  }

  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }
}
