/* Template 4 - Ocean Blue Theme */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap");

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #06b6d4;
  --accent: #38bdf8;
  --success: #22d3ee;

  --bg-primary: #f0f9ff;
  --bg-secondary: #e0f2fe;
  --bg-tertiary: #bae6fd;
  --bg-card: #ffffff;

  --text-primary: #0c4a6e;
  --text-secondary: #075985;
  --text-muted: #0369a1;
  --text-light: #7dd3fc;

  --border: #7dd3fc;
  --border-light: #bae6fd;
  --shadow: 0 4px 6px -1px rgb(14 165 233 / 0.1), 0 2px 4px -2px rgb(14 165 233 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(14 165 233 / 0.1), 0 8px 10px -6px rgb(14 165 233 / 0.1);

  --font-sans: "Poppins", sans-serif;
  --font-mono: "Roboto Mono", monospace;
}

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

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

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 25% 25%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

/* Header */
.site-header {
  background: rgba(240, 249, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.site-logo a {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-logo a:hover {
  color: var(--secondary);
  transform: scale(1.05);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: transparent;
  border: 2px solid transparent;
}

.site-nav a:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

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

.section.head::before {
  content: "";
  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 100 100"><circle cx="50" cy="50" r="2" fill="%230ea5e9" opacity="0.3"><animate attributeName="r" values="2;4;2" dur="3s" repeatCount="indefinite"/></circle></svg>');
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.section.head h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.section.head p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.section:nth-child(even) {
  background: var(--bg-secondary);
}

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

.section header h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.casino-item {
  flex: 0 0 calc(33.333% - 1.5rem);
  min-width: 320px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 18px;
}

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

.casino-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.casino-header {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  border-bottom: 2px solid var(--border-light);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.casino-logo:hover {
  transform: scale(1.05) rotate(1deg);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
}

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

.casino-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.rating .stars {
  width: 120px;
  height: 20px;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--border);
}

.rating .stars .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.rating .text {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

.casino-body {
  padding: 2rem;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 15px;
  color: white;
  position: relative;
  overflow: hidden;
}

.casino-bonus::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent), var(--primary), var(--secondary));
  border-radius: 17px;
  z-index: -1;
  animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bonus-amount {
  font-size: 26px;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.free-spins {
  font-size: 16px;
  font-weight: 500;
}

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

.feature-tag {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--border);
}

.feature-tag:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.casino-details {
  margin-bottom: 2rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--border-light);
}

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

.detail-item:hover {
  background: var(--bg-tertiary);
  transform: translateX(5px);
}

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

.detail-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 600;
}

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

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--success) 0%, var(--secondary) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.casino-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.4);
}

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

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

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
}

.accordion-question {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 1.5rem 2rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-question:hover {
  background: var(--bg-secondary);
}

.accordion-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.faq-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--secondary);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  padding: 3rem 0 1rem;
  border-top: 2px solid var(--border);
  margin-top: 4rem;
}

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

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

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

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

.copyright {
  color: var(--text-muted);
  font-size: 14px;
}

/* Animations */
@keyframes waveIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: waveIn 0.6s 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;
}
