/* Enhanced styles with decorative elements, improved animations, and visual effects */
/* Custom Styles for Aoraki View - Free Social Online Casino */

:root {
  --primary-blue: #0a1128;
  --secondary-blue: #1e3a5f;
  --accent-blue: #2d5a8a;
  --accent-yellow: #ffd700;
  --light-yellow: #fff4cc;
  --text-light: #ffffff;
  --text-dark: #2c3e50;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text-light);
  position: relative;
  overflow-x: hidden;
}

/* Decorative background elements */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
  z-index: 0;
  pointer-events: none;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

/* Header Styles */
.main-header {
  background: rgba(10, 17, 40, 0.98);
  border-bottom: 3px solid var(--accent-yellow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Enhanced text logo with decorative elements */
.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-yellow);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 2px 2px 8px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.logo-text i {
  font-size: 1.5rem;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.logo-text:hover {
  color: #ffed4e;
  transform: scale(1.05);
  text-shadow: 3px 3px 12px rgba(255, 215, 0, 0.6);
}

.navbar-item {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.navbar-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-yellow);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

.navbar-item:hover {
  color: var(--accent-yellow) !important;
  background: rgba(255, 215, 0, 0.1) !important;
}

/* Enhanced hero section with decorative elements */
.hero-section {
  background: linear-gradient(135deg, rgba(10, 17, 40, 0.95), rgba(30, 58, 95, 0.85)),
    url("/placeholder.svg?height=600&width=1920") center / cover;
  padding: 8rem 1.5rem;
  text-align: center;
  border-bottom: 5px solid var(--accent-yellow);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 215, 0, 0.03) 10px,
    rgba(255, 215, 0, 0.03) 20px
  );
  animation: slide 30s linear infinite;
  pointer-events: none;
}

@keyframes slide {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent-yellow);
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
  position: relative;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease 0.2s both;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #ffed4e 100%);
  color: var(--primary-blue);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
  color: var(--primary-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-yellow);
  border: 2px solid var(--accent-yellow);
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--accent-yellow);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Enhanced card styles with decorative borders */
.custom-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(45, 90, 138, 0.85));
  border: 2px solid var(--accent-yellow);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.custom-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.custom-card:hover::before {
  top: -20%;
  right: -20%;
  width: 150px;
  height: 150px;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
  border-color: #ffed4e;
}

.card-icon {
  font-size: 3rem;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.card-title {
  color: var(--accent-yellow);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.card-content {
  color: var(--text-light);
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* Section Styles */
.section-custom {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-yellow);
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--light-yellow);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Enhanced game cards with animations */
.game-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.98), rgba(45, 90, 138, 0.92));
  border: 3px solid var(--accent-yellow);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  transition: left 0.5s;
}

.game-card:hover::after {
  left: 100%;
}

.game-card:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.5);
}

.game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-yellow);
  transition: all 0.4s ease;
}

.game-card:hover img {
  transform: scale(1.1);
}

.game-info {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.game-title {
  color: var(--accent-yellow);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Modal Styles */
.modal-background {
  background-color: rgba(10, 17, 40, 0.97);
  backdrop-filter: blur(5px);
}

.modal-card {
  background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
  border: 3px solid var(--accent-yellow);
  border-radius: 15px;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-card-head {
  background: var(--primary-blue);
  border-bottom: 3px solid var(--accent-yellow);
  padding: 1.5rem;
}

.modal-card-title {
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 1.4rem;
}

.modal-card-body {
  padding: 0;
  height: 70vh;
  background: #000;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Styles */
.main-footer {
  background: var(--primary-blue);
  border-top: 4px solid var(--accent-yellow);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.footer-title {
  color: var(--accent-yellow);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  padding-left: 0;
}

.footer-link:hover {
  color: var(--accent-yellow);
  padding-left: 5px;
}

/* Improved cookie banner with better positioning and no blocking */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(10, 17, 40, 0.98), rgba(30, 58, 95, 0.98));
  border: 3px solid var(--accent-yellow);
  border-radius: 15px;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: none;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  color: var(--text-light);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-text a:hover {
  color: #ffed4e;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.8rem;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.cookie-accept {
  background: linear-gradient(135deg, var(--accent-yellow), #ffed4e);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.cookie-decline {
  background: transparent;
  color: var(--accent-yellow);
  border: 2px solid var(--accent-yellow);
}

.cookie-decline:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

/* FAQ Accordion */
.faq-item {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(45, 90, 138, 0.85));
  border: 2px solid var(--accent-yellow);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #ffed4e;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.faq-question {
  background: rgba(10, 17, 40, 0.6);
  color: var(--accent-yellow);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(10, 17, 40, 0.8);
  padding-left: 2rem;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-answer.show {
  padding: 1.5rem;
  max-height: 600px;
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(45, 90, 138, 0.85));
  border: 2px solid var(--accent-yellow);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-label {
  color: var(--accent-yellow);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 1.1rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--accent-yellow);
  border-radius: 10px;
  background: rgba(10, 17, 40, 0.7);
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ffed4e;
  background: rgba(10, 17, 40, 0.9);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(45, 90, 138, 0.85));
  border: 2px solid var(--accent-yellow);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent-yellow);
  margin-right: 1rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.contact-link {
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #ffed4e;
}

/* Blog Cards */
.blog-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(45, 90, 138, 0.85));
  border: 2px solid var(--accent-yellow);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid var(--accent-yellow);
  transition: all 0.4s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--light-yellow);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.blog-title {
  color: var(--accent-yellow);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.blog-excerpt {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Event Cards */
.event-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(45, 90, 138, 0.85));
  border: 2px solid var(--accent-yellow);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.1), transparent);
  transition: top 0.4s ease;
}

.event-card:hover::before {
  top: 0;
}

.event-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

.event-icon {
  font-size: 4rem;
  color: var(--accent-yellow);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  position: relative;
  z-index: 2;
}

.event-title {
  color: var(--accent-yellow);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

/* Team Cards */
.team-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(45, 90, 138, 0.85));
  border: 2px solid var(--accent-yellow);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--accent-yellow);
  margin: 0 auto 1rem;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.team-name {
  color: var(--accent-yellow);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--light-yellow);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #ffed4e 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 25px;
  margin: 3rem 0;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.1) 20px,
    rgba(255, 255, 255, 0.1) 40px
  );
  animation: slide 20s linear infinite;
}

.cta-title {
  color: var(--primary-blue);
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.cta-text {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}

/* Lazy Loading */
img[loading="lazy"] {
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}
