:root {
  --fg: #ffffff;
  --accent: #dfcd96;
  --bg: #0b0b0b;
  --dot: 6px;
}

/* ===================== */
/* Page-type rules       */
/* ===================== */
body.home .brand .title { display: none; }          /* hide text on Home */
body.page .brand .title { display: inline-block; }  /* show text elsewhere */

/* allow scroll on inner pages */
body.page { overflow: auto;
       font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #151925 0, #050608 52%);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
}

body, html {
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* inner page layout */
.main {
  max-width: 1000px;
  margin: 120px auto 80px;   /* below fixed topbar */
  padding: 0 20px;
}

/* active link */
.menu a.active {
  background: #ffffff22;
  border: 1px solid #ffffff33;
  color: var(--accent, #dfcd96);
}

/* ===================== */
/* Base                  */
/* ===================== */
html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

/* allow document to scroll; home will lock via body.home */
html { overflow: auto; }
body { overflow: hidden; }          /* default (affects Home) */
body.home { overflow: hidden; }     /* explicit for clarity */
body.page { overflow: auto; }       /* pages scroll */

/* ===================== */
/* Hero / video header   */
/* ===================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: brightness(.70) contrast(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 50% 60%, #0000 0%, #0009 60%, #000c 80%);
}

/* ===================== */
/* Top bar               */
/* ===================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  z-index: 10;
  background: linear-gradient(#00000080, #00000010, #00000000);
  backdrop-filter: blur(2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.brand .logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px #0006);
}

.brand .title-img {
  height: clamp(18px, 3.5vw, 36px);  
  width: auto;
  max-width: min(46vw, 480px);    
  display: block;
}

.home .brand .title-img { display: none; }

.brand .title { display: none; }


.topright {
  display: flex;
  align-items: center;
  gap: 10px;
}

select.lang {
  appearance: none;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: rgba(0, 0, 0, 0.6);
  color: var(--fg, #fff);
  padding: 8px 16px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  cursor: pointer;
  width: auto;
  min-width: fit-content;
  text-align: center;
}

select.lang:focus {
  outline: none;
  border-color: var(--accent, #aaa);
}

/* Remove default blue highlight on focus and hover */
select.lang option {
  background-color: #111;
  color: #eee;
}

select.lang option:hover,
select.lang option:checked,
select.lang option:focus {
  background-color: #333 !important;
  color: #fff !important;
}

/* ===================== */
/* Language Dropdown     */
/* ===================== */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.434);
  background: rgba(0, 0, 0, 0.6);
  color: var(--fg);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  font-size: 13px;
  white-space: nowrap;
  height: 40px;
}

.lang-btn:hover,
.lang-btn:focus {
  outline: none;
  border-color: var(--accent, #dfcd96);
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 6px var(--accent);
}

.lang-btn .flag-emoji {
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.lang-btn .lang-option-display {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.lang-btn .arrow {
  transition: transform 0.2s ease;
  opacity: 0.7;
  flex-shrink: 0;
  margin-left: 4px;
}

.lang-btn[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.434);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  z-index: 1000;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 14px;
}

.lang-option.active {
  background: #ffffff22;
  color: var(--accent, #dfcd96);
  font-weight: 600;
}

/* Hide "Powered by Google Translate" watermark and logo */
#google_translate_element .goog-logo-link,
#google_translate_element img.goog-te-gadget-icon,
#google_translate_element span[style*="white-space:nowrap"] {
  display: none !important;
}

/* Optional: remove empty space that remains */
#google_translate_element .goog-te-gadget {
  font-size: 0 !important;
}

/* Keep the dropdown visible and styled */
#google_translate_element .goog-te-combo {
  width: 120px !important; 
  font-size: 16px !important;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.434);
  border-radius: 10px;
  padding: 8px 12px;
}
#google_translate_element .goog-te-combo:hover {
  overflow: visible !important;
  white-space: normal !important;
  width: 180px !important;
  max-width: none !important;
  background: rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 1000;
}

/* Completely hide the Google Translate floating iframe */
iframe.skiptranslate,
.VIpgJd-ZVi9od-xl07Ob-OEVmcd,
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-menu2,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Prevent body shifting or padding changes caused by the banner */
body {
  top: 0 !important;
  position: static !important;
}



.kebab {
  width: auto;                /* allow button to grow */
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.434);
  background: #00000080;
  display: flex;              /* <-- FIX */
  align-items: center;        /* center vertically */
  gap: 8px;                   /* space between text + dots */
  cursor: pointer;
  color: var(--fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* When kebab is focused or hovered */
.kebab:focus,
.kebab:hover {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.dots {
  display: grid;
  grid-template-columns: repeat(3, var(--dot));
  gap: 4px;
}

.dots span {
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--fg);
}

/* ===================== */
/* Center headline       */
/* ===================== */
.center {
  display: grid;
  place-items: center;
  height: 100vh;
  text-align: center;
}

.headline-img {
  width: min(50vw, 500px);
  opacity: 0;
  transform: translateY(40px) scale(.95);
  filter: drop-shadow(0 10px 30px #0009);
  transition: opacity 1.4s ease, transform 1.4s ease;
  margin-top: -620px;
  margin-left: 36px;
}

.headline-img.show {
  opacity: 1;
  transform: translateY(0) scale(1.05);
}

@keyframes bounceIn {
  0% { transform: translateY(30px) scale(.9); opacity: 0; }
  60% { transform: translateY(-10px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}

.headline-img.bounce {
  animation: bounceIn 1.4s ease-out forwards;
}

/* ===================== */
/* Menu                  */
/* ===================== */
/* ===================== */
/* Sticky Menu for All Screens */
/* ===================== */
.menu {
  position: fixed;
  top: 70px;
  right: 18px;
  width: min(92vw, 315px);
  background: #0e0e0ef2;
  border: 1px solid #ffffff40;
  border-radius: 18px;
  padding: 14px;
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  z-index: 9;
  box-shadow: 0 20px 40px #000a;
  transition: .25s ease;
}

/* Menu visible when scrolling */
.menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Sticky Header for all screen sizes */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #333; /* Adjust background for the sticky header */
  padding: 10px 0;
  transition: background-color 0.3s ease;
}

/* On scroll, the header background color changes */
.sticky-header.scrolled {
  background-color: #222; /* Darker background after scrolling */
}

/* For Mobile Devices */
@media (max-width: 768px) {
  /* Ensure menu is scrollable on small mobile screens */
  .menu {
    width: 100%;
    max-width: 315px;
    top: 60px; 
    overflow-y: auto; 
    max-height: 80vh; 
  }
  
  /* Adjust Sticky Header for small devices */
  .sticky-header.scrolled {
    background-color: #111; /* Change background color for mobile */
  }

  /* Make the menu scrollable in small mobile devices */
  .menu.open {
    max-height: 75vh; /* Ensure the menu scrolls only on smaller screens */
    overflow-y: auto; /* Allow scrolling within the menu */
  }
}



.menu nav {
  display: grid;
  gap: 4px;
}

.menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.menu a:hover {
  background: #ffffff15;
}

.menu .section {
  margin-top: 10px;
  padding: 10px 8px 6px;
  color: #cccccc;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: .9rem;
}

.footer-links a:hover {
  color: var(--fg);
}

.social-row {
  display: flex;
  gap: 10px;
  padding: 8px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff10;
  border: 1px solid #ffffff22;
  color: var(--fg);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

/* ===================== */
/* Responsive popups breed */
/* ===================== */

.puppy-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  /* background: rgba(15, 15, 25, 0.6); */
  border: 1px solid rgba(223, 205, 150, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(223, 205, 150, 0.1);
  padding: 24px;
  max-width: 280px;
  width: 100%;
  z-index: 1000;
  display: none;
  animation: slideInRight 0.4s ease-out;
  backdrop-filter: blur(12px);
}

.puppy-popup.show {
  display: block;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(223, 205, 150, 0.4);
  font-size: 24px;
  cursor: pointer;
  color: var(--accent);
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 50%;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--accent);
  transform: scale(1.1);
}

.popup-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
  object-fit: cover;
  border: 1px solid rgba(223, 205, 150, 0.1);
}

.popup-content {
  text-align: center;
}

.popup-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.popup-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #c4b082);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.popup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(223, 205, 150, 0.4);
}

.popup-button:active {
  transform: translateY(0);
}

/* Responsive: Adjust for smaller screens */
@media (max-width: 480px) {
  .puppy-popup {
    bottom: 27px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 280px;
    padding: 16px;
  }

  .popup-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .popup-image {
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .popup-text {
    font-size: 16px;
    margin: 0 0 12px 0;
  }

  .popup-button {
    width: 50%;
    padding: 12px 20px;
    font-size: 13px;
  }

  /* Adjust music bar on small screens */
  .ehGDJd {
    right: -28% !important;
  }
}
/* anchor container */
.sponsor-banner {
  width: 290px;
  display: flex;
  flex-direction: column;
  text-decoration: none; /* remove underline */
  align-items: center;
}

/* text above image */
.sponsor-text {
  display: block;
  text-align: center;
  padding-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: #ffffff; /* change color if needed */
}

/* image styling */
.sponsor-banner img {
  width: 290px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

/* hover */
.sponsor-banner img:hover {
  transform: scale(1.05);
}





/* ===================== */
/* Responsive tweaks     */
/* ===================== */
@media screen and (max-width: 1440px) {
  .headline-img { margin-top: -613px; }
}

@media screen and (max-width: 1025px) {
  .headline-img { margin-top: -552px; }
}

@media screen and (max-width: 768px) {
  .headline-img { margin-top: -567px; }
}

@media screen and (max-width: 500px) {
  .headline-img { margin-top: -560px; }
}

@media (max-width: 600px) {
  .brand img { width: 40px; height: 40px; }
  .center img { width: 60vw; }
}

/* ===================== */
/* FIX: inner page hero  */
/* ===================== */
/* Remove full-screen hero & visuals on non-home pages */
body.page .hero {
  height: auto;       /* instead of 100vh */
  min-height: 0;
  overflow: visible;
  position: static;
  isolation: auto;
}
body.page .hero::after { content: none; display: none; }
body.page .hero video,
body.page .center,
body.page #light { display: none !important; }

/* Keep topbar above content on pages */
body.page .topbar { position: fixed; z-index: 10; }

/* ===================== */
/* Footer Styles        */
/* ===================== */
.site-footer {
  /* background: linear-gradient(180deg, rgba(20, 20, 30, 0.8) 0%, rgba(7, 9, 16, 0.95) 100%); */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  padding: 40px 20px;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

/* Logo Section */
.footer-logos {
  text-align: center;
}

.footer-logos h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #dfcd96;
}

.logos-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.logo-item {
  flex: 1 1 auto;
  min-width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-item img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Copyright Section */
.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  opacity: 0.7;
  width: 100%;
}

.footer-copyright p {
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    gap: 30px;
  }
  
  .logos-grid {
    max-width: 100%;
    gap: 15px;
  }
  
  .logo-item {
    flex: 1 1 auto;
    min-width: 60px;
    height: 60px;
  }
}
