@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&family=Lexend:wght@400;500;600;700&display=swap');

  :root {
    --shopee-orange: #EE4D2D;
    --shopee-orange-light: #FF6B47;
    --shopee-orange-dark: #C73A1F;
    --shopee-red: #D0011B;
    --accent-gold: #F5A623;
    --accent-green: #00B14F;
    --bg-primary: #FFF8F6;
    --bg-card: #FFFFFF;
    --bg-dark: #1A0A05;
    --bg-section: #FFF3EF;
    --text-primary: #1A0A05;
    --text-secondary: #5C3D2E;
    --text-muted: #9B7B6E;
    --border-color: #F0D5CC;
    --shadow-sm: 0 2px 8px rgba(238,77,45,0.08);
    --shadow-md: 0 4px 20px rgba(238,77,45,0.12);
    --shadow-lg: 0 8px 40px rgba(238,77,45,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-main: 'Be Vietnam Pro', sans-serif;
    --font-display: 'Lexend', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 16px; }
  body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
  }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

  /* ========== SKIP LINK ========== */
  .skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--shopee-orange); color: white;
    padding: 0.5rem 1rem; border-radius: var(--radius-sm);
    font-weight: 600; text-decoration: none; z-index: 9999;
  }
  .skip-link:focus { top: 1rem; }

  /* ========== HEADER / NAV ========== */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: linear-gradient(135deg, var(--shopee-orange-dark) 0%, var(--shopee-orange) 50%, var(--shopee-orange-light) 100%);
    box-shadow: 0 2px 20px rgba(238,77,45,0.4);
  }
  .header-top {
    background: rgba(0,0,0,0.15);
    padding: 0.3rem 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85);
    text-align: center;
    letter-spacing: 0.02em;
  }
  .header-top strong { color: #FFE066; font-weight: 600; }
  .header-main {
    max-width: 1280px; margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center; gap: 1.5rem;
  }
  .logo {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none; color: white;
  }
  .logo-icon {
    width: 40px; height: 40px;
    background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 800;
    color: var(--shopee-orange); box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  .logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
  .logo-sub { font-size: 0.7rem; opacity: 0.85; font-weight: 400; }
  .header-search { position: relative; }
  .header-search input {
    width: 100%; padding: 0.6rem 3rem 0.6rem 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    color: white; font-size: 0.9rem;
    font-family: var(--font-main);
    transition: all 0.2s;
    backdrop-filter: blur(4px);
  }
  .header-search input::placeholder { color: rgba(255,255,255,0.7); }
  .header-search input:focus {
    outline: none; background: white;
    color: var(--text-primary); border-color: white;
  }
  .header-search input:focus::placeholder { color: var(--text-muted); }
  .search-btn {
    position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.8); font-size: 1.1rem; padding: 0.25rem;
  }
  .header-actions { display: flex; align-items: center; gap: 0.75rem; }
  .btn-notify {
    display: flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3);
    color: white; padding: 0.5rem 0.9rem; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.2s; white-space: nowrap;
  }
  .btn-notify:hover { background: rgba(255,255,255,0.3); }
  .main-nav { background: rgba(0,0,0,0.2); backdrop-filter: blur(4px); }
  .nav-list {
    max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; list-style: none; gap: 0; overflow-x: auto; scrollbar-width: none;
  }
  .nav-list::-webkit-scrollbar { display: none; }
  .nav-list a {
    display: block; padding: 0.65rem 1.1rem;
    color: rgba(255,255,255,0.85); text-decoration: none;
    font-size: 0.85rem; font-weight: 500;
    white-space: nowrap; transition: all 0.2s;
    border-bottom: 2px solid transparent;
  }
  .nav-list a:hover, .nav-list a.active {
    color: white; border-bottom-color: white; background: rgba(255,255,255,0.1);
  }
  .nav-list .nav-badge {
    display: inline-block; background: #FFE066; color: var(--shopee-orange-dark);
    font-size: 0.65rem; font-weight: 700; padding: 1px 5px; border-radius: 50px;
    margin-left: 0.3rem; vertical-align: middle;
  }

  /* ========== HERO ========== */
  .hero {
    background: linear-gradient(135deg, #1A0A05 0%, #3D1A0F 40%, #6B2D15 100%);
    padding: 3rem 1.5rem; position: relative; overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(238,77,45,0.3) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  }
  .hero-inner > div { min-width: 0; }
  .hero-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem); color: white;
    line-height: 1.2; margin-bottom: 1rem;
  }
  .hero-title em { color: var(--accent-gold); font-style: normal; }
  .hero-desc { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.7; }
  .hero-stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
  .hero-stat { text-align: center; }
  .hero-stat-num {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
    color: var(--accent-gold); display: block;
  }
  .hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
  .hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--shopee-orange); color: white;
    padding: 0.75rem 1.5rem; border-radius: 50px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    transition: all 0.2s; border: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(238,77,45,0.4);
  }
  .btn-primary:hover { background: var(--shopee-orange-dark); transform: translateY(-1px); }
  .btn-outline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: white;
    padding: 0.75rem 1.5rem; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    border: 2px solid rgba(255,255,255,0.4); transition: all 0.2s; cursor: pointer;
  }
  .btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

  /* LIVE TICKER */
  .hero-ticker {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 1.25rem;
  }
  .ticker-header {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1rem; font-weight: 600; color: #FFE066; font-size: 0.85rem;
  }
  .live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.3); animation: pulse 1.5s infinite;
  }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(76,175,80,0.3); } 50% { box-shadow: 0 0 0 6px rgba(76,175,80,0.1); } }
  .voucher-list { display: flex; flex-direction: column; gap: 0.6rem; list-style: none; }
  .voucher-item {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.08); border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem; gap: 0.75rem;
  }
  .voucher-badge {
    font-family: var(--font-display); font-weight: 700;
    background: var(--shopee-orange); color: white;
    padding: 0.25rem 0.6rem; border-radius: var(--radius-sm);
    font-size: 0.85rem; white-space: nowrap;
  }
  .voucher-badge.gold { background: var(--accent-gold); color: #1A0A05; }
  .voucher-badge.green { background: var(--accent-green); }
  .voucher-info { flex: 1; color: rgba(255,255,255,0.8); font-size: 0.8rem; }
  .voucher-time { color: var(--accent-gold); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
  .voucher-copy {
    background: var(--shopee-orange); border: none; color: white;
    padding: 0.3rem 0.7rem; border-radius: var(--radius-sm);
    font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
  }
  .voucher-copy:hover { background: var(--shopee-orange-dark); }
  .voucher-copy.copied { background: var(--accent-green); }

  /* ========== COUNTDOWN ========== */
  .flash-banner {
    background: linear-gradient(90deg, var(--shopee-red) 0%, var(--shopee-orange) 100%);
    padding: 0.85rem 1.5rem;
  }
  .flash-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  }
  .flash-left { display: flex; align-items: center; gap: 0.75rem; }
  .flash-icon { font-size: 1.4rem; }
  .flash-title { color: white; font-weight: 700; font-size: 1rem; }
  .flash-sub { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
  .countdown { display: flex; align-items: center; gap: 0.4rem; }
  .count-unit {
    background: rgba(0,0,0,0.25); color: white;
    padding: 0.3rem 0.6rem; border-radius: var(--radius-sm);
    font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
    min-width: 2.5rem; text-align: center;
  }
  .count-sep { color: rgba(255,255,255,0.7); font-weight: 700; }
  .flash-link {
    background: white; color: var(--shopee-orange);
    padding: 0.5rem 1.25rem; border-radius: 50px;
    font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: all 0.2s;
  }
  .flash-link:hover { transform: scale(1.03); }

  /* ========== MAIN CONTAINER ========== */
  .main-wrapper {
    max-width: 1280px; margin: 0 auto; padding: 2rem 1.5rem;
    display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start;
  }
  .main-col { min-width: 0; }

  /* ========== SECTION HEADERS ========== */
  .section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.25rem; gap: 1rem;
  }
  .section-title {
    font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text-primary);
    display: flex; align-items: center; gap: 0.5rem;
  }
  .section-title::before {
    content: ''; width: 4px; height: 1.3em;
    background: var(--shopee-orange); border-radius: 2px; display: inline-block;
  }
  .section-link {
    color: var(--shopee-orange); font-size: 0.85rem; font-weight: 600;
    text-decoration: none; display: flex; align-items: center; gap: 0.25rem;
  }
  .section-link:hover { text-decoration: underline; }

  /* ========== TOOL CARD ========== */
  .tool-card {
    background: var(--bg-card); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md); padding: 1.75rem; margin-bottom: 2rem;
    border: 1px solid var(--border-color);
  }
  .tool-header { margin-bottom: 1.25rem; }
  .tool-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.35rem; color: var(--text-primary); margin-bottom: 0.3rem;
  }
  .tool-subtitle { color: var(--text-muted); font-size: 0.88rem; }
  .tool-search-box { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
  .tool-input {
    flex: 1; padding: 0.85rem 1rem;
    border: 2px solid var(--border-color); border-radius: var(--radius-md);
    font-size: 0.95rem; font-family: var(--font-main);
    color: var(--text-primary); transition: border-color 0.2s; background: var(--bg-primary);
  }
  .tool-input:focus { outline: none; border-color: var(--shopee-orange); }
  .btn-search {
    background: var(--shopee-orange); color: white;
    border: none; padding: 0 1.5rem; border-radius: var(--radius-md);
    font-weight: 700; font-size: 0.9rem; cursor: pointer;
    transition: all 0.2s; white-space: nowrap;
  }
  .btn-search:hover { background: var(--shopee-orange-dark); }
  .tool-tabs-wrapper {
    overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 1rem;
    -ms-overflow-style: none; scrollbar-width: none;
    scroll-behavior: smooth; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .tool-tabs-wrapper::-webkit-scrollbar { display: none; }
  .tool-tabs { display: flex; gap: 0.5rem; padding-right: 1.5rem; }
  
  .tool-tab {
    scroll-snap-align: start; flex-shrink: 0;
    background: white; border: 1px solid var(--border-color); color: var(--text-secondary);
    padding: 0.5rem 1rem; border-radius: 50px; cursor: pointer; transition: all 0.2s;
    font-size: 0.85rem; font-weight: 600; font-family: var(--font-main);
    display: flex; align-items: center; gap: 0.4rem;
  }
  .tab-icon { font-size: 1rem; display: inline-flex; align-items: center; }
  .tab-icon img { border-radius: 50%; vertical-align: middle; object-fit: cover; }
  .tool-tab:hover { background: #f8f9fa; border-color: #ddd; }
  .tool-tab.active {
    background: white; color: var(--shopee-orange); border-color: var(--shopee-orange);
  }
  .results-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem; margin-top: 1rem;
  }
  
  /* Intricate Shopee Ticket Layout */
  .shopee-ticket {
    display: flex; min-height: 130px; height: auto;
    background: transparent;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
    border-radius: var(--radius-sm);
  }
  
  .ticket-left {
    position: relative; width: 110px; flex-shrink: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: white; padding: 1rem 0.5rem;
    border-radius: 4px 0 0 4px;
    /* Left semicircular cutout */
    mask-image: radial-gradient(circle at 0 50%, transparent 6px, black 7px);
    -webkit-mask-image: radial-gradient(circle at 0 50%, transparent 6px, black 7px);
  }
  
  .bg-teal { background: #2BA18B; }
  .bg-red { background: #EE4D2D; }
  .bg-blue { background: #1C5FB0; }
  .bg-green { background: #00BFA5; }
  .bg-orange { background: #F6A000; }
  
  .ticket-logo-wrap {
    width: 44px; height: 44px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.5rem; overflow: hidden;
  }
  .ticket-logo { font-size: 1.5rem; color: var(--shopee-orange); font-weight: 900; line-height: 1; }
  .ticket-logo-img { width: 100%; height: 100%; object-fit: cover; }
  
  .ticket-source {
    font-size: 0.8rem; font-weight: 700; text-align: center;
    line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  }
  .ticket-time {
    font-size: 0.65rem; margin-top: 0.4rem; text-align: center; opacity: 0.9; white-space: nowrap;
  }
  
  .ticket-right {
    position: relative; flex: 1; min-width: 0;
    background: white; padding: 0.85rem 1rem;
    border-radius: 0 4px 4px 0;
    display: flex; flex-direction: column; justify-content: space-between;
    border-left: 2px dashed #eee;
  }
  
  /* Top and Bottom cutouts on the separator */
  .ticket-cutout {
    position: absolute; width: 12px; height: 12px; background: #f8f9fa; border-radius: 50%;
    left: -6px; z-index: 2;
  }
  .ticket-cutout.top { top: -6px; }
  .ticket-cutout.bottom { bottom: -6px; }
  
  .ticket-discount {
    font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
    color: var(--shopee-orange); line-height: 1.1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .ticket-condition {
    font-size: 0.8rem; color: var(--text-primary); font-weight: 500; margin-top: 0.2rem;
  }
  .ticket-note {
    font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  
  .ticket-actions {
    display: flex; align-items: center; justify-content: space-between; margin-top: auto;
    flex-wrap: wrap; gap: 0.4rem; padding-top: 0.5rem;
  }
  .ticket-list-link {
    font-size: 0.75rem; color: #1E88E5; text-decoration: underline; font-weight: 500;
    padding: 0.2rem 0; min-height: 24px; display: inline-flex; align-items: center;
  }
  .ticket-list-link:hover { opacity: 0.8; }
  .ticket-btn {
    padding: 0.35rem 0.7rem; border-radius: 4px; border: none;
    font-size: 0.75rem; font-weight: 600; cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 32px; transition: all 0.2s; flex-shrink: 0;
  }
  .ticket-btn.code { background: #1C5FB0; color: white; }
  .ticket-btn.code:hover { background: #164a8a; }
  .ticket-btn.app { background: #2BA18B; color: white; }
  .ticket-btn.app:hover { background: #248875; }


  /* ========== CATEGORIES ========== */
  .category-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem; margin-bottom: 2rem;
  }
  .cat-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border-color); padding: 1.1rem 0.75rem;
    text-align: center; cursor: pointer; transition: all 0.25s;
    text-decoration: none; display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem;
  }
  .cat-card:hover { border-color: var(--shopee-orange); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
  .cat-icon { font-size: 1.8rem; }
  .cat-name { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
  .cat-count { font-size: 0.72rem; color: var(--shopee-orange); font-weight: 600; }

  /* ========== VOUCHER SECTIONS ========== */
  .voucher-section { margin-bottom: 2rem; }
  .voucher-section-card {
    background: var(--bg-card); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); overflow: hidden;
  }
  .vsection-header {
    padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
  }
  .vsection-icon { font-size: 1.4rem; display: inline-flex; align-items: center; }
  .vsection-icon img { border-radius: 50%; object-fit: cover; }
  .vsection-info { flex: 1; }
  .vsection-title { font-weight: 700; font-size: 0.95rem; color: var(--text-primary); }
  .vsection-sub { font-size: 0.78rem; color: var(--text-muted); }
  .vsection-badge {
    background: #FFF3EF; color: var(--shopee-orange);
    padding: 0.25rem 0.6rem; border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  }
  .vsection-body { padding: 1rem 1.25rem; }
  .v-codes-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.6rem;
  }
  .v-code-item {
    background: var(--bg-primary); border-radius: var(--radius-md);
    border: 1px solid var(--border-color); padding: 0.75rem;
    display: flex; flex-direction: column; gap: 0.4rem; transition: all 0.2s;
  }
  .v-code-item:hover { border-color: var(--shopee-orange); }
  .v-code-discount { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--shopee-orange); }
  .v-code-desc { font-size: 0.78rem; color: var(--text-secondary); }
  .v-code-row { display: flex; align-items: center; gap: 0.4rem; }
  .v-code-key {
    font-family: monospace; font-size: 0.82rem; font-weight: 700;
    color: var(--shopee-orange); background: rgba(238,77,45,0.08);
    padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); flex: 1;
  }
  .v-copy-btn {
    background: var(--shopee-orange); color: white; border: none;
    padding: 0.25rem 0.5rem; border-radius: var(--radius-sm);
    font-size: 0.72rem; font-weight: 700; cursor: pointer; transition: all 0.2s;
  }
  .v-copy-btn:hover { background: var(--shopee-orange-dark); }
  .v-copy-btn.copied { background: var(--accent-green); }
  .v-link-btn {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: var(--shopee-orange); color: white;
    padding: 0.4rem 0.85rem; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: all 0.2s;
  }
  .v-link-btn:hover { background: var(--shopee-orange-dark); }
  .v-link-btn.outline {
    background: transparent; color: var(--shopee-orange); border: 1px solid var(--shopee-orange);
  }
  .v-link-btn.outline:hover { background: var(--shopee-orange); color: white; }

  .schedule-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .schedule-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.6rem 0.75rem; border-radius: var(--radius-sm);
    background: var(--bg-primary); border-left: 3px solid var(--shopee-orange);
  }
  .schedule-time { font-weight: 700; color: var(--shopee-orange); font-size: 0.82rem; white-space: nowrap; min-width: 5rem; }
  .schedule-desc { font-size: 0.82rem; color: var(--text-secondary); flex: 1; }
  .schedule-tag { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.4rem; border-radius: 4px; white-space: nowrap; }
  .tag-hot { background: #FFEEEC; color: var(--shopee-red); }
  .tag-new { background: #E8F5E9; color: var(--accent-green); }
  .tag-limited { background: #FFF8E1; color: #E65100; }

  /* ========== FLASH SALE GRID ========== */
  .flash-items {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem;
  }
  .flash-item {
    background: var(--bg-card); border-radius: var(--radius-md);
    border: 1px solid var(--border-color); overflow: hidden;
    transition: all 0.2s; cursor: pointer;
  }
  .flash-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .flash-img {
    width: 100%; aspect-ratio: 1;
    background: var(--bg-section);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; position: relative;
  }
  .flash-percent {
    position: absolute; top: 0.4rem; right: 0.4rem;
    background: var(--shopee-red); color: white;
    font-size: 0.7rem; font-weight: 700;
    padding: 0.15rem 0.35rem; border-radius: var(--radius-sm);
  }
  .flash-detail { padding: 0.6rem; }
  .flash-name { font-size: 0.78rem; color: var(--text-primary); font-weight: 500; margin-bottom: 0.3rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .flash-price-row { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
  .flash-price { font-weight: 700; color: var(--shopee-orange); font-size: 0.9rem; }
  .flash-original { font-size: 0.72rem; color: var(--text-muted); text-decoration: line-through; }

  /* ========== SIDEBAR ========== */
  .sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
  .sidebar-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); overflow: hidden;
  }
  .sidebar-card-header {
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--shopee-orange) 0%, var(--shopee-orange-light) 100%);
    color: white;
  }
  .sidebar-card-title { font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
  .sidebar-card-body { padding: 1rem; }
  .notify-form { display: flex; flex-direction: column; gap: 0.6rem; }
  .notify-input {
    width: 100%; padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border-color); border-radius: var(--radius-sm);
    font-size: 0.85rem; font-family: var(--font-main); color: var(--text-primary);
    transition: border-color 0.2s;
  }
  .notify-input:focus { outline: none; border-color: var(--shopee-orange); }
  .notify-btn {
    background: var(--shopee-orange); color: white; border: none;
    padding: 0.65rem; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.85rem; cursor: pointer;
    transition: all 0.2s; width: 100%;
  }
  .notify-btn:hover { background: var(--shopee-orange-dark); }
  .notify-note { font-size: 0.72rem; color: var(--text-muted); text-align: center; }
  .mini-voucher-list { display: flex; flex-direction: column; gap: 0.5rem; }
  .mini-voucher {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.5rem 0; border-bottom: 1px solid var(--border-color);
  }
  .mini-voucher:last-child { border-bottom: none; }
  .mini-badge {
    background: #FFF3EF; color: var(--shopee-orange);
    font-weight: 700; font-size: 0.8rem; padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm); white-space: nowrap;
    border: 1px dashed var(--shopee-orange);
  }
  .mini-info { flex: 1; }
  .mini-name { font-size: 0.8rem; color: var(--text-primary); font-weight: 500; }
  .mini-cond { font-size: 0.72rem; color: var(--text-muted); }
  .mini-copy {
    background: none; border: 1px solid var(--shopee-orange);
    color: var(--shopee-orange); padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm); font-size: 0.72rem; font-weight: 700;
    cursor: pointer; transition: all 0.15s; white-space: nowrap;
  }
  .mini-copy:hover { background: var(--shopee-orange); color: white; }
  .trending-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
  .trending-item {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.4rem 0; font-size: 0.83rem; cursor: pointer;
    color: var(--text-secondary); text-decoration: none;
  }
  .trending-item:hover { color: var(--shopee-orange); }
  .trend-rank {
    width: 1.5rem; height: 1.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; background: var(--bg-section);
    color: var(--text-muted); flex-shrink: 0;
  }
  .trend-rank.top { background: var(--shopee-orange); color: white; }
  .app-promo {
    background: linear-gradient(135deg, #1A0A05, #3D1A0F);
    border-radius: var(--radius-lg); padding: 1.25rem; text-align: center;
  }
  .app-promo-title { font-family: var(--font-display); font-weight: 700; color: white; font-size: 1rem; margin-bottom: 0.5rem; }
  .app-promo-desc { color: rgba(255,255,255,0.7); font-size: 0.78rem; margin-bottom: 1rem; line-height: 1.5; }
  .app-btns { display: flex; flex-direction: column; gap: 0.4rem; }
  .app-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.6rem; border-radius: var(--radius-sm);
    font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: all 0.2s;
  }
  .app-btn.android { background: var(--accent-green); color: white; }
  .app-btn.ios { background: #1D1D1F; color: white; }
  .app-btn:hover { opacity: 0.9; transform: translateY(-1px); }

  /* ========== FAQ ========== */
  .faq-section { margin-bottom: 2.5rem; }
  .faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
  .faq-item {
    background: var(--bg-card); border-radius: var(--radius-md);
    border: 1px solid var(--border-color); overflow: hidden;
  }
  .faq-question {
    width: 100%; text-align: left; padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: 0.75rem;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-main); font-size: 0.9rem; font-weight: 600;
    color: var(--text-primary); transition: background 0.2s;
  }
  .faq-question:hover { background: var(--bg-section); }
  .faq-question[aria-expanded="true"] { color: var(--shopee-orange); }
  .faq-q-icon { color: var(--shopee-orange); font-weight: 800; font-size: 1rem; flex-shrink: 0; }
  .faq-chevron { margin-left: auto; transition: transform 0.3s; color: var(--text-muted); }
  .faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding: 0 1.25rem; }
  .faq-answer-inner { padding-bottom: 1rem; font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

  /* ========== GUIDE CARDS ========== */
  .guide-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem; margin-bottom: 2rem;
  }
  .guide-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border-color); padding: 1.25rem;
    display: flex; gap: 1rem; align-items: flex-start;
    transition: all 0.2s; text-decoration: none;
  }
  .guide-card:hover { border-color: var(--shopee-orange); box-shadow: var(--shadow-sm); }
  .guide-icon {
    width: 44px; height: 44px; border-radius: var(--radius-md);
    background: #FFF3EF; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
  }
  .guide-title { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.25rem; }
  .guide-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

  /* ========== SOCIAL ========== */
  .social-section {
    background: linear-gradient(135deg, var(--shopee-orange) 0%, #FF8C42 100%);
    border-radius: var(--radius-xl); padding: 2rem;
    display: grid; grid-template-columns: 1fr auto; gap: 1.5rem;
    align-items: center; margin-bottom: 2rem;
  }
  .social-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: white; margin-bottom: 0.5rem; }
  .social-desc { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin-bottom: 1rem; }
  .social-btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }
  .social-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1rem; border-radius: 50px;
    font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: all 0.2s;
  }
  .social-btn.fb { background: #1877F2; color: white; }
  .social-btn.tele { background: #229ED9; color: white; }
  .social-btn.yt { background: #FF0000; color: white; }
  .social-btn:hover { transform: translateY(-1px); opacity: 0.9; }
  .social-img { font-size: 5rem; text-align: center; }

  /* ========== FOOTER ========== */
  .site-footer {
    background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 3rem 1.5rem 1.5rem;
  }
  .footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem;
  }
  .footer-logo {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none; color: white; margin-bottom: 1rem;
  }
  .footer-logo-icon {
    width: 36px; height: 36px; background: var(--shopee-orange);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; color: white;
  }
  .footer-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
  .footer-desc { font-size: 0.83rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 1rem; }
  .footer-seo-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .seo-tag {
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
    padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.72rem;
    text-decoration: none; transition: all 0.2s;
  }
  .seo-tag:hover { background: var(--shopee-orange); color: white; }
  .footer-heading { font-weight: 700; font-size: 0.9rem; color: white; margin-bottom: 1rem; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-links a { color: rgba(255,255,255,0.55); font-size: 0.83rem; text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--shopee-orange); }
  .footer-bottom {
    max-width: 1280px; margin: 0 auto;
    padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    font-size: 0.78rem; color: rgba(255,255,255,0.35);
  }
  .footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
  .footer-bottom a:hover { color: var(--shopee-orange); }

  /* ========== SCROLL TOP + TOAST ========== */
  .scroll-top {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--shopee-orange); color: white;
    border: none; cursor: pointer; font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(238,77,45,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(10px);
    transition: all 0.3s; pointer-events: none;
  }
  .scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .scroll-top:hover { background: var(--shopee-orange-dark); }
  .toast {
    position: fixed; bottom: 5rem; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--bg-dark); color: white;
    padding: 0.6rem 1.25rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 500;
    opacity: 0; transition: all 0.3s; pointer-events: none; z-index: 200;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); white-space: nowrap;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* ========== BREADCRUMB ========== */
  .breadcrumb {
    max-width: 1280px; margin: 1rem auto 0; padding: 0 1.5rem;
    display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-muted);
  }
  .breadcrumb a { color: var(--shopee-orange); text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb-sep { color: var(--border-color); }

  /* ========== PROGRESS BAR ========== */
  .page-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--shopee-orange); z-index: 9999; width: 0%; transition: width 0.1s;
  }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 1024px) {
    .main-wrapper { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-ticker { display: none; }
    .social-section { grid-template-columns: 1fr; }
    .social-img { display: none; }
  }
  @media (max-width: 768px) {
    .header-main { grid-template-columns: auto 1fr; }
    .header-actions { display: none; }
    .hero { padding: 2rem 1rem; }
    .hero-stats { gap: 1rem; }
    .main-wrapper { padding: 1rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  }
  @media (max-width: 480px) {
    .hero-cta { flex-direction: column; }
    .flash-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .results-grid { grid-template-columns: 1fr; }
    .v-codes-grid { grid-template-columns: 1fr; }
    .tool-search-box { flex-direction: column; }
    .btn-search { padding: 0.75rem; }
    
    .ticket-left { width: 95px; padding: 0.85rem 0.5rem; }
    .ticket-right { padding: 0.75rem 0.75rem; }
    .ticket-discount { font-size: 1.15rem; }
    .ticket-condition { font-size: 0.75rem; }
    .ticket-btn { padding: 0.3rem 0.6rem; font-size: 0.7rem; }
  }

  /* ========== ANIMATIONS ========== */
  @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .animate-in { animation: slideUp 0.5s ease forwards; }

  /* ========== SAVINGS CALCULATOR ========== */
  .calc-card { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 1.75rem; margin-bottom: 2rem; border: 1px solid var(--border-color); }
  .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  .calc-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.3rem; }
  .calc-field input, .calc-field select { width: 100%; padding: 0.7rem 0.85rem; border: 2px solid var(--border-color); border-radius: var(--radius-md); font-size: 0.95rem; font-family: var(--font-main); color: var(--text-primary); background: var(--bg-primary); transition: border-color 0.2s; }
  .calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--shopee-orange); }
  .calc-result { background: linear-gradient(135deg, #FFF3EF, #FFE8E0); border-radius: var(--radius-lg); padding: 1.25rem; text-align: center; display: none; }
  .calc-result.show { display: block; animation: slideUp 0.3s ease; }
  .calc-saved { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--shopee-orange); }
  .calc-detail { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.5rem; }
  .calc-breakdown { display: flex; gap: 1rem; justify-content: center; margin-top: 0.75rem; flex-wrap: wrap; }
  .calc-breakdown-item { background: white; padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 600; }
  @media (max-width: 480px) { .calc-grid { grid-template-columns: 1fr; } }

  /* ========== DEEP LINK GENERATOR ========== */
  .deeplink-card { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 1.75rem; margin-bottom: 2rem; border: 1px solid var(--border-color); }
  .deeplink-output { background: var(--bg-primary); border: 2px dashed var(--border-color); border-radius: var(--radius-md); padding: 0.85rem; font-family: monospace; font-size: 0.82rem; color: var(--shopee-orange); word-break: break-all; display: none; margin-top: 1rem; position: relative; }
  .deeplink-output.show { display: block; animation: slideUp 0.3s ease; }
  .deeplink-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

  /* ========== PRICE TRACKER ========== */
  .tracker-card { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 1.75rem; margin-bottom: 2rem; border: 1px solid var(--border-color); }
  .tracker-chart { background: var(--bg-primary); border-radius: var(--radius-md); padding: 1rem; margin-top: 1rem; display: none; }
  .tracker-chart.show { display: block; animation: slideUp 0.3s ease; }
  .chart-canvas { width: 100%; height: 180px; position: relative; }
  .chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding: 0 0.5rem; }
  .chart-bar { flex: 1; background: linear-gradient(to top, var(--shopee-orange), var(--shopee-orange-light)); border-radius: 4px 4px 0 0; transition: all 0.3s; min-width: 8px; position: relative; cursor: pointer; }
  .chart-bar:hover { opacity: 0.8; }
  .chart-bar .bar-tip { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); background: var(--bg-dark); color: white; font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; white-space: nowrap; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
  .chart-bar:hover .bar-tip { opacity: 1; }
  .chart-labels { display: flex; gap: 4px; padding: 0.4rem 0.5rem 0; }
  .chart-labels span { flex: 1; text-align: center; font-size: 0.6rem; color: var(--text-muted); }
  .tracker-summary { display: flex; gap: 1rem; margin-top: 0.75rem; flex-wrap: wrap; }
  .tracker-stat { flex: 1; min-width: 100px; background: var(--bg-primary); border-radius: var(--radius-sm); padding: 0.6rem; text-align: center; }
  .tracker-stat-val { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--shopee-orange); }
  .tracker-stat-label { font-size: 0.7rem; color: var(--text-muted); }

  /* ========== VOUCHER WALLET ========== */
  .wallet-empty { text-align: center; padding: 1rem; color: var(--text-muted); font-size: 0.82rem; }
  .wallet-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px solid var(--border-color); }
  .wallet-item:last-child { border-bottom: none; }
  .wallet-code { font-family: monospace; font-weight: 700; font-size: 0.82rem; color: var(--shopee-orange); flex: 1; }
  .wallet-discount { font-size: 0.72rem; color: var(--text-muted); }
  .wallet-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; padding: 0.15rem 0.3rem; border-radius: 4px; transition: all 0.2s; }
  .wallet-remove:hover { background: #FFEEEC; color: var(--shopee-red); }
  .wallet-count { background: var(--shopee-orange); color: white; font-size: 0.65rem; font-weight: 700; padding: 1px 6px; border-radius: 50px; margin-left: 0.3rem; }

  /* ========== EMAIL POPUP ========== */
  .popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 500; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); animation: fadeIn 0.3s; }
  .popup-overlay.show { display: flex; }
  .popup-content { background: white; border-radius: var(--radius-xl); padding: 2rem; max-width: 420px; width: 90%; position: relative; box-shadow: var(--shadow-lg); animation: slideUp 0.4s ease; }
  .popup-close { position: absolute; top: 0.75rem; right: 0.75rem; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-muted); padding: 0.25rem; line-height: 1; }
  .popup-close:hover { color: var(--text-primary); }
  .popup-emoji { font-size: 3rem; text-align: center; margin-bottom: 0.75rem; }
  .popup-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-align: center; margin-bottom: 0.5rem; }
  .popup-desc { font-size: 0.85rem; color: var(--text-secondary); text-align: center; margin-bottom: 1.25rem; line-height: 1.6; }
  .popup-form { display: flex; gap: 0.5rem; }
  .popup-form input { flex: 1; padding: 0.7rem 1rem; border: 2px solid var(--border-color); border-radius: var(--radius-md); font-size: 0.9rem; font-family: var(--font-main); }
  .popup-form input:focus { outline: none; border-color: var(--shopee-orange); }
  .popup-form button { background: var(--shopee-orange); color: white; border: none; padding: 0.7rem 1.2rem; border-radius: var(--radius-md); font-weight: 700; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
  .popup-form button:hover { background: var(--shopee-orange-dark); }
  .popup-perks { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 1rem; }
  .popup-perk { font-size: 0.78rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.4rem; }
  @media (max-width: 480px) { .popup-form { flex-direction: column; } }

  /* ========== PUSH BAR ========== */
  .push-bar { background: linear-gradient(90deg, #1A0A05, #3D1A0F); padding: 0.6rem 1.5rem; display: none; align-items: center; justify-content: center; gap: 1rem; color: white; font-size: 0.82rem; }
  .push-bar.show { display: flex; }
  .push-bar-btn { background: var(--shopee-orange); color: white; border: none; padding: 0.35rem 0.85rem; border-radius: 50px; font-weight: 700; font-size: 0.78rem; cursor: pointer; transition: all 0.2s; }
  .push-bar-btn:hover { background: var(--shopee-orange-dark); }
  .push-bar-close { background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; font-size: 1rem; padding: 0.2rem; }

  /* ========== COPY STATS ========== */
  .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .stats-item { background: var(--bg-primary); border-radius: var(--radius-sm); padding: 0.4rem 0.5rem; text-align: center; }
  .stats-code { font-family: monospace; font-size: 0.72rem; font-weight: 700; color: var(--shopee-orange); }
  .stats-count { font-size: 0.65rem; color: var(--text-muted); }

  /* ========== SPONSORED TAG ========== */
  .sponsored-tag { display: inline-flex; align-items: center; gap: 0.2rem; background: linear-gradient(135deg, var(--accent-gold), #E8A317); color: #1A0A05; font-size: 0.6rem; font-weight: 700; padding: 1px 6px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em; }

  /* ========== AD SLOTS ========== */
  .ad-slot { background: var(--bg-section); border: 1px dashed var(--border-color); border-radius: var(--radius-md); padding: 0.75rem; text-align: center; margin-bottom: 1.5rem; min-height: 90px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
  .ad-slot-label { position: absolute; top: 4px; right: 8px; font-size: 0.55rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; }
  .ad-slot-inner { width: 100%; }
  .ad-sidebar { min-height: 250px; }
  @media (max-width: 768px) { .ad-slot { min-height: 60px; } }
</style>

<!-- ========== JSON-LD SCHEMA ========== -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        { "@type": "ListItem", "position": 1, "name": "Trang chủ", "item": "https://kth-electric.com/" },
        { "@type": "ListItem", "position": 2, "name": "Công cụ", "item": "https://kth-electric.com/tools/" },
        { "@type": "ListItem", "position": 3, "name": "Mã giảm giá Shopee", "item": "https://kth-electric.com/ma-giam-gia-shopee/" },
        { "@type": "ListItem", "position": 4, "name": "Mã giảm giá Shopee hôm nay" }
      ]
    },
    {
      "@type": "FAQPage",
      "mainEntity": [
        { "@type": "Question", "name": "Mã giảm giá Shopee lấy ở đâu?", "acceptedAnswer": { "@type": "Answer", "text": "Bạn có thể lấy mã từ nhiều nguồn: Shopee Live (xem livestream), Shopee Video (xem video ngắn), YouTube Shopping (xem YouTube), Facebook x Shopee, hoặc nhập mã AFF thủ công tại trang thanh toán." } },
        { "@type": "Question", "name": "Mã AFF nhập tay là gì?", "acceptedAnswer": { "@type": "Answer", "text": "Mã AFF (Affiliate) là mã giảm giá từ chương trình Tiếp Thị Liên Kết của Shopee. Copy mã → vào giỏ hàng → nhập tại ô Mã giảm giá → bấm Áp dụng." } },
        { "@type": "Question", "name": "Tại sao nhập mã báo không hợp lệ?", "acceptedAnswer": { "@type": "Answer", "text": "3 nguyên nhân: (1) Sản phẩm không nằm trong danh sách áp dụng; (2) Đơn hàng chưa đạt giá trị tối thiểu; (3) Mã đã hết lượt hoặc hết hạn." } },
        { "@type": "Question", "name": "Flash Sale 1K có thật không?", "acceptedAnswer": { "@type": "Answer", "text": "Hoàn toàn thật! Shopee tổ chức Flash Sale đồng giá 1K, 9K, 29K vào các khung giờ 9H, 12H, 15H, 19H, 21H. Số lượng rất giới hạn." } },
        { "@type": "Question", "name": "Có thể dùng nhiều mã cùng lúc không?", "acceptedAnswer": { "@type": "Answer", "text": "Có! Shopee cho phép chồng: 1 mã giảm giá sản phẩm + 1 mã freeship + Shopee Xu." } }
      ]
    },
    {
      "@type": "WebApplication",
      "name": "Công Cụ Tìm Mã Giảm Giá Shopee",
      "url": "https://kth-electric.com/ma-giam-gia-shopee/",
      "applicationCategory": "ShoppingApplication",
      "operatingSystem": "All",
      "offers": { "@type": "Offer", "price": "0", "priceCurrency": "VND" }
    }
  ]
}
