/* Main landing page styles */
:root {
  --hero-start: #f7fbff;
  --hero-mid: #e7f1ff;
  --hero-end: #d8e8ff;
  --glass: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(12, 62, 118, 0.12);
}

.index-landing {
  background: #f9fbfd;
  color: #1f2a3a;
}

.index-landing .index-page a {
  color: inherit;
}

.index-landing .top-nav {
  background: linear-gradient(135deg, #ffffff, #eef3fb);
  padding: 0.6rem 0;
  box-shadow: 0 12px 28px rgba(31, 42, 58, 0.08);
}

.page-title-heading {
  vertical-align: middle;
}

.index-landing .top-nav .nav-link {
  color: #23344b;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.index-landing .top-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #8c1f1f, #b23435);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.index-landing .top-nav .nav-link:hover {
  color: #0f1f33;
}

.index-landing .top-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.index-landing .beta-badge {
  margin-left: 3px;
  background: rgb(231, 76, 60);
  color: #fff !important;
  border-radius: 4px;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
  padding: 3.75px 6px;
  height: 22.5px;
  box-shadow: none;
  text-decoration: none;
  border: none;
  line-height: 15px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 39px;
}

.index-landing .page-title-heading {
  display: inline-block;
}

.index-landing .page-title-heading {
  display: inline-block;
}



.index-landing .navbar-brand {
  color: rgb(44, 62, 80) !important;
  font-weight: 800;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
  margin-right: 0;
}

.index-landing .navbar-brand img {
  margin-right: 4px;
}

.index-landing .navbar-brand .logo-text {
  color: rgb(44, 62, 80);
  margin-left: 4px;
}

.index-landing .logo-colored {
  filter: none;
}

.index-landing .navbar-brand:hover {
  color: rgb(44, 62, 80) !important;
}

.index-landing .hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(47, 82, 143, 0.35), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(24, 188, 156, 0.2), transparent 35%),
    linear-gradient(135deg, #0a1220, #0d1b2f 50%, #08101d);
  padding: 4rem 0 3rem;
}

.index-landing #heroWarp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.index-landing .hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #eef5ff;
  text-shadow: 0 2px 14px rgba(120, 209, 255, 0.45), 0 1px 3px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(10px);
  animation: hero-fade-in 0.8s ease forwards 0.1s;
}

.index-landing .hero p.lead {
  font-size: 1.2rem;
  color: #d7e4f8;
  text-shadow: 0 1px 8px rgba(120, 209, 255, 0.28);
  opacity: 0;
  transform: translateY(10px);
  animation: hero-fade-in 0.8s ease forwards 0.25s;
}

.index-landing .hero .card-glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 31, 51, 0.12);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(14px);
  animation: hero-fade-in 0.9s ease forwards 0.55s;
}

.index-landing .btn-cta {
  background: linear-gradient(135deg, rgb(241, 49, 51) 0%, rgb(196, 60, 61) 50%, rgb(178, 52, 53) 100%);
  color: #fff !important;
  border: none;
  padding: 0.75rem 1.3rem;
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(183, 52, 54);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(178, 52, 53, 0.35);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  background-size: 250% 250%;
  background-position: 0% 50%;
  will-change: transform, box-shadow, background-position, filter;
}

.index-landing .hero .btn-outline-light {
  color: #f5f7fa;
  border-color: rgba(245, 247, 250, 0.75);
  opacity: 0;
  transform: translateY(10px);
  animation: hero-fade-in 0.8s ease forwards 0.4s;
}

.index-landing .hero .btn-outline-light:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
}

.index-landing .btn-cta:hover {
  color: #fff !important;
  transform: translateY(-1px) scale(1.02);
  background: linear-gradient(135deg, #ff5f60 0%, #d84a4c 45%, #c03b3d 100%);
  box-shadow: 0 16px 36px rgba(178, 52, 53, 0.45), 0 0 18px rgba(255, 99, 99, 0.4);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  animation: btn-cta-flow 0.8s ease forwards;
}

.index-landing .btn-cta:focus-visible {
  outline: 0;
}

.index-landing .btn-cta::before {
  display: none;
}

.index-landing .btn-cta:hover::before {
  opacity: 0;
}

.index-landing .section {
  padding: 4rem 0;
  background: #f9fbfd;
}

.index-landing .section-alt {
  background: #f1f6fb;
}

.index-landing .section h2 {
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.index-landing .section .lead {
  color: #4a5563;
}

.index-landing .card-tile {
  background: #ffffff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 10px 24px rgba(31, 42, 58, 0.08);
}

.index-landing .card-tile h3 {
  font-weight: 700;
}

.index-landing .card-tile p {
  color: #4a5563;
}

.index-landing .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #18BC9C, #0f8c71);
  color: #fff;
  margin-bottom: 0.6rem;
}

.index-landing .audience-section {
  background: linear-gradient(180deg, #f1f6fb 0%, #f6f9fc 100%);
}

.index-landing .audience-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.index-landing .audience-card {
  background: linear-gradient(135deg, #7b8a8b 0%, #667375 50%, #4f5a5d 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 16px 30px rgba(31, 42, 58, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.index-landing .audience-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.index-landing .audience-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #515d61, #576c6f);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.index-landing .audience-icon i {
  font-size: 1.2rem;
}

.index-landing .audience-card h3 {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0;
  color: #f5f7fb;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.index-landing .audience-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #e4eaf0;
}

.index-landing .audience-card li + li {
  margin-top: 0.35rem;
}

.index-landing .step {
  background: #ffffff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 20px rgba(31, 42, 58, 0.08);
}

.index-landing .steps-section {
  background: linear-gradient(135deg, #0c1422 0%, #121c2b 50%, #0b1524 100%);
  color: #eef2f7;
}

.index-landing .steps-section h2 {
  color: #f1f5fb;
}

.index-landing .steps-section .step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(6, 10, 18, 0.45);
  color: #e3e9f3;
}

.index-landing .steps-section .step h4 {
  color: #ffffff;
}

.index-landing .steps-section .text-muted {
  color: #b7c2d3 !important;
}

.index-landing .beta-section {
  background: linear-gradient(180deg, #f5f8fc 0%, #edf3f9 100%);
  color: #1f2a3a;
}

.index-landing .beta-panel {
  background: linear-gradient(135deg, #0f1d2e 0%, #12243a 55%, #0d1b2b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 18px 44px rgba(10, 16, 26, 0.35);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.index-landing .beta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d7e2f1;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.index-landing .beta-section h2 {
  color: #f3f6fb;
  margin-bottom: 0.8rem;
}

.index-landing .beta-section .lead {
  color: #d7e2f1;
}

.index-landing .beta-note {
  margin-bottom: 0;
  color: #b9c6d8;
}

.index-landing .beta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.index-landing .beta-contact {
  color: #ffffff!important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(7, 12, 20, 0.35);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
}

.index-landing .beta-contact:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 22px rgba(7, 12, 20, 0.45);
  transform: translateY(-1px);
}

.index-landing .beta-contact:active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 14px rgba(7, 12, 20, 0.3);
  transform: translateY(0);
}

.index-landing .btn-support {
  color: #fff!important;
  background: linear-gradient(135deg, #37b0e8 0%, #2d90d1 45%, #1f6fb8 100%);
  border: 1px solid #2b8ac8;
  box-shadow: 0 6px 14px rgba(43, 138, 200, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.85rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
}

.index-landing .btn-support:hover {
  color: #fff;
  background: linear-gradient(135deg, #44b8f0 0%, #3499da 45%, #2377c0 100%);
  box-shadow: 0 8px 16px rgba(43, 138, 200, 0.45);
  filter: saturate(1.05);
  transform: translateY(-1px);
}

.index-landing .btn-support:active {
  color: #fff;
  background: linear-gradient(135deg, #2d90d1 0%, #2377c0 45%, #1a5fa6 100%);
  box-shadow: 0 4px 10px rgba(43, 138, 200, 0.3);
  transform: translateY(0);
}

.index-landing .btn-support .fa-telegram-plane {
  font-size: 1.05rem;
}

.index-landing .support-block {
  background: linear-gradient(135deg, #fef6ec, #f3e1d3);
  border-radius: 18px;
  padding: 2rem;
  color: #1f2a3a;
  box-shadow: 0 12px 36px rgba(31, 42, 58, 0.12);
}

.index-landing .support-block p {
  color: #2f3c4f;
}

.index-landing .support-section {
  background: linear-gradient(135deg, #f7f2ee 0%, #f2e8e2 100%);
}

.index-landing .support-panel {
  background: linear-gradient(140deg, #ffffff 0%, #fff7f1 50%, #f8ece5 100%);
  border-radius: 24px;
  padding: 2.4rem 2.6rem;
  box-shadow: 0 18px 44px rgba(31, 42, 58, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(178, 52, 53, 0.12);
}

.index-landing .support-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(178, 52, 53, 0.12);
  color: #6c3c3e;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.index-landing .support-section h2 {
  font-weight: 800;
  color: #2a2f3a;
  margin-bottom: 0.9rem;
}

.index-landing .support-section p {
  color: #4a5563;
}

.index-landing .support-action {
  display: flex;
  justify-content: center;
}

.index-landing .btn-donate {
  color: #fff!important;
  background: linear-gradient(135deg, #b4252a 0%, #d24832 45%, #ec6c2f 100%);
  border: 1px solid #c23930;
  box-shadow: 0 6px 14px rgba(188, 53, 42, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.9rem;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
}

.index-landing .btn-donate:hover {
  color: #fff;
  background: linear-gradient(135deg, #c23235 0%, #dd5836 45%, #f07b31 100%);
  box-shadow: 0 8px 16px rgba(188, 53, 42, 0.45);
  filter: saturate(1.05);
  transform: translateY(-1px);
}

.index-landing .btn-donate:active {
  color: #fff;
  background: linear-gradient(135deg, #a81f27 0%, #c63c2f 45%, #e0662d 100%);
  box-shadow: 0 4px 10px rgba(188, 53, 42, 0.3);
  transform: translateY(0);
}

.index-landing .btn-donate .donut-icon {
  width: 20px;
  height: 20px;
  margin-left: 4px;
}

.index-landing .btn-donate__text {
  display: inline-flex;
  flex-direction: column;
  font-size: 0.9rem;
  line-height: 1;
}

.index-landing .footer-simple {
  background: linear-gradient(135deg, #f1f4f7, #e3e8ee);
  color: #1f2a3a;
  padding: 1.25rem 0;
}

.index-landing .footer-simple a {
  color: #1f2a3a;
}

.index-landing .footer-simple a:hover {
  color: #0f8c71;
  text-decoration: underline;
}

.footer-logo {
  min-width: 217px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-menu {
  background: linear-gradient(135deg, #7b8a8b 0%, #667375 50%, #4f5a5d 100%) !important;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-menu .nav-pills {
  gap: 0.5rem;
  margin-left: 1rem;
}

.footer-menu .nav-link {
  color: #ffffff !important;
  border: none;
  border-radius: 0;
  padding: 0.35rem 0.6rem;
  background: transparent;
  box-shadow: none;
  transition: color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.footer-menu .nav-link:hover {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.footer-menu .nav-link:active,
.footer-menu .nav-link:focus {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  box-shadow: none;
  transform: translateY(0);
}

.footer-menu .btn-support,
.footer-menu .btn-donate {
  padding: 0.45rem 0.9rem;
  line-height: 1.2;
  min-height: 44px;
}

.footer-menu .footer-donat {
  order: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-menu .nav {
  order: 1;
}

.footer-menu .navbar-brand,
.footer-menu .navbar-brand:hover,
.footer-menu .navbar-brand:focus {
  color: #ffffff !important;
}

.footer-menu .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 0;
}

.footer-menu .navbar-brand img {
  display: block;
}

.footer-menu .beta-badge {
  margin-left: 0rem;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes btn-cta-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@keyframes btn-cta-hypno {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 50% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.section-modes {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, #6f8891 0% 0%, #d9e0e2 45%, #8fa3ab 100%);
  overflow: hidden;
}

.section-modes .modes-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mode-card {
  isolation: isolate;
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 36px;
  height: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mode-card>* {
  position: relative;
  z-index: 2;
}

.mode-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.1);
}

.mode-card:hover .mode-icon {
  opacity: 0.14;
}

.mode-icon {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0.12;
  pointer-events: none;
}

.mode-icon svg,
.mode-icon i {
  width: 45%;
  height: 45%;
  font-size: 9rem;
}

.mode-practice .mode-icon {
  color: #000000;
}

.mode-tournament .mode-icon {
  color: #000000;
}

.mode-badges .badge {
  margin-right: 8px;
  margin-bottom: 6px;
  padding: 6px 10px;
  font-weight: 500;
  background: #f0f0f0;
  color: #333;
}

.section-modes h2 {
  font-weight: 800;
}

.section-modes h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.section-modes p {
  color: #444;
}

@media (max-width: 767px) {
  .section-modes {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem 0.75rem;
  }

  .footer-menu .nav {
    order: 3;
    width: 100%;
    margin-left: 0 !important;
  }

  .footer-menu .footer-donat {
    order: 2;
    width: auto;
    margin-left: auto;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.05rem 0.5rem;
    text-align: right;
    padding-right: 14px;
  }

  .footer-menu .btn-donate {
    order: 1;
  }

  .footer-menu .btn-support {
    order: 2;
    flex-basis: 100%;
  }

  .footer-logo {
    order: 1;
    flex: 0 0 auto;
    margin-right: 0.25rem;
    align-self: flex-start;
  }
}

@media (max-width: 1199px) {
  .index-landing .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .index-landing .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-landing .audience-card {
    padding: 1.4rem 1.3rem;
  }

  .index-landing .beta-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.8rem;
  }

  .index-landing .beta-actions {
    justify-content: flex-start;
  }

  .index-landing .support-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem 1.8rem;
  }
}
