/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #e8f5e9;
  background: linear-gradient(
    135deg,
    #0a1a0f 0%,
    #0d2e1a 25%,
    #0f3d21 50%,
    #0d2e1a 75%,
    #0a1a0f 100%
  );
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(46, 139, 87, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 215, 0, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(46, 139, 87, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header Styles */
.header {
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.95) 0%,
    rgba(13, 46, 26, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(46, 139, 87, 0.3);
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 1.5rem;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
  white-space: nowrap;
  letter-spacing: 1px;
  animation: glow-pulse 3s ease-in-out infinite;
  position: relative;
}

.logo h1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(10px);
  opacity: 0.5;
  z-index: -1;
  animation: shimmer 2s linear infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9));
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.95rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.nav a:hover::before {
  left: 100%;
}

.nav a:hover {
  background: rgba(255, 215, 0, 0.15);
  transform: translateY(-3px);
  color: #ffd700;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.play-now-nav {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  background-size: 200% 200%;
  color: #0a1a0f !important;
  font-weight: 800;
  padding: 0.6rem 1.5rem !important;
  border-radius: 30px !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  animation: button-glow 2s ease-in-out infinite;
  border: 2px solid rgba(255, 215, 0, 0.5);
}

.play-now-nav::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes button-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 8px 25px rgba(0, 0, 0, 0.4),
      0 0 40px rgba(255, 215, 0, 0.4);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.play-now-nav:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 0 40px rgba(255, 215, 0, 1), 0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 215, 0, 0.6) !important;
  background-position: 100% 0;
}

/* Hamburger Menu */
#hamburger-checkbox {
  display: none;
}

.hamburger-label {
  display: none;
  position: relative;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-label span {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hamburger-label span:nth-child(1) {
  top: 0;
}

.hamburger-label span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-label span:nth-child(3) {
  bottom: 0;
}

#hamburger-checkbox:checked ~ .hamburger-label span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
  top: 50%;
}

#hamburger-checkbox:checked ~ .hamburger-label span:nth-child(2) {
  transform: scale(0);
  opacity: 0;
}

#hamburger-checkbox:checked ~ .hamburger-label span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
  bottom: 50%;
}

/* Hero Section */
.hero {
  background: transparent;
  color: white;
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/Shadow Emerald Arena.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.4;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 26, 15, 0.85) 0%,
    rgba(13, 46, 26, 0.75) 50%,
    rgba(10, 26, 15, 0.85) 100%
  );
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 50% 50%,
      rgba(46, 139, 87, 0.2) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 215, 0, 0.15) 0%,
      transparent 50%
    );
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
  letter-spacing: 2px;
  animation: title-glow 3s ease-in-out infinite;
  line-height: 1.2;
}

@keyframes title-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
  }
}

.hero h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  position: relative;
}

.hero h2::after {
  display: none;
}

.hero-text {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.25) 0%,
    rgba(255, 237, 78, 0.15) 100%
  );
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  backdrop-filter: blur(10px);
  animation: text-pulse 2s ease-in-out infinite;
  letter-spacing: 0.5px;
}

@keyframes text-pulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4),
      inset 0 0 20px rgba(255, 215, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6),
      inset 0 0 30px rgba(255, 215, 0, 0.2);
  }
}

.free-text {
  font-size: 1.5rem;
  margin: 2rem 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  background-size: 200% 200%;
  color: #0a1a0f;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  margin-top: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.6);
  animation: cta-glow 2.5s ease-in-out infinite;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 10px 30px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 15px 40px rgba(0, 0, 0, 0.5),
      0 0 60px rgba(255, 215, 0, 0.5);
  }
}

.cta-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: rotate(45deg);
  animation: button-shine 3s infinite;
}

@keyframes button-shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 60px rgba(255, 215, 0, 1), 0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(255, 215, 0, 0.7);
  background-position: 100% 0;
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

section:nth-child(even) {
  background: linear-gradient(
    135deg,
    rgba(10, 26, 15, 0.6) 0%,
    rgba(13, 46, 26, 0.4) 100%
  );
}

section h2 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  letter-spacing: 1px;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  animation: section-title-glow 3s ease-in-out infinite;
}

@keyframes section-title-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
  }
}

section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(
    90deg,
    transparent,
    #ffd700,
    #ffed4e,
    #ffd700,
    transparent
  );
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  animation: line-glow 2s ease-in-out infinite;
}

@keyframes line-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 1);
    opacity: 0.9;
  }
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

/* CTA Wrapper */
.cta-wrapper {
  text-align: center;
  margin-top: 3rem;
}

/* Leaderboard Image */
.leaderboard-image {
  margin-bottom: 3rem;
}

.section-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(46, 139, 87, 0.3);
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.section-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 215, 0, 0.5);
  border-color: rgba(255, 215, 0, 0.5);
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.section-image:hover img {
  transform: scale(1.05);
}

/* CTA Wrapper */
.cta-wrapper {
  text-align: center;
  margin-top: 3rem;
}

/* Guide Section */
.guide-content {
  max-width: 900px;
  margin: 0 auto;
}

.guide-text {
  color: rgba(255, 255, 255, 0.9);
}

.guide-text > p:first-child {
  font-size: 1.3rem;
  line-height: 1.9;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 400;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.guide-step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.8) 0%,
    rgba(13, 46, 26, 0.6) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(46, 139, 87, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.guide-step:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.5);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #0a1a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.step-content h3 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.step-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

.guide-tips {
  margin: 3rem 0;
  padding: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.8) 0%,
    rgba(13, 46, 26, 0.6) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(46, 139, 87, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.guide-tips h3 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.guide-tips ul {
  list-style: none;
  padding: 0;
}

.guide-tips li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 2;
  padding-left: 2rem;
  position: relative;
  font-weight: 400;
}

.guide-tips li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-weight: 800;
  font-size: 1.3rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.guide-reminder {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 215, 0, 0.9);
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15) 0%,
    rgba(255, 237, 78, 0.1) 100%
  );
  border-radius: 15px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Leaderboard */
#leaderboard {
  position: relative;
  overflow: hidden;
}

#leaderboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/Royal Emerald Cardscape.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.4;
}

#leaderboard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 26, 15, 0.6) 0%,
    rgba(13, 46, 26, 0.5) 50%,
    rgba(10, 26, 15, 0.6) 100%
  );
  z-index: 1;
}

#leaderboard .container {
  position: relative;
  z-index: 2;
}

.leaderboard-table {
  max-width: 700px;
  margin: 3rem auto;
}

.leader-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 2rem;
  margin: 1.2rem 0;
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.8) 0%,
    rgba(13, 46, 26, 0.6) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(46, 139, 87, 0.2);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.leader-item::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;
}

.leader-item:hover::before {
  left: 100%;
}

.leader-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.5);
}

.rank {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-color: rgba(15, 61, 33, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
    inset 0 0 10px rgba(255, 215, 0, 0.2);
}

.name {
  font-weight: 700;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.score {
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.3rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Security */
.security-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 4rem 0;
}

.security-item {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.8) 0%,
    rgba(13, 46, 26, 0.6) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(46, 139, 87, 0.2);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.security-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.security-item:hover::before {
  opacity: 1;
}

.security-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.5);
  border-color: rgba(255, 215, 0, 0.5);
}

.security-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
  animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.security-item h3 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.security-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  font-weight: 400;
}

/* FAQ */
#faq {
  position: relative;
  overflow: hidden;
}

#faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/Shadow Emerald Arena.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.3;
}

#faq::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 26, 15, 0.85) 0%,
    rgba(13, 46, 26, 0.75) 50%,
    rgba(10, 26, 15, 0.85) 100%
  );
  z-index: 1;
}

#faq .container {
  position: relative;
  z-index: 2;
}

.faq-item {
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.8) 0%,
    rgba(13, 46, 26, 0.6) 100%
  );
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  margin: 1.8rem 0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(46, 139, 87, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.4s ease;
}

.faq-item:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.4);
}

.faq-item h3 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.faq-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 400;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.review-card {
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.8) 0%,
    rgba(13, 46, 26, 0.6) 100%
  );
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(46, 139, 87, 0.2);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.review-card:hover::before {
  transform: scaleX(1);
}

.review-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.5);
}

.review-card h4 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.review-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  font-weight: 400;
}

/* Contact */
.contact-intro {
  text-align: center;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 400;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.8) 0%,
    rgba(13, 46, 26, 0.6) 100%
  );
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(46, 139, 87, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.5);
}

.contact-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
  animation: icon-float 3s ease-in-out infinite;
}

.contact-card h3 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.contact-card p {
  font-size: 1.1rem;
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.6;
}

.contact-link {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  display: inline-block;
  margin-top: 0.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.contact-link:hover {
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: linear-gradient(
    135deg,
    rgba(10, 26, 15, 0.95) 0%,
    rgba(13, 46, 26, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  color: white;
  padding: 3rem 0;
  text-align: center;
  border-top: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 215, 0, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.footer-banners {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-banner {
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.footer-banner:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.age-banner {
  height: 2rem;
  cursor: default;
}

.gambleaware-banner {
  height: 1rem;
}

.gamecare-banner {
  height: 2rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.95) 0%,
    rgba(13, 46, 26, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  padding: 3.5rem;
  border-radius: 25px;
  text-align: center;
  max-width: 550px;
  margin: 0 1rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(46, 139, 87, 0.4);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.modal-content h2 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.modal-content p {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.modal-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #0a1a0f;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.9), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 61, 33, 0.95) 0%,
    rgba(13, 46, 26, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  color: white;
  padding: 2rem;
  z-index: 1500;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(46, 139, 87, 0.3);
  border-top: 2px solid rgba(255, 215, 0, 0.3);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 400;
}

.cookie-content a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.cookie-content a:hover {
  color: #ffed4e;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Legal Pages */
.legal-page {
  padding: 140px 0 60px;
  min-height: calc(100vh - 200px);
}

.legal-page section {
  padding: 0;
  margin-bottom: 2rem;
  background: transparent;
}

.legal-page h1 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.legal-page h2 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.2rem;
  margin: 1.5rem 0 1rem;
  font-weight: 700;
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.legal-page h2::after {
  display: none;
}

.legal-page h3 {
  color: rgba(255, 215, 0, 0.9);
  font-size: 1.6rem;
  margin: 1.5rem 0 0.8rem;
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.legal-page ul {
  margin-left: 2.5rem;
  margin-bottom: 1.5rem;
}

.legal-page a {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.legal-page a:hover {
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

/* Responsive Design */
@media (max-width: 900px) {
  .hamburger-label {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    right: 0;
    background: linear-gradient(
      135deg,
      rgba(15, 61, 33, 0.98) 0%,
      rgba(13, 46, 26, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    flex-direction: column;
    width: 280px;
    padding: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    border-radius: 0 0 0 25px;
    border-left: 2px solid rgba(255, 215, 0, 0.3);
    z-index: 1000;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  #hamburger-checkbox:checked ~ .nav {
    transform: translateX(0);
  }

  .play-now-nav {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    padding: 0.7rem 1.2rem !important;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero-text {
    font-size: 1.4rem;
  }

  .header-content {
    gap: 1rem;
  }

  .logo h1 {
    font-size: 1.3rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 100px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .hero-text {
    font-size: 1.2rem;
    padding: 1.5rem;
  }

  .free-text {
    font-size: 1.2rem;
  }

  section {
    padding: 80px 0;
  }

  section h2 {
    font-size: 2.2rem;
  }

  .leader-item {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
    padding: 1.5rem;
  }

  .security-features {
    flex-direction: column;
    align-items: stretch;
  }

  .security-item {
    max-width: 100%;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .modal-content {
    padding: 2.5rem;
    margin: 1rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero-text {
    font-size: 1.1rem;
    padding: 1.2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .nav {
    width: 220px;
    padding: 2rem;
  }

  .leader-item {
    padding: 1.2rem;
  }

  .faq-item,
  .review-card,
  .security-item,
  .contact-info {
    padding: 2rem;
  }

  .legal-page {
    padding: 120px 0 80px;
  }
}
