﻿:root {
  --bg: #0B0F14;
  --panel: #121826;
  --gold: #D4AF37;
  --gold-2: #B8892B;
  --navy: #0E2A47;
  --silver: #C9CED6;
  --white: #F5F7FA;
  --danger: #E04848;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.09), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(14, 42, 71, 0.35), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(90deg, rgba(216, 200, 138, 0.04) 0%, rgba(216, 200, 138, 0.01) 40%, transparent 60%);
  color: var(--white);
  display: flex;
}

.page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem);
}

.card {
  position: relative;
  width: min(720px, 100%);
  background: linear-gradient(145deg, rgba(18, 24, 38, 0.94), rgba(16, 24, 37, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 5vw, 2.75rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.08), rgba(184, 137, 43, 0.05));
  z-index: -1;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 35%);
  opacity: 0.75;
  z-index: -2;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo {
  width: clamp(120px, 32vw, 200px);
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.25));
}

.content {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.02em;
  color: var(--gold);
}

h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--silver);
}

.lead {
  margin: 0.35rem 0 0;
  color: var(--white);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.5;
}

.countdown {
  margin: 1.5rem auto;
  padding: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(14, 42, 71, 0.35), rgba(12, 20, 32, 0.7));
  max-width: 420px;
}

.countdown-label {
  margin: 0 0 0.25rem;
  color: var(--silver);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.countdown-value {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: clamp(0.75rem, 2vw, 0.95rem) clamp(1rem, 3vw, 1.25rem);
  border-radius: 12px;
  border: 1px solid var(--gold-2);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.btn .icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
}

.btn svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.btn.whatsapp {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: #0b0f14;
}

.btn.email {
  background: linear-gradient(135deg, var(--navy), #12385b);
  color: var(--white);
  border-color: rgba(212, 175, 55, 0.65);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .card {
    padding: 3rem;
  }

  .contacts {
    flex-direction: row;
    align-items: center;
  }

  .btn {
    min-width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
}
