/* ------------------------------------
   GLOBAL COLOURS
------------------------------------ */
:root {
  --navy: #002e5f;
  --white: #ffffff;
  --accent1: #f8ca39;
  --accent2: #ca1432;
}

/* ------------------------------------
   RESET
------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  padding: 10px; /* restores spacing you lost */
}

/* ------------------------------------
   TYPOGRAPHY
------------------------------------ */
h1, h2, h3 {
  font-weight: 600;
  font-size: 2.2rem;
  text-align: center;
  text-transform: uppercase;
  color: var(--accent1);
  margin-bottom: 25px;
}

p {
  color: var(--white);
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

#site-content .col-lg-10 p {
  max-width: 900px;
  margin: 0 auto;
}


/* ------------------------------------
   FIXED TOP LOGO
------------------------------------ */
#fixed-header {
  width: 100%;
  text-align: center;
  padding: 60px 0 0 0;
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 9999;
}

#fixed-header img {
  width: 300px;
}

/* ------------------------------------
   LANGUAGE SWITCHER
------------------------------------ */
#lang-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 20000;
}

#lang-toggle button {
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  transition: 0.2s;
  font-weight: 600;
}

#lang-toggle .active {
  background: var(--accent1);
  border-color: var(--accent1);
  color: var(--navy);
}

/* ------------------------------------
   INTRO SCREEN
------------------------------------ */
#intro {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 15000;
  opacity: 1;
  transition: opacity 1.2s ease;
}

#intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

#intro-logo {
  width: 240px;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#enter-btn {
  margin-top: 30px;
  padding: 10px 28px;
  background: var(--accent1);
  border: none;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  animation: buttonFade 1.8s ease forwards;
  animation-delay: 1.4s;
  transition: transform 0.2s;
}

#enter-btn:hover {
  transform: scale(1.07);
}

@keyframes buttonFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SEND button */
.enter-style-btn {
  background: var(--accent1);
  border: none;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 28px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  display: inline-block;
}

.enter-style-btn:hover {
  transform: scale(1.07);
  background: var(--accent2);
  color: var(--white);
}

/* ------------------------------------
   CTA BUTTON
------------------------------------ */
.cta-btn {
  display: inline-block;
  background: var(--accent1);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.25s, background 0.25s, color 0.25s;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  transform: scale(1.08);
  background: var(--accent2);
  color: var(--white);
}

/* ------------------------------------
   SUCCESS POPUP — FIXED & CENTERED
------------------------------------ */
.success-popup {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 50000;
  padding: 0;         /* override bootstrap */
  margin: 0 !important;
}

.success-popup.active {
  display: flex !important;
}

.popup-inner {
  background: #ffffff;
  color: var(--navy);
  padding: 30px;
  max-width: 420px;
  width: 90%;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  margin: 0 auto;     /* ensure true centering */
}

/* Title */
.popup-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: var(--navy);
}

/* Body text */
.popup-body {
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.5;
  color: var(--navy);
}

/* Red → yellow button */
.popup-back-btn {
  display: inline-block;
  padding: 10px 26px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  background: var(--accent2); /* red */
  transition: background 0.2s ease, color 0.2s ease;
}

.popup-back-btn:active {
  background: var(--accent1); /* yellow */
  color: var(--navy);
}

.phonelink {
  color: var(--accent2);
  font-weight: 700;
  text-decoration: none !important;
}


/* ------------------------------------
   SOCIAL ICONS
------------------------------------ */
#top-socials {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 30px;
  z-index: 20000;
}

#top-socials a {
  font-size: 1.8rem;
  color: var(--accent1);
  transition: transform 0.2s, color 0.2s;
}

#top-socials a:hover {
  transform: scale(1.15);
  color: var(--accent2);
}

/* ------------------------------------
   STEAM ICONS
------------------------------------ */
.steam-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--accent1);
}

.steam-icons i {
  opacity: 0;
  animation: steamFade 0.6s ease forwards;
}

.steam-icons i:nth-child(1) { animation-delay: 0.1s; }
.steam-icons i:nth-child(2) { animation-delay: 0.25s; }
.steam-icons i:nth-child(3) { animation-delay: 0.4s; }
.steam-icons i:nth-child(4) { animation-delay: 0.55s; }
.steam-icons i:nth-child(5) { animation-delay: 0.7s; }

@keyframes steamFade {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Mobile responsive margin */
@media (max-width: 768px) {
  #fixed-header {
    margin-top: 20px;
  }
}

/* ------------------------------------
   LARGE SCREENS (1440px and up)
   Fix small-looking UI on large Mac displays
------------------------------------ */
@media (min-width: 1440px) {

  body {
    font-size: 1.15rem; /* bump base size */
  }

  h1, h2, h3 {
    font-size: 2.6rem; /* larger headings */
  }

  #fixed-header img {
    width: 260px;
    padding: 40px 0 40px 0; /* bigger logo */
  }

  #top-socials a {
    font-size: 2.1rem; 
  }

  #lang-toggle button {
    padding: 8px 18px;
    font-size: 1.05rem;
  }

  /* Buttons (enter, send, CTA) */
  .enter-style-btn,
  .cta-btn,
  #enter-btn {
    font-size: 1.2rem;
    padding: 12px 34px;
  }

  .form-control {
    font-size: 1.15rem;
    padding: 12px 16px;
  }

  /* Popup modal */
  .popup-inner {
    max-width: 540px;
    padding: 42px;
  }

  .popup-title {
    font-size: 2.1rem;
  }

  .popup-body {
    font-size: 1.15rem;
    line-height: 1.65;
  }

  .popup-back-btn {
    font-size: 1.2rem;
    padding: 12px 34px;
  }
}

/* ------------------------------------
   LARGE SCREENS (1440px and up)
   Bigger paragraph text only
------------------------------------ */
@media (min-width: 1440px) {
  p {
    font-size: 1.3rem;   /* was 1.1rem */
    line-height: 1.85;   /* slightly more breathing room */
  }
}

@media (min-width: 1440px) {
  #site-content .col-lg-10 p {
    max-width: 1000px;
  }
}
