/* IsleVibe Casino Custom Styles */
:root {
  --primary-dark: #1a0000;
  --primary-red: #dc143c;
  --primary-yellow: #ffd700;
  --accent-orange: #ff6b35;
  --text-light: #ffffff;
  --text-dark: #2b2b2b;
  --bg-dark: #0f0f0f;
  --bg-card: #1a1a1a;
  --shadow: rgba(220, 20, 60, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  min-height: 100vh;
}

/* Header Styles */
.navbar {
  background: rgba(26, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-red);
  box-shadow: 0 4px 20px var(--shadow);
}

.navbar-brand .logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--accent-orange) 50%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(220, 20, 60, 0.3);
  position: relative;
  display: inline-block;
  padding: 0.2rem 0;
}

.navbar-brand .logo-text::before {
  content: "🎰";
  margin-right: 0.3rem;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.navbar-brand .logo-text:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.navbar-item {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
}

.navbar-item:hover {
  color: var(--primary-yellow) !important;
  background-color: rgba(220, 20, 60, 0.1) !important;
}

.navbar-burger span {
  background-color: var(--primary-yellow) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(26, 0, 0, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%),
    url("/placeholder.svg?height=600&width=1920") center / cover;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(45deg, rgba(220, 20, 60, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(220, 20, 60, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(220, 20, 60, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(220, 20, 60, 0.05) 75%);
  background-size: 100px 100px;
  background-position: 0 0, 0 50px, 50px -50px, -50px 0px;
  opacity: 0.3;
  pointer-events: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(220, 20, 60, 0.8);
  position: relative;
  z-index: 1;
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Buttons */
.button.is-primary-custom {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-orange) 100%);
  color: var(--text-light);
  font-weight: 600;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.button.is-primary-custom::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.button.is-primary-custom:hover::before {
  width: 300px;
  height: 300px;
}

.button.is-primary-custom:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px var(--shadow);
}

.button.is-secondary-custom {
  background: transparent;
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.button.is-secondary-custom:hover {
  background: var(--primary-yellow);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Cards */
.custom-card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(220, 20, 60, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.custom-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.custom-card:hover::before {
  left: 100%;
}

.custom-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 50px var(--shadow);
  border-color: var(--primary-yellow);
}

.custom-card h3 {
  color: var(--primary-yellow);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.custom-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Game Card */
.game-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: var(--primary-yellow);
  transform: scale(1.05);
  box-shadow: 0 15px 40px var(--shadow);
}

.game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.1);
}

.game-card-content {
  padding: 1.5rem;
}

.game-card-title {
  color: var(--primary-yellow);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.game-card-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Section Styles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--primary-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-content {
  padding: 80px 20px;
  background: rgba(15, 15, 15, 0.5);
}

/* Footer */
.footer-custom {
  background: var(--primary-dark);
  border-top: 2px solid var(--primary-red);
  padding: 3rem 1.5rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-custom a {
  color: var(--primary-yellow);
  transition: color 0.3s ease;
}

.footer-custom a:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(220, 20, 60, 0.3);
  font-size: 0.9rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 0, 0, 0.98);
  border-top: 3px solid var(--primary-red);
  padding: 1.5rem;
  z-index: 999; /* Reduced from 9999 to allow modals to appear above */
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.8);
  display: none;
  backdrop-filter: blur(15px);
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cookie-banner p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
}

/* Modal */
.modal {
  z-index: 10000; /* Above cookie banner */
}

.modal-background {
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  width: 90%;
  max-width: 1200px;
  height: 80vh;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.modal-close {
  background-color: var(--primary-red);
  border-radius: 50%;
}

.modal-close:hover {
  background-color: var(--accent-orange);
}

/* FAQ Accordion */
.accordion-item {
  background: var(--bg-card);
  border: 1px solid rgba(220, 20, 60, 0.3);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.3) 0%, rgba(255, 107, 53, 0.2) 100%);
}

.accordion-header h3 {
  color: var(--primary-yellow);
  font-size: 1.2rem;
  margin: 0;
}

.accordion-icon {
  color: var(--primary-yellow);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 1.5rem;
}

.accordion-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(220, 20, 60, 0.3);
}

.contact-form .field label {
  color: var(--primary-yellow);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 20, 60, 0.3);
  color: var(--text-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-yellow);
  outline: none;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Blog Card */
.blog-card {
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(220, 20, 60, 0.3);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow);
  border-color: var(--primary-red);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--accent-orange);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-title {
  color: var(--primary-yellow);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-excerpt {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Event Card */
.event-card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-left: 4px solid var(--primary-yellow);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateX(10px);
  border-left-color: var(--accent-orange);
}

.event-date {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.event-title {
  color: var(--primary-yellow);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.event-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner-buttons button {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* Contact Info Cards */
.contact-info-card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(220, 20, 60, 0.3);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--primary-yellow);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 3rem;
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.contact-info-card h3 {
  color: var(--primary-yellow);
  margin-bottom: 0.5rem;
}

.contact-info-card a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--accent-orange);
}

/* Team Card */
.team-card {
  text-align: center;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-yellow);
}

.team-card h4 {
  color: var(--primary-yellow);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.team-card p {
  color: var(--accent-orange);
  font-size: 0.95rem;
}

/* Lazy Loading */
img[loading="lazy"] {

  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Age Disclaimer */
.age-disclaimer {
  background: rgba(220, 20, 60, 0.1);
  border: 2px solid var(--primary-red);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.age-disclaimer strong {
  color: var(--primary-yellow);
  font-size: 1.1rem;
}

/* Added decorative floating elements and improved animations */
.decorative-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.4) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.decorative-element-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -150px;
  animation-delay: 0s;
}

.decorative-element-2 {
  width: 400px;
  height: 400px;
  top: 50%;
  right: -200px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  animation-delay: 7s;
}

.decorative-element-3 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
  animation-delay: 14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  25% {
    transform: translate(30px, -50px) scale(1.1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-20px, -80px) scale(0.9);
    opacity: 0.6;
  }
  75% {
    transform: translate(40px, -40px) scale(1.05);
    opacity: 0.8;
  }
}

/* Added sparkle effect for decorative elements */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-yellow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-yellow);
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
