/* ==== RESET & BASE ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Code Pro', monospace;
  background-color: #0A0F2B;
  color: #eee;
  line-height: 1.6;
}

/* ==== HEADER ==== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(10, 15, 43, 0.9);
  border-bottom: 2px solid #00BFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  text-decoration: none;
  color: #00BFFF;
}

.logo .amp {
  color: #FF00FF;
}

.nav {
  display: flex;
  align-items: center; /* Vertically align items */
  gap: 1.5rem;
}

.nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #39FF14;
  text-shadow: 0 0 8px #39FF14;
}

/* Language Switcher Style */
.lang-switcher {
  color: #00BFFF;
  font-size: 0.9rem;
}
.lang-switcher a {
  color: #ccc;
  font-weight: normal;
}
.lang-switcher a:hover {
  color: #fff;
  text-shadow: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
}

/* ==== HERO ==== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bg-overlay {
  background: rgba(10, 15, 43, 0.7);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

.hero-inner h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: #00BFFF;
  text-shadow: 0 0 12px #00BFFF;
}

.hero-inner .tagline {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #FFA500;
}

/* glitch effect */
.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; overflow: hidden;
}
.glitch::before {
  left: 2px;
  text-shadow: -2px 0 magenta;
  clip: rect(24px, 550px, 90px, 0);
}
.glitch::after {
  left: -2px;
  text-shadow: -2px 0 lime;
  clip: rect(85px, 550px, 140px, 0);
}

/* ==== BUTTON ==== */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary {
  background: #00BFFF;
  color: #000;
  box-shadow: 0 0 10px #00BFFF;
}
.btn-primary:hover {
  background: #39FF14;
  box-shadow: 0 0 15px #39FF14;
}
.btn-outline {
  border: 2px solid #FF00FF;
  color: #FF00FF;
}
.btn-outline:hover {
  background: #FF00FF;
  color: #fff;
}
.btn-buy {
  background: #39FF14;
  color: #000;
}
.btn-sell {
  background: #FF00FF;
  color: #fff;
}

/* ==== TICKER ==== */
.ticker {
  background: #111;
  color: #39FF14;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  padding: 0.5rem 0;
  animation: ticker 20s linear infinite;
}
@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==== SECTIONS ==== */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #FFA500;
  text-shadow: 0 0 8px #FFA500;
}

/* ==== CARDS ==== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  border: 2px solid #00BFFF;
  border-radius: 12px;
  padding: 2rem;
  background: rgba(10, 15, 43, 0.8);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #00BFFF;
}
.icon.neon {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #FF00FF;
}

/* ==== SIMULATOR ==== */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.price {
  font-size: 1.2rem;
  color: #39FF14;
}
.controls {
  margin: 1rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.portfolio {
  margin-top: 1rem;
  text-align: left;
  font-size: 0.9rem;
}
.news-feed {
  list-style: none;
  max-height: 400px;
  overflow-y: auto;
  text-align: left;
}
.news-feed li {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-left: 3px solid #FFA500;
  background: rgba(20, 10, 40, 0.7);
}

/* ==== ABOUT SUMMARY ==== */
.about-summary {
  background: url("https://www.transparenttextures.com/patterns/circuit-board.png");
  background-size: cover;
  color: #ddd;
}

/* ==== CAROUSEL ==== */
.carousel {
  position: relative;
}
.slides {
  display: flex;
  overflow: hidden;
}
.slide {
  min-width: 100%;
  transition: transform 0.5s ease;
}
.slide img {
  max-width: 200px;
  border-radius: 50%;
  margin-bottom: 1rem;
}
blockquote {
  font-style: italic;
  color: #ccc;
}

/* ==== TESTIMONIALS GRID ==== */
.testimonials-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.testimonial-item {
  background: rgba(20, 10, 40, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #FF00FF;
}
.testimonial-item img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ==== CONTACT PAGE ==== */
.contact-list {
  margin: 1rem 0;
  list-style: none;
  line-height: 2;
}
.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 2px solid #ff00ea;
  background: #111;
  color: #fff;
  border-radius: 6px;
}
.contact-form button {
  justify-self: start;
}

/* ==== FOOTER ==== */
.site-footer {
  text-align: center;
  padding: 2rem;
  background: #05081c;
  color: #777;
  font-size: 0.9rem;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 43, 0.98);
    padding: 1rem;
  }
  .nav-toggle { display: block; }
  .sim-grid { grid-template-columns: 1fr; }
}

.market-status {
  margin-top: 1rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  text-align: center;
  color: #39FF14;
  text-shadow: 0 0 8px #39FF14, 0 0 12px #00BFFF;
  animation: flicker 1.2s infinite alternate;
}

@keyframes flicker {
  from { opacity: 1; }
  to { opacity: 0.6; }
}

.market-status.paused {
  color: #FF00FF;
  text-shadow: 0 0 8px #FF00FF, 0 0 12px #FFA500;
}
/* ==== TEAM SECTION (ABOUT PAGE) ==== */
.team-section {
  margin-top: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(20, 10, 40, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #FF00FF;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #FF00FF;
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00BFFF;
}

.team-info h3 {
  font-family: 'Orbitron', sans-serif;
  color: #39FF14; /* Neon green for name */
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.team-info p {
  color: #ccc;
  font-size: 1rem;
}

/* ==== WELCOME SPLASH SCREEN ==== */
#welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0A0F2B;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#welcome-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

#greeting-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: #39FF14; /* Neon Green */
  text-shadow: 0 0 12px #39FF14;
}