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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: #333;
  background: #f5f5f5;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.header-top {
  padding: 12px 0;
}

.header-top .container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.logo-img {
  display: block;
  height: 56px;
  width: auto;
}

.search-bar {
  flex: 1;
  max-width: 400px;
}

.search-bar form {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 25px;
  padding: 10px 20px;
}

.search-icon {
  margin-right: 10px;
}

.search-bar input {
  border: none;
  background: transparent;
  font-size: 14px;
  width: 100%;
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-notification {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  position: relative;
}

.btn-signin, .btn-join {
  font-size: 14px;
  font-weight: 500;
}

.divider {
  color: #ccc;
}

/* Main Navigation */
.main-nav {
  background: #fff;
  border-top: 1px solid #e0e0e0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 15px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.nav-link:hover {
  color: #0066cc;
}

.badge-beta {
  background: #e91e63;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 600px;
  z-index: 1000;
  padding: 20px;
}

.nav-item:hover > .dropdown-menu {
  display: block;
}

.dropdown-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dropdown-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: #333;
}

.dropdown-col a:hover {
  color: #0066cc;
}

.view-all {
  display: block;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
  font-weight: 600;
  color: #333;
}

/* Categories Dropdown */
.categories-dropdown {
  min-width: 800px;
}

.categories-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

.categories-left {
  border-right: 1px solid #e0e0e0;
  padding-right: 20px;
}

.category-featured {
  display: block;
  padding: 12px 15px;
  margin-bottom: 5px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: #f9f9f9;
}

.category-featured:hover {
  background: #f0f0f0;
}

.categories-main {
  display: grid;
  gap: 5px;
}

.category-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 0.2s;
}

.category-link:hover {
  background: #f5f5f5;
}

.cat-icon {
  margin-right: 12px;
  font-size: 18px;
}

.cat-name {
  flex: 1;
  font-size: 14px;
}

.cat-arrow {
  color: #999;
  font-size: 18px;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  padding: 60px 0;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* Stats Bar */
.stats-bar {
  background: #fff3cd;
  padding: 15px 0;
}

.stats-bar .container {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  font-size: 24px;
}

.stat-text strong {
  display: block;
  font-size: 14px;
  color: #333;
}

.stat-text span {
  font-size: 12px;
  color: #666;
}

/* Section */
.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.view-all-link {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* Brand Grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.brand-card {
  background: white;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-logo {
  width: 60px;
  height: 60px;
  background: #f5f5f5;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #666;
}

.brand-name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.brand-offers {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

/* Voucher Card */
.voucher-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.voucher-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  transition: box-shadow 0.2s;
}

.voucher-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.voucher-content {
  padding: 20px;
  border-right: 1px dashed #e0e0e0;
}

.voucher-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

.voucher-brand-logo {
  width: 60px;
  height: 60px;
  background: #f5f5f5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.voucher-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.voucher-title {
  font-size: 15px;
  color: #333;
}

.voucher-title strong {
  font-weight: 700;
}

.badges {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.badge-exclusive {
  background: #4caf50;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-vip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #1a1a1a;
  color: #ffc107;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.voucher-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #666;
}

.voucher-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.voucher-type {
  display: inline-block;
  background: #e3f2fd;
  color: #1976d2;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 10px;
}

.voucher-type.deal {
  background: #fce4ec;
  color: #c2185b;
}

.voucher-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #999;
}

.terms-toggle {
  cursor: pointer;
  color: #666;
}

.terms-toggle:hover {
  color: #333;
}

.voucher-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  min-width: 180px;
}

.btn-get-code {
  background: #ffc107;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 35px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-get-code:hover {
  background: #ffb300;
}

.btn-get-code::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
}

.btn-get-deal {
  background: #ffc107;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 35px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.btn-get-deal:hover {
  background: #ffb300;
}

.view-all-codes {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
  text-align: center;
}

.code-hidden {
  font-size: 18px;
  font-weight: 700;
  color: #999;
  letter-spacing: 3px;
  margin-top: 8px;
}

.code-revealed {
  color: #4caf50;
  letter-spacing: 1px;
  font-size: 16px;
}

.btn-get-code.copied {
  background: #4caf50;
}

.voucher-description {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

.terms-content {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: #666;
}

/* All Brands Page */
.all-brands-header {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}

.all-brands-header h1 {
  font-size: 32px;
  font-weight: 700;
}

.alpha-nav {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.alpha-nav .container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.alpha-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border-radius: 50%;
  transition: all 0.2s;
}

.alpha-link:hover, .alpha-link.active {
  background: #ffc107;
  color: #1a1a1a;
}

.alpha-group {
  padding: 40px 0;
}

.alpha-group-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.alpha-letter {
  width: 50px;
  height: 50px;
  background: #fff3cd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.alpha-brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background: white;
  border-radius: 12px;
  padding: 25px;
}

.alpha-brand-link {
  font-size: 14px;
  color: #333;
  padding: 8px 0;
}

.alpha-brand-link:hover {
  color: #0066cc;
}

/* Category Page */
.category-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 50px 0;
  color: white;
}

.category-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.category-hero p {
  opacity: 0.9;
}

.category-filters {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.filter-form {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  max-width: 800px;
}

.filter-group {
  flex: 1;
}

.filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin-bottom: 5px;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.btn-filter {
  background: #ffc107;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-filter:hover {
  background: #ffb300;
}

/* Brand Page */
.brand-header {
  background: white;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}

.brand-header-content {
  display: flex;
  align-items: center;
  gap: 25px;
}

.brand-large-logo {
  width: 80px;
  height: 80px;
  background: #f5f5f5;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.brand-details h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}

.brand-meta {
  font-size: 14px;
  color: #666;
}

.brand-categories {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.brand-cat-tag {
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  color: #666;
}

/* Newsletter */
.newsletter {
  background: #fff;
  padding: 50px 0;
  text-align: center;
}

.newsletter h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.newsletter p {
  color: #666;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.btn-subscribe {
  background: #ffc107;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn-subscribe:hover {
  background: #ffb300;
}

/* Search Results */
.search-results {
  padding: 30px 0;
}

.search-results h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.no-results {
  text-align: center;
  padding: 60px 0;
  color: #666;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-logo {
  display: block;
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  font-size: 13px;
  color: #888;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: #888;
  font-size: 14px;
}

.social-links a:hover {
  color: white;
}

/* How It Works */
.how-it-works {
  background: #fff;
  padding: 50px 0;
}

.how-it-works .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  text-align: center;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 auto 15px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.step p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Categories Home Grid */
.categories-section {
  background: #f5f5f5;
  padding: 40px 0;
}

.categories-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
  font-size: 28px;
}

.category-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Code Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.modal-close:hover {
  color: #333;
}

.modal-brand {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.modal-code {
  background: #f5f5f5;
  border: 2px dashed #ffc107;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 3px;
  user-select: all;
}

.btn-copy-code {
  background: #ffc107;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.btn-copy-code:hover {
  background: #ffb300;
}

.btn-copy-code.copied {
  background: #4caf50;
}

.modal-note {
  font-size: 12px;
  color: #999;
  margin-top: 15px;
}

/* Newsletter Note */
.newsletter-note {
  font-size: 14px;
  color: #4caf50;
  margin-top: 10px;
  min-height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-top .container {
    flex-wrap: wrap;
  }
  .search-bar {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .nav-list {
    overflow-x: auto;
  }
  .dropdown-menu {
    min-width: 100vw;
    left: -20px;
  }
  .dropdown-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .categories-left {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding-right: 0;
    padding-bottom: 20px;
  }
  .voucher-card {
    grid-template-columns: 1fr;
  }
  .voucher-action {
    padding: 20px;
    border-right: none;
    border-top: 1px dashed #e0e0e0;
  }
  .alpha-brands {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-bar .container {
    flex-direction: column;
    gap: 15px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .categories-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*# sourceMappingURL=style.css.map */
