* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f1e8;
  color: #111827;
  line-height: 1.45;
  padding-bottom: 88px;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 28px, 560px);
  margin: 0 auto;
}

section { padding: 48px 0; }

.section-title {
  font-size: 31px;
  font-weight: 1000;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.05;
  color: #102a43;
}

.section-subtitle {
  color: #4b5563;
  text-align: center;
  max-width: 100%;
  margin: 0 auto 26px;
  font-size: 15px;
}

.gold { color: #ff6b35; }

/* HERO */
.hero {
  min-height: auto;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(135deg, #102a43 0%, #0b1620 46%, #42151d 100%);
  padding: 18px 0 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,107,53,.22);
  right: -90px;
  top: 80px;
  filter: blur(8px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.logo {
  font-weight: 1000;
  font-size: 18px;
  color: #ffd166;
  letter-spacing: .4px;
}

.badge {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(255,107,53,.25);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.date {
  font-size: 36px;
  font-weight: 1000;
  line-height: 1;
  color: #fff;
}

.city {
  margin-left: 6px;
  vertical-align: middle;
  font-size: 13px;
}

h1 {
  margin-top: 14px;
  font-size: 47px;
  line-height: .88;
  color: #ffd166;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: -1.4px;
}

.subtitle {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.hero-note {
  margin-top: 14px;
  color: #e5e7eb;
  font-size: 15px;
  max-width: 520px;
}

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.speaker-box {
  min-height: 220px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    linear-gradient(135deg, #16324f, #0b1620);
  border: 1px solid rgba(255,209,102,.35);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.speaker-box:before {
  content: '31';
  position: absolute;
  right: 12px;
  top: -20px;
  font-size: 120px;
  font-weight: 1000;
  color: rgba(255,255,255,.05);
  z-index: 1;
}

.speaker-box img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.speaker-info { margin-top: 10px; }

.speaker-name {
  background: #ffd166;
  color: #0b1620;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 21px;
  font-weight: 1000;
  display: inline-block;
}

.speaker-role {
  color: #dbe4ee;
  margin-top: 7px;
  font-size: 14px;
}

/* BUTTONS */
.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 18px;
  border-radius: 16px;
  font-weight: 1000;
  border: 1px solid transparent;
  transition: .2s;
  text-align: center;
  min-height: 52px;
}

.btn-primary {
  background: #ff6b35;
  color: #fff;
  box-shadow: 0 14px 30px rgba(255,107,53,.28);
}

.btn-secondary {
  border-color: rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.btn-dark { background: #07090d; color: #fff; }
.btn-light { background: #fff; color: #07090d; }
.btn:active { transform: scale(.98); }

/* PAYMENT SLIDER */
.payment-slider-wrap {
  margin-top: 30px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.payment-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.payment-slider::-webkit-scrollbar { display: none; }

.glass-card {
  min-width: 260px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  color: #fff;
}

.glass-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.glass-card p {
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.8);
}

.glass-card.featured {
  border: 1px solid #ffd166;
  box-shadow: 0 0 20px rgba(255,209,102,0.4);
}

/* TRUST */
.trust-strip {
  margin-top: -24px;
  position: relative;
  z-index: 5;
}

.trust-box {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 16px 45px rgba(16,42,67,.13);
  display: grid;
  gap: 10px;
}

.trust-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #374151;
  font-size: 14px;
}

.trust-row b { color: #102a43; }

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b35;
  flex: 0 0 auto;
  margin-top: 6px;
}

/* PROGRAM */
.program {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.program-item {
  background: #fff;
  border: 1px solid rgba(16,42,67,.08);
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(16,42,67,.08);
}

.program-item b {
  color: #102a43;
  font-size: 18px;
}

.program-item p {
  color: #4b5563;
  margin-top: 7px;
  font-size: 15px;
}

/* PRICING */
.pricing {
  background: #102a43;
  color: #fff;
}

.pricing .section-title { color: #fff; }
.pricing .section-subtitle { color: #cbd5e1; }

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.price-card {
  background: #fff;
  color: #111827;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card.featured {
  border: 2px solid #ffd166;
  box-shadow: 0 0 0 2px rgba(255,209,102,.28), 0 22px 60px rgba(255,107,53,.18);
}

.price-card.featured:before {
  content: 'Лучший выбор';
  position: absolute;
  right: 14px;
  top: 14px;
  background: #ff6b35;
  color: #fff;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.price-card h3 {
  font-size: 20px;
  text-transform: uppercase;
  max-width: 72%;
  color: #102a43;
}

.price-tag {
  color: #ff6b35;
  font-size: 38px;
  font-weight: 1000;
  margin: 12px 0;
}

.price-card ul {
  list-style: none;
  margin: 16px 0 20px;
  color: #374151;
  font-size: 15px;
  flex-grow: 1;
}

.price-card li {
  margin: 8px 0;
  padding-left: 22px;
  position: relative;
}

.price-card li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ff6b35;
  font-weight: bold;
}

.price-card .btn { margin-top: auto; }

.pay-placeholder {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed rgba(16,42,67,.35);
  border-radius: 14px;
  color: #6b7280;
  font-size: 12px;
  text-align: center;
  background: #f9fafb;
}

/* GIFTS */
.gifts-section {
  background: #f6f1e8;
}

.gifts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gift {
  background: #fff;
  border: 1px solid rgba(16,42,67,.08);
  padding: 28px 22px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 14px 38px rgba(16,42,67,.10);
  transition: .25s ease;
}

.gift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(16,42,67,.16);
}

.gift-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ffd166);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 14px 30px rgba(255,107,53,.25);
}

.gift strong {
  display: block;
  color: #ff6b35;
  font-size: 26px;
  margin-bottom: 8px;
}

.gift p {
  color: #374151;
  font-size: 15px;
}

/* PAIN */
.pain { background: #fff; }

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pain-card {
  background: #f6f1e8;
  border: 1px solid rgba(16,42,67,.08);
  padding: 20px;
  border-radius: 18px;
}

.pain-card h3 {
  color: #102a43;
  margin-bottom: 7px;
  font-size: 19px;
}

.pain-card p {
  color: #4b5563;
  font-size: 15px;
}

/* CONTACT */
.contact-box {
  background: linear-gradient(135deg, #ff6b35, #ffd166);
  color: #102a43;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 18px;
  align-items: center;
  box-shadow: 0 18px 50px rgba(255,107,53,.22);
}

.contact-box h2 {
  font-size: 30px;
  line-height: 1;
}

.contact-box p {
  font-weight: 900;
  margin-top: 8px;
  font-size: 15px;
}

/* FOOTER */
footer {
  padding: 28px 0;
  color: #4b5563;
  text-align: center;
  border-top: 1px solid rgba(16,42,67,.08);
  font-size: 13px;
}

/* MOBILE STICKY */
.mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(16,42,67,.12);
  padding: 10px 14px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 -12px 34px rgba(16,42,67,.14);
}

.mobile-sticky .btn {
  min-height: 48px;
  padding: 12px;
  font-size: 14px;
}

.mobile-sticky .btn-secondary {
  background: #102a43;
  color: #fff;
  border: none;
}

/* DESKTOP */
@media (min-width: 760px) {
  body { padding-bottom: 0; }

  .container { width: min(1180px, 92%); }

  .hero {
    min-height: 92vh;
    padding: 34px 0 70px;
  }

  .topbar { margin-bottom: 70px; }
  .logo { font-size: 24px; }
  .badge { font-size: 16px; padding: 8px 16px; }

  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
  }

  .date { font-size: clamp(38px, 6vw, 72px); }
  .city { margin-left: 14px; font-size: clamp(18px, 2vw, 28px); }
  h1 { font-size: clamp(48px, 8vw, 92px); }
  .subtitle { font-size: clamp(22px, 3vw, 34px); }

  .hero-card {
    padding: 28px;
    border-radius: 28px;
  }

  .speaker-box,
  .speaker-box img {
    min-height: 390px;
    border-radius: 24px;
  }

  .speaker-name { font-size: 26px; }
  .speaker-role { font-size: 16px; }

  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  section { padding: 78px 0; }

  .section-title { font-size: clamp(34px, 5vw, 56px); }
  .section-subtitle { font-size: 18px; margin-bottom: 44px; }

  .trust-strip { margin-top: -38px; }

  .trust-box {
    grid-template-columns: repeat(3, 1fr);
    padding: 22px;
  }

  .program {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .program-item { padding: 24px; }

  .price-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .price-card { padding: 26px; }
  .price-tag { font-size: 44px; }

  .gifts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .contact-box {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
  }

  .contact-box h2 { font-size: clamp(28px, 4vw, 46px); }

  .mobile-sticky { display: none; }
}

.payment-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,107,53,.22), transparent 30%),
    linear-gradient(135deg, #102a43 0%, #0b1620 55%, #42151d 100%);
  display: flex;
  align-items: center;
  color: #fff;
}

.form-card {
  max-width: 540px;
  margin: 0 auto;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.form-logo {
  margin-bottom: 18px;
}

.form-title {
  font-size: 36px;
  line-height: 1;
  color: #ffd166;
  margin-bottom: 12px;
}

.form-subtitle {
  color: #dbe4ee;
  margin-bottom: 24px;
}

.form-card form {
  display: grid;
  gap: 14px;
}

.form-card label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  color: #fff;
}

.form-card input,
.form-card select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: #fff;
  color: #111827;
  font-size: 15px;
  outline: none;
}

.form-card input:focus,
.form-card select:focus {
  border-color: #ffd166;
  box-shadow: 0 0 0 3px rgba(255,209,102,.25);
}

.form-btn {
  margin-top: 10px;
  width: 100%;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  transition: .2s;
}

.back-btn:hover {
  background: rgba(255,255,255,.18);
}

.highlight {
  color: #FF6A2B;
  font-weight: 600;
}

.social-buttons{
  display:flex;
  gap:14px;
  margin-top:22px;
  justify-content:center;
  flex-wrap:wrap;
}

.social-btn{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 22px;
  border-radius:18px;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  overflow:hidden;
  transition:0.35s ease;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.social-btn svg{
  width:20px;
  height:20px;
}

.glass{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 8px 30px rgba(0,0,0,0.25),
    inset 0 1px 1px rgba(255,255,255,0.1);
}

.telegram{
  color:#5cc8ff;
}

.youtube{
  color:#ff4b4b;
}

.max{
  color:#9a7dff;
}

.social-btn:hover{
  transform:translateY(-3px) scale(1.03);
  background:rgba(255,255,255,0.12);
  box-shadow:
    0 12px 35px rgba(0,0,0,0.35),
    0 0 18px rgba(255,255,255,0.08);
}

.back-center{
  display:flex;
  justify-content:center;
  margin-top:22px;
}

.modern-back{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  padding:12px 24px;
  border-radius:18px;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:
    0 8px 30px rgba(0,0,0,0.25),
    inset 0 1px 1px rgba(255,255,255,0.08);
  transition:0.35s ease;
}

.modern-back:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,0.1);
}

.qr-box {
  margin-top: 24px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  justify-items: center;
  gap: 12px;
}

.qr-box canvas,
.qr-box img {
  background: #fff;
  padding: 10px;
  border-radius: 16px;
}

.qr-box p {
  color: #dbe4ee;
  font-size: 14px;
  text-align: center;
}

#downloadQr{
  display:block;
  transition:0.3s ease;
}

#downloadQr:hover{
  transform:scale(1.03);
}

.admin-login-btn{
  position:absolute;
  top:22px;
  right:22px;

  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);

  color:#fff;
  padding:10px 20px;
  border-radius:16px;

  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);

  cursor:pointer;
  transition:0.3s ease;

  font-weight:700;
}

.admin-login-btn:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,0.12);
}

.admin-modal{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.65);

  display:none;
  align-items:center;
  justify-content:center;

  z-index:999;
}

.admin-modal-box{
  position:relative;

  width:340px;

  background:#1f2937;

  border:1px solid rgba(255,255,255,0.08);

  border-radius:26px;

  padding:30px;

  box-shadow:0 20px 60px rgba(0,0,0,0.5);
}

.admin-modal-box h3{
  color:#fff;
  margin-bottom:18px;
}

.admin-modal-box input{
  width:100%;
  padding:14px;
  border:none;
  border-radius:14px;
  margin-bottom:16px;
}

.admin-modal-box button{
  width:100%;
  padding:14px;

  border:none;
  border-radius:14px;

  background:#ff6b35;
  color:#fff;

  font-weight:700;
  cursor:pointer;
}

.admin-close{
  position:absolute;
  top:12px;
  right:12px;

  width:32px !important;
  height:32px !important;

  min-width:32px;
  max-width:32px;

  padding:0 !important;
  margin:0 !important;

  border:none;
  border-radius:10px;

  background:rgba(255,255,255,0.08);

  color:#fff;

  font-size:20px;
  font-weight:700;
  line-height:32px;

  text-align:center;

  cursor:pointer;

  transition:0.3s ease;

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:20;
}

.admin-close:hover{
  background:rgba(255,255,255,0.16);
  transform:rotate(90deg);
}

.admin-container {
  width: min(100% - 28px, 1280px);
}

.admin-card {
  max-width: 100%;
}

.admin-tools {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  margin: 22px 0;
}

.admin-tools input,
.admin-tools select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  outline: none;
  font-size: 15px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.admin-stats div {
  min-height: 92px;
  padding: 14px;
}

@media (max-width: 760px) {
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-stats div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.admin-stats strong {
  display: block;
  color: #ffd166;
  font-size: 28px;
}

.admin-stats span {
  color: #dbe4ee;
  font-size: 14px;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
  background: rgba(255,255,255,0.04);
}

.admin-table th,
.admin-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
}

.admin-table th {
  color: #ffd166;
  font-weight: 900;
  background: rgba(255,255,255,0.06);
}

.status-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}

.status-badge.paid,
.status-badge.arrived {
  background: rgba(34,197,94,0.18);
  color: #22c55e;
}

.status-badge.waiting {
  background: rgba(255,209,102,0.18);
  color: #ffd166;
}

.admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-actions a,
.admin-actions button {
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
}

.admin-actions a {
  background: #fff;
  color: #111827;
}

.admin-actions button {
  background: #ff6b35;
  color: #fff;
}

.admin-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .admin-tools {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }
}

.left-btn{
  background:#3b82f6 !important;
  color:#fff !important;
}