/* Custom styles for EntValley - Modern & Elegant Design */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #FFD700;
  --primary-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  --primary-dark: #B8860B;
  --primary-light: #FFED4E;
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
  --text-dark: #2d3748;
  --text-light: #718096;
  --text-muted: #a0aec0;
  --bg-light: #f7fafc;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 8px 25px rgba(255, 215, 0, 0.3);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
  40%, 43% { transform: translate3d(0,-15px,0); }
  70% { transform: translate3d(0,-7px,0); }
  90% { transform: translate3d(0,-2px,0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ===== NAVBAR STYLING ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== ENHANCED HERO SECTION ===== */
.hero-section-new {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  padding: 2rem 0 1rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-section-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,215,0,0.1)"><polygon points="0,100 1000,0 1000,100"/></svg>');
  background-size: cover;
  z-index: 1;
}

.hero-section-new > * {
  position: relative;
  z-index: 2;
}

.min-vh-75 {
  min-height: 50vh;
}

.hero-content {
  color: white;
  padding: 1rem 0;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 215, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

.badge-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.badge-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title .gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: #50E3C2;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-hero-primary {
  background: var(--gold-gradient);
  border: none;
  color: #1a1a2e;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  color: #1a1a2e;
}

.btn-hero-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #1a1a2e;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #FFD700;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-image-wrapper {
  position: relative;
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 15%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 30%;
  left: -15%;
  animation-delay: 1s;
}

.floating-card.card-3 {
  top: 50%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-down:hover {
  color: #FFD700;
  opacity: 1;
  transform: translateY(-3px);
}

.scroll-down i {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Products Section */
.products-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Mobile optimizations for new hero */
@media (max-width: 768px) {
  .hero-section-new {
    padding: 2rem 0 1rem;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-features {
    gap: 0.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero-stats {
    gap: 1rem;
    justify-content: center;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .floating-card {
    display: none; /* Hide floating cards on mobile for better performance */
  }
  
  .hero-image-wrapper {
    transform: none;
    border-radius: 16px;
  }
  
  .hero-image-wrapper:hover {
    transform: scale(1.02);
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-badge {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
}


.hero-section {
  min-height: 20vh;
  padding: 0.5rem 0;
  text-align: center;
  background: transparent;
}


.hero-section h1 {
  font-size: 1.1rem;
  line-height: 1.05;
  margin-bottom: 0.4rem;
}


.hero-section .lead-text {
  font-size: 0.75rem;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  padding: 0 0.2rem;
}

/* ===== PRODUCT CARDS ===== */
.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
  margin-bottom: 2rem;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: var(--transition);
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.product-card {
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover .card-title {
  color: var(--gold-primary) !important;
}

.card:hover::before {
  left: 100%;
}

.card:nth-child(even) {
  animation-delay: 0.1s;
}

.card:nth-child(3n) {
  animation-delay: 0.2s;
}

/* ===== PRODUCT IMAGE ===== */
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* ===== FEATURED BADGE ===== */
.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-gradient);
  color: #1a1a2e;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
  z-index: 10;
  box-shadow: var(--shadow-gold);
}

/* ===== PRODUCT CONTENT ===== */
.card-body {
  padding: 1rem;
  position: relative;
  z-index: 2;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: block;
}

/* ===== BUTTONS ===== */
.btn {
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-gradient) !important;
  color: #1a1a2e !important;
  box-shadow: var(--shadow-gold);
  border: none !important;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: #1a1a2e !important;
  background: var(--gold-gradient) !important;
}

.btn-outline-primary {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
}

.btn-outline-primary:hover {
  background: var(--primary-gradient) !important;
  color: #1a1a2e !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%) !important;
  color: white !important;
  border: none !important;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white !important;
}

/* ===== COMPARE BUTTON ===== */
#compareBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--secondary-gradient) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 1000;
  animation: bounce 2s infinite;
}

#compareBtn:hover {
  transform: scale(1.1);
  animation: none;
  color: white !important;
}

.compare-badge {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  padding: 0.2rem 0.6rem;
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

/* ===== PAGINATION ===== */
.pagination {
  justify-content: center;
  margin: 3rem 0;
}

.page-link {
  border: none;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.9);
  margin: 0 0.25rem;
  border-radius: 50px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.page-link:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.page-item.active .page-link {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

/* ===== LOADING ANIMATIONS ===== */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  h1 { 
    font-size: 2.8rem !important; 
  }
  
  .hero-section {
    padding: 2.5rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section .lead-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  h1 { 
    font-size: 2.2rem !important; 
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .hero-section .lead-text {
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 0 0.5rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  .card-text {
    font-size: 0.9rem;
  }
  
  .price {
    font-size: 1.3rem;
  }
  
  #compareBtn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 576px) {
  h1 { 
    font-size: 1.8rem !important; 
  }
  
  .hero-section {
    padding: 1.5rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }
  
  .hero-section .lead-text {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 1rem;
  }
  
  .card {
    margin: 0 0 1rem 0;
  }
  
  .card-body {
    padding: 0.8rem;
  }
  
  .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .card-text {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }
  
  .price {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 25px;
  }
  
  #compareBtn {
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }
  
  .compare-badge {
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
  }
  
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .nav-link {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Ensure cards stack properly on mobile */
  .row.row-cols-1 {
    --bs-gutter-x: 0.5rem;
  }
  
  .col {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  
  /* Hero section mobile text adjustments */
  .hero-section .text-center p.text-muted small {
    font-size: 0.75rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 375px) {
  .hero-section h1 {
    font-size: 1.3rem;
  }
  
  .hero-section .lead-text {
    font-size: 0.85rem;
  }
  
  .card-body {
    padding: 0.6rem;
  }
  
  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  
  #compareBtn {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Additional gold theme enhancements */
.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gold accents for various elements */
.compare-badge {
  background: var(--gold-gradient);
  color: #1a1a2e;
  font-weight: 700;
}

.featured-badge-large {
  background: var(--gold-gradient);
  color: #1a1a2e;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

/* Update pagination colors */
.page-link:hover {
  background: var(--primary-gradient);
  color: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.page-item.active .page-link {
  background: var(--primary-gradient);
  color: #1a1a2e;
  box-shadow: var(--shadow-gold);
}

/* Update form elements */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* Update alerts */
.alert-info {
  background-color: rgba(255, 215, 0, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-dark);
}

/* Update breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
  content: "→";
  color: var(--primary-color);
}

/* Update loading animations */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, var(--primary-light) 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

/* Gold sparkle animation for special elements */
@keyframes goldSparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.gold-sparkle {
  animation: goldSparkle 2s ease-in-out infinite;
}

/* Enhanced shadow effects */
.shadow-gold-lg {
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

.shadow-gold-xl {
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3);
}

/* Luxury text effects */
.text-gold {
  color: var(--primary-color);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced hero stats */
.stat-number {
  color: var(--primary-color);
}

/* Update trust indicators */
.trust-badge i.text-success {
  color: var(--primary-color) !important;
}

/* ===== PAYMENT SECURITY DISCLAIMERS ===== */
.payment-security-banner {
  background: rgba(255, 215, 0, 0.05);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  z-index: 1000;
}

.payment-disclaimer .alert {
  font-size: 0.9rem;
  line-height: 1.4;
}

.affiliate-disclosure {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
}

.affiliate-disclosure .disclosure-header h6 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.affiliate-disclosure .disclosure-content {
  font-size: 0.9rem;
  line-height: 1.5;
}

.affiliate-disclosure .disclosure-content strong {
  color: var(--primary-dark);
}

/* Security badges and indicators */
.badge-warning {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.security-indicator {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Enhanced button tooltips */
.btn[title] {
  position: relative;
}

.btn[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 0.25rem;
}

/* Mobile optimizations for disclaimers */
@media (max-width: 768px) {
  .payment-security-banner .alert {
    font-size: 0.85rem;
    padding: 0.75rem;
  }
  
  .affiliate-disclosure {
    padding: 1rem;
  }
  
  .affiliate-disclosure .disclosure-content {
    font-size: 0.85rem;
  }
  
  .badge-warning {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ===== PRODUCT PREVIEW PAGE ===== */
.product-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.product-main-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  transition: var(--transition);
}

.product-main-image:hover {
  transform: scale(1.02);
}

.featured-badge-large {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.product-details {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.product-title {
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.product-price {
  padding: 1.5rem;
  background: var(--gold-gradient);
  border-radius: 12px;
  text-align: center;
  color: #1a1a2e;
  margin: 1rem 0;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-description {
  background: rgba(248, 249, 250, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.trust-indicators {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.trust-badge {
  padding: 1rem;
  text-align: center;
}

.trust-badge i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.action-buttons .btn {
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.action-buttons .btn-primary {
  background: var(--primary-gradient);
  border: none;
  box-shadow: var(--shadow-md);
}

.action-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.affiliate-disclosure {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 8px;
  padding: 1rem;
}

.related-products {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(80, 201, 195, 0.05) 100%);
  border-radius: 24px;
  margin-top: 3rem;
}

.related-product-card {
  transition: var(--transition);
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.related-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.related-product-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.related-product-card:hover .card-img-top {
  transform: scale(1.05);
}

/* Breadcrumb styling */
.breadcrumb {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "→";
  color: var(--primary-color);
}

/* Mobile optimizations for product page */
@media (max-width: 768px) {
  .product-details {
    padding: 1.5rem;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
  
  .price-tag {
    font-size: 2rem;
  }
  
  .action-buttons .btn {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
  
  .related-products {
    padding: 2rem 1rem;
  }
}

@media (max-width: 576px) {
  .product-title {
    font-size: 1.5rem;
  }
  
  .price-tag {
    font-size: 1.8rem;
  }
  
  .trust-badge {
    padding: 0.5rem;
  }
  
  .trust-badge i {
    font-size: 1.2rem;
  }
}

/* ===== NAVIGATION SOCIAL ICONS ===== */
.social-icons {
  gap: 0.5rem;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: white;
}

.social-icon.facebook {
  background: linear-gradient(45deg, #1877F2, #42A5F5);
}

.social-icon.instagram {
  background: linear-gradient(45deg, #E4405F, #FCCC63, #833AB4);
}

.social-icon.tiktok {
  background: linear-gradient(45deg, #000000, #25F4EE, #FE2C55);
}

.social-icon:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: white;
}

.social-icon i {
  transition: transform 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.2);
}

/* Dropdown social icons */
.dropdown-item {
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 8px;
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.75rem 0;
}

.dropdown-item:active {
  background: rgba(0, 0, 0, 0.1);
}

/* Social dropdown toggle */
#socialDropdown {
  transition: all 0.3s ease;
  border-radius: 25px;
  padding: 0.5rem 1rem;
}

#socialDropdown:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary-color) !important;
}

/* Footer social icons */
.footer-social {
  text-align: center;
}

.footer-social h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.social-icons-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.social-icon-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-icon-footer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
}

.social-icon-footer:hover::before {
  width: 100px;
  height: 100px;
}

.social-icon-footer.facebook {
  background: rgba(24, 119, 242, 0.2);
}

.social-icon-footer.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: white;
}

.social-icon-footer.instagram {
  background: rgba(228, 64, 95, 0.2);
}

.social-icon-footer.instagram:hover {
  background: linear-gradient(45deg, #E4405F, #FCCC63, #833AB4);
  border-color: #E4405F;
  color: white;
}

.social-icon-footer.tiktok {
  background: rgba(0, 0, 0, 0.2);
}

.social-icon-footer.tiktok:hover {
  background: #000000;
  border-color: #25F4EE;
  color: white;
  box-shadow: 0 0 20px rgba(37, 244, 238, 0.5);
}

.social-icon-footer:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: socialPulse 0.6s ease;
}

@keyframes socialPulse {
  0% { transform: translateY(-3px) scale(1.1); }
  50% { transform: translateY(-5px) scale(1.15); }
  100% { transform: translateY(-3px) scale(1.1); }
}

/* Header social icons animation */
.social-icon {
  animation: socialFloat 3s ease-in-out infinite;
}

.social-icon:nth-child(1) { animation-delay: 0s; }
.social-icon:nth-child(2) { animation-delay: 0.5s; }
.social-icon:nth-child(3) { animation-delay: 1s; }

@keyframes socialFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .social-icons {
    display: none;
  }
  
  .footer-social {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .social-icons-footer {
    justify-content: center;
  }
  
  /* Mobile dropdown improvements */
  #socialDropdown {
    padding: 0.5rem;
    border-radius: 8px;
  }
  
  .dropdown-menu {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .social-icon-footer {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .social-icons-footer {
    gap: 0.75rem;
  }
  
  .footer-social h6 {
    font-size: 1rem;
  }
  
  /* Navbar social dropdown on mobile */
  .navbar-nav .dropdown-menu {
    border-radius: 12px;
    margin-top: 0.5rem;
  }
  
  .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .footer-social {
    text-align: right;
  }
  
  .social-icons-footer {
    justify-content: flex-end;
  }
}

/* Navbar enhancements */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 0.25rem;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary-color) !important;
  transform: translateY(-1px);
}
table img { 
  max-width: 80px; 
  max-height: 80px; 
  object-fit: cover; 
  border-radius: 8px;
}

/* ===== FOOTER SPACING ===== */
.pb-5 {
  padding-bottom: 4rem !important;
}

/* ===== ADDITIONAL MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  /* Touch-friendly interactions */
  .btn {
    min-height: 44px; /* Apple's recommended minimum touch target */
    min-width: 44px;
  }
  
  .form-check-input {
    transform: scale(1.2);
    margin-top: 0.2rem;
  }
  
  .form-check-label {
    margin-left: 0.3rem;
    font-size: 0.9rem;
  }
  
  /* Card image optimization */
  .card-img-top {
    height: 180px;
    object-fit: cover;
  }
  
  /* Alert spacing */
  .alert {
    margin: 1rem 0;
    border-radius: 12px;
  }
  
  /* Pagination mobile friendly */
  .pagination {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .page-link {
    min-width: 44px;
    text-align: center;
    padding: 10px 12px;
  }
  
  /* Compare functionality */
  .compare-checkbox + label {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Loading states */
  .btn:active {
    transform: scale(0.98);
  }
  
  /* Improved spacing for product grid */
  .row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

@media (max-width: 480px) {
  /* Very small mobile devices */
  .card-img-top {
    height: 160px;
  }
  
  .hero-section h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  
  .hero-section .lead-text {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  /* Compact card layout */
  .card-body {
    padding: 0.75rem;
  }
  
  .card-title {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  
  .price {
    font-size: 1.1rem;
  }
  
  .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  /* Navigation adjustments */
  .navbar-brand {
    font-size: 1rem;
  }
  
  .nav-link {
    font-size: 0.85rem;
  }
  
  /* Mobile navigation improvements */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }
  
  .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

