.format {
  position: relative;
  background-color: #0f172a;
  padding: 100px 20px;
  font-family: 'Lora', serif;
  overflow: hidden;
}

.format::after {
  content: '';
  position: absolute;
  top: 35%; 
  left: 20%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px); 
  z-index: 0;
  pointer-events: none;
  animation: pulseGoldOrb 6s ease-in-out infinite alternate;
}

@keyframes pulseGoldOrb {
  from { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  to { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.format__bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.format__container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.format__title {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 46px;
  font-weight: 700;
  margin: 0 0 60px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.format__title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.format__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.format__card {
  position: relative;
  background: #0a0f1c50;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, 0.3);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  
  /* Анимация появления (без transition-delay) */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.format__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.format__card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3), inset 0 0 20px rgba(245, 158, 11, 0.1);
}

.format__icon {
  font-size: 42px;
  color: #3b82f6;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.format__card:hover .format__icon {
  color: #f59e0b;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
  transform: scale(1.1);
}

.format__heading {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.format__text {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
}

.format__results-wrap {
  background: #0a0f1c50;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.format__results-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 50%);
  pointer-events: none;
}

.format__results-title {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 30px 0;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.format__results-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.format__terminal {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.format__result-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 25px;
  border-radius: 12px;
  border-left: 3px solid #3b82f6;
  transition: all 0.3s ease;
  
  /* Анимация появления (без transition-delay) */
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease, background 0.3s ease, border-color 0.3s ease;
}

.format__result-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.format__result-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #f59e0b;
  transform: translateX(10px);
}

.format__check {
  width: 40px;
  height: 40px;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.format__check i {
  color: #3b82f6;
  font-size: 18px;
  transition: color 0.3s ease;
}

.format__result-card:hover .format__check {
  background-color: #f59e0b;
}

.format__result-card:hover .format__check i {
  color: #0f172a;
}

.format__result-text h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.format__result-text p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

@media (max-width: 992px) {
  .format__grid { grid-template-columns: 1fr; gap: 20px; }
  .format__title { font-size: 38px; }
  .format__results-wrap { padding: 30px 20px; }
}

@media (max-width: 600px) {
  .format { padding: 60px 16px; }
  .format__title { font-size: 28px; margin-bottom: 30px; }
  .format__results-title { font-size: 24px; }
  .format__result-card { flex-direction: column; text-align: center; padding: 20px; border-left: none; border-top: 3px solid #3b82f6; }
  .format__result-card:hover { transform: translateY(-5px); border-top-color: #f59e0b; }
  .format__check { margin-right: 0; margin-bottom: 15px; }
}