.tos-page {
  min-height: 100vh;
  background: var(--bg-gradient-primary);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tos-page .container {
  max-width: none;
  width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 0;
  box-shadow: none;
  padding: 60px 80px;
  flex: 1;
}

.tos-page .header {
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}

.tos-page .back-link {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-700);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.tos-page .back-link:hover {
  background: var(--primary-100);
  transform: translateX(-2px);
}

.tos-page .page-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin: 0;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tos-page .tos-content {
  text-align: left;
  line-height: 1.6;
  color: #2c3e50;
}

.tos-page .last-updated {
  background: var(--primary-50);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 32px;
  border-left: 4px solid var(--primary-600);
}

.tos-page .last-updated p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}

.tos-page .tos-section {
  margin-bottom: 32px;
}

.tos-page .tos-section h2 {
  color: var(--primary-800);
  font-size: 1.5rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--primary-100);
  padding-bottom: 8px;
}

.tos-page .tos-section p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.tos-page .tos-section ul {
  margin: 16px 0;
  padding-left: 20px;
}

.tos-page .tos-section li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Mobile responsiveness */
@media (max-width: 1200px) {
  .tos-page .container {
    padding: 50px 60px;
  }
}

@media (max-width: 768px) {
  .tos-page {
    padding: 0;
  }
  .tos-page .container {
    padding: 30px 24px;
  }
  .tos-page .header {
    margin-bottom: 24px;
  }
  .tos-page .back-link {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  .tos-page .page-title {
    font-size: 2rem;
  }
  .tos-page .tos-section {
    margin-bottom: 24px;
  }
  .tos-page .tos-section h2 {
    font-size: 1.3rem;
  }
  .tos-page .tos-section p,
  .tos-page .tos-section li {
    font-size: 0.9rem;
  }
}

/* Link Styles */
.tos-page .tos-section a {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.tos-page .tos-section a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .tos-page .container {
    padding: 24px 16px;
  }
}


