﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@700;800;900&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --color-bg-dark: #080d18;
  --color-bg-card: #0f172a;
  --color-primary-yellow: #fbbf24;
  --color-primary-hover: #f59e0b;
  --color-alert-red: #e11d48;
  --color-accent-green: #22c55e;
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-bg-dark);
  color: #f8fafc;
  overflow-x: hidden;
  touch-action: manipulation;
}

h1, h2, h3, .font-heading {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
}

.font-editorial {
  font-family: 'Merriweather', Georgia, serif;
}

/* Atmospheric Backgrounds */
.storm-hero-bg {
  background: radial-gradient(circle at 50% 20%, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.96) 75%, #080d18 100%),
              url('../assets/hero-bg.png') center top / cover no-repeat;
}

.storm-offer-bg {
  background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.98) 80%),
              url('../assets/hero-bg.png') center bottom / cover no-repeat;
}

/* CTA Buttons with Conversion Glow */
.btn-cta {
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 45%, #f59e0b 100%);
  color: #0f172a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5), 0 0 0 1px rgba(253, 224, 71, 0.6) inset;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.7), 0 0 0 1px rgba(253, 224, 71, 0.8) inset;
  background: linear-gradient(180deg, #fde047 0%, #facc15 50%, #eab308 100%);
}

.btn-cta:active {
  transform: translateY(1px) scale(0.97);
}

/* Red Badges */
.badge-alert {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.45);
}

@keyframes alertPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; filter: drop-shadow(0 0 10px #ef4444); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.alert-pulse-dot {
  animation: alertPulse 1.6s infinite ease-in-out;
}

/* Authentic News Portal Card Styling */
.portal-news-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portal-news-card:hover {
  border-color: rgba(251, 191, 36, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.15);
}

/* Portal Branding Badges */
.portal-badge-ebc {
  background: #0f4c81;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.portal-badge-g1 {
  background: #c4170c;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.05em;
}

/* Feature Boxes */
.feature-box {
  background: #ffffff;
  color: #0f172a;
  border-radius: 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Strikethrough style */
.old-price-line {
  position: relative;
  display: inline-block;
}

.old-price-line::after {
  content: '';
  position: absolute;
  left: -5%;
  top: 50%;
  width: 110%;
  height: 2.5px;
  background-color: #ef4444;
  transform: rotate(-7deg);
}

/* Mobile Sticky Bar for Android and iOS */
.mobile-sticky-bar {
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Modal Overlay */
.modal-overlay {
  background: rgba(4, 7, 13, 0.9);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #080d18;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
