/* === FONT === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* === GLOBAL VARIABLES === */
:root {
  --partner-size: 30px; 
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #1c1f2e, #0b0c10 65%, #090a0f 100%);
  font-family: "Inter", sans-serif;
  color: white;
  text-align: center;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 640px;
  margin: auto;
  padding: 50px 20px 120px;
  animation: fadeIn 1.2s ease;
}

/* Avatar */
.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 25px;
  border: 3px solid rgba(255,255,255,0.20);
  box-shadow: 0 0 20px rgba(120,160,255,0.35);
  animation: floatIn 1.5s ease;
}

/* Headings */
h1 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}

h2 {
  font-size: 17px;
  font-weight: 300;
  opacity: 0.85;
  line-height: 1.5;
}

/* Section title */
.section-title {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Cards */
.card {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 14px auto;
  padding: 16px 20px;
  width: calc(100% - 40px);
  max-width: 600px;

  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  text-decoration: none;
  color: white;
  font-size: 17px;

  border: 1px solid rgba(255,255,255,0.10);
  transition: 0.25s ease;
  backdrop-filter: blur(8px);

  box-sizing: border-box;

  animation: fadeUp 1s ease;
}

.card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(120,160,255,0.30);
}

/* Icons */
.icon {
  width: 18px;
  height: 18px;
  opacity: 0.85;
  display: block;
}

/* LinkedIn alignment */
.icon.linkedin {
  transform: translateY(-3px);
}

/* === PARTNER LOGOS (CONTROL SIZE WITH VARIABLE) === */
.icon.partner {
  width: var(--partner-size);
  height: var(--partner-size);
  object-fit: contain;
  opacity: 0.95;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatIn {
  from { opacity: 0; transform: scale(0.87); }
  to   { opacity: 1; transform: scale(1); }
}

/* === MOBILE FIXES === */
@media (max-width: 480px) {

  /* Контейнер — увеличиваем отступы */
  .container {
    padding: 30px 16px 100px;
  }

  /* Кнопки — делаем уже и ровнее */
  .card {
    padding: 14px 16px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: center;
  }

  /* Иконки — уменьшаем для аккуратного расположения */
  .icon {
    width: 16px;
    height: 16px;
  }

  .icon.linkedin {
    transform: translateY(-2px);
  }

  /* Логотипы партнёров — уменьшаем на телефонах */
  .icon.partner {
    width: calc(var(--partner-size) * 0.75);
    height: calc(var(--partner-size) * 0.75);
  }

  /* Текст в кнопках — делаем компактнее */
  .card {
    font-size: 15px;
  }
}
