.video-container {
  margin-top: 30px;
  border: 3px solid #00ffff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  overflow: hidden;
}
video {
  width: 100%;
  height: auto;
  display: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Grid background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
}

/* Stars background */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(2px 2px at 20px 30px, #00ffff, transparent),
    radial-gradient(2px 2px at 40px 70px, #ff0080, transparent),
    radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
    radial-gradient(1px 1px at 130px 80px, #00ff80, transparent),
    radial-gradient(2px 2px at 160px 30px, #8000ff, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  z-index: 1;
  pointer-events: none;
  animation: twinkle 4s infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.3;
  }
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Risk Warning */
.risk-warning {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #ff4444, #ff6666);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  z-index: 97;
  box-shadow: 0 2px 10px rgba(255, 68, 68, 0.3);
  opacity: 0;
}

.main-content {
  margin-top: 50px;
}

/* Profile Image */
.profile-section {
  text-align: center;
  margin-bottom: 40px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #00ffff;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  margin: 0 auto 20px;
  display: block;
}

/* Title Section */
.title-section {
  text-align: center;
  margin-bottom: 50px;
}

.main-title {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(45deg, #00ffff, #ff0080, #00ff80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.accuracy-rate {
  font-size: 1.8rem;
  color: #00ff80;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(0, 255, 128, 0.5);
}

.description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #cccccc;
}

/* Input Section */
.input-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  margin: 50px auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.input-field {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border: 2px solid #00ffff;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  margin-bottom: 20px;
  outline: none;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: #ff0080;
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}

.generate-btn {
  background: linear-gradient(45deg, #00ffff, #ff0080);
  color: white;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  margin: 50vh auto;
  transform: translateY(-50%);
  padding: 30px;
  border: 2px solid #00ffff;
  border-radius: 15px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ffff, #ff0080);
  width: 0%;
  transition: width 0.1s ease;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.close:hover {
  color: #fff;
}

.whatsapp-btn {
  background: linear-gradient(45deg, #25d366, #128c7e);
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  animation: breathe 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.8);
  }
}

/* Charts Section */
.charts-section {
  margin: 60px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #00ffff;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.chart-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
}

.candlestick {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100px;
  margin: 20px 0;
}

.candle {
  width: 8px;
  margin: 0 2px;
  position: relative;
}

.candle-body {
  width: 100%;
  border-radius: 1px;
}

.candle-wick {
  width: 1px;
  background: #666;
  margin: 0 auto;
}

.green {
  background: #00ff80;
}
.red {
  background: #ff4444;
}

/* Performance Section */
.performance-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 50px 0;
}

@media (max-width: 768px) {
  .performance-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .performance-item {
    padding: 15px 10px;
  }

  .performance-symbol {
    font-size: 1rem;
    margin-bottom: 3px;
  }

  .performance-name {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .performance-value {
    font-size: 0.9rem;
  }

  .performance-status {
    font-size: 0.8rem;
  }
}

.performance-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.performance-item:hover {
  transform: translateY(-2px);
  border-color: #ff0080;
}

.performance-symbol {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.performance-name {
  color: #cccccc;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.performance-value {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

.performance-status {
  font-size: 0.9rem;
}

/* Stock List */
.stock-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 50px 0;
}

@media (max-width: 768px) {
  .stock-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stock-item {
    padding: 15px 10px;
  }

  .stock-symbol {
    font-size: 1rem;
    margin-bottom: 3px;
  }

  .stock-name {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .stock-price {
    font-size: 0.9rem;
  }

  .stock-change {
    font-size: 0.8rem;
  }
}

.stock-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.stock-item:hover {
  transform: translateY(-2px);
  border-color: #ff0080;
}

.stock-symbol {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00ffff;
  margin-bottom: 5px;
}

.stock-name {
  color: #cccccc;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.stock-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

.stock-change {
  font-size: 0.9rem;
}

.positive {
  color: #00ff80;
}
.negative {
  color: #ff4444;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 40px 0;
  margin-top: 80px;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.disclaimer {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  color: #cccccc;
  line-height: 1.6;
}

.footer-links {
  text-align: center;
}

.footer-links a {
  color: #00ffff;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff0080;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }

  .accuracy-rate {
    font-size: 1.4rem;
  }

  .input-section {
    padding: 20px;
    margin: 30px 20px;
  }

  .modal-content {
    width: 95%;
    margin: 50vh auto;
    transform: translateY(-50%);
    padding: 20px;
  }

  .charts-section {
    margin: 30px 0;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  #dynamicChart {
    padding: 15px !important;
    margin-bottom: 20px !important;
  }

  #chartTitle {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
  }

  #dynamicCandlestick1 {
    height: 40px !important;
    margin: 5px 0 !important;
  }
}

p {
  margin-bottom: 15px;
}
.section {
  margin: 20px 0;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
th,
td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}
.contact-info {
  margin-top: 20px;
}

ul,
ol {
  margin-left: 20px;
}

.footer-links {
  margin-top: 30px;
}
.footer-link {
  margin-right: 20px;
  color: #1890ff;
  text-decoration: underline;
}
.risk-warning-bar {
  width: 100%;
  background: linear-gradient(90deg, #ffff00, #ffa500);
  color: #000;
  text-align: center;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.overlay {
  display: none;
  position: fixed;
  top: 1px;
  left: 2px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 199;
}

.policy-modal {
  width: 90%;
  max-width: calc(960px - 40px - 5%);
  height: 80vh;
  color: #333;
  text-align: left;
  background: #fff;
  padding: 30px 20px 10px 20px;
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 991;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
  border-radius: 8px;
  display: none;
}

.policy-modal .policy-close {
  width: 25px;
  height: 25px;
  font-size: 20px;
  color: #999;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.policy-modal .policy-content {
  max-height: calc(80vh - 40px);
  overflow-y: auto;
  display: none;
}
