:root {
  --bg-deep: #0d1117;
  --bg-card: #161b22;
  --text-main: #f5f5f5;
  --text-muted: #c1c8d1;
  --accent-blue: #3b82f6;
  --accent-orange: #f97316;
  --accent-red: #dc2626;
  --border-color: #30363d;
  --font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --spacing-unit: 1.5rem;
}

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

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--bg-deep) 0%, #1c2128 100%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  color: var(--accent-blue);
}

h3 {
  font-size: 1.5rem;
  color: var(--text-main);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #2563eb 100%);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--text-muted);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn-secondary:hover {
  border-color: var(--text-main);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.section-padding {
  padding: 4rem 0;
}

.top-strip {
  background: linear-gradient(90deg, var(--accent-orange) 0%, #ea580c 100%);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.6rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 500;
}

.desktop-nav ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.desktop-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.desktop-nav a:hover {
  color: var(--accent-blue);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.auth-link {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.auth-link:hover {
  color: var(--accent-blue);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

#overview {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.15) 0%,
      rgba(13, 17, 23, 0.9) 100%
    ),
    url("../img/hero.png") center center/cover no-repeat;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.pill-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pill {
  font-size: 0.8rem;
  padding: 0.3rem 0.9rem;
  border: 2px solid var(--accent-blue);
  border-radius: 25px;
  color: var(--accent-blue);
  font-weight: 600;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.info-col {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent-blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.info-col.negative {
  border-left-color: var(--accent-red);
}

.info-col ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.info-col ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.help-list {
  margin-top: 2rem;
  border-top: 2px solid var(--border-color);
  padding-top: 2rem;
}

.help-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.help-icon {
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.format-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.format-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.format-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-orange);
}

.guidance-box {
  background: rgba(59, 130, 246, 0.08);
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-size: 0.9rem;
  border-left: 3px solid var(--accent-blue);
}

.guidance-box strong {
  color: var(--accent-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.timeline-step {
  position: relative;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  text-align: left;
  background: var(--bg-card);
}

.step-num {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.1);
  position: absolute;
  top: 0;
  right: 1rem;
  line-height: 1;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-q {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.faq-a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.resp-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.support-box {
  background: linear-gradient(
    180deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(13, 17, 23, 0) 100%
  );
  border: 2px solid var(--accent-blue);
  padding: 2rem;
  border-radius: 10px;
}

.account-banner {
  background: var(--bg-card);
  border: 2px solid var(--accent-blue);
  padding: 3rem;
  text-align: center;
  border-radius: 10px;
  margin: 4rem 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

#age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 17, 23, 0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gate-content {
  background: var(--bg-card);
  padding: 3rem;
  max-width: 550px;
  text-align: center;
  border: 2px solid var(--accent-blue);
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-top: 2px solid var(--accent-blue);
  padding: 1.5rem;
  z-index: 5000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
    color: #fff;
  }

  .info-grid,
  .resp-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
}

.login-section,
.register-section {
  padding: 4rem 0;
  min-height: calc(100vh - 500px);
}

.login-card,
.register-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  padding: 3rem;
  border-radius: 12px;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.login-header,
.reg-header {
  margin-bottom: 2rem;
  text-align: center;
}

.login-header h1,
.reg-header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.login-header p,
.reg-header p {
  font-size: 0.9rem;
}

.notice-box,
.info-box {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.notice-icon,
.info-icon {
  color: var(--accent-blue);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.08);
}

.checkbox-group {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.3rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-label a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: #60a5fa;
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--accent-blue);
  font-weight: 500;
  text-decoration: underline;
}

.form-footer a:hover {
  color: #60a5fa;
}

.main {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.main h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.main h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.main h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.main h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.main p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.main ul,
.main ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.main ul {
  list-style: disc;
}

.main ol {
  list-style: decimal;
}

.main li {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.main a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.main a:hover {
  color: #60a5fa;
}

.main strong {
  color: var(--text-main);
  font-weight: 600;
}

.main em {
  color: var(--accent-blue);
  font-style: italic;
}

.main .toc {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.main .toc h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--accent-blue);
}

.main .toc ul {
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}

.main .toc li {
  margin-bottom: 0.5rem;
}

.main .toc a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.main .toc a:hover {
  color: var(--accent-blue);
}

.highlight-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-blue);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 10px 10px 0;
}

.myth-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.myth-card,
.fact-card {
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid var(--border-color);
}

.myth-card {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
}

.fact-card {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.myth-label {
  color: var(--accent-red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.fact-label {
  color: var(--accent-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.resources-list {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  border: 2px solid var(--border-color);
  padding: 2rem;
  border-radius: 10px;
}

.resource-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.resource-name {
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .myth-fact-grid {
    grid-template-columns: 1fr;
  }
}

.table-responsive {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  min-width: 600px;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

th {
  background-color: rgba(13, 17, 23, 0.7);
  color: var(--accent-blue);
  font-weight: 600;
}

td {
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

.site-footer {
  background: linear-gradient(180deg, #1a1f27 0%, #0f1319 100%);
  color: #d4d4d4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: 14px;
  line-height: 1.8;
  padding: 40px 20px;
  text-align: center;
  border-top: 3px solid var(--accent-blue);
}

.site-footer p {
  margin: 10px auto;
  max-width: 900px;
  color: #d4d4d4;
}

.site-footer strong {
  color: #ffffff;
  font-weight: 600;
}

.site-footer a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.site-footer .footer-warning {
  color: var(--accent-red);
  font-weight: bold;
  font-size: 15px;
}

.site-footer .footer-links {
  font-size: 13px;
}

.site-footer .footer-links a {
  color: #999;
  margin: 0 10px;
}

.site-footer .footer-links a:hover {
  color: var(--accent-blue);
}

.site-footer .footer-copyright {
  margin-top: 25px;
  font-size: 12px;
  color: #777;
  padding-top: 20px;
  border-top: 1px solid #333;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 30px 15px;
  }
}
