/* gate.css */





body, html {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

.background-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* ===== Responsive Image Utility ===== */
img.responsive {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== ninearth.png ===== */
.globe-logo {
  position: relative;
  width: 100%;
  max-width: 463px;
  min-width: 250px;
  margin: 0 auto 20px auto;
  display: block;
}
img.ninearth-logo {
  width: 100%;
  height: auto;
  display: block;
}
/* Shine effect container */
.globe-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 55%
  );
  opacity: 0;
  pointer-events: none;
}
/* Hover effects */
.globe-logo:hover::after {
  animation: shineEffect 1.5s linear infinite;
  opacity: 1;
}
.globe-logo:hover {
  transform: translateY(-5px) scale(1.02);
  transition: transform 0.3s ease;
}
@keyframes shineEffect {
  0% { left: -55%; }
  100% { left: 55%; }
}

/* ===== Globe Section ===== */
.globe-section {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px auto;
}
/* video */
.globe-section video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.globe-section:hover video {
  transform: scale(1.02); /* slight zoom */
}
/* texts */
.brand-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  max-width: 800px;
  margin: 0 auto;
}
.brand-text1 {
  font-weight: bold;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #00bfff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  margin: 5px 0;
  animation: brandGlow 3s infinite ease-in-out;
  transition: all 0.5s ease;
  text-align: center;
  pointer-events: auto;  
  cursor: pointer;
}
.brand-text1:hover {
  color: #ffffff;
  transform: scale(1.2);
  text-shadow: 0 0 25px #00ffff, 0 0 45px #00ffff;
}
@keyframes brandGlow {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ===== SNS Icons ===== */
.sns-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.sns-icons a {
  font-size: 32px;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
}
.sns-icons a[title="X (Twitter)"] {
  color: white; /* or #1DA1F2 for Twitter blue */
}
.sns-icons a[title="Blogger"] {
  color: #f57d00;
}
.sns-icons a[title="YouTube"] {
  color: #FF0000;
}
.sns-icons .sns-icon-btn {
  background: none; border: 0; padding: 0; margin: 0;
  font-size: 32px; line-height: 1; color: #00ffff; cursor: pointer;
  transition: transform 0.2s, color 0.2s, filter 0.2s;
}
.sns-icons .sns-icon-btn:hover { transform: scale(1.2); filter: brightness(1.2); }
.sns-icons a:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}

/* ===== Video Section ===== */
.video-section {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 0 20px 0;
}
/* video */
.video-section video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  max-height: 60vh; /* 👈 Limits height to 80% of viewport height */
  object-fit: contain;
}
/* iframe */
.video-section iframe {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  max-height: 60vh;
  aspect-ratio: 16 / 9; /* Maintain proper video aspect ratio */
  border: none;
}

/* Tooltip msg Container */
.tooltip-msg {
  width: 25vmin;
  height: auto;
  min-width: 230px;      /* ✅ Minimum width */
  min-height: auto;
  max-width: 400px;
  display: block;
    border-radius: 8px;
    margin: 20px auto;
}
/* Tooltip Text (Dynamic) */
.dynamic-tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 8px 10px;
  border-radius: 5px;
  white-space: pre-line;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}
/* Arrow */
.dynamic-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Ticker Styles */
.ticker-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background-color: rgb(48, 48, 48);
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border-radius: 8px;  
  margin-bottom: 10px;
}
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  transform: translateX(100%);
  animation: ticker linear infinite;
  font-size: 20px;
}
.ticker-container:hover .ticker-content {
  animation-play-state: paused; /* Pause on hover */
}
@keyframes ticker {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
/* Ticker Styles */

.spacer {
  height: 10vh;
}



/* ✅ content section */
.content-section {
    color: #fff;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px;
    width: 90%;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    cursor: pointer;
    text-decoration: underline;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff8c00;
}

p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

li {
    margin-bottom: 20px;
}

hr {
    border: 1px solid #ccc;
    margin: 40px 0;
}

.image-container {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.image-container img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-caption {
    font-size: 0.85rem;
    color: #ccc;
}

.image-caption a {
    color: #ff8c00;
    text-decoration: none;
}

.image-caption a:hover {
    text-decoration: underline;
}

.uniform-image {
  max-height: 200px;
  object-fit: contain; /* or use 'cover' if you want to crop instead of resize */
  border: 1px solid #ccc;
  margin: 10px;
}

hr {
    border: 1px solid #444;
    margin: 20px 0;
}

/* Style for the specific link */
.custom-link {
    color: #ff4500; /* Change this to your desired color */
    text-decoration: underline; /* Removes underline */
    font-weight: bold; /* Makes the link text bold */
}
.custom-link:hover {
    color: #ff6347; /* Change color on hover, optional */
}

.account-link {
    display: flex;
    align-items: center;
}
.account-link img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}
.account-link span {
    font-size: 1rem;
}

@media (max-width: 800px) {
    h1 {
        font-size: 1.5rem;
    }

    button {
        font-size: 1rem;
    }
}


/* ✅ Event Modal */
.event-modal {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.event-modal.show {
  display: flex;
}
.event-modal-content {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
  border: 1px solid #888;

  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ ensures children are centered horizontally */
}
.event-input {
  display: block;
  width: 100%;
  max-width: 400px;         /* ✅ add a limit to prevent over-expansion */
  padding: 10px;
  margin: 12px auto;        /* ✅ centers the element horizontally */
  font-size: 16px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #111;
  color: #fff;
  box-sizing: border-box;   /* ✅ ensures padding doesn't cause layout shift */
}
.event-buttons button {
  padding: 10px 20px;
  margin: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: linear-gradient(45deg, #ff8c00, #ff4500);
  color: white;
  font-weight: bold;
}
.event-buttons button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.event-verification {
  display: none;
  text-align: left;
  margin-top: 20px;
}
.event-code {
  background: #222;
  color: #0f0;
  font-family: monospace;
  padding: 10px;
  border-radius: 6px;
  word-break: break-all;
  margin: 0;
}
/* ✅ Event Modal */

/* ✅ Initial texts */
a.domain {
  color: #00d8ff;
  text-decoration: none;
  position: relative;
}
a.domain::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #00d8ff;
  transition: width 0.3s ease;
}
a.domain:hover::after {
  width: 100%;
}
#typed-text {
  font-size: 24px;
  color: #00d8ff;
  font-weight: bold;
  margin: 40px 0 20px;
  height: 40px;
}
