/* terms.css */

/* Основні стилі */
:root {
  --primary: #ff9800;
  --secondary: #ffc107;
}

body {
  background: linear-gradient(145deg, #121216, #1a1a1f);
  color: #ffffff;
  font-family: "Rubik", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.logo-link {
  margin: 0;
  user-select: none;
  white-space: nowrap;
  font-weight: 700;
  font-size: 2rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 152, 0, 0.3);
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 1rem;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(26, 26, 31, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 152, 0, 0.2);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Заголовки */
h1 {
  color: #ff9800;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  background: linear-gradient(to right, #ff9800, #2196f3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 152, 0, 0.3);
}

h2 {
  color: #2196f3;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  position: relative;
  padding-left: 15px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 70%;
  width: 4px;
  background: linear-gradient(to bottom, #ff9800, #2196f3);
  border-radius: 2px;
}

/* Текст */
p {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

strong {
  color: #ff9800;
  font-weight: 600;
}

/* Посилання */
a {
  color: #2196f3;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #ff9800;
  text-decoration: underline;
}

/* Дата оновлення */
.update-date {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

/* Секції */
.section {
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(40, 40, 45, 0.3);
  border-radius: 10px;
  border-left: 3px solid #ff9800;
  transition: all 0.3s ease;
}

.section:hover {
  background: rgba(40, 40, 45, 0.5);
  transform: translateX(5px);
}

/* Контактна інформація */
.contact-info {
  background: rgba(33, 150, 243, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
  text-align: center;
  border: 1px dashed rgba(33, 150, 243, 0.3);
}

/* Підтвердження умов */
.agreement {
  font-style: italic;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 152, 0, 0.3);
}

/* Адаптивність */
@media (max-width: 768px) {
  .content {
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 10px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 1rem;
    margin: 0.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }
}

.privacy-header {
  background: rgba(26, 26, 31, 0.9);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.language-switcher {
  background-color: rgba(34, 34, 38, 0.8);
  border: 1px solid rgba(68, 68, 68, 0.5);
  border-radius: 8px;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  user-select: none;
  font-size: 12px;
}

.language-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 5px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.language-btn.active {
  background: rgba(255, 152, 0, 0.3);
  font-weight: bold;
}

.flag-icon {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  user-select: none;
}

@media (min-width: 768px) {
  .language-switcher {
    font-size: 14px;
    padding: 6px;
  }

  .language-btn {
    font-size: 14px;
    padding: 4px 10px;
  }

  .flag-icon {
    width: 18px;
    height: 12px;
  }
}
