/* Policy Pages Specific Styles */

/* Policy Content */
.policy-content {
  background: #1a0d2e;
  padding: 80px 0;
  min-height: 80vh;
}

.policy-header {
  text-align: center;
  margin-bottom: 60px;
}

.policy-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.policy-subtitle {
  font-size: 1.2rem;
  color: #d4af37;
  font-weight: 500;
}

.policy-body {
  max-width: 900px;
  margin: 0 auto;
}

.policy-section {
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  border: 2px solid #d4af37;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.policy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.policy-section:hover::before {
  left: 100%;
}

.policy-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
  border-color: #b8941f;
}

.policy-section h2 {
  color: #d4af37;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.policy-section p {
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.policy-section ul {
  margin: 15px 0;
  padding-left: 20px;
  position: relative;
  z-index: 2;
}

.policy-section li {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
  position: relative;
}

.policy-section li::before {
  content: "•";
  color: #d4af37;
  font-weight: bold;
  position: absolute;
  left: -20px;
}

/* Support Resources for Responsible Gaming */
.support-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.resource-card {
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  border: 2px solid #d4af37;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.resource-card:hover::before {
  left: 100%;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
  border-color: #b8941f;
}

.resource-card h3 {
  color: #d4af37;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.resource-card p {
  color: #e0e0e0;
  font-size: 0.95rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.resource-link {
  display: inline-block;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a0d2e;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.resource-link:hover {
  background: linear-gradient(135deg, #b8941f, #d4af37);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Active Navigation Link */
.nav-link.active {
  color: #d4af37;
}

.nav-link.active::after {
  width: 100%;
}

/* Footer Active Link */
.footer-right a.active {
  color: #d4af37;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .policy-title {
    font-size: 2.5rem;
  }

  .policy-section {
    padding: 20px;
    margin-bottom: 20px;
  }

  .policy-section h2 {
    font-size: 1.5rem;
  }

  .support-resources {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .resource-card {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .policy-title {
    font-size: 2rem;
  }

  .policy-subtitle {
    font-size: 1rem;
  }

  .policy-section {
    padding: 15px;
  }

  .policy-section h2 {
    font-size: 1.3rem;
  }

  .policy-section p,
  .policy-section li {
    font-size: 0.95rem;
  }
}

/* Animation for policy sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.policy-section {
  animation: fadeInUp 0.6s ease forwards;
}

.policy-section:nth-child(2) {
  animation-delay: 0.1s;
}

.policy-section:nth-child(3) {
  animation-delay: 0.2s;
}

.policy-section:nth-child(4) {
  animation-delay: 0.3s;
}

.policy-section:nth-child(5) {
  animation-delay: 0.4s;
}

/* Scroll indicator */
.policy-content::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #b8941f);
  z-index: 1000;
  transform: scaleX(0);
  transform-origin: left;
  animation: scrollProgress 2s ease forwards;
}

@keyframes scrollProgress {
  to {
    transform: scaleX(1);
  }
}
