/* --- GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #07182f 0%, #0d2b4e 50%, #071a30 100%);
  background-attachment: fixed;
  color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* FIX HORIZONTAL SCROLL */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Animated background gradient overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(0, 181, 200, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

/* --- HEADER STYLES --- */
header {
  background: rgba(7, 24, 47, 0.97);
  padding: 1.3rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 181, 200, 0.2);
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.nav-logo-text {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

/* NAV LOGO HOVER UNDERLINE EFFECT */
.nav-logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #00b5c8);
  transition: width 0.3s ease;
}

.nav-logo:hover::after {
  width: 100%;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.5));
}

.nav-logo:hover .nav-logo-text {
  filter: brightness(1.2);
  transform: translateX(3px);
}

.nav-logo:hover {
  transform: translateY(-2px);
}

nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-btn, .nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  font-size: 1rem;
  border-radius: 2rem;
  border: 2px solid #00b5c8;
  background: transparent;
  color: #00b5c8;
  margin-left: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nav-btn i, .nav-btn-login i {
  font-size: 1.1rem;
}

/* NAV BUTTON HOVER UNDERLINE EFFECT */
.nav-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 181, 200, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.nav-btn:hover::before {
  width: 300px;
  height: 300px;
}

.nav-btn:hover, .nav-btn:focus {
  background: rgba(0, 181, 200, 0.1);
  color: #00b5c8;
  border-color: #00b5c8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 181, 200, 0.3);
}

.nav-btn-login {
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: #fff;
  border: 2px solid #00b5c8;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 181, 200, 0.35);
}

.nav-btn-login:hover, .nav-btn-login:focus {
  background: linear-gradient(135deg, #008aa5 0%, #006f87 100%);
  color: #fff;
  border-color: #008aa5;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 181, 200, 0.5);
}

.menu-toggle {
  display: none;
  background: rgba(0, 181, 200, 0.1);
  border: 2px solid #00b5c8;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  color: #00b5c8;
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  transition: all 0.3s ease;
}

/* --- COMING SOON HERO STYLES --- */
.coming-soon-hero {
  background: linear-gradient(135deg, rgba(234, 253, 255, 0.08) 0%, rgba(0, 181, 200, 0.05) 100%);
  padding: 8rem 0 4rem 0;
  text-align: center;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 181, 200, 0.2);
  position: relative;
  overflow: hidden;
}

.coming-soon-hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  line-height: 1.1;
  position: relative;
  z-index: 2;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subtitle {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.35rem;
  color: #cceff5;
  font-weight: 500;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- COUNTDOWN CARD STYLES --- */
.countdown-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 3rem;
  margin: 3rem auto;
  max-width: 600px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(0, 181, 200, 0.3);
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.countdown-label {
  color: #cceff5;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.countdown-time {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1rem 0;
  text-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.fun-message {
  font-size: 1.4rem;
  color: #FFD700;
  font-weight: 600;
  margin: 2rem 0 0 0;
  line-height: 1.5;
}

/* --- DIRECTORY FEATURES GRID --- */
.directory-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1000px;
}

.directory-feature {
  background: rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 2px solid rgba(0, 181, 200, 0.2);
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

.directory-feature:hover {
  transform: translateY(-5px);
  border-color: #00b5c8;
  box-shadow: 0 10px 30px rgba(0, 181, 200, 0.2);
}

.directory-feature i {
  font-size: 3rem;
  color: #00b5c8;
  margin-bottom: 1.5rem;
}

.directory-feature h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.directory-feature p {
  color: #cceff5;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- WAITLIST CARD STYLES --- */
.waitlist-card {
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid #FFD700;
  border-radius: 1.5rem;
  padding: 3rem;
  margin: 3rem auto;
  max-width: 500px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.waitlist-card h3 {
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.waitlist-card p {
  color: #cceff5;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.waitlist-input {
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  border: 2px solid rgba(0, 181, 200, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: black;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.waitlist-input::placeholder {
  color: black;
}

.waitlist-input:focus {
  outline: none;
  border-color: #00b5c8;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

select.waitlist-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%2300b5c8' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 12px;
  padding-right: 3rem;
}

.btn-primary {
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1.1rem 3rem;
  border-radius: 2.5rem;
  border: none;
  box-shadow: 0 8px 25px rgba(0,181,200,0.4);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover { 
  background: linear-gradient(135deg, #008aa5 0%, #006f87 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0,181,200,0.6);
}

.privacy-note {
  font-size: 0.9rem;
  color: #cceff5;
  margin-top: 1rem;
  opacity: 0.8;
}

/* --- FOOTER STYLES --- */
footer {
  background: rgba(7, 24, 47, 0.97);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  flex-shrink: 0;
  backdrop-filter: blur(15px);
  border-top: 2px solid rgba(0, 181, 200, 0.2);
  position: relative;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(1.2);
  transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.1) rotate(5deg);
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #00b5c8;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}

/* FOOTER LINK HOVER UNDERLINE EFFECT */
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00b5c8, #FFD700);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: #FFD700;
  transform: translateY(-3px);
}

.footer-copyright {
  font-size: 1rem;
  color: #cceff5;
}

/* --- LOADER STYLES --- */
#qaruno-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: linear-gradient(135deg, rgba(7,24,47,0.99) 0%, rgba(13,43,78,0.99) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-spinner {
  width: 90px;
  height: 90px;
  border: 8px solid transparent;
  border-top: 8px solid #00b5c8;
  border-right: 8px solid #FFD700;
  border-radius: 50%;
  animation: spinGlow 1.2s linear infinite;
  margin-bottom: 2.5rem;
  box-shadow: 0 0 30px rgba(0, 181, 200, 0.5), inset 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes spinGlow {
  0% { 
    transform: rotate(0deg);
    box-shadow: 0 0 20px rgba(0, 181, 200, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.7);
  }
  100% { 
    transform: rotate(360deg);
    box-shadow: 0 0 20px rgba(0, 181, 200, 0.5);
  }
}

.loader-brand {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3.2rem;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow: 0 4px 25px rgba(0, 138, 165, 0.8);
  margin-bottom: 1.2rem;
  text-align: center;
  line-height: 1.1;
  animation: pulse 2s ease-in-out infinite;
}

.loader-msg {
  color: #cceff5;
  font-size: 1.5rem;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 1.5px;
  min-height: 2.8em;
}

/* --- COOKIE BANNER STYLES --- */
#cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 400px;
  background: rgba(7, 24, 47, 0.97);
  border: 2px solid rgba(0, 181, 200, 0.5);
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 12px 48px rgba(0, 181, 200, 0.3);
  z-index: 10000;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: none;
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.cookie-title {
  color: #FFD700;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.cookie-close {
  background: rgba(0, 181, 200, 0.1);
  border: none;
  color: #00b5c8;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-message {
  color: #cceff5;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.7rem 1.4rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #00b5c8;
  text-decoration: none;
  flex: 1;
  text-align: center;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 181, 200, 0.3);
}

.cookie-btn.accept:hover {
  background: linear-gradient(135deg, #008aa5 0%, #006f87 100%);
  border-color: #008aa5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 181, 200, 0.4);
}

.cookie-btn.settings {
  background: transparent;
  color: #00b5c8;
}

.cookie-btn.settings:hover {
  background: rgba(0, 181, 200, 0.15);
  transform: translateY(-2px);
}

.cookie-icon {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #00b5c8;
  font-size: 2rem;
}

/* --- BACK TO TOP STYLES --- */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
  box-shadow: 0 6px 24px rgba(0, 181, 200, 0.4);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

#backToTop:hover {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 10px 32px rgba(255, 215, 0, 0.5);
}

/* --- MOBILE STYLES --- */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 1.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 24, 47, 0.99);
    padding: 2rem 1.5rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(0, 181, 200, 0.3);
  }
  
  nav.active {
    display: flex;
  }
  
  .nav-btn, .nav-btn-login {
    width: 100%;
    margin: 0.7rem 0;
    text-align: center;
    margin-left: 0;
    padding: 1rem 1.5rem;
    font-size: 1.08rem;
    justify-content: center;
  }
  
  .coming-soon-hero {
    padding: 6rem 0 3rem 0;
  }
  
  .coming-soon-hero h1 {
    font-size: 2.4rem;
    padding: 0 1.2rem;
  }
  
  .subtitle {
    font-size: 1.12rem;
    padding: 0 1.5rem;
  }
  
  .countdown-card {
    padding: 2rem;
    margin: 2rem auto;
  }
  
  .countdown-time {
    font-size: 2.5rem;
  }
  
  .fun-message {
    font-size: 1.2rem;
  }
  
  .directory-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem auto;
  }
  
  .directory-feature {
    padding: 2rem;
  }
  
  .waitlist-card {
    padding: 2rem;
    margin: 2rem auto;
  }
  
  .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
  
  #cookie-banner {
    width: calc(100% - 2rem);
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    margin: 0 auto;
  }
  
  /* FIXED FOOTER - 5 LINKS PER ROW */
  .footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem 0.5rem;
    max-width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-links a {
    margin: 0;
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.3;
    padding: 0 0.2rem;
    position: relative;
  }
  
  /* Remove separator lines on mobile */
  .footer-links a::before {
    display: none !important;
  }
  
  /* Keep hover color effect */
  .footer-links a:hover {
    color: #FFD700;
    transform: scale(1.05);
  }
  
  #backToTop {
    width: 52px;
    height: 52px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .coming-soon-hero h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1.05rem;
  }
  
  .countdown-time {
    font-size: 2rem;
  }
  
  .fun-message {
    font-size: 1.1rem;
  }
  
  /* ADJUST FOOTER FOR SMALLER SCREENS */
  .footer-links {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem 0.3rem;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 360px) {
  .footer-links {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.7rem 0.2rem;
  }
  
  .footer-links a {
    font-size: 0.82rem;
  }
}