:root {
  --primary-color: #ffffff;
  --accent-color: #ffffff;
  --bg-dark: #0a0a0a;
  --glass-bg: rgba(10, 10, 10, 0.4);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Kanit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;

}


@keyframes pop {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  50% {
    transform: scale(1.4);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
}

.pop-animation {
  animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}

/* --- FULL MAP PICKER STYLES --- */
.expand-map-btn {
  position: absolute;
  top: 15px;
  right: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.expand-map-btn:hover {
  background: white;
  color: black;
  transform: scale(1.1);
}

.full-map-container {
  width: 90%;
  height: 85vh;
  max-width: 1200px;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  position: relative;
  padding: 15px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}


@media (max-width: 768px) {
  .full-map-container {
    width: 96%;
    height: 80vh;
    padding: 40px 10px 60px 10px;
    border-radius: 20px;
  }

  .apply-map-btn {
    width: 90%;
    margin-bottom: 20px;
  }
}

.apply-map-btn {
  background: #e87e13;
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 15px;
  width: auto;
  min-width: 200px;
  box-shadow: 0 10px 20px rgba(232, 126, 19, 0.3);
  transition: all 0.3s;
  z-index: 1001;
}

.apply-map-btn:hover {
  background: #ff8c1a;
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(232, 126, 19, 0.4);
}

.apply-map-btn:active {
  transform: scale(0.95);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--primary-color);
  overflow-x: hidden;

  animation: pageFadeIn 1.5s ease-out forwards;
}

.form-helper {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
  margin-bottom: 8px;
  font-style: italic;
  opacity: 0.8;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


::-webkit-scrollbar {
  display: none;
}

main {
  width: 100vw;
  position: relative;
}

.landing {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slideshow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: #000;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 10s ease-in-out;
  transform: scale(1.1);
  filter: brightness(0.6) contrast(1.1);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: -1;
  pointer-events: none;
}

.globe-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  padding: 50px;
}

.globe-section-title {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--primary-color);
  letter-spacing: 3px;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

.globe-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  padding: 15px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: 0 0 40px rgba(232, 126, 19, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.globe-container {
  position: relative;
  width: 100%;
  height: 600px;
  background: #000;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.ticker-wrap {
  position: absolute;
  top: 0;
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
  z-index: 10;
  display: flex;
}

.ticker {
  display: flex;
  width: fit-content;
  animation: tickerMove 35s linear infinite;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.ticker-content {
  display: flex;
  white-space: nowrap;
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.side-stamp {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.4);
  z-index: 10;
  pointer-events: none;
}

.side-stamp.left {
  left: 30px;
}

.side-stamp.right {
  right: 30px;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.landing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: floatCard 6s ease-in-out infinite, slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeIn 1s ease-out 0.5s forwards;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #aaaaaa;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-text {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 90px);
  line-height: 1.05;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-text .accent {
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero-text .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--primary-color);
}

.hero-divider {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 30px auto;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}

.hero-action-text {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 35px;
  line-height: 1.5;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.hero-action-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

.cta-row {
  position: relative;
  margin: 100px 0 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-out 0.5s forwards;
  opacity: 0;
}


.mainbtn {
  position: relative;
  padding: 16px 48px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.mainbtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.mainbtn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #e87e13;
  box-shadow: 0 0 30px rgba(232, 126, 19, 0.4);
  transform: translateY(-2px);
}

.mainbtn:hover::before {
  left: 100%;
}

.mainbtn:active {
  transform: translateY(1px);
}

.info-bar {
  position: relative;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10;
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
  opacity: 0;
  width: 95%;
  max-width: 900px;
}


.ornament {
  width: 100%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  position: relative;
}

.ornament::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.info-glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 25px 40px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.info-glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.info-icon {
  font-size: 40px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.info-text p {
  color: #ddd;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-align: left;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}


.pin-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.pin-sidebar.active {
  right: 0;
}

.close-sidebar {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 24px;
  line-height: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-sidebar:hover {
  background: var(--primary-color);
  color: black;
  transform: scale(1.1);
}

.sidebar-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.sidebar-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 25px;
}


.action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 10px 20px;
  border-radius: 15px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-display);
  font-weight: 600;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.action-btn.liked {
  border-color: var(--accent-color);
  background: rgba(232, 126, 19, 0.1);
  box-shadow: 0 0 15px rgba(232, 126, 19, 0.3);
}

.action-btn.liked .like-icon {
  filter: drop-shadow(0 0 5px var(--accent-color));
  transform: scale(1.2);
}

.like-icon {
  font-size: 20px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.delete-comment-btn {
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.2);
  color: #ff5252;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s ease;
  margin-left: 10px;
  flex-shrink: 0;
}

.delete-comment-btn:hover {
  background: #ff5252;
  color: white;
  transform: scale(1.1);
}

.sidebar-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.action-btn svg {
  width: 18px;
  height: 18px;
}

.eagle-icon {
  font-size: 18px;
  filter: grayscale(1) opacity(0.7);
  display: inline-block;
  transform-origin: center bottom;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.action-btn.liked .eagle-icon {
  filter: grayscale(0) opacity(1) drop-shadow(0 0 4px rgba(232, 126, 19, 0.6));
  animation: popUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.6) translateY(-4px);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes numberPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.6);
    color: #e87e13;
  }

  100% {
    transform: scale(1);
  }
}

.pop-animation {
  display: inline-block;
  animation: numberPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comments-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  flex: 1;
}

.comment {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.comment strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 4px;
  font-size: 13px;
}

.comment-input-area {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

#newCommentInput {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 10px 15px;
  color: white;
  font-family: 'Outfit', sans-serif;
  outline: none;
}

#newCommentInput:focus {
  border-color: var(--primary-color);
}

#submitCommentBtn {
  background: var(--primary-color);
  color: black;
  border: none;
  border-radius: 20px;
  padding: 0 15px;
  font-family: var(--font-display);
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s;
}

#submitCommentBtn:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-text {
    font-size: 40px;
  }

  .glass-card {
    padding: 30px 20px;
  }

  .stat-bar {
    flex-wrap: wrap;
    bottom: 20px;
  }

  .stat-card {
    flex: 1 1 40%;
  }

  .side-stamp {
    display: none;
  }
}


.add-pin-btn {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: var(--primary-color);
  color: black;
  border: none;
  border-radius: 30px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  z-index: 100;
}

.add-pin-btn svg {
  width: 16px;
  height: 16px;
}

.add-pin-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(232, 126, 19, 0.4);
  background: #e87e13;
  color: white;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #111;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 40px;
  width: 90%;
  max-width: 550px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  color: white;
  border: none;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #e87e13;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.modal-desc {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 8px;
  color: #ccc;
  letter-spacing: 1px;
}

.form-group input[type="text"],
.form-group input[type="file"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 15px;
  color: white;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
  border-color: #e87e13;
}

.location-input-group {
  display: flex;
  gap: 10px;
}

.geo-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 8px;
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.geo-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.submit-pin-btn {
  width: 100%;
  background: #e87e13;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
}

.submit-pin-btn:hover {
  background: #d16e0c;
  transform: translateY(-2px);
}


.file-drop-zone {
  position: relative;
  width: 100%;
  height: 100px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}

.file-drop-zone input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #aaa;
  pointer-events: none;
}

.drop-zone-content svg {
  color: var(--primary-color);
}

.drop-text {
  font-size: 13px;
  text-align: center;
}


.sidebar-image {
  position: relative;
}

.expand-img-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--glass-border);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.2s;
  z-index: 5;
}

.expand-img-btn:hover {
  background: var(--primary-color);
  color: black;
  transform: scale(1.05);
}

.expand-img-btn svg {
  width: 18px;
  height: 18px;
}


.global-drop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.global-drop-overlay.active {
  opacity: 1;
}

.global-drop-content {
  color: #e87e13;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.global-drop-overlay.active .global-drop-content {
  transform: scale(1);
}

.global-drop-content h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-top: 20px;
  letter-spacing: 2px;
  color: white;
}

.success-message {
  text-align: center;
  padding: 20px 0;
}

.success-message svg {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.success-message h4 {
  font-family: var(--font-display);
  font-size: 28px;
  color: #4ade80;
  margin-bottom: 10px;
}

.success-message p {
  color: #ccc;
}


.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.reset-globe-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.reset-globe-btn:hover {
  background: #e87e13;
  border-color: #e87e13;
  transform: translateY(-2px);
}


.main-header {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 3px;
  color: white;
}

.logo span {
  color: transparent;
  -webkit-text-stroke: 1px white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #e87e13;
}

.login-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.login-nav-btn:hover {
  background: #e87e13;
  border-color: #e87e13;
  transform: translateY(-2px);
}


.site-footer {
  background: #050505;
  border-top: 1px solid var(--glass-border);
  padding: 60px 40px;
  color: white;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-social,
.footer-contact {
  flex: 1;
  min-width: 300px;
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: #e87e13;
  border-color: #e87e13;
  transform: translateY(-5px);
}

.copyright {
  color: #666;
  font-size: 14px;
  letter-spacing: 1px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  color: white;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e87e13;
}

.contact-submit-btn {
  background: white;
  color: black;
  border: none;
  border-radius: 8px;
  padding: 15px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 5px;
}

.contact-submit-btn:hover {
  background: #e87e13;
  color: white;
}


.login-content {
  max-width: 400px;
}

.social-logins {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.social-login-btn.google:hover {
  background: #db4437;
  border-color: #db4437;
}

.social-login-btn.facebook:hover {
  background: #4267B2;
  border-color: #4267B2;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
  padding: 0 15px;
  color: #888;
  font-size: 14px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -10px;
  margin-bottom: 20px;
}


.leaderboard-section {
  padding: 100px 40px;
  background: linear-gradient(to bottom, #0a0a0a, #111);
}

.leaderboard-container {
  max-width: 1200px;
  margin: 0 auto;
}

.leaderboard-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(to right, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.leaderboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.leaderboard-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.leaderboard-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--primary-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leader-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.leader-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-item:hover {
  transform: scale(1.02) translateX(10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.leader-rank {
  font-family: var(--font-display);
  font-weight: 900;
  color: #e87e13;
  width: 30px;
  font-size: 22px;
  font-style: italic;
}

.leader-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.leader-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.leader-info {
  flex: 1;
}

.leader-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.leader-val {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

.leader-item.is-me {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  animation: userGlow 2s infinite alternate;
}

@keyframes userGlow {
  from {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  }

  to {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
    border-color: #fff;
  }
}

.leaderboard-footer {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.leader-pagination {
  display: flex;
  gap: 10px;
}

.pag-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.pag-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: black;
}

.pag-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.my-rank-status {
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
}

.my-rank-status span {
  color: #e87e13;
  font-weight: 800;
}


@media (max-width: 768px) {
  .leaderboard-section {
    padding: 60px 15px;
  }

  .leaderboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .leaderboard-title {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .leaderboard-card {
    padding: 15px; /* Compact padding for mobile */
  }

  .leaderboard-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .leader-item {
    padding: 10px;
    gap: 12px;
  }

  .leader-rank {
    width: 20px;
    font-size: 18px;
  }

  .leader-img, .leader-icon-box {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .leader-name {
    font-size: 15px;
  }

  .leader-stat {
    font-size: 16px;
  }
}


@media (max-width: 1024px) {
  .logo {
    font-size: 24px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .info-bar {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .main-header {
    top: 10px;
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 13px;
  }

  .login-nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .landing {
    padding-top: 160px;
  }

  .hero-content h1 {
    font-size: 40px;
    letter-spacing: 4px;
  }

  .hero-content p {
    font-size: 16px;
    max-width: 90%;
  }

  /* Show Ticker on Mobile */
  .ticker-wrap {
    display: flex !important;
    top: 148px; /* Tighter to the mobile header */
    bottom: auto;
    padding: 8px 0;
    z-index: 15;
    background: rgba(0, 0, 0, 0.4);
  }

  .ticker {
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
  }

  /* Show Side Stamps on Mobile */
  .side-stamp {
    display: block !important;
    font-size: 14px;
    letter-spacing: 3px;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.8);
    top: 42%; /* Moved higher up */
  }

  .side-stamp.left {
    left: -1px; 
  }

  .side-stamp.right {
    right: 15px; /* Keeping this at 15px as per previous adjustment, or as needed */
  }

  .info-bar {
    margin-top: 30px;
  }

  .info-glass-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
    gap: 15px;
  }

  .info-text p {
    text-align: center;
    font-size: 14px;
  }


  .globe-wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .globe-container {
    height: 70vh;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .add-pin-btn {
    bottom: 25px;
    left: 20px;
    right: 20px;
    width: auto;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }

  .reset-globe-btn {
    top: 15px;
    right: 15px;
    padding: 8px 14px;
    font-size: 12px;
  }


  .pin-sidebar {
    width: 100%;
    right: -100%;
  }

  .sidebar-title {
    font-size: 22px;
  }


  .modal-content {
    padding: 20px 15px 60px 15px;
    /* Added extra bottom padding (60px) */
    width: 92%;
    max-height: 85vh;
    /* Slightly reduced height to ensure it fits above the keyboard/toolbar */
    overflow-y: auto;
    border-radius: 16px;
    /* Enable scrollbar only for modal on mobile */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  }

  .modal-content::-webkit-scrollbar {
    display: block;
    width: 4px;
  }

  .modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
  }

  .modal-title {
    font-size: 19px;
    margin-bottom: 8px;
    padding-right: 25px;
    /* Give space for the X button */
    text-align: left;
  }

  .close-modal {
    top: 15px;
    right: 15px;
    font-size: 28px;
  }

  .modal-desc {
    font-size: 13px;
    margin-bottom: 15px;
  }

  #leafletMap {
    height: 130px !important;
    /* Smaller map on mobile to save space */
    filter: brightness(1.15) contrast(1.1);
    /* Slightly brighter and sharper for mobile */
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group label {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px;
    font-size: 14px;
  }

  .submit-pin-btn {
    padding: 12px;
    font-size: 14px;
    margin-top: 5px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-logo,
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .info-glass-card {
    width: 100%;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 11px;
  }

  #navContactLink {
    display: none;
  }


}


@keyframes pop {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  50% {
    transform: scale(1.4);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
}

.pop-animation {
  animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}