@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --primary-bg: #010B52;
  --edge-bg: #03082C;
  --text-white: #FFFFFF;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --accent-blue: #1e3a8a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at center, var(--primary-bg) 0%, var(--edge-bg) 100%);
  color: var(--text-white);
  min-height: 100vh;
  padding-top: 60px;
  overflow-x: hidden;
  position: relative;
}

/* Background Pattern Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/snake_scale_pattern.png');
  background-size: 200px 200px; /* Adjust based on asset scale */
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: overlay;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Header */
h1 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

/* Navigation List */
.nav-list {
  list-style: none;
}

.nav-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  text-decoration: none;
  color: inherit;
}

.nav-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.2s ease;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-text {
  font-size: 18px;
  font-weight: 600;
}

.chevron {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-white);
  stroke-width: 2.5;
  fill: none;
}

/* Back Button */
.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
  color: var(--text-white);
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.8;
}

.back-text {
  font-size: 16px;
  font-weight: 600;
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(30, 58, 138, 0.4);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Feedback Form */
.feedback-form {
  max-width: 600px;
  margin: 40px auto;
  text-align: left;
}

.feedback-textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
  margin-bottom: 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feedback-textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.3);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  border: none;
  border-radius: 12px;
  color: var(--text-white);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.success-message {
  display: none;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: #4ade80;
  margin-top: 20px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Content Text */
.content-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-text a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.content-text a:hover {
  color: #93c5fd;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.content-text a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.content-text a:hover::after {
  transform: scaleX(1);
}

/* Utility classes */
.mt-4 { margin-top: 1rem; }
.text-center { text-align: center; }

/* Fair Play Page Specific Styles */
.fairplay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 641px) {
  .fairplay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fairplay-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.fairplay-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fairplay-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.fairplay-card:hover::before {
  transform: scaleX(1);
}

.fairplay-icon-container {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.fairplay-card:hover .fairplay-icon-container {
  transform: scale(1.1) rotate(5deg);
  background: rgba(59, 130, 246, 0.2);
}

.fairplay-icon-container svg {
  width: 24px;
  height: 24px;
  stroke: #60a5fa;
  stroke-width: 2;
  fill: none;
}

.fairplay-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #60a5fa;
}

.fairplay-card-description {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* Page Header Enhancement */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #60a5fa;
  margin-bottom: 12px;
}
