/* Button Reset */
button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  border: none;
  background: inherit;
}
button:focus { outline: none; }
button:active { background: inherit; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Baloo 2";
  border: 0.05rem dotte yellow;
}

/* Root Variables */
:root {
  --color-primary: #6C63FF;
  --color-primary-light: #8E85FF;
  --color-primary-dark: #4A47CC;

  --color-secondary: #00C9A7;
  --color-secondary-light: #5CE0D8;
  --color-secondary-dark: #009E83;

  --color-accent-pink: #FF6B9F;
  --color-accent-yellow: #FFD166;
  --color-accent-orange: #FF9E57;

  --color-bg-light: #F9FAFB;
  --color-bg-medium: #ECEFF1;
  --color-bg-dark: #2F3136;

  --color-border: rgba(0,0,0,0.1);
  --shadow-light: 0 0.5rem 1.2rem rgba(0,0,0,0.08);
  --shadow-medium: 0 0.7rem 1.5rem rgba(0,0,0,0.12);

  --color-text-dark: #2D2E32;
  --color-text-medium: #555770;
  --color-text-light: #8C8FA1;
  --color-text-inverse: #FFFFFF;

  --color-success: #06D6A0;
  --color-warning: #FFD166;
  --color-danger: #EF476F;

  font-size: 16px; /* base scaling */
}

body {
  background-image: url('../assets/images/backgrounds/global bg/main-bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;;
  width: 100vw;
  margin: 0;
  overflow-y: auto;
  visibility: hidden;
}

.navbar {
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(0.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 10vh;
  box-sizing: border-box;
  padding: 1vh;
  border: 1p
}


.main-logo {
  background-image: url('../assets/images/logos/main-logo.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  height: 8vh;
  width: 8vh;
}

.hamburger-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4vh;
  width: 4vh;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: white;
}

.hamburger-menu:hover {
  background: black;
  transform: translateX(5vw) scale(0.9);
  
}

/* Main Body */
main {
  padding: 5vh 5vw;
  width: 100%;
  box-sizing: border-box;
}

/* Start Card */
#start-card {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(0.25rem);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 2rem;
  height: 70vh;
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: inset 0 0 5px white, 0 0 5px gray;
}

#head-and-desc {
  background: rgba(256, 256, 256, 0);
}

#title-header {
  text-decoration: none;
  color: white;
  text-shadow: 0 0 5px black, 0 0 10px black, 0 0 15px black;
  transition: color 0.3s ease;
  display: inline-block;
  animation: pulseAnim 2s infinite ease-in-out;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0;
  transition: color 1s ease;
}

#title-header:hover {
  color: skyblue;
}

#min-desc {
  color: white;
  text-shadow: 0 0 5px black, 0 0 5px black, 0 0 10px black;
  margin: 1vh 2vw;
  font-size: 1rem;
  line-height: 2.35;
  font-weight: 600;
  text-align: center;
  opacity: 0.9;
}

#challange-friends-text {
  margin: 1vh;
  color: orange;
  font-size: 1.4rem;
  text-shadow: 0 0 5px black, 0 0 10px black, 0 0 15px black;
  margin-top: 3vh;
}

/* Pulse Animation */
@keyframes pulseAnim {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Start Button */
#start-button {
  height: 10vh;
  background: linear-gradient(135deg,#872071, #732387);
  color: white;
  text-align: center;
  text-shadow: 0 0 5px black;
  font-size: 1.8rem;
  font-weight: 1000;
  padding: 2vh 10vw;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 5px 1px #732387;
}

#start-button::after {
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
}

#start-button:active {
  background: linear-gradient(135deg,#732387, #872071);
  transform: scale(0.9);
}



/* Banner Ad */
#banner-ad-space {
  background: white;
  width: 100%;
  display: none;
  text-align: center;
  justify-text: center;
  color: white;
  border-top: 1px solid yellow;
  height: 1vh;
}



/* Tablet & Larger Screens */
@media (min-width: 768px) {
  .nav-buttons { font-size: 1.5rem; }
  #title-header { font-size: 2.5rem; }
  #min-desc { font-size: 1.5rem; line-height: 1.6; }
  #start-button { font-size: 2rem; }
  #challange-friends-text { font-size: 2.5rem; }
}

/* Tall Devices */
@media (min-height: 1100px) {
  .nav-buttons { font-size: 1.5rem; }
  #title-header { font-size: 3rem; }
  #min-desc { font-size: 1.8rem; line-height: 2; }
  #start-button { font-size: 2.2rem; }
  #challange-friends-text { font-size: 2.8rem; }
}