@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&display=swap');

:root {
  --alien-green: #9dff35;
  --neon-green: #43ff88;
  --electric-blue: #4e8cff;
  --deep-black: #020403;
  --panel-black: rgba(2, 7, 7, 0.88);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: white;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  background: var(--deep-black);
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.78)),
    url('images/ra51-restaurant-bg.png') center center / cover no-repeat;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .15;
  background-image: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(157,255,53,.24) 6px);
}

.site-header {
  padding: 22px 5vw 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.top-logo {
  width: min(520px, 84vw);
  filter: drop-shadow(0 0 14px var(--neon-green)) drop-shadow(0 0 30px rgba(78,140,255,.7));
}

.main-nav {
  width: min(1050px, 94vw);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(157,255,53,.55);
  border-radius: 16px;
  background: rgba(0,0,0,.62);
  box-shadow: 0 0 22px rgba(67,255,136,.35), inset 0 0 18px rgba(67,255,136,.16);
}

.main-nav a,
.nav-button {
  color: var(--alien-green);
  text-decoration: none;
  background: transparent;
  border: 0;
  font: inherit;
  padding: 12px 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: 0 0 8px var(--neon-green);
  border-radius: 10px;
}

.main-nav a:hover,
.nav-button:hover {
  color: #fff;
  background: rgba(67,255,136,.14);
  box-shadow: 0 0 14px rgba(67,255,136,.45);
}

.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 10px;
  background: rgba(0,0,0,.92);
  border: 1px solid var(--neon-green);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(67,255,136,.45);
  z-index: 20;
}

.dropdown:hover .dropdown-menu { display: grid; }
.dropdown-menu a { display: block; padding: 10px 12px; }

.hero {
  min-height: 55vh;
  display: grid;
  place-items: center;
  padding: 40px 20px 90px;
}

.dessert-stack{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:40px;
    width:100%;
    margin-top:30px;
}

.dessert-item{
    width:100%;
    max-width:1200px;
    background:rgba(0,0,0,.75);
    border:2px solid #39ff14;
    border-radius:20px;
    box-shadow:0 0 30px #39ff14;
    overflow:hidden;
}

.dessert-item img{
    width:100%;
    display:block;
}

.feature-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: 2px solid #39ff14;
  border-radius: 20px;
  box-shadow: 0 0 30px #39ff14;
  margin: 30px auto;
}

.menu-description {
  color: #dfffe6;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.75;
  text-align: left;
  text-shadow: 0 0 8px #43ff88;
}

.hero-card{
    width:95vw;
    max-width:1400px;
    padding:32px;
    text-align:center;

    border:1px solid rgba(157,255,53,.72);
    border-radius:24px;
    background:rgba(0,0,0,.48);

    box-shadow:
      0 0 34px rgba(67,255,136,.35),
      inset 0 0 28px rgba(78,140,255,.18);

    backdrop-filter:blur(4px);

    overflow:hidden;
}



.hero-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 8vw, 6rem);
  color: #fff;
  text-shadow: 0 0 10px var(--electric-blue), 0 0 26px var(--neon-green);
}

.hero-card p {
  color: #dfffe6;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.cta,
.futuristic-button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 24px;
  border: 1px solid var(--alien-green);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(67,255,136,.18), rgba(78,140,255,.22));
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 18px rgba(67,255,136,.55);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.76);
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal.is-open { display: flex; }

.modal-panel {
  position: relative;
  width: min(920px, 96vw);
  min-height: 520px;
  padding: 88px 84px 72px;
  color: #eaffea;
  text-shadow: 0 0 8px rgba(67,255,136,.7);
}

.frame-panel {
  background:
    linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.88)) center/100% 100% no-repeat,
    url('images/ra51-popup-frame.png') center/100% 100% no-repeat;
  filter: drop-shadow(0 0 28px rgba(67,255,136,.52));
}

.close-button {
  position: absolute;
  top: 54px;
  right: 56px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--alien-green);
  border-radius: 50%;
  color: var(--alien-green);
  background: rgba(0,0,0,.7);
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(67,255,136,.65);
}

.modal-content {
  max-height: 58vh;
  overflow: auto;
  padding-right: 10px;
}

.modal-content h2 {
  margin-top: 0;
  color: white;
  font-size: 2rem;
  text-shadow: 0 0 10px var(--electric-blue), 0 0 20px var(--neon-green);
}

.modal-content p { line-height: 1.65; }
.mission { color: var(--alien-green); font-weight: 800; font-size: 1.2rem; }
.tagline { color: white; }

.contact-form { display: grid; gap: 10px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(157,255,53,.75);
  border-radius: 10px;
  color: white;
  background: rgba(0,0,0,.72);
  font: inherit;
  box-shadow: inset 0 0 12px rgba(67,255,136,.18);
}

.futuristic-button {
  cursor: pointer;
  font-family: inherit;
  justify-self: start;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 14px;
  background: rgba(0,0,0,.72);
  border-top: 1px solid rgba(157,255,53,.45);
}

.site-footer a {
  color: var(--alien-green);
  text-decoration: none;
  text-shadow: 0 0 8px var(--neon-green);
}

@media (max-width: 760px) {
  .main-nav { flex-wrap: wrap; }
  .main-nav a, .nav-button { padding: 10px 12px; font-size: .82rem; }
  .modal-panel { padding: 82px 34px 54px; min-height: 540px; }
  .close-button { top: 42px; right: 32px; }
}

.hero-card{
    width:95vw;
    max-width:1400px;
    padding:32px;
    text-align:center;

    border:1px solid rgba(157,255,53,.72);
    border-radius:24px;
    background:rgba(0,0,0,.48);

    box-shadow:
      0 0 34px rgba(67,255,136,.35),
      inset 0 0 28px rgba(78,140,255,.18);

    backdrop-filter:blur(4px);

    overflow:hidden;
}

.entree-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:30px;
}

.entree-item{
    border:2px solid #39ff14;
    border-radius:20px;
    overflow:hidden;
    background:rgba(0,0,0,.75);
    box-shadow:0 0 25px #39ff14;
}

.entree-item img{
    width:100%;
    height:auto;
    display:block;
}

@media(max-width:1100px){
    .entree-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .entree-grid{
        grid-template-columns:1fr;
    }
}

.entree-item img {
  cursor: pointer;
}

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.86);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.image-modal.is-open {
  display: flex;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-close {
  position: absolute;
  top: 35px;
  right: 55px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #39ff14;
  background: black;
  color: #39ff14;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 0 18px #39ff14;
}

.appetizer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.appetizer-item {
  border: 2px solid #39ff14;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0,0,0,.75);
  box-shadow: 0 0 25px #39ff14;
}

.appetizer-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

@media(max-width:700px) {
  .appetizer-grid {
    grid-template-columns: 1fr;
  }
}

.merch-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:30px;
}

.merch-grid img{
    width:100%;
    border-radius:20px;
    border:2px solid #39ff14;
    background:rgba(0,0,0,.75);
    box-shadow:0 0 25px #39ff14;
    cursor:pointer;
    transition:.3s;
}

.merch-grid img:hover{
    transform:scale(1.03);
    box-shadow:0 0 40px #39ff14;
}

@media(max-width:1100px){
    .merch-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .merch-grid{
        grid-template-columns:1fr;
    }
}

.theme-gallery{
    display:flex;
    flex-direction:column;
    gap:40px;
    margin-top:50px;
    width:100%;
}

.theme-gallery img{
    width:100%;
    border-radius:20px;
    border:2px solid #39ff14;
    background:rgba(0,0,0,.75);
    box-shadow:
        0 0 25px #39ff14,
        inset 0 0 20px rgba(57,255,20,.3);
    transition:.4s;
}

.theme-gallery img:hover{
    transform:scale(1.01);
    box-shadow:
        0 0 45px #39ff14,
        0 0 80px rgba(57,255,20,.5);
}

.menu-wheel{
  --spin:0deg;
  position:relative;
  width:min(700px,90vw);
  height:520px;
  margin:50px auto;
  display:flex;
  align-items:center;
  justify-content:center;
  perspective:900px;
}

.menu-wheel::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  border:3px solid #39ff14;
  box-shadow:0 0 35px #39ff14, inset 0 0 35px #39ff14;
  background:radial-gradient(circle, rgba(57,255,20,.18), rgba(0,0,0,.85));
}

.wheel-item{
  position:absolute;
  width:360px;
  padding:22px;
  text-align:center;
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:1.4rem;
  border:2px solid #39ff14;
  border-radius:18px;
  background:rgba(0,0,0,.82);
  box-shadow:0 0 25px #39ff14;
  text-shadow:0 0 12px #43ff88;
  transition: transform .55s ease,
		opacity .55s ease, 
		background .3s;
  transform-style:preserve-3d;

backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}

.wheel-item:hover{
  background:rgba(57,255,20,.22);
}

.wheel-item:nth-child(1){
  transform:rotateX(calc(var(--spin) + 0deg)) translateZ(220px);
}

.wheel-item:nth-child(2){
  transform:rotateX(calc(var(--spin) + 90deg)) translateZ(220px);
}

.wheel-item:nth-child(3){
  transform:rotateX(calc(var(--spin) + 180deg)) translateZ(220px);
}

.wheel-item:nth-child(4){
  transform:rotateX(calc(var(--spin) + 270deg)) translateZ(220px);
}

.menu-wheel {
  touch-action: none;
}
