@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@500;700;900&display=swap');

/* =========================
GLOBAL RESET
========================= */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #7ed321;
  --accent-dark: #5fa515;
  --accent-gold: #c9a227;
  --bg-color: #0d1117;
  --card-bg: rgba(22, 27, 34, 0.6);
  --text-main: #c9d1d9;
  --text-heading: #ffffff;
  --glow-green: rgba(126, 211, 33, 0.3);
  --glow-gold: rgba(201, 162, 39, 0.3);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(126, 211, 33, 0.08), transparent 35%),
    radial-gradient(circle at 85% 30%, rgba(201, 162, 39, 0.06), transparent 35%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

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

/* =========================
NAVBAR
========================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

nav a.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

nav a.nav-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(126, 211, 33, 0.15), rgba(201, 162, 39, 0.15));
  border-radius: 8px;
  z-index: -1;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a.nav-link:hover {
  color: var(--text-heading);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav a.nav-link:hover::before,
nav a.nav-link.active::before {
  opacity: 1;
  transform: scale(1);
}

nav a.nav-link.active {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-heading);
  letter-spacing: 1px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--glow-green));
}

.menu {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon {
  color: var(--text-main);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: var(--accent);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 5px var(--glow-green));
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text-heading);
  transition: transform 0.3s ease;
}

/* =========================
SCROLLING ANNOUNCEMENT BAR
========================= */
.announcement-bar {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #161b22, #0d1117);
  border-bottom: 1px solid rgba(126, 211, 33, 0.2);
  padding: 10px 0;
  position: relative;
  z-index: 99;
}

.announcement-track {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
}

.announcement-track:hover {
  animation-play-state: paused;
}

.announcement-track span {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  font-family: 'Orbitron', sans-serif;
}

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

/* =========================
MAIN CONTAINERS
========================= */
.dashboard-container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 30px;
}

.page-container {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  color: var(--text-heading);
}

p {
  line-height: 1.6;
}

/* =========================
HERO SECTION
========================= */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 60px 20px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-green) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(100px);
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero .dashboard-container {
  position: relative;
  z-index: 2;
  background: var(--card-bg);
  padding: 60px;
  border-radius: 24px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: auto;
}

.hero-chip {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--accent-gold);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
  background: linear-gradient(to right, #fff, #a1aab3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-main);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================
SEO SECTION
========================= */
.seo-section {
  padding: 20px 20px;
}

.seo-heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.seo-box {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.seo-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.seo-box:hover::before {
  transform: translateX(100%);
}

.seo-box:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 211, 33, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.seo-box h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: var(--text-heading);
}

.seo-box p {
  font-size: 15px;
  color: var(--text-main);
}

/* =========================
STATS
========================= */
.stats {
  padding: 20px 0;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 40px;
  background: rgba(13, 17, 23, 0.6);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat {
  text-align: center;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat h2 {
  font-size: 42px;
  color: var(--accent-gold);
  margin-bottom: 8px;
  text-shadow: 0 0 15px var(--glow-gold);
}

.stat p {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  font-weight: 600;
}

/* =========================
SUBJECT DASHBOARD (GRID)
========================= */
.subjects {
  padding-bottom: 60px;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  border-left: 4px solid var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  background: rgba(22, 27, 34, 0.8);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.card p {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* =========================
BUTTONS
========================= */
button {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border: none;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(126, 211, 33, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.card a {
  width: 100%;
  text-decoration: none;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(126, 211, 33, 0.4);
  background: linear-gradient(135deg, var(--accent), #94e33d);
}

.live-badge {
  font-size: 12px;
  margin-left: auto;
  color: #00ff51;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 81, 0.1);
  padding: 4px 10px;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #00ff51;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff51;
  animation: blink 1.5s infinite alternate;
}

@keyframes blink {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0.4; transform: scale(0.8); }
}

/* =========================
FOOTER
========================= */
footer {
  margin-top: auto;
  width: 100%;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(15px);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent), transparent);
  opacity: 0.5;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 38px;
  filter: drop-shadow(0 0 5px var(--glow-green));
}

.footer-logo span {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-heading);
  letter-spacing: 0.5px;
}

.footer-section.brand-info p {
  line-height: 1.6;
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: rgba(126, 211, 33, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--glow-green);
}

.footer-section h3, .footer-section h4 {
  color: var(--text-heading);
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-section h3::after, .footer-section h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-section:hover h3::after, .footer-section:hover h4::after {
  width: 50px;
}

.footer-section p {
  color: var(--text-main);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.footer-section ul li a::before {
  content: '→';
  font-size: 11px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: var(--accent);
}

.footer-section ul li a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-section ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #8b949e;
  font-size: 13px;
}

/* =========================
PAGE HEADERS (Internal Pages)
========================= */
.page-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px 20px;
}

.page-header .dashboard-container {
  background: var(--card-bg);
  padding: 40px 60px;
  border-radius: 20px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 800px;
  margin: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--accent-gold);
}

.page-header p {
  font-size: 16px;
  color: var(--text-main);
}

/* =========================
ABOUT PAGE
========================= */
.about-hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.about-hero h1 {
  font-size: 36px;
  margin-bottom: 16px;
  background: linear-gradient(to right, var(--accent), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero p {
  font-size: 18px;
  color: var(--text-main);
}

.about-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.about-card h2 {
  color: var(--accent-gold);
  margin-bottom: 16px;
  font-size: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.about-feature {
  background: rgba(13, 17, 23, 0.5);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  background: var(--card-bg);
}

.about-feature h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.timeline-step {
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-step h4 {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 16px;
}

.founder {
  border-left: 4px solid var(--accent-gold);
}

.founder span {
  display: block;
  margin-top: 15px;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

/* =========================
ANIMATIONS (SCROLL)
========================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
TEST PAGE CARDS
========================= */
.test-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.test-card:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  box-shadow: -5px 10px 20px rgba(0,0,0,0.3);
}

.test-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.test-card p {
  font-size: 14px;
  color: var(--text-main);
}

/* =========================
RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }
  
  .hamburger {
    display: block;
  }
  
  .menu {
    position: absolute;
    top: 76px;
    right: 20px;
    width: 250px;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .menu a {
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .menu a::after {
    display: none;
  }
  
  .hero {
    padding: 80px 20px 40px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 15px;
  }
  
  .hero .dashboard-container {
    padding: 40px 20px;
  }
  
  .stats-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }
  
  .stat:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -15px;
    height: 1px;
    width: 50%;
    transform: translateX(50%);
  }
  
  .test-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .test-card a {
    width: 100%;
  }
  
  .footer-container {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 14px; /* Slightly smaller text to fit small screens */
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .card {
    padding: 20px;
  }
}

/* =========================
DROPDOWN MENU
========================= */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: rgba(13, 17, 23, 0.85);
  min-width: 200px;
  box-shadow: 0px 15px 35px 0px rgba(0,0,0,0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  z-index: 1000;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  padding: 10px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.dropdown-content a {
  color: var(--text-main);
  padding: 12px 24px;
  text-decoration: none;
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding-left: 28px;
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(10px);
}

@media screen and (max-width: 768px) {
  .dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 20px;
    visibility: hidden;
    opacity: 0;
    display: none;
  }
  .dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    display: block;
  }
}

/* =========================
DROPDOWN TOGGLE & CHEVRON
========================= */
.dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.7;
}

.dropdown:hover .dropdown-toggle .chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-toggle:hover .chevron {
  opacity: 1;
}

/* =========================
   PASSWORD MODAL STYLES
   ========================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: #141820;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 40px;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 50px rgba(126, 211, 33, 0.2), inset 0 0 20px rgba(126, 211, 33, 0.05);
  position: relative;
  overflow: hidden;
}

.modal-header {
  margin-bottom: 25px;
}

.lock-icon {
  width: 60px;
  height: 60px;
  background: rgba(126, 211, 33, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(126, 211, 33, 0.2);
}

.lock-icon svg {
  width: 30px;
  height: 30px;
}

.modal-content h3 {
  font-size: 24px;
  letter-spacing: 2px;
  color: #fff;
  margin: 0;
}

.modal-desc {
  color: var(--text-main);
  font-size: 14px;
  margin-bottom: 30px;
  opacity: 0.8;
}

.modal-input-group {
  position: relative;
  margin-bottom: 15px;
}

.modal-input-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  text-align: center;
  letter-spacing: 4px;
  transition: all 0.3s ease;
}

.modal-input-group input:focus {
  outline: none;
  background: rgba(126, 211, 33, 0.05);
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.4s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent);
}

.modal-input-group input:focus + .input-line {
  width: 100%;
}

.telegram-hint {
  color: var(--accent-gold);
  font-size: 12px;
  font-style: italic;
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-actions button {
  width: 100%;
}

.btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-main) !important;
  box-shadow: none !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.animate-modal {
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 30px 20px;
  }
}
