:root {
  --bg: #000;
  --card: #030303;
  --blue: #58b7e5;
  --text: #f2f2f2;
  --dark-text: #031420;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
}

.page-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #000;
}

.domain-title {
  margin: 0 0 10px;
  font-size: clamp(14px, 2.2vw, 22px);
  line-height: 1.1;
  text-align: center;
  color: #fff;
}

body.main-page .domain-title {
  display: none;
}

.phone-card {
  width: min(100vw, calc(100dvh * 9 / 16));
  aspect-ratio: 9 / 16;
  background: var(--card);
  color: var(--text);
  border-radius: clamp(18px, 3vw, 34px);
  padding: 6% 5% 5%;
  display: flex;
  flex-direction: column;
}

.logo-circle {
  width: min(27%, 126px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(18px, 4.3vw, 38px);
  font-weight: 700;
  overflow: hidden;
}
.logo-circle.has-image {
  background: #0d1117;
  padding: 0;
}
.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-title,
.agent-title,
.promotion-title {
  margin: 5% 0;
  text-align: center;
  line-height: 1;
  font-weight: 500;
}

.brand-title,
.agent-title {
  font-size: clamp(22px, 5.2vw, 44px);
}

.promotion-title {
  margin-top: 7%;
  font-size: clamp(24px, 6vw, 52px);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.2%;
  margin-bottom: 10%;
}

.logo-item {
  aspect-ratio: 1;
  border-radius: clamp(8px, 1.5vw, 12px);
  background: var(--blue);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(16px, 3.8vw, 34px);
  font-weight: 700;
  line-height: 1;
  padding: 6px;
  overflow: hidden;
}
.logo-item.has-image {
  background: #0d1117;
  padding: 0;
}
.logo-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-item.small {
  font-size: clamp(11px, 2vw, 22px);
  line-height: 1.1;
}

.button-group {
  display: grid;
  gap: 3.2%;
  margin-bottom: 6.5%;
}

.button-pill {
  border-radius: 999px;
  background: var(--blue);
  color: var(--dark-text);
  text-align: center;
  font-size: clamp(17px, 4.6vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  padding: 4.2% 4%;
}

.banner-box {
  margin-top: auto;
  min-height: 19%;
  border-radius: clamp(16px, 2.7vw, 30px);
  background: var(--blue);
  color: var(--dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(24px, 6.5vw, 50px);
  font-weight: 700;
  padding: 3%;
  overflow: hidden;
  position: relative;
}
.banner-carousel {
  background: #0d1117;
}
.banner-track {
  position: absolute;
  inset: 0;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 450ms ease;
}
.banner-slide.active {
  opacity: 1;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-fallback {
  position: relative;
  z-index: 2;
}
.banner-dots {
  position: absolute;
  z-index: 2;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}
.banner-dot.active {
  background: rgba(255, 255, 255, 0.95);
}

.banner-box:hover,
.logo-item:hover,
.button-pill:hover {
  filter: brightness(1.05);
}

.promotion-text {
  margin: 0 0 8%;
  text-align: center;
  font-size: clamp(14px, 2.7vw, 24px);
  color: #e4e4e4;
}

.back-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(14px, 2.2vw, 20px);
}
