:root {
  --bg-a: #07111f;
  --bg-b: #0b2559;
  --bg-c: #123f6d;
  --panel: #12376f;
  --panel-2: #0b234d;
  --accent: #2fd4c8;
  --accent-2: #f7b955;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(47, 212, 200, 0.08), transparent 35%),
    linear-gradient(135deg, var(--bg-a), var(--bg-b) 52%, var(--bg-c));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  color: var(--text);
  overflow-x: hidden;
  padding-top: 120px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -5;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(47,212,200,0.22)' stroke-width='1.2'/%3E%3Cpath d='M30 10L50 30L30 50L10 30Z' fill='none' stroke='rgba(47,212,200,0.14)' stroke-width='0.8'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M0 0L20 20M20 0L0 20' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='0.8'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 2L54 18V50L28 66L2 50V18Z' fill='none' stroke='rgba(247,185,85,0.15)' stroke-width='1.0'/%3E%3Cpath d='M0 50L28 66L56 50' fill='none' stroke='rgba(247,185,85,0.12)' stroke-width='1.0'/%3E%3Cpath d='M0 18L28 2L56 18' fill='none' stroke='rgba(247,185,85,0.12)' stroke-width='1.0'/%3E%3C/svg%3E");
  background-size: 60px 60px, 20px 20px, 56px 100px;
  mask-image: linear-gradient(170deg, rgba(0,0,0,1), rgba(0,0,0,0.6), rgba(0,0,0,0.85));
  -webkit-mask-image: linear-gradient(170deg, rgba(0,0,0,1), rgba(0,0,0,0.6), rgba(0,0,0,0.85));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -5;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='18' fill='none' stroke='rgba(47,212,200,0.13)' stroke-width='1.0'/%3E%3Ccircle cx='40' cy='40' r='6' fill='none' stroke='rgba(47,212,200,0.10)' stroke-width='0.8'/%3E%3Ccircle cx='0' cy='0' r='18' fill='none' stroke='rgba(47,212,200,0.13)' stroke-width='1.0'/%3E%3Ccircle cx='80' cy='0' r='18' fill='none' stroke='rgba(47,212,200,0.13)' stroke-width='1.0'/%3E%3Ccircle cx='0' cy='80' r='18' fill='none' stroke='rgba(47,212,200,0.13)' stroke-width='1.0'/%3E%3Ccircle cx='80' cy='80' r='18' fill='none' stroke='rgba(47,212,200,0.13)' stroke-width='1.0'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40C10 30 10 10 0 0' fill='none' stroke='rgba(255,255,255,0.09)' stroke-width='1.0'/%3E%3Cpath d='M40 40C30 30 30 10 40 0' fill='none' stroke='rgba(255,255,255,0.09)' stroke-width='1.0'/%3E%3Cpath d='M20 40C25 30 25 10 20 0' fill='none' stroke='rgba(247,185,85,0.08)' stroke-width='0.8'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Ccircle cx='15' cy='15' r='1.5' fill='rgba(47,212,200,0.12)'/%3E%3C/svg%3E");
  background-size: 80px 80px, 40px 40px, 30px 30px;
  animation: patternDrift 60s linear infinite;
}

@keyframes patternDrift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 80px 80px, -40px 40px, 30px -30px; }
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 105px;
  padding: 12px 24px;
  background:
    linear-gradient(135deg, rgba(7,17,31,.95), rgba(11,37,89,.95));
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.site-logo {
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  overflow: visible;
}

.site-logo img {
  width: 90px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}

.site-logo i {
  font-size: 34px;
  color: var(--accent-2);
}

.site-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.site-copy strong {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.site-copy span {
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.3;
  color: rgba(255,255,255,.75);
  overflow-wrap: anywhere;
}

.admin-link {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: .3s ease;
}

.admin-link:hover {
  background: rgba(255,255,255,.20);
  transform: translateY(-2px);
}

/* =====================================================
   CONTENT
===================================================== */

.menu-wrapper {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
  flex: 1 0 auto;
  padding: 36px 20px 52px;
  text-align: center;
}

.marquee-bar {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(47,212,200,0.12), rgba(247,185,85,0.10), rgba(47,212,200,0.12));
  border: 1px solid rgba(47,212,200,0.18);
  padding: 10px 0;
  margin-bottom: 24px;
  position: relative;
}

.marquee-bar::before,
.marquee-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.marquee-bar::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7,17,31,0.9), transparent);
}

.marquee-bar::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7,17,31,0.9), transparent);
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-text {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(47,212,200,0.4);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.menu-heading {
  margin-bottom: 28px;
}

.menu-heading h1 {
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 8px;
}

.menu-heading p {
  color: rgba(255,255,255,0.76);
  font-size: 14px;
}

.menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 22px;
  perspective: 1000px;
}

.hex {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  width: clamp(210px, 17vw, 248px);
  aspect-ratio: 190 / 165;
  background: var(--panel);
  color: white;
  text-decoration: none;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .48s ease, transform .34s ease, filter .24s ease;
  position: relative;
  box-shadow: 0 16px 30px rgba(0,0,0,0.32);
  isolation: isolate;
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.js-ready .hex {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}

.js-ready .hex.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hex::before {
  content: "";
  position: absolute;
  inset: 8px;
  background:
    linear-gradient(145deg, rgba(47, 212, 200, 0.28), transparent 42%),
    linear-gradient(145deg, #1d5aa8, var(--panel-2));
  clip-path: inherit;
  z-index: -2;
}

.hex::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.18) 42%, transparent 58%);
  clip-path: inherit;
  transform: translateX(-110%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.hex:hover {
  transform:
    perspective(700px)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x))
    translateY(-10px)
    scale(1.04);
  filter: brightness(1.15);
}

.hex:hover::after {
  transform: translateX(110%);
}

.hex:focus-visible {
  outline: 3px solid #8cc7ff;
  outline-offset: 5px;
}

.hex-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 82%;
  max-height: 76%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
}

.icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.image-icon {
  width: 88px;
  height: 64px;
  margin-bottom: 8px;
  font-size: 0;
}

.image-icon img {
  width: 88px;
  height: 64px;
  object-fit: contain;
}

.title {
  font-size: clamp(24px, 2.15vw, 31px);
  font-weight: bold;
  letter-spacing: 3px;
  line-height: 1.08;
  text-shadow: 2px 2px 4px #000;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.desc {
  font-size: 12px;
  line-height: 1.18;
  margin-top: 6px;
  color: rgba(255,255,255,0.84);
  max-width: 92%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.is-title-long .title {
  font-size: clamp(20px, 1.8vw, 25px);
  letter-spacing: 2px;
}

.is-title-extra-long .title {
  font-size: clamp(18px, 1.55vw, 22px);
  letter-spacing: 1px;
}

.is-title-long .icon,
.is-title-extra-long .icon {
  width: 52px;
  height: 52px;
  margin-bottom: 7px;
  font-size: 40px;
}

.is-title-long .icon img,
.is-title-extra-long .icon img {
  width: 50px;
  height: 50px;
}

.is-title-long .image-icon,
.is-title-extra-long .image-icon {
  width: 92px;
  height: 58px;
  margin-bottom: 7px;
}

.is-title-long .image-icon img,
.is-title-extra-long .image-icon img {
  width: 92px;
  height: 58px;
}

.empty-state {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-block;
  padding: 18px 24px;
}

/* =====================================================
   FOOTER
===================================================== */

.rk-footer {
  width: 100%;
  flex: 0 0 auto;
  display: block;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 20px 12px 10px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--bg-a), var(--bg-b) 55%, var(--bg-c));
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -8px 30px rgba(0,0,0,.25);
}

.rk-footer::before,
.rk-footer::after,
.rk-footer-glow {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.rk-footer::before {
  width: 220px;
  height: 220px;
  top: -120px;
  right: -70px;
  background: rgba(47,212,200,.10);
  filter: blur(60px);
  animation: rkFooterFloat 6s ease-in-out infinite alternate;
}

.rk-footer::after {
  width: 180px;
  height: 180px;
  left: -90px;
  bottom: -120px;
  background: rgba(47,212,200,.08);
  filter: blur(50px);
}

.rk-footer-glow {
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 80% 20%, rgba(47,212,200,.12), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(247,185,85,.08), transparent 25%);
}

.footer-container {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 30%) 1fr;
  align-items: center;
  gap: 18px;
}

.footer-left {
  min-width: 0;
  text-align: left;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: #fff;
  text-decoration: none;
}

.footer-logo {
  width: 140px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.footer-logo-fallback i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.footer-left p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  line-height: 1.55;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-item {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .28s ease, background .28s ease, color .28s ease, box-shadow .28s ease;
}

.social-item:hover,
.social-item:focus-visible {
  background: rgba(255,255,255,0.20);
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
  outline: none;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  margin: 16px auto 0;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.76);
  text-align: center;
  font-size: 11px;
}

@keyframes rkFooterFloat {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-16px, 26px, 0);
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
  body {
    padding-top: 145px;
  }

  .site-header {
    min-height: 120px;
    padding: 10px 15px;
    gap: 12px;
  }

  .site-brand {
    gap: 12px;
  }

  .site-logo {
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
  }

  .site-logo img {
    width: 65px;
  }

  .site-copy strong {
    font-size: 16px;
  }

  .site-copy span {
    font-size: 12px;
  }

  .admin-link {
    padding: 8px 12px;
    font-size: 12px;
  }

  .menu-wrapper {
    padding-top: 24px;
  }

  .menu-grid {
    gap: 16px;
  }

  .hex {
    width: min(44vw, 172px);
  }

  .icon {
    width: 42px;
    height: 42px;
    font-size: 35px;
  }

  .icon img {
    width: 42px;
    height: 42px;
  }

  .image-icon,
  .is-title-long .image-icon,
  .is-title-extra-long .image-icon {
    width: 64px;
    height: 44px;
  }

  .image-icon img,
  .is-title-long .image-icon img,
  .is-title-extra-long .image-icon img {
    width: 64px;
    height: 44px;
  }

  .title {
    font-size: 21px;
    letter-spacing: 1.5px;
  }

  .is-title-long .title,
  .is-title-extra-long .title {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .desc {
    font-size: 11px;
    line-height: 1.12;
  }

  .rk-footer {
    padding: 18px 13px 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .footer-left {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-logo {
    width: 108px;
  }

  .footer-left p {
    margin: 0 auto;
    font-size: 10px;
    line-height: 1.5;
  }

  .footer-right {
    justify-content: center;
    gap: 8px;
  }

  .social-item {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 15px;
  }

  .footer-bottom {
    margin-top: 12px;
    padding-top: 9px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 155px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-brand {
    width: 100%;
  }

  .admin-link {
    align-self: flex-start;
  }
}