:root {
  /* === 2026 Palette === */
  --bg-void: #030014;
  --bg-glass: rgba(10, 10, 30, 0.6);
  --bg-glass-strong: rgba(15, 15, 40, 0.85);
  
  --primary-glow: #00f2ff;
  --secondary-glow: #7000ff;
  --accent-danger: #ff0055;
  
  --text-white: #ffffff;
  --text-muted: #a0a0b0;
  
  --border-light: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 242, 255, 0.3);
  
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 20px rgba(0, 242, 255, 0.2);
  
  --font-main: 'Space Grotesk', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
  
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  background-color: var(--bg-void);
  color: var(--text-white);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === Cinematic Background (Global) === */
.cinematic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: url('/images/bg-2026.png') no-repeat center center;
  background-size: cover;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(3, 0, 20, 0.4) 0%, rgba(3, 0, 20, 0.95) 100%);
  pointer-events: none;
  backdrop-filter: blur(2px);
}

/* === Typography === */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--primary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

/* === Header === */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  background: rgba(3, 0, 20, 0.7);
  transition: all 0.3s ease;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 10;
}

.logo-icon {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.highlight {
  color: var(--primary-glow);
}

/* === Navigation === */
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s;
  position: relative;
  padding: 5px 0;
}

nav a:hover, nav a.active {
  color: #fff;
  text-shadow: 0 0 10px var(--primary-glow);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-glow);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* === Header Actions (Stores & Lang) === */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Fix for Select Dropdown Colors */
.lang-select, select.form-control {
  background: rgba(0, 0, 0, 0.6); /* Dark background for the select itself */
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

/* Important: Color the options dark */
.lang-select option, select.form-control option {
  background-color: #0a0a1a;
  color: #fff;
  padding: 10px;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.store-btn img {
  height: 38px !important;
  width: auto !important;
  border-radius: 6px;
  object-fit: contain;
}

/* Footer store buttons - same size */
.footer-links .store-btn img,
footer .store-btn img {
  height: 38px !important;
  width: auto !important;
}

.store-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

/* === Stats Ticker === */
.stats-ticker {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 0 10px;
}

.stat-item {
  background: rgba(0, 242, 255, 0.05);
  border: 1px solid rgba(0, 242, 255, 0.1);
  padding: 12px 18px;
  border-radius: 16px;
  text-align: center;
  min-width: 140px;
  flex: 1 1 140px;
  max-width: 200px;
  backdrop-filter: blur(5px);
  animation: pulseGlow 4s infinite;
}

@media (max-width: 768px) {
  .stats-ticker {
    gap: 10px;
    margin-top: 80px;
  }
  .stat-item {
    min-width: 45%;
    flex: 1 1 45%;
    padding: 10px 12px;
  }
  .stat-value {
    font-size: 18px;
  }
  .stat-label {
    font-size: 10px;
  }
}

.stat-value {
  font-family: var(--font-code);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-glow);
  display: block;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

@keyframes pulseGlow {
  0%, 100% { border-color: rgba(0, 242, 255, 0.1); }
  50% { border-color: rgba(0, 242, 255, 0.4); }
}

/* === Custom File Input === */
.file-upload-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.file-upload-btn {
  border: 1px solid var(--border-light);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
}

.file-upload-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-glow);
}

.file-upload-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* === Main Layout === */
main {
  padding-top: 80px;
  flex: 1;
}

/* === Hero Section === */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 60px 0;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Checker Interface === */
.checker-container {
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  margin-top: 20px;
  text-align: left;
}

.scan-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.scan-tab {
  padding: 10px 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 12px;
  font-weight: 500;
  background: transparent;
  border: 1px solid transparent;
}

.scan-tab:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.scan-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.input-wrapper {
  display: flex;
  gap: 10px;
  position: relative;
}

.scan-input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-light);
  padding: 18px 20px;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-family: var(--font-code);
  transition: all 0.3s;
}

.scan-input:focus {
  outline: none;
  border-color: var(--primary-glow);
  box-shadow: 0 0 0 2px rgba(0, 242, 255, 0.1);
}

.scan-btn {
  padding: 0 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

/* === Result Box === */
#scan-result {
  margin-top: 20px;
  animation: slideDown 0.3s ease;
}

.result-card {
  padding: 20px;
  border-radius: 12px;
  background: rgba(0,0,0,0.4);
}

.result-card.safe {
  border-left: 4px solid #00ff88;
}

.result-card.scam {
  border-left: 4px solid #ff0055;
}

/* === News Cards === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-neon);
}

.news-image {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.news-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 242, 255, 0.1);
  color: var(--primary-glow);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.news-title {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 13px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.news-reactions-mini {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
}

.reaction-badge {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === Bento Grid === */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 30px;
  transition: all 0.3s;
}

.bento-card:hover {
  background: rgba(20, 20, 50, 0.8);
  border-color: var(--primary-glow);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-glow);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === Footer === */
footer {
  margin-top: 100px;
  padding: 80px 0 40px;
  background: rgba(0, 0, 10, 0.8);
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-links h4 {
  margin-bottom: 20px;
  color: #fff;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-glow);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero h1 { font-size: 50px; }
  .bento-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  header {
    padding: 8px 0;
  }
  .header-content { 
    flex-direction: column; 
    gap: 8px;
    padding: 0 10px;
  }
  .logo {
    gap: 8px;
  }
  .logo-icon {
    height: 28px;
  }
  .logo-text {
    font-size: 18px;
  }
  nav { 
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 5px 0;
    width: 100%;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  nav::-webkit-scrollbar {
    display: none;
  }
  nav a {
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 8px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .store-btn img {
    height: 24px !important;
  }
  .header-actions .lang-select {
    padding: 4px 8px;
    font-size: 12px;
  }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .input-wrapper { flex-direction: column; }
  .scan-btn { width: 100%; padding: 15px; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Social Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 18px;
  color: var(--primary-glow);
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}
.social-icon:hover {
  background: rgba(0, 242, 255, 0.25);
  border-color: var(--primary-glow);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.4), 0 5px 15px rgba(0, 242, 255, 0.2);
}
.social-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0.85) drop-shadow(0 0 3px rgba(0, 242, 255, 0.3));
  transition: all 0.3s ease;
}
.social-icon:hover img {
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(0, 242, 255, 0.6));
}

/* Legal Links */
.legal-links {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.legal-links a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}
.legal-links a:hover {
  color: var(--primary-glow);
}
