/* main container styles */
#main {
  display: flex;
  flex-direction: column;
}
#top-bar {
  height: 8%;
  min-height: 60px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

#logo a {
  text-decoration: none;
  display: inline-block;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
  width: 30px;
  height: 30px;
  justify-content: space-around;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #2c3e50;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

#main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

#main-nav a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#main-nav a:hover {
  background-color: #f0f0f0;
  color: #3498db;
}

#top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Online counter styles to match video.html */
.online-counter {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.online-text {
  color: #9cf;
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  padding: 8px 16px;
}

.online-details {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  min-width: 250px;
  z-index: 100;
}

.online-details.hidden {
  display: none;
}

.top-locations h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #2c3e50;
}

.top-locations ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-locations li {
  padding: 2px 0;
  color: #6c757d;
  font-size: 14px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 700;
  background: #409ffe;
  background-image: -o-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -moz-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#80c0ff), to(#017ffe));
  background-image: -webkit-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -ms-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: linear-gradient(to bottom, #80c0ff 0, #017ffe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15em;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
}

#content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 900px;
  margin: 1em auto;
  box-sizing: border-box;
  padding: 1.5em 1.5em 2em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
  border-radius: 0.75em;
}

/* Content styles moved to hero-section */

#social-message {
  display: flex;
  padding: 2rem 1.5rem;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin-top: 0.5rem;
}
#message-content {
  width: 100%;
  padding: 0;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  line-height: 1.7;
}
#message-image {
  width: 50px;
  flex-grow: 1;
  display: block;
  object-fit: cover;
}

#instructions {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

#instructions .monitoring-notice {
  margin: 0;
  width: 80%;
  max-width: 600px;
}

.monitoring-notice {
  background-color: #bfdeff;
  border: 1px solid #90c5ff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.monitoring-notice p {
  margin: 0;
  color: #1a4c84;
  font-size: 1.1em;
}

.intro-text {
  text-align: center;
  color: #666;
  font-size: 1.1em;
  margin: 0 auto 1.75rem;
  max-width: 650px;
  line-height: 1.7;
  font-weight: 400;
}

.safety-notice {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  margin: 1.5rem 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.safety-notice p {
  margin: 0;
  color: #856404;
  font-size: 1.1em;
  line-height: 1.6;
}

/* Default styles for all devices */
.monitoring-message {
  background-color: #bfdeff; /* Light grey background */
  color: #333; /* Dark text for readability */
  padding: 10px;
  margin: 10px;
  border-radius: 5px; /* Rounded corners */
  text-align: center; /* Centered text */
  font-size: 16px; /* Default text size */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Styles for mobile devices */
@media (max-width: 600px) {
  .monitoring-message {
    font-size: 14px; /* Smaller text for mobile screens */
    padding: 8px; /* Slightly less padding on mobile */
  }
}


#options-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
  width: 100%;
  max-width: 800px;
}

#interest-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

#interest-container p {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.01em;
}

#interest-container input {
  font-size: 1rem;
  padding: 1rem 1.25rem;
  width: 100%;
  max-width: 100%;
  background: white;
  cursor: text;
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font-family: inherit;
  box-sizing: border-box;
}

#interest-container input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.12), 0 4px 12px rgba(52, 152, 219, 0.15);
  transform: translateY(-2px);
  background: #fafbff;
}

#interest-container input::placeholder {
  color: #94a3b8;
  font-style: italic;
}

#tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  min-height: 0;
  align-items: flex-start;
  line-height: 0;
}

.interest-tag {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 13px;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
  line-height: 1;
  margin: 0;
  vertical-align: top;
  height: auto;
}

.interest-tag:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
}

.interest-tag p {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
  vertical-align: top;
  margin-bottom: 0;
  padding-bottom: 0;
}

.interest-tag span {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  display: inline-block;
  vertical-align: top;
  margin-bottom: 0;
  padding-bottom: 0;
}

.interest-tag .tag-close {
  margin: 0;
  margin-left: 2px;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.interest-tips {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(59, 130, 246, 0.06);
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
}

.interest-tips p {
  margin: 0;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  text-align: left;
  font-weight: 400;
}

#chat-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#chat-options p {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

/* Removed duplicate - see below */

#button-container p {
  margin: auto 10px;
}

/* Blue Shiny Button Styles - for text chat button only */
.shiny-blue:not(.duck-start-video-chat-btn) {
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  font-size: 18px;
  margin: 8px;
  padding: 16px 32px;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #667eea 50%, #00d4ff 75%, #667eea 100%);
  background-size: 300% 300%;
  color: white;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4),
              0 0 30px rgba(0, 212, 255, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: shimmer 3s infinite;
  min-width: 160px;
}

.shiny-blue:not(.duck-start-video-chat-btn)::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.shiny-blue:not(.duck-start-video-chat-btn):hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.6),
              0 0 40px rgba(0, 212, 255, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: shimmer 1.5s infinite;
}

.shiny-blue:not(.duck-start-video-chat-btn):active {
  transform: translateY(0) scale(1);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4),
              0 0 20px rgba(0, 212, 255, 0.3);
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

#button-container {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0.5rem auto;
  padding: 0;
  box-sizing: border-box;
}

#button-container .duck-start-video-chat {
  margin: 0;
  flex-shrink: 0;
  flex: 0 0 auto;
}

#button-container .shiny-blue:not(.duck-start-video-chat-btn) {
  min-width: 160px;
}

@media (max-width: 768px) {
  #button-container {
    flex-direction: column;
    align-items: center;
  }
}

#footer {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 2px;
  font-size: 12px;
  margin-top: 10px;
  padding-bottom: 10px;
  color: #6c757d;
}

#footer a, p {
  margin: 0;
  padding: 0;
}

#footer a {
  margin-left: 0.5rem;
}

#disclaimer{
  padding: 10px 20px;
  color: gray;
  font-size: 13px;
}

#message-content h2 {
  color: #2c3e50;
  text-align: center;
  font-size: 2em;
  margin: 1em 0;
  background: #409ffe;
  background-image: -o-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -moz-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#80c0ff), to(#017ffe));
  background-image: -webkit-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -ms-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: linear-gradient(to bottom, #80c0ff 0, #017ffe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#message-content h3 {
  color: #3498db;
  font-size: 1.5em;
  margin: 1.75rem 0 1rem;
  font-weight: 600;
  line-height: 1.4;
  background: #409ffe;
  background-image: -o-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -moz-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#80c0ff), to(#017ffe));
  background-image: -webkit-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -ms-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: linear-gradient(to bottom, #80c0ff 0, #017ffe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#message-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.5rem;
}

#message-content ul li {
  margin: 1rem 0;
  font-size: 1.1em;
  line-height: 1.7;
  padding-left: 0.5rem;
}

.why-choose-us {
  margin: 1.5rem 0;
  padding: 1.5rem 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.why-choose-us h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2em;
  display: block;
  margin-bottom: 0.5rem;
}

.feature-item p {
  margin: 0;
  font-size: 1.1em;
  color: #2c3e50;
  font-weight: 500;
}

.support-section {
  margin-top: 0.5rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.support-section h3 {
  text-align: center;
  color: #2c3e50;
  margin: 0 0 1.5rem 0;
  font-size: 1.5em;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.crypto-item {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.crypto-item span {
  display: block;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 0.5rem;
}

.crypto-item code {
  display: block;
  font-family: monospace;
  font-size: 0.9em;
  color: #666;
  word-break: break-all;
  background: #f1f3f5;
  padding: 0.5rem;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #message-content {
    padding: 15px;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .crypto-grid {
    grid-template-columns: 1fr;
  }

  #options-container {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  #button-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  #message-content h2 {
    font-size: 1.5em;
  }

  #options-container {
    padding: 1rem;
    gap: 1rem;
  }

  #interest-container input {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

}

/* FAQ Section Styles */
.faq-section {
  max-width: 800px;
  width: 100%;
  margin: 2rem auto 1.5rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.faq-section h2 {
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  background: #409ffe;
  background-image: -o-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -moz-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#80c0ff), to(#017ffe));
  background-image: -webkit-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: -ms-linear-gradient(top, #80c0ff 0, #017ffe 100%);
  background-image: linear-gradient(to bottom, #80c0ff 0, #017ffe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
  transition: background-color 0.2s ease;
  line-height: 1.5;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 18px;
}

.faq-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.3s ease-in-out, opacity 0.2s ease-in-out;
  padding: 0 1.5rem;
  visibility: hidden;
}

.faq-answer.active {
  opacity: 1;
  padding-bottom: 1.75rem;
  visibility: visible;
}

.faq-answer div {
  color: #666;
  line-height: 1.75;
  padding: 0.75rem 0 0;
  font-size: 1.05em;
}