* {
    box-sizing: border-box;
    }

html, body {
height: 100%;
margin: 0;
}

/* =========================
BODY LAYOUT FIX (TRUE CENTERING)
========================= */

body {
min-height: 100vh;

background-color: black;
background-size: cover;
background-position: center;
background-repeat: no-repeat;

display: flex;
flex-direction: column;
}

/* =========================
NAVBAR (UNCHANGED)
========================= */

.navbar {
display: flex;
justify-content: center;
align-items: center;

padding: 1rem;
background-color: #010210;

position: relative;
z-index: 3;
}

/* NAV LINKS */
.nav-links {
display: flex;
gap: 4rem;

list-style: none;

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

margin: 0;
padding: 0;

background-color: #010210;
}

.nav-links a {
text-decoration: none;
color: gold;
font-size: 1.15rem;
}

/* HAMBURGER */
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
margin-left: auto;
}

.hamburger span {
width: 25px;
height: 3px;
background-color: #C40C0C;
margin: 4px 0;
}

/* =========================
MOBILE NAV
========================= */

@media screen and (max-width: 768px) {

.hamburger {
display: flex;
}

.nav-links {
display: none;
flex-direction: column;

gap: 1rem;
position: absolute;
top: 60px;
left: 0;
right: 0;
background-color: #010210;
padding: 1rem;
align-items: flex-start;
text-align: left;

}

.nav-links.nav-active {
display: flex;
}
}

/* =========================
🔥 TRUE CENTER FIX (THIS IS THE KEY CHANGE)
========================= */

.page-wrap {
position: absolute;
top: 0;
left: 0;

width: 100%;
height: 100vh;

display: flex;
flex-direction: column;

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

pointer-events: none; /* allows navbar to stay clickable */
}

/* re-enable clicking on ticket */
.ticket-container,
.ticket {
pointer-events: auto;
}

/* =========================
TITLE
========================= */

h2 {
font-family: “Mea Culpa”, cursive;
color: #FFD786;

font-size: 42px;

margin-bottom: 20px;
text-align: center;
}

/* =========================
TICKET
========================= */

.ticket-container {
display: flex;
justify-content: center;
align-items: center;
}

.ticket {
width: 620px;
max-width: 95%;
height: auto;

cursor: pointer;

box-shadow: 0 18px 40px rgba(0,0,0,0.45);

transition: transform 0.3s ease;
}

.ticket:hover {
transform: scale(1.04);
}

/* =========================
FOOTER
========================= */

.footer {
text-align: center;
color: #FFD786;

padding: 20px;

margin-top: auto;
}

.footer a {
color: #FFD786;
}

.twinkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.twinkle-container span{
  position: absolute;
  width: 3px;
  height: 3px;
  background: #53CBF3;
  border-radius: 0;
  transform: rotate(45deg);
  opacity: 0;
  animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { 
    opacity: 0; 
    transform: rotate(45deg) scale(0.5); 
  }
  50% { 
    opacity: 1; 
    transform: rotate(45deg) scale(1); 
  }
}

/* STAR POSITIONS (unchanged) */
.twinkle-container span:nth-child(1)  { top: 5%;  left: 10%;  animation-delay: 0s; }
.twinkle-container span:nth-child(2)  { top: 15%; left: 30%;  animation-delay: 0.5s; }
.twinkle-container span:nth-child(3)  { top: 25%; left: 50%;  animation-delay: 1s; }
.twinkle-container span:nth-child(4)  { top: 35%; left: 20%;  animation-delay: 1.2s; }
.twinkle-container span:nth-child(5)  { top: 45%; left: 70%;  animation-delay: 1.5s; }
.twinkle-container span:nth-child(6)  { top: 55%; left: 40%;  animation-delay: 1.8s; }
.twinkle-container span:nth-child(7)  { top: 65%; left: 60%;  animation-delay: 2s; }
.twinkle-container span:nth-child(8)  { top: 10%; left: 80%;  animation-delay: 2.3s; }
.twinkle-container span:nth-child(9)  { top: 20%; left: 5%;   animation-delay: 2.5s; }
.twinkle-container span:nth-child(10) { top: 30%; left: 90%;  animation-delay: 2.8s; }

