/* Template 3 - Dark Professional Theme */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Merriweather:wght@400;700;900&display=swap");

:root {
  --dark-bg: #0a0a0a;
  --dark-card: #1a1a1a;
  --dark-lighter: #2a2a2a;
  --dark-border: #3a3a3a;
  --dark-text: #e5e5e5;
  --dark-muted: #a0a0a0;
  --dark-white: #ffffff;
  --dark-accent: #00d4aa;
  --dark-secondary: #ff6b6b;

  --glow-soft: 0 0 20px rgba(0, 212, 170, 0.3);
  --glow-medium: 0 0 30px rgba(0, 212, 170, 0.4);
  --glow-strong: 0 0 40px rgba(0, 212, 170, 0.5);

  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Merriweather", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--dark-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

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

/* Header */
.site-header {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dark-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  box-shadow: var(--glow-soft);
}

.site-name {
  font-family: var(--font-secondary);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--dark-accent);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--dark-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}


.site-nav a:hover::before {
  left: 100%;
}

.site-nav a:hover {
  color: var(--dark-accent);
  background: rgba(0, 212, 170, 0.1);
  box-shadow: var(--glow-soft);
}

/* Hero Section */
.section.head {
  padding: 12rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 50%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
}

.section.head h1 {
  font-family: var(--font-secondary);
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--dark-white) 0%, var(--dark-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section.head p {
  font-size: 1.4rem;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: var(--dark-muted);
}

/* Section Styling */
.section {
  padding: 8rem 0;
}

.section:nth-child(even) {
  background: var(--dark-card);
}

.section header {
  text-align: center;
  margin-bottom: 5rem;
}

.section header h2 {
  font-family: var(--font-secondary);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--dark-white);
  margin-bottom: 1.5rem;
  position: relative;
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--dark-accent);
  box-shadow: var(--glow-soft);
}

.section header p {
  font-size: 1.3rem;
  color: var(--dark-muted);
  max-width: 750px;
  margin: 0 auto;
}

/* Casino List */
.casino_list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.casino-item {
  width: calc(33.333% - 2.5rem);
  min-width: 370px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.casino-item:hover::before {
  opacity: 1;
}

.casino-item:hover {
  transform: translateY(-10px);
  border-color: var(--dark-accent);
  box-shadow: var(--glow-medium);
}

.casino-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--dark-secondary);
  color: var(--dark-white);
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.casino-header {
  padding: 3rem;
  text-align: center;
  background: var(--dark-card);
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  z-index: 1;
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 2rem;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--dark-border);
}

.casino-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-medium);
  border-color: var(--dark-accent);
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.casino-name {
  font-family: var(--font-secondary);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark-white);
  margin-bottom: 1.5rem;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.rating .stars {
  width: 150px;
  height: 26px;
  background: var(--dark-lighter);
  border-radius: 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dark-border);
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--dark-accent) 0%, var(--dark-secondary) 100%);
  border-radius: 13px;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.rating .text {
  color: var(--dark-accent);
  font-weight: 700;
  font-family: var(--font-secondary);
}

.casino-body {
  padding: 3rem;
  background: var(--dark-card);
  position: relative;
  z-index: 1;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--dark-accent) 0%, rgba(0, 212, 170, 0.8) 100%);
  color: var(--dark-bg);
  border-radius: 10px;
  box-shadow: var(--glow-medium);
}

.bonus-amount {
  font-size: 2.2rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.free-spins {
  font-size: 1.2rem;
  font-weight: 700;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.feature-tag {
  background: var(--dark-lighter);
  color: var(--dark-text);
  padding: 0.7rem 1.4rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-border);
}

.feature-tag:hover {
  background: var(--dark-accent);
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: var(--glow-soft);
}

.casino-details {
  margin-bottom: 2.5rem;
  background: var(--dark-lighter);
  border-radius: 10px;
  border: 1px solid var(--dark-border);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--dark-border);
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(0, 212, 170, 0.05);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--dark-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.detail-value {
  color: var(--dark-accent);
  font-weight: 700;
  font-family: var(--font-secondary);
}

.casino-action {
  text-align: center;
}

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--dark-accent) 0%, rgba(0, 212, 170, 0.8) 100%);
  color: var(--dark-bg);
  padding: 1.4rem 3rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--glow-medium);
}

.casino-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-strong);
}

/* FAQ Section */
.faq_list {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--dark-accent);
  box-shadow: var(--glow-soft);
}

.accordion-question {
  background: none;
  border: none;
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-white);
  padding: 2.5rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-question:hover {
  background: rgba(0, 212, 170, 0.05);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  background: var(--dark-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--glow-soft);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--dark-bg);
  transition: all 0.3s ease;
}

.accordion-icon::before {
  width: 14px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--dark-secondary);
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2.5rem;
  color: var(--dark-muted);
  line-height: 1.8;
}

.faq-item.active .accordion-answer {
  max-height: 500px;
  padding: 0 2.5rem 2.5rem;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--dark-border);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-about {
  flex: 1;
  max-width: 500px;
}

.footer-tagline {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-muted);
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--dark-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--dark-accent);
  border-color: var(--dark-accent);
  box-shadow: var(--glow-soft);
}

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

.copyright {
  font-size: 0.95rem;
  color: var(--dark-muted);
}

/* Animations */
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0;
    transform: translateY(40px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: glowPulse 0.8s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}

/* Text Content */
.text-content {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--dark-card);
  padding: 4rem;
  border-radius: 12px;
  border: 1px solid var(--dark-border);
  line-height: 1.8;
}

.text-content h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-accent);
  margin: 3rem 0 1.5rem;
}

.text-content p {
  margin-bottom: 1.5rem;
  color: var(--dark-muted);
}

.text-content ul,
.text-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.text-content li {
  margin-bottom: 0.5rem;
  color: var(--dark-muted);
}

/* Table Layout Alternative */
.casino-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark-card);
  margin: 2rem 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--dark-border);
}

.casino-table th,
.casino-table td {
  padding: 1.8rem;
  text-align: left;
  border-bottom: 1px solid var(--dark-border);
}

.casino-table th {
  background: var(--dark-bg);
  color: var(--dark-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casino-table tr:last-child td {
  border-bottom: none;
}

.casino-table tr:hover {
  background: rgba(0, 212, 170, 0.05);
}
