@import url('theme.css');

body {
  margin: 0;
  /* Background handled by theme.css */
  min-height: 100vh;
  /* Changed from height to min-height */
  display: flex;
  flex-direction: column;
  /* Fix layout */
  overflow-x: hidden;
}

.login-box {
  margin: 2rem auto;
  /* Center horizontally with top margin */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--gold-shadow);
  padding: 60px 40px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  border: 1px solid var(--gold-border);
  position: relative;
  z-index: 2;
}

.login-box img {
  width: 120px;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.login-box h2 {
  color: var(--text-primary);
  margin-bottom: 35px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.login-box form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  color: var(--text-secondary);
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

input::placeholder {
  color: var(--text-muted);
}

input:focus {
  background: var(--bg-input-focus);
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

button {
  background: var(--btn-gold-bg);
  color: var(--btn-gold-text);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 0;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-top: 10px;
}

button:hover {
  background: var(--btn-gold-hover);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.login-box a {
  display: block;
  margin-top: 25px;
  color: var(--text-link);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.login-box a:hover {
  color: var(--text-link-hover);
  text-decoration: none;
}

/* Footer & Top Banner updates */
.site-footer {
  /* Theme handles styling */
  width: 100%;
  position: relative;
  margin-top: auto;
  z-index: 10;
}

.top-banner {
  width: 100%;
  background: linear-gradient(90deg, #111, #333);
  /* Dark banner */
  color: var(--text-primary);
  /* Gold text */
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.marquee-text {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Login Page Sections */
.login-section {
  padding: 3rem 0;
  width: 100%;
}

.login-section-alt {
  background: rgba(20, 20, 20, 0.5);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* Market Exposure */
.exchanges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.exchange-item {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: all 0.3s ease;
  box-shadow: var(--gold-shadow);
}

.exchange-item:hover {
  background: var(--bg-hover);
  border-color: var(--gold-highlight);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.exchange-logo {
  max-width: 100%;
  height: var(--img-logo-height);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
  transition: all 0.3s ease;
}

.exchange-item:hover .exchange-logo {
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
  transform: scale(1.05);
}

.exchange-name {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Seminars */
.seminars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.seminar-video-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--gold-shadow);
  transition: all 0.3s ease;
}

.seminar-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  border-color: var(--gold-highlight);
}

.seminar-video-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}

.seminar-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background: #000;
  display: block;
}

.seminar-video-placeholder {
  background: rgba(20, 20, 20, 0.8);
  border: 2px dashed var(--gold-border);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.seminar-video-placeholder p {
  color: var(--text-secondary);
  margin: 0.5rem 0;
}

.seminar-placeholder-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Software Platform */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--gold-shadow);
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  border-color: var(--gold-highlight);
}

.platform-logo {
  max-width: 100%;
  height: var(--img-logo-height);
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.platform-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.platform-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .exchanges-grid,
  .platforms-grid,
  .seminars-grid {
    grid-template-columns: 1fr;
  }

  .section-container {
    padding: 0 1rem;
  }

  .login-section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }
}