/* Template 5 - Elegant Red/Burgundy Theme */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Lato:wght@300;400;700;900&display=swap");

:root {
  --primary: #dc2626;
  --secondary: #991b1b;
  --accent: #b91c1c;
  --bg-main: #fef2f2;
  --bg-white: #ffffff;
  --bg-light: #fee2e2;
  --text-dark: #450a0a;
  --text-gray: #7f1d1d;
  --text-light: #6b7280;
  --border: #fecaca;
  --gold: #d97706;
}

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

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

body {
  font-family: "Lato", sans-serif;
  line-height: 1.7;
  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;
}

/* Centered Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.site-logo a {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

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

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

.site-nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.site-nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-main) 100%);
  position: relative;
}

.section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section.head h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -1px;
}

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

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

.section header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section header::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.section header h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 900;
  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 Cards */
.casino-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}

.casino-item {
  flex: 0 0 calc(33.333% - 1.35rem);
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.casino-item:hover::before {
  transform: scaleX(1);
}

.casino-item:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.2);
}

.casino-logo {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  filter: grayscale(0);
}

.casino-item:hover .casino-logo {
  transform: scale(1.05);
  filter: grayscale(0) brightness(1.1);
}

.casino-name {
  font-family: "Playfair Display", serif;
  font-size: 1.625rem;
  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.7;
}

.casino-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.casino-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

/* Footer */
.footer {
  background: var(--bg-white);
  border-top: 3px 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: 700;
  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-family: "Playfair Display", serif;
  font-size: 1.875rem;
  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: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.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;
}

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

.accordion-question::after {
  content: "+";
  font-size: 1.75rem;
  color: var(--primary);
  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: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}
