*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.splash-body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(168deg, #78bedd 0%, #8dcbec 35%, #a8ddf8 75%, #beeafe 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  color: #071828;
}

a { text-decoration: none; }

details summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
}

details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; }

@keyframes floatUp {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.4; }
  100% { transform: translateY(-120vh) scale(0.85); opacity: 0; }
}

@keyframes wobble {
  0%, 100% { border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%; }
  33%     { border-radius: 54% 46% 52% 48% / 48% 54% 46% 52%; }
  66%     { border-radius: 48% 52% 46% 54% / 54% 48% 52% 46%; }
}

.splash-bubbles {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.splash-bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 1.5px solid rgba(255,255,255,0.48);
  animation: floatUp linear infinite, wobble ease-in-out infinite;
}

.splash-bubble-1  { left: 5%;  width: 28px; height: 28px; animation-duration: 14s, 3s; animation-delay: 0s, 0s; }
.splash-bubble-2  { left: 18%; width: 42px; height: 42px; animation-duration: 18s, 4s; animation-delay: -2s, 0.5s; }
.splash-bubble-3  { left: 32%; width: 18px; height: 18px; animation-duration: 12s, 3s; animation-delay: -4s, 1s; }
.splash-bubble-4  { left: 48%; width: 36px; height: 36px; animation-duration: 16s, 5s; animation-delay: -1s, 0.2s; }
.splash-bubble-5  { left: 62%; width: 24px; height: 24px; animation-duration: 20s, 3s; animation-delay: -6s, 0.8s; }
.splash-bubble-6  { left: 75%; width: 50px; height: 50px; animation-duration: 22s, 4s; animation-delay: -3s, 0.3s; }
.splash-bubble-7  { left: 88%; width: 20px; height: 20px; animation-duration: 13s, 3s; animation-delay: -5s, 0.6s; }
.splash-bubble-8  { left: 94%; width: 32px; height: 32px; animation-duration: 17s, 4s; animation-delay: -7s, 0.4s; }

.splash-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.hdr {
  background: rgba(10,42,75,0.97);
  backdrop-filter: blur(12px);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 30px rgba(0,30,80,0.5);
}

.splash-logo-header {
  max-height: 54px;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* {{MENU_$1}} — header + mobile; {{MENU_$2}} — footer */
.splash-nav-slot--desktop .splash-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.splash-nav-slot--desktop .splash-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 8px;
  transition: all 0.15s;
  white-space: nowrap;
}

.splash-nav-slot--desktop .splash-nav a:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

.splash-mobile-menu .splash-nav {
  display: block;
}

.splash-mobile-menu .splash-nav a {
  display: block;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-radius: 0;
  white-space: normal;
}

.splash-mobile-menu .splash-nav a:hover {
  background: transparent;
  color: #ffffff;
}

.splash-nav-slot--footer {
  margin-bottom: 28px;
}

.splash-nav-slot--footer .splash-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.splash-nav-slot--footer .splash-nav a {
  color: rgba(255,255,255,0.62);
  font-size: 13.5px;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  transition: color 0.15s;
  white-space: nowrap;
}

.splash-nav-slot--footer .splash-nav a:hover {
  background: transparent;
  color: #ffffff;
}

.hdr-auth {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.splash-btn {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.splash-btn-login {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #ffffff;
  padding: 0 24px;
  height: 40px;
  border-radius: 20px;
}

.splash-btn-login:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
}

.splash-btn-register,
.splash-btn-primary {
  background: linear-gradient(135deg, #f5a623, #e8860a);
  border: none;
  color: #ffffff;
  font-weight: 800;
  padding: 0 26px;
  height: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(245,166,35,0.5);
}

.splash-btn-register:hover,
.splash-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 26px rgba(245,166,35,0.65);
}

.splash-btn-primary-lg {
  font-size: 17px;
  font-weight: 800;
  padding: 0 40px;
  height: 56px;
  border-radius: 28px;
  box-shadow: 0 7px 28px rgba(245,166,35,0.52);
}

.splash-btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245,166,35,0.66);
}

.splash-btn-secondary {
  background: rgba(255,255,255,0.48);
  border: 2px solid rgba(0,80,150,0.3);
  color: #083060;
  font-size: 17px;
  font-weight: 700;
  padding: 0 32px;
  height: 56px;
  border-radius: 28px;
  backdrop-filter: blur(8px);
}

.splash-btn-secondary:hover {
  background: rgba(255,255,255,0.68);
  border-color: rgba(0,80,150,0.55);
}

.hdr-burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s;
}

.hdr-burger:hover { background: rgba(255,255,255,0.1); }

.hdr-burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
}

.splash-mobile-menu {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: rgba(10,42,75,0.98);
  backdrop-filter: blur(16px);
  padding: 8px 20px 24px;
  z-index: 99;
  box-shadow: 0 12px 32px rgba(0,20,60,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.splash-mobile-menu.is-open { display: block; }

.splash-mobile-auth {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.splash-mobile-auth .splash-btn {
  flex: 1;
  height: 46px;
  border-radius: 23px;
  font-size: 15px;
}

/* Hero */
.hero {
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 60px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  min-height: 540px;
}

.hero-char {
  flex: 0 0 auto;
  width: 430px;
  align-self: flex-end;
}

.hero-char img {
  width: 430px;
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,50,120,0.22)) drop-shadow(0 6px 16px rgba(0,30,90,0.14));
}

.hero-copy {
  flex: 1;
  padding: 70px 0 90px 32px;
}

.hero-h1 {
  font-size: 66px;
  font-weight: 900;
  color: #041018;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  text-wrap: pretty;
  text-shadow: 0 2px 12px rgba(255,255,255,0.5);
}

.hero-h1-accent {
  color: #006aab;
  text-shadow: 0 0 60px rgba(0,100,180,0.3);
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Main */
.main {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 90px;
}

.sec-accent {
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, #006aab, #40aaee);
  border-radius: 2px;
  margin-bottom: 24px;
}

.splash-content {
  font-size: 16px;
  line-height: 1.85;
  color: #071828;
  font-weight: 700;
}

.splash-content h2,
.splash-content .sec-h2 {
  font-size: 36px;
  font-weight: 900;
  color: #041018;
  margin: 0 0 10px;
  letter-spacing: -0.028em;
  text-shadow: 0 2px 8px rgba(255,255,255,0.4);
}

.splash-content h3 {
  font-size: 24px;
  font-weight: 900;
  color: #041018;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.splash-content p { margin: 0 0 14px; }

.splash-content table {
  width: 100%;
  border-collapse: collapse;
}

.splash-content .tbl-scroll {
  border-radius: 18px;
  box-shadow: 0 8px 44px rgba(0,40,100,0.13);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.splash-content .tbl-min {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1.5px solid rgba(255,255,255,0.9);
  overflow: hidden;
  min-width: 560px;
}

.splash-content thead tr {
  background: linear-gradient(135deg, #0a3058, #061e3a);
}

.splash-content th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.splash-content td {
  padding: 15px 18px;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(0,60,120,0.08);
}

.splash-content tbody tr:nth-child(even) {
  background: rgba(100,190,220,0.12);
}

.splash-content blockquote {
  background: rgba(255,255,255,0.58);
  backdrop-filter: blur(12px);
  border-left: 5px solid #0077bb;
  border-radius: 0 16px 16px 0;
  padding: 28px 32px;
  margin: 0;
  box-shadow: 0 8px 40px rgba(0,40,100,0.1);
}

.splash-content blockquote p {
  font-size: 18px;
  font-style: italic;
  line-height: 1.78;
  margin-bottom: 16px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 64px;
}

/* Footer */
.splash-footer {
  background: rgba(10,42,75,0.97);
  backdrop-filter: blur(12px);
  padding: 46px 48px 28px;
  margin-top: auto;
}

.ftr {
  max-width: 960px;
  margin: 0 auto;
}

.splash-logo-footer {
  max-height: 60px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 28px;
}

.splash-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.splash-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.splash-social a:hover { background: rgba(255,255,255,0.22); }

.splash-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.splash-badge-18 {
  background: #cc0000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.splash-footer-text {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 700;
}

.splash-footer-dot {
  color: rgba(255,255,255,0.22);
}

@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 900px) {
  .hdr { padding: 0 24px; }
  .splash-nav-slot--desktop { display: none; }
  .hdr-auth { display: none; }
  .hdr-burger { display: flex; }
  .hero {
    flex-direction: column;
    align-items: center;
    min-height: unset;
    padding: 24px 24px 48px;
    gap: 0;
  }
  .hero-char {
    width: 100%;
    max-width: 320px;
    align-self: center;
  }
  .hero-char img { width: 100%; }
  .hero-copy {
    padding: 12px 0 0;
    text-align: center;
    flex: unset;
    width: 100%;
  }
  .hero-h1 { font-size: 46px; }
  .hero-btns { justify-content: center; }
  .main { padding: 0 24px 60px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .splash-content h2,
  .splash-content .sec-h2 { font-size: 28px; }
}

@media (max-width: 600px) {
  .hdr { padding: 0 16px; height: 62px; }
  .splash-logo-header { max-height: 42px; }
  .hero { padding: 20px 16px 40px; }
  .hero-char { max-width: 250px; }
  .hero-h1 { font-size: 34px; letter-spacing: -0.02em; }
  .splash-btn-primary-lg,
  .splash-btn-secondary { font-size: 15px; height: 48px; padding: 0 24px; }
  .main { padding: 0 16px 48px; }
  .splash-content h2,
  .splash-content .sec-h2 { font-size: 24px; }
  .splash-footer { padding: 36px 16px 20px; }
  .splash-nav-slot--footer .splash-nav { gap: 14px; }
}
