*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-main: #1f2227;
  --text-main: #f5f7fa;
  --text-soft: rgba(245, 247, 250, 0.82);
  --link-color: inherit;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);

  --accent: #7c5cff;
  --accent-light: #a28bff;
  --accent-glow: rgba(124, 92, 255, 0.25);

  --shadow-lg: 0 20px 44px rgba(0, 0, 0, 0.28);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(124, 92, 255, 0.18) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(162, 139, 255, 0.10) 0%, transparent 34%),
    linear-gradient(180deg, #2c3138 0%, #1f2227 60%, #191c21 100%);
  color: var(--text-main);
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: #ffffff;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 10px 0;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  box-shadow: 0 0 16px var(--accent-glow);
}

@media (max-width: 768px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100%, calc(100% - 16px));
  }

  .section-title {
    margin-bottom: 8px;
  }

  .section-title::after {
    margin-top: 8px;
  }
}