/* CRYPTO-STYLE DARK THEME */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #181a20;
  color: #f1f5f9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: #23272f;
  border-bottom: 1.5px solid #232b3e;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.site-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #00e1ff;
  letter-spacing: 2px;
  text-shadow: 0 0 12px #00e1ff66;
  font-family: 'Segoe UI', 'Arial Black', sans-serif;
  position: relative;
  padding: 0.3rem 0.8rem;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(45deg, #00e1ff11, #00ffae11);
  transition: all 0.3s ease;
}
.site-title:hover {
  border-color: #00e1ff;
  box-shadow: 0 0 16px #00e1ff44;
  transform: scale(1.02);
}
.site-title::before {
  content: '📈';
  margin-right: 0.5rem;
  font-size: 1.2rem;
}
.site-title::after {
  content: '.com';
  font-size: 0.7rem;
  color: #00ffae;
  margin-left: 0.3rem;
  font-weight: 600;
}

/* Navigation Menu - Desktop */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
.nav-menu li a {
  text-decoration: none;
  color: #f1f5f9;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
}
.nav-menu li a:hover, .nav-menu li a.active {
  color: #00e1ff;
  background: #232b3e;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: #00e1ff;
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Ticker Bar */
.ticker-bar {
  background: #10131a;
  border-bottom: 2px solid #00e1ff;
  overflow: hidden;
  width: 100vw;
  min-height: 38px;
  position: relative;
  z-index: 10;
}
.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-size: 1.05rem;
  gap: 2.5rem;
}
@keyframes ticker-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f5f9;
  font-weight: 500;
}
.ticker-symbol {
  color: #00e1ff;
  font-weight: 700;
}
.ticker-price {
  color: #fff;
  font-weight: 600;
}
.ticker-change.positive {
  color: #00ffae;
  text-shadow: 0 0 6px #00ffae55;
}
.ticker-change.negative {
  color: #ff3b6b;
  text-shadow: 0 0 6px #ff3b6b55;
}

/* Main Section */
main {
  flex: 1;
  padding: 2rem 0 1rem 0;
}
.stock-section h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #00e1ff;
  text-shadow: 0 0 8px #00e1ff33;
}
#stock-table-container {
  background: #23272f;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(0,225,255,0.04);
  padding: 1.5rem 1rem;
  overflow-x: auto;
}
#stock-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: transparent;
}
#stock-table th, #stock-table td {
  padding: 0.7rem 1rem;
  text-align: center;
}
#stock-table th {
  background: #181a20;
  font-weight: 600;
  color: #00e1ff;
  border-bottom: 2px solid #232b3e;
}
#stock-table tbody tr {
  transition: background 0.2s;
}
#stock-table tbody tr:hover {
  background: #232b3e;
}
#stock-table td {
  border-bottom: 1px solid #232b3e;
  font-size: 1rem;
}
#stock-table tbody tr:last-child td {
  border-bottom: none;
}
.positive {
  color: #00ffae;
  font-weight: 600;
  text-shadow: 0 0 6px #00ffae55;
}
.negative {
  color: #ff3b6b;
  font-weight: 600;
  text-shadow: 0 0 6px #ff3b6b55;
}

/* Spinner */
.spinner {
  display: none;
  margin: 2rem auto;
  border: 6px solid #232b3e;
  border-top: 6px solid #00e1ff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer */
footer {
  background: #23272f;
  border-top: 1.5px solid #232b3e;
  padding: 1rem 0;
  margin-top: 2rem;
}
.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.footer-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
.footer-links a {
  color: #00e1ff;
  text-decoration: none;
  font-weight: 500;
  transition: text-decoration 0.2s;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* Market Guidance & Promo */
.market-guidance {
  background: #232b3e;
  border-left: 5px solid #00e1ff;
  border-radius: 8px;
  box-shadow: 0 1px 8px #00e1ff22;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.market-guidance h2 {
  color: #00e1ff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.market-guidance p {
  color: #b6eaff;
  font-size: 1.05rem;
  line-height: 1.7;
}
.calculator-promo {
  background: #1e293b;
  border-left: 5px solid #00ffae;
  border-radius: 8px;
  box-shadow: 0 1px 8px #00ffae22;
  padding: 1.2rem 1.5rem;
  margin: 2rem auto 2rem auto;
  max-width: 800px;
  text-align: center;
}
.calculator-promo h2 {
  color: #00ffae;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.calculator-promo p {
  color: #b6ffe7;
  font-size: 1.08rem;
  margin-bottom: 1rem;
}
.calculator-btn {
  display: inline-block;
  background: linear-gradient(90deg, #00e1ff 0%, #00ffae 100%);
  color: #181a20;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.08rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #00e1ff33;
  letter-spacing: 1px;
}
.calculator-btn:hover {
  background: linear-gradient(90deg, #00ffae 0%, #00e1ff 100%);
  box-shadow: 0 4px 16px #00e1ff55;
}

/* Article/Blog Section */
.stock-article {
  background: #23272f;
  border-radius: 10px;
  box-shadow: 0 2px 16px #00e1ff11;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #f1f5f9;
}
.stock-article h2, .stock-article h3 {
  color: #00e1ff;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
}
.stock-article ul, .stock-article ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.stock-article li {
  margin-bottom: 0.5rem;
}
.stock-article strong {
  color: #00ffae;
}

/* Contact & Calculator Forms */
.contact-form, #fp-calculator {
  background: #232b3e;
  border-radius: 8px;
  box-shadow: 0 1px 6px #00e1ff11;
  padding: 1.5rem 1rem;
  max-width: 500px;
  margin: 0 auto 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-form label, #fp-calculator label {
  font-weight: 500;
  color: #00e1ff;
}
.contact-form input, .contact-form textarea, #fp-calculator input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #232b3e;
  border-radius: 5px;
  font-size: 1rem;
  background: #181a20;
  color: #f1f5f9;
  transition: border 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, #fp-calculator input:focus {
  border: 1.5px solid #00e1ff;
  outline: none;
}
.contact-form button, #fp-calculator button {
  background: linear-gradient(90deg, #00e1ff 0%, #00ffae 100%);
  color: #181a20;
  border: none;
  border-radius: 5px;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 1px;
}
.contact-form button:hover, #fp-calculator button:hover {
  background: linear-gradient(90deg, #00ffae 0%, #00e1ff 100%);
}
#fp-result {
  background: #181a20;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-size: 1.08rem;
  color: #00e1ff;
  box-shadow: 0 1px 4px #00e1ff11;
  max-width: 500px;
  margin: 0 auto 2rem auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 98%;
    padding: 0 0.5rem;
  }
  
  .header-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .site-title {
    font-size: 1.2rem;
    padding: 0.3rem 0.5rem;
  }
  
  /* Show hamburger menu */
  .menu-toggle {
    display: flex;
  }
  
  /* Hide desktop menu */
  .nav-menu {
    display: none;
  }
  
  /* Mobile menu styles */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #23272f;
    border: 1px solid #232b3e;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    margin-top: 0;
  }
  
  .nav-menu.active li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #232b3e;
  }
  
  .nav-menu.active li:last-child {
    border-bottom: none;
  }
  
  .nav-menu.active li a {
    display: block;
    padding: 15px 20px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s;
  }
  
  .nav-menu.active li a:hover {
    background: #232b3e;
    color: #00e1ff;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    padding: 40px 15px !important;
  }
  
  .hero-section h1 {
    font-size: 2rem !important;
  }
  
  .hero-section p {
    font-size: 1rem !important;
  }
  
  /* Market Guidance Mobile */
  .market-guidance > div {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .market-guidance img {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Calculator Promo Mobile */
  .calculator-promo > div {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .calculator-promo img {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Educational Content Mobile */
  .stock-article > div {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .stock-article img {
    width: 100% !important;
    height: auto !important;
  }
  
  /* Table Mobile */
  #stock-table {
    font-size: 0.8rem;
  }
  
  #stock-table th,
  #stock-table td {
    padding: 0.5rem 0.25rem;
  }
  
  .footer-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
} 