@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@300;400;500&display=swap');

:root {
  --bg-dark: rgba(13,13,13,0.64);
  --bg-darker: rgba(13,13,13,0.9);
  --accent: #f22c35;
  --text: #ffffff;
  --muted: #dddddd;
  --muted-light: #bbbbbb;
  --radius: 14px;
  --shadow: 0 5px 20px rgba(0,0,0,0.3);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background: url("images/backgorund.png") no-repeat center bottom fixed;
  background-size: cover;
  color: var(--text);
}

.terms-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;   /* Ortala */
  align-items: center;       /* Dikey ortala */
  padding: 0;
}

.terms-box {
  position: relative;
  width: 860px;
  max-width: 95vw;
  height: 80vh;
  background: var(--bg-dark);
  backdrop-filter: blur(3px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;

  opacity: 0;
  transform: translateY(30px) scale(0.98);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.back-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.back-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.terms-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 700;
  margin: 0;
  position: relative;
}

.terms-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-top: 10px;
  border-radius: 2px;
}

.terms-subtitle {
  font-size: 16px;
  color: var(--muted-light);
  margin-bottom: 6px;
}

.terms-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
  line-height: 1.6;
}

.terms-section {
  padding: 12px 0;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.terms-section:hover {
  background: var(--bg-darker);
  border-color: var(--accent);
}

.terms-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  margin: 0 0 6px;
}
.terms-section p {
  color: var(--muted);
  margin: 0 0 8px;
}
.terms-section ul {
  margin: 6px 0 12px 20px;
  padding: 0;
}
.terms-section ul li {
  color: var(--muted);
  margin: 4px 0;
}

.terms-content::-webkit-scrollbar {
  width: 8px;
}
.terms-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}
.terms-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .terms-box {
    width: 95vw;
    height: 85vh;
    padding: 24px 16px 20px;
  }
  .terms-title { font-size: 28px; }
  .terms-section h2 { font-size: 18px; }
}
/* Footer */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #0a0a0a;
  color: #fff;
  position: relative;
}

.site-footer .social-icons {
  margin-top: 10px;
}

.site-footer .social-icons a {
  text-decoration: none; /* ALT ÇİZGİYİ KALDIRIR */
  color: #ccc;
  margin: 0 10px;
  font-size: 24px;
  transition: color 0.3s ease;
}

.site-footer .social-icons a:hover {
  color: #f32323; /* Hover rengi: Açık mavi */
}