@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --primary: #00d2ff;
  --primary-light: #70e1ff;
  --primary-dark: #00a8cc;
  --primary-glow: rgba(0, 210, 255, 0.15);
  --bg-dark: #050505;
  --bg-card: rgba(15, 15, 15, 0.85);
  --bg-card-hover: rgba(25, 25, 25, 0.95);
  --glass-border: rgba(255, 255, 255, 0.065);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-main: #FFFFFF;
  --text-muted: #cccccc;
  --text-dim: #777777;
  
  --font-header: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 16px;
  --radius-sm: 8px;
}

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

html, body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Subtle background glow effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 15%, var(--primary-glow) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

/* Header & Logo */
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.logo-img:hover {
  opacity: 1;
}

.logo-text {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
}

.logo-text span {
  color: var(--primary);
}

.back-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--primary);
  border-color: var(--primary-dark);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Card Styling */
.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-card {
  text-align: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Typography */
h1 {
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--text-main);
  text-transform: uppercase;
}

.title-glow {
  text-shadow: 0 0 15px var(--primary-glow);
}

h2 {
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding-left: 12px;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
  color: var(--text-main);
}

p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 15px;
}

ul, ol {
  margin-bottom: 25px;
  margin-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
}

li {
  margin-bottom: 8px;
}

.intro-text {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 35px;
}

.meta-info {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: -10px;
  margin-bottom: 30px;
}

/* Buttons */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2);
}

.btn-primary:hover {
  background: var(--text-main);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(0, 210, 255, 0.03);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-2px);
}

/* Info Box / Alert Styling */
.info-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 25px 0;
  border-left: 3px solid var(--primary);
}

.info-box p:last-child {
  margin-bottom: 0;
}

.placeholder-text {
  background: rgba(0, 210, 255, 0.08);
  border: 1px dashed rgba(0, 210, 255, 0.4);
  padding: 2px 6px;
  color: var(--primary-light);
  font-family: var(--font-mono);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

/* Footer style in legal */
.bot-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-dim);
}

.bot-footer p {
  color: var(--text-dim);
  font-size: 13px;
}

.bot-footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.bot-footer a:hover {
  text-decoration: underline;
  color: var(--primary-light);
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 10px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Responsive adjustment */
@media (max-width: 600px) {
  .hero-card {
    padding: 40px 20px;
  }
  .card {
    padding: 25px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .header-nav {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
