/* Template 4 - Professional Green/Teal with Table Layout */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;900&family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #10b981;
  --secondary: #14b8a6;
  --accent: #059669;
  --bg-main: #f0fdf4;
  --bg-white: #ffffff;
  --bg-light: #ecfdf5;
  --text-dark: #064e3b;
  --text-gray: #047857;
  --text-light: #6b7280;
  --border: #d1fae5;
  --border-dark: #a7f3d0;
}

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

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

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 2px solid var(--primary);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.1);
}

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

.site-logo a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: -0.5px;
}

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

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.site-nav a:hover {
  color: var(--primary);
  background: var(--bg-light);
}

/* Hero Section */
.section.head {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-main) 100%);
}

.section.head h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.section.head p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
}

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

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

.section header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

/* Casino Table Layout */
.casino-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
}

.casino-item {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.casino-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
}

.casino-logo {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 5px;
  padding: 1.5rem;
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
  transition: background 0.3s ease;
}

.casino-item:hover .casino-logo {
  background: var(--bg-white);
}

.casino-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.casino-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.casino-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.casino-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: center;
}

.casino-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

/* Footer */
.footer {
  background: var(--bg-white);
  border-top: 2px solid var(--primary);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

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

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

.footer-tagline {
  color: var(--text-gray);
  line-height: 1.8;
}

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

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

.footer-links a:hover {
  color: var(--primary);
}

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

.copyright,
.copyright a {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Text Blocks */
body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* FAQ Accordion */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.faq-item:hover {
  border-color: var(--border-dark);
}

.accordion-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.faq-item.active .accordion-question {
  background: var(--primary);
  color: white;
}

.accordion-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.faq-item.active .accordion-question::after {
  transform: rotate(45deg);
}

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

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

.accordion-answer-inner {
  padding: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
