/* Custom Styles for PTGambleGuide - Enhanced Design */

/* Added Google Fonts and enhanced color palette */
:root {
  --gold-primary: #d4af37;
  --gold-light: #f4e4b8;
  --gold-dark: #b8941f;
  --gold-accent: #e8c547;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-cream: #fdfbf7;
  --accent-blue: #3498db;
  --accent-green: #27ae60;
}

/* Applied Google Fonts */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.subtitle {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

/* Site Logo */
.site-logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  color: var(--gold-dark);
  letter-spacing: 1px;
  font-weight: 800;
}

/* Enhanced hero section with decorative elements */
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-banner .hero-body {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(44, 62, 80, 0.6) 100%);
}

.hero-title {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 400;
  line-height: 1.6;
}

/* Decorative circles for hero */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.circle-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.circle-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
}

.decorative-pattern {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(212, 175, 55, 0.05) 10px,
    rgba(212, 175, 55, 0.05) 20px
  );
  z-index: 0;
}

/* Enhanced buttons with animations */
.button.is-warning,
.cta-button,
.visit-button,
.subscribe-button {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-accent) 100%);
  border: none;
  color: var(--text-dark);
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.button.is-warning::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.button.is-warning:hover::before {
  left: 100%;
}

.button.is-warning:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Decorative dots pattern */
.decorative-dots {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--gold-primary) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.15;
  z-index: 0;
}

.dots-left {
  top: 20%;
  left: 5%;
}

.dots-right {
  bottom: 20%;
  right: 5%;
}

/* Enhanced content sections */
.content-section {
  position: relative;
  background: var(--bg-cream);
}

.content-box {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.page-header-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-cream) 0%, white 100%);
  padding: 4rem 1.5rem 3rem;
}

.page-main-title {
  font-size: 3rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.page-main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* Decorative accents */
.decorative-accent {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 3px solid var(--gold-light);
  opacity: 0.3;
  z-index: 0;
}

.accent-top-left {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
  border-radius: 12px 0 0 0;
}

.accent-top-right {
  top: 20px;
  right: 20px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 12px 0 0;
}

/* Enhanced casino cards with ribbons */
.casinos-section {
  background: var(--bg-cream);
  padding: 4rem 1.5rem;
}

.casino-card {
  margin-bottom: 2rem;
  border: none;
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  background: white;
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-primary), var(--gold-accent));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.casino-card:hover::before {
  opacity: 1;
}

.casino-card:hover {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

/* Card ribbons */
.card-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
  color: var(--text-dark);
  padding: 5px 40px;
  font-weight: 700;
  font-size: 0.85rem;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  letter-spacing: 0.5px;
}

/* Logo wrapper with subtle animation */
.logo-wrapper {
  padding: 1rem;
  background: var(--bg-cream);
  border-radius: 12px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.casino-card:hover .logo-wrapper {
  transform: scale(1.05);
}

.casino-logo {
  max-width: 160px;
  max-height: 90px;
  object-fit: contain;
}

.casino-name {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.casino-description {
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.bonus-offer {
  background: linear-gradient(135deg, var(--gold-light) 0%, #fff9e6 100%);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border-left: 4px solid var(--gold-primary);
  margin-top: 1.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.rating .star {
  color: var(--gold-primary);
  font-size: 1.4rem;
  text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

/* Methodology section styling */
.methodology-section {
  background: white;
  position: relative;
  padding: 4rem 1.5rem;
}

.decorative-border-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.methodology-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-cream);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Responsible gaming section */
.responsible-section {
  position: relative;
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

/* Enhanced footer with wave */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: var(--text-light);
  padding: 4rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.decorative-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39 56.44c58-10.79 114.16-30.13 172-41.86 82.39-16.72 168.19-17.73 250.45-.39C823.78 31 906.67 72 985.66 92.83c70.05 18.48 146.53 26.09 214.34 3V0H0v27.35a600.21 600.21 0 00321.39 29.09z' fill='%23f8f9fa' fill-opacity='0.1'/%3E%3C/svg%3E")
    no-repeat;
  background-size: cover;
}

.footer-copyright {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-links {
  margin: 1.5rem 0;
}

.footer-links a {
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0 0.5rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.disclaimer {
  margin: 2rem auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  backdrop-filter: blur(10px);
}

.responsible-gaming-logos {

  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.responsible-gaming-logos img {
  max-height: 55px;
  max-width: 110px;
  object-fit: contain;
  transition: all 0.3s ease;

  opacity: 0.8;
}

.responsible-gaming-logos a:hover img {
  transform: scale(1.15);
  opacity: 1;
}

.responsible-gaming-logos-large {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.responsible-gaming-logos-large img {
  max-height: 75px;
  max-width: 130px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.responsible-gaming-logos-large a:hover img {
  transform: scale(1.1);
}

/* Enhanced FAQ section */
.faq-section {
  background: var(--bg-cream);
  padding: 4rem 1.5rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: none;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateX(5px);
}

.faq-question {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.75rem;
  list-style: none;
  font-family: "Inter", sans-serif;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: "▶";
  color: var(--gold-primary);
  margin-right: 1rem;
  transition: transform 0.3s ease;
  display: inline-block;
  font-size: 0.9rem;
}

.faq-item[open] .faq-question::before {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 1.25rem 0.75rem 0.75rem 3rem;
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

/* Enhanced contact section */
.contact-main-section {
  background: var(--bg-cream);
  padding: 3rem 1.5rem;
}

.contact-box,
.newsletter-box {
  position: relative;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: none;
  overflow: hidden;
}

/* Decorative corners */
.decorative-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid var(--gold-primary);
  opacity: 0.3;
  z-index: 0;
}

.corner-top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.corner-top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.corner-bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.corner-bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.contact-info p {
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.contact-info a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

/* Enhanced form styling */
.newsletter-form .input {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.input:focus,
.textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  outline: none;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #555;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .page-main-title {
    font-size: 2rem;
  }

  .casino-card .columns {
    display: block;
  }

  .casino-logo {
    margin-bottom: 1.5rem;
  }

  .card-ribbon {
    font-size: 0.75rem;
    padding: 4px 35px;
  }

  .responsible-gaming-logos img {
    max-height: 45px;
    max-width: 90px;
  }

  .decorative-circle,
  .decorative-pattern,
  .decorative-dots,
  .decorative-accent {
    display: none;
  }

  .content-box {
    padding: 2rem 1.5rem;
  }

  .navbar-menu {
    background-color: white;
  }
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
details:focus {
  outline: 3px solid var(--gold-primary);
  outline-offset: 3px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .button,
  .decorative-circle,
  .decorative-pattern,
  .decorative-dots,
  .decorative-accent,
  .card-ribbon {
    display: none;
  }
}
