/* Premium Overrides */

:root {
  --primary: #d90429;
  --primary-hover: #ef233c;
  --primary-gradient: linear-gradient(135deg, #ef233c 0%, #d90429 100%);
  --dark: #0b090a;
  --dark-accent: #161a1d;
  --light-bg: #f8f9fa;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Glassmorphism Navigation */
header {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.top-bar {
  background: linear-gradient(90deg, #0b090a 0%, #161a1d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-right-socials .auth-link {
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.top-right-socials .auth-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.user-greeting {
  font-weight: 600;
  margin-right: 12px;
  color: #e0e0e0;
}

/* Dynamic Buttons */
.btn-primary {
  background: var(--primary-gradient);
  background-size: 200% auto;
  transition: 0.5s;
  border-radius: 30px;
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 8px 25px rgba(217, 4, 41, 0.4);
  transform: translateY(-3px);
}

/* Cards Micro-animations */
.card {
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-premium);
}

.card-icon {
  background: linear-gradient(135deg, rgba(239, 35, 60, 0.1) 0%, rgba(217, 4, 41, 0.1) 100%);
  transition: all 0.4s ease;
}

.card:hover .card-icon {
  background: var(--primary-gradient);
  transform: scale(1.1) rotate(5deg);
}

/* Hero Section Enhancement */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 9, 10, 0.85) 0%, rgba(22, 26, 29, 0.75) 100%),
    url('../images/fd.jpeg') no-repeat center center / cover;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--light-bg), transparent);
}

.hero-text h1 {
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Dropdown Menu Glassmorphism */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Form Styling Update */
.form-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
}

/* Top Bar Dropdowns */
.top-left-links > ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-left-links li {
  position: relative;
}

.top-left-links li > a {
  opacity: 0.85;
  font-weight: 500;
  color: #fff;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.top-left-links li > a:hover {
  opacity: 1;
  color: #fff;
}

.top-left-links a.top-active {
  background-color: #b91d22; /* Specific red from image */
  opacity: 1;
  border-radius: 2px;
}

.top-right-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-right-socials a:not(.auth-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: white;
  border-radius: 2px;
  font-size: 0.8rem;
  transition: opacity 0.3s;
}

.top-right-socials a:not(.auth-link):hover {
  opacity: 0.8;
  transform: none;
}

.top-right-socials a[aria-label="Facebook"] {
  background-color: #3b5998;
}

.top-right-socials a[aria-label="Twitter"] {
  background-color: #1da1f2;
}

.top-right-socials a[aria-label="YouTube"] {
  background-color: #ff0000;
}

.top-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: #b91d22;
  border-radius: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1002;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.top-left-links li:hover .top-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-dropdown li {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.top-dropdown li:last-child {
  border-bottom: none;
}

.top-dropdown a {
  padding: 8px 16px;
  font-size: 0.85rem;
  color: #fff;
  display: block;
  transition: all 0.2s;
}

.top-dropdown a:hover {
  background: rgba(0,0,0,0.1);
  color: #fff;
}

nav ul li a.nav-active {
  background-color: #b91d22;
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 2px;
}
