/* Font Face Declarations */
@font-face {
  font-family: 'Gudea';
  src: url('/fonts/Gudea-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'FiraSans';
  src: url('/fonts/FiraSans-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'AlegreyaSans';
  src: url('/fonts/AlegreyaSans-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.ttf') format('truetype');
  font-display: swap;
}

/* Base Styles - Fixed horizontal scrolling */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  height: 100%;
}

html {
  overflow-y: auto; /* single vertical scrollbar on root */
}

body {
  background: #f5f6fa;
  color: #222;
  font-family: 'FiraSans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  position: relative;
  width: 100%;
  overflow-y: visible; /* prevent second vertical scrollbar */
  min-height: 100vh;
}
/* Prevent media-driven horizontal overflow */
img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
a {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

h1 {
  font-family: 'AlegreyaSans', sans-serif;
  font-size: 35px;
  margin: 0;
}

h2 {
  font-family: 'Gudea', sans-serif;
  font-size: 30px;
  margin: 0;
}

h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 25px;
  margin: 0;
}

h4 {
  font-family: 'JosefinSans', sans-serif;
  font-size: 20px;
  margin: 0;
}

p {
  font-family: 'FiraSans', sans-serif;
  margin: 0;
}

/* Enhanced Page Header */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 50%, #3333cc 100%);
  min-height: 300px;
    display: flex;
    align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
}

.header-background {
  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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  width: 100%;
  height: 100%;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 80px;
  height: 80px;
  top: 20px;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 120px;
  height: 120px;
  top: 60px;
  right: 15%;
  animation-delay: 2s;
}

.circle-3 {
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-content {
    position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
  color: white;
  width: 100%;
  overflow-x: hidden;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 16px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.breadcrumb-item:hover {
  color: white;
}

.breadcrumb-item.current {
  color: white;
  font-weight: 600;
}

.breadcrumb-icon {
  width: 20px;
  height: 20px;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

/* Header Title Section */
.header-title-section {
  margin-bottom: 40px;
}

.page-title {
    display: flex;
    align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.title-icon {
  width: 48px;
  height: 48px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.page-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* Header Stats */
.header-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 48px;
  height: 48px;
  color: #c5c5fc;
}

.stat-content {
  text-align: left;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* Main Content */
.main-content {
  padding: 40px 0;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.content-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* Left Sidebar */
.left-sidebar { 
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  height: fit-content; 
  position: sticky; 
  top: 20px;
  align-self: start; 
  max-height: 50vh;
  overflow-y: auto;
  width: 100%;
}

.sidebar-content {
  height: 100%;
  width: 100%;
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #000066;
  margin-bottom: 16px;
  text-align: center;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}

.sidebar-icon {
  width: 24px;
  height: 24px;
  color: #000066;
}

.sidebar-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.sidebar-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #000066;
  margin-bottom: 12px;
  text-align: center;
}

.category-list,
.coupon-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.category-item,
.coupon-category-item {
  margin-bottom: 0;
}

.category-link,
.coupon-category-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 15px;
}

.category-link:hover,
.coupon-category-link:hover {
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  color: #ffffff;
  transform: translateX(3px);
}

.category-icon,
.coupon-category-icon {
  width: 6px;
  height: 6px;
  background-color: #000066;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.category-link:hover .category-icon,
.coupon-category-link:hover .coupon-category-icon {
  background-color: #ffffff;
}

.category-name,
.coupon-category-name {
  font-weight: 500;
}

/* Main Content Area */
.main-content-area {
  min-width: 0;
  position: relative;
  width: 100%;
}

.content-header {
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  width: 100%;
}

.content-title {
  font-size: 28px;
  font-weight: 700;
  color: #000066;
  margin-bottom: 12px;
  position: relative;
}

.content-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  border-radius: 2px;
}

.content-description {
  font-size: 16px;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Coupon Grid - Fixed horizontal scrolling */
.coupon-grid { 
  display: grid; 
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
  width: 100%;
}

.coupon-grid::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
  opacity: 0.5;
}

.coupon-box { 
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: grid; 
  gap: 16px;
  transition: all 0.3s ease;
  min-height: 300px;
  align-items: center;
  animation: fadeInUp 0.6s ease-out;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.coupon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 197, 252, 0.1), transparent);
  transition: left 0.5s ease;
}

.coupon-box:hover::before {
  left: 100%;
}

.coupon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #c5c5fc;
}

.discount-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.discount-label {
  background: transparent;
  color: #000066;
  border-radius: 16px;
  height: 100px;
  display: grid;
  place-items: center;
  border: 2px dashed #000066;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.discount-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(197, 197, 252, 0.1) 0%, rgba(197, 197, 252, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.coupon-box:hover .discount-label::before {
  opacity: 1;
}

.discount-text {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  line-height: 1;
  color: #000066;
  position: relative;
  z-index: 2;
}

.coupon-store-image {
  height: 100px;
  display: grid;
  place-items: center;
  padding: 8px;
  position: relative;
  z-index: 2;
}

.coupon-store-image a {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.coupon-store-image a:hover {
  transform: scale(1.05);
}

.coupon-store-image picture,
.coupon-store-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.coupon-box:hover .coupon-store-image img {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.discount-title {
  text-align: center;
  position: relative;
  z-index: 2;
}

.coupon-title {
  font-size: 17px;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.4;
  word-wrap: break-word;
  hyphens: auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.coupon-box:hover .coupon-title {
  color: #000066;
}

/* Buttons */
.get-code,
.get-deal {
  text-align: center;
}

.coupon-button {
  background: #c5c5fc;
  color: #000066;
  border: 2px solid #000066;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 14px 28px;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 50px;
  font-family: 'Poppins', sans-serif;
}

.get-code .coupon-button {
  border-style: dashed;
}

.coupon-button:hover {
  background: #000066;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Load More Button */
.see-more {
  text-align: center;
  margin-top: 32px;
}

.load-more-btn {
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  color: white;
  border: 2px solid #000066;
  border-radius: 28px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  padding: 16px 32px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 102, 0.2);
  position: relative;
  overflow: hidden;
}

.load-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.load-more-btn:hover::before {
  left: 100%;
}

.load-more-btn:hover {
  background: linear-gradient(135deg, #00004f 0%, #000066 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: #00004f;
}

.btn-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.load-more-btn:hover .btn-icon {
  transform: translateY(2px);
}

/* No Coupons Message */
.no-coupons {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 18px;
  grid-column: 1 / -1;
  background: rgba(197, 197, 252, 0.1);
  border-radius: 16px;
  border: 2px dashed #c5c5fc;
}

.no-coupons::before {
  content: '📋';
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

/* Modal */
.code-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  place-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.code-modal-content {
  background: #000066;
  color: white;
  width: min(640px, 92vw);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  line-height: 1;
}

.close:hover {
  color: white;
}

.code-modal h2 {
  font-size: 28px;
  margin-bottom: 16px;
  text-align: center;
}

.code-copied {
  text-align: center;
  color: #c5c5fc;
  margin-bottom: 24px;
  font-size: 16px;
}

.code-box {
  display: inline-block;
  border: 3px dashed #c5c5fc;
  color: #c5c5fc;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 24px;
  background: rgba(197, 197, 252, 0.1);
}

.go-to-website {
  display: inline-block;
  background: #c5c5fc;
  color: #000066;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.go-to-website:hover {
  background: white;
  transform: translateY(-2px);
}

.store-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 16px;
  display: block;
}

.coupon-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Email Subscribe Section */
.email-subscribe-container {
  display: flex;
  justify-content: center;
  max-width: 1280px;
  margin: 80px auto 0;
  padding: 0 24px;
  position: relative;
  width: 100%;
}

.subscribe-container {
  width: 100%;
}

.subscribe-background {
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  padding: 40px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.subscribe-background::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.subscribe-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid #e3e1e1;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.subscribe-box h3 {
  font-size: 28px;
  font-weight: 700;
  color: #000066;
  margin-bottom: 16px;
}

.subscribe-box p {
  color: #666;
  margin-bottom: 24px;
  font-size: 16px;
}

.subscribe-box form {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-box input[type="email"] {
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  min-width: 300px;
  font-size: 16px;
  font-family: 'FiraSans', sans-serif;
  transition: border-color 0.3s ease;
}

.subscribe-box input[type="email"]:focus {
  outline: none;
  border-color: #000066;
}

.subscribe-box button {
  background: #000066;
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.subscribe-box button:hover {
  background: #00004f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}



/* Responsive Media Queries */
@media (max-width: 1200px) {
  .content-container {
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 0 20px;
  }
  
  .coupon-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  
  .page-title {
    font-size: 42px;
  }
  
  .title-icon {
    width: 42px;
    height: 42px;
  }
  
  .stat-card {
    min-width: 180px;
    padding: 20px;
  }
  
  .stat-value {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .content-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
    width: 100%;
  }
  
  .left-sidebar {
    order: 2;
    position: static;
    margin-bottom: 24px;
    width: 100%;
    padding: 12px;
  }
  
  .main-content-area {
    order: 1;
    width: 100%;
  }
  
  .coupon-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
  }
  
  .sidebar-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
    width: 100%;
    height: auto;
  }
  
  .sidebar-section {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #e5e7eb;
    width: 100%;
  }
  
  .sidebar-title {
    font-size: 18px;
    margin-bottom: 3px;
    padding-bottom: 2px;
  }
  
  .sidebar-subtitle {
    font-size: 16px;
    margin-bottom: 3px;
  }
  
  .category-list,
  .coupon-category-list {
    gap: 1px;
    width: 100%;
    margin-top: 2px;
  }
  
  .category-link,
  .coupon-category-link {
    padding: 4px 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    color: #4a5568;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 1px;
  }
  
  .category-link:hover,
  .coupon-category-link:hover {
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    color: #ffffff;
    transform: translateX(3px);
  }
  
  .category-icon,
  .coupon-category-icon {
    width: 4px;
    height: 4px;
    background-color: #000066;
  }
  
  .category-link:hover .category-icon,
  .coupon-category-link:hover .coupon-category-icon {
    background-color: #ffffff;
  }
  
  .page-header {
    min-height: 250px;
    width: 100%;
  }
  
  .header-content {
    padding: 30px 20px;
    width: 100%;
  }
  
  .page-title {
    font-size: 32px;
        flex-direction: column;
    gap: 12px;
  }
  
  .title-icon {
    width: 32px;
    height: 32px;
  }
  
  .page-subtitle {
    font-size: 16px;
  }
  
  .header-stats {
    gap: 20px;
        width: 100%;
  }
  
  .stat-card {
    min-width: 160px;
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .stat-content {
    text-align: center;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .breadcrumbs {
    font-size: 14px;
    gap: 8px;
  }
  
  .breadcrumb-icon {
    width: 16px;
    height: 16px;
  }
  
  .content-title {
    font-size: 24px;
  }
  
  .content-description {
    font-size: 14px;
  }
  
  .subscribe-box {
    padding: 30px 20px;
  }
  
  .subscribe-box h3 {
    font-size: 22px;
  }
  
  .subscribe-box form {
    flex-direction: column;
    gap: 16px;
  }
  
  .subscribe-box input[type="email"] {
    min-width: auto;
        width: 100%;
  }
  
  .subscribe-box button {
    width: 100%;
  }
  
 
}

@media (max-width: 480px) {
  .header-content {
    padding: 24px 16px;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .title-icon {
    width: 28px;
    height: 28px;
  }
  
  .page-subtitle {
    font-size: 16px;
  }
  
  .stat-card {
    min-width: 140px;
    padding: 16px;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .content-container {
    padding: 0 12px;
  }
  
  .left-sidebar {
    padding: 8px;
  }
  
  .sidebar-content {
    gap: 2px;
    height: auto;
  }
  
  .sidebar-section {
    margin-top: 2px;
    padding-top: 2px;
  }
  
  .sidebar-title {
    font-size: 16px;
    margin-bottom: 2px;
    padding-bottom: 1px;
  }
  
  .sidebar-subtitle {
    font-size: 14px;
    margin-bottom: 2px;
  }
  
  .category-list,
  .coupon-category-list {
    gap: 0px;
    margin-top: 1px;
  }
  
  .category-link,
  .coupon-category-link {
    padding: 3px 6px;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 0px;
  }
  
  .category-icon,
  .coupon-category-icon {
    width: 3px;
    height: 3px;
  }
  
  .coupon-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .coupon-box {
    padding: 16px;
    min-height: 280px;
  }
  
  .discount-label {
    height: 80px;
  }
  
  .discount-text {
    font-size: 24px;
  }
  
  .coupon-store-image {
    height: 80px;
  }
  
  .coupon-title {
    font-size: 16px;
  }
  
  .coupon-button {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
  }
  
  .load-more-btn {
    padding: 14px 24px;
    font-size: 16px;
  }
  
  .btn-icon {
    width: 20px;
    height: 20px;
  }
  
  .content-title {
    font-size: 24px;
  }
  
  .content-description {
    font-size: 14px;
  }
  
  .subscribe-background {
    padding: 24px 16px;
  }
  
  .subscribe-box {
    padding: 24px 16px;
  }
  
  .subscribe-box h3 {
    font-size: 20px;
  }
  
  .subscribe-box input[type="email"] {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .subscribe-box button {
    padding: 12px 20px;
    font-size: 14px;
  }
  
 
}

/* Focus Styles for Accessibility */
.coupon-button:focus,
.load-more-btn:focus,
.category-link:focus,
.subscribe-box button:focus {
  outline: 2px solid #000066;
  outline-offset: 2px;
}

.subscribe-box input[type="email"]:focus {
  outline: 2px solid #000066;
  outline-offset: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading States */
.coupon-box.loading {
  opacity: 0.6;
  pointer-events: none;
}

.load-more-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.load-more-btn.loading .btn-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
