/* Global Styles */
:root {
  --color-dark: #1a0a2e;
  --color-purple: #2d1b4e;
  --color-pink: #ff006e;
  --color-yellow: #ffbe0b;
  --color-gold: #fb5607;
  --color-light: #f8f9fa;
  --color-white: #ffffff;
  --color-text: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--color-text);
  background-color: var(--color-light);
  overflow-x: hidden;
}

/* Adding decorative animated background shapes */
.decorative-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--color-yellow);
  top: 10%;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--color-pink);
  top: 50%;
  right: -50px;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--color-gold);
  bottom: 20%;
  left: 10%;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* Header/Navbar */
.navbar {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-purple) 100%);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
}

/* Text-based logo instead of image */
.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-gold) 50%, var(--color-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.navbar-item {
  color: var(--color-white) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-yellow);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

.navbar-item:hover {
  color: var(--color-yellow) !important;
  background-color: transparent !important;
}

.navbar-burger span {
  background-color: var(--color-white);
}

/* Hero Sections */
.hero-gradient {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, var(--color-yellow) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--color-gold) 0%, transparent 50%);
  opacity: 0.15;
  animation: pulse-gradient 10s infinite alternate;
}

@keyframes pulse-gradient {
  0% {
    opacity: 0.15;
  }
  100% {
    opacity: 0.25;
  }
}

/* Adding sparkle effect to hero titles */
.hero .title {
  position: relative;
  text-shadow: 0 0 20px rgba(255, 190, 11, 0.5);
}

.page-hero {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-dark) 100%);
  position: relative;
}

/* Buttons */
.button.is-primary {
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-gold) 100%);
  border: none;
  color: var(--color-white);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button.is-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.button.is-primary:hover::before {
  width: 300px;
  height: 300px;
}

.button.is-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.4);
}

.button.is-warning {
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-gold) 100%);
  border: none;
  color: var(--color-dark);
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(255, 190, 11, 0.3);
}

.button.is-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 190, 11, 0.5);
}

.cta-button {
  animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 110, 0.7);
  }
  50% {
    box-shadow: 0 0 0 25px rgba(255, 0, 110, 0);
  }
}

/* Feature Cards */
.feature-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 190, 11, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 0, 110, 0.25);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

/* Game Cards */
.popular-games-section {
  background: linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 100%);
  position: relative;
}

.game-preview-card,
.game-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-preview-card::after,
.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 0, 110, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.game-preview-card:hover::after,
.game-card:hover::after {
  opacity: 1;
}

.game-preview-card:hover,
.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 190, 11, 0.35);
}

.game-preview-card img,
.game-card .game-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-preview-card:hover img,
.game-card:hover .game-image img {
  transform: scale(1.1);
}

.game-preview-card h3,
.game-preview-card p {
  padding: 0 1.5rem;
}

.game-preview-card h3 {
  padding-top: 1rem;
}

.game-preview-card p {
  padding-bottom: 1.5rem;
}

.game-card .game-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-card .game-content p {
  flex-grow: 1;
}

/* Event Cards */
.event-preview-card,
.event-card {
  background: linear-gradient(135deg, var(--color-white) 0%, #fff5e6 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid transparent;
}

.event-preview-card:hover,
.event-card:hover {
  box-shadow: 0 15px 40px rgba(255, 0, 110, 0.25);
  transform: translateY(-10px);
  border-color: var(--color-yellow);
}

.event-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.event-details {
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: 15px;
  margin-top: 1.5rem;
  border-left: 4px solid var(--color-pink);
}

.event-details p {
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 190, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--color-dark) 0%, #0a0416 100%);
  color: var(--color-white);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-pink) 0%, var(--color-yellow) 50%, var(--color-gold) 100%);
}

.footer .title {
  color: var(--color-yellow);
  font-weight: 700;
}

.footer a {
  color: var(--color-white);
  transition: all 0.3s ease;
  position: relative;
}

.footer a:hover {
  color: var(--color-yellow);
  padding-left: 5px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.8rem;
}

/* Improved cookie banner styling and positioning */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-purple) 100%);
  color: var(--color-white);
  padding: 1.5rem;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
  border-top: 3px solid var(--color-yellow);
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content p {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Game Modal */
.modal.is-active {
  display: flex;
  z-index: 9999;
}

.modal-background {
  background-color: rgba(10, 4, 22, 0.95);
}

.game-modal-content {
  width: 95vw;
  height: 90vh;
  max-width: none;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  background: var(--color-pink);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--color-gold);
  transform: rotate(90deg);
}

.game-iframe-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.game-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Info Section */
.info-section {
  background: var(--color-light);
  padding: 3rem 0;
  position: relative;
}

/* Mission Section */
.mission-section {
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-gold) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.mission-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  height: 100%;
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
}

/* Team Cards */
.team-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}

.team-card h3,
.team-card p {
  padding: 0 1rem;
}

.team-card h3 {
  margin-top: 1rem;
}

.team-card p:last-child {
  padding-bottom: 1.5rem;
}

.team-card .subtitle {
  color: var(--color-pink);
  margin-top: -0.5rem;
}

/* Different Section */
.different-section {
  background: linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 100%);
}

.difference-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-yellow);
}

.difference-card:hover {
  box-shadow: 0 10px 30px rgba(255, 190, 11, 0.25);
  transform: translateX(5px);
}

/* Calendar/Timeline */
.calendar-section {
  background: var(--color-white);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 30px;
  bottom: -20px;
  width: 2px;
  background: var(--color-yellow);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.timeline-marker.is-primary {
  background: var(--color-pink);
}

.timeline-marker.is-warning {
  background: var(--color-yellow);
}

.timeline-marker.is-info {
  background: var(--color-gold);
}

.timeline-marker.is-danger {
  background: var(--color-purple);
}

.timeline-content {
  flex-grow: 1;
}

.timeline-content .heading {
  color: var(--color-pink);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* How To Section */
.how-to-section {
  background: var(--color-light);
}

.step-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-gold) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 5px 20px rgba(255, 0, 110, 0.3);
}

/* FAQ Section */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--color-yellow);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--color-light);
}

.faq-question h3 {
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-pink);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* Contact Page */
.contact-info-card {
  background: linear-gradient(135deg, var(--color-white) 0%, #fff5e6 100%);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-details a {
  color: var(--color-pink);
  font-weight: 600;
  font-size: 1.2rem;
}

.contact-details a:hover {
  text-decoration: underline;
}

.business-hours {
  background: var(--color-light);
  padding: 1.5rem;
  border-radius: 10px;
}

.business-hours ul {
  list-style: none;
}

.business-hours ul li {
  padding: 0.5rem 0;
}

.contact-form-container {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.map-section {
  background: var(--color-light);
}

.map-placeholder img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Blog Cards */
.blog-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-content .content {
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.tag {
  font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-light) 0%, #fff5e6 100%);
}

.newsletter-box {
  background: var(--color-white);
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

/* Thank You Page */
.thank-you-box {
  background: var(--color-white);
  padding: 4rem;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.thank-you-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-gold) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .cookie-buttons .button {
    flex: 1;
  }

  .hero.is-large .hero-body {
    padding: 3rem 1.5rem;
  }

  .game-modal-content {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }

  .timeline-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .timeline-item::before {
    left: 10px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .blog-card.featured-post .columns {
    flex-direction: column;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .shape {
    display: none;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-gold); /* A visible outline for accessibility */
  outline-offset: 3px; /* Add some space between the element and the outline */
}
