/* ===================================================================
   FUK NOTEBOOK - MODERN TRAVEL WEB APP DESIGN SYSTEM
   Theme: Kyushu / Fukuoka Modern Heritage
   =================================================================== */

:root {
  --primary: #d6453d;
  --primary-hover: #b8352e;
  --primary-light: #ffedea;
  --primary-glow: rgba(214, 69, 61, 0.25);
  
  --secondary: #1a2b49;
  --secondary-light: #2c426b;
  
  --accent-gold: #e5a84b;
  --accent-green: #2d7a58;
  --accent-green-light: #eaf6ef;
  
  --bg-main: #f5f6f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f0f2f6;
  
  --text-main: #19202c;
  --text-muted: #5f6c80;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;
  
  --border-subtle: rgba(26, 43, 73, 0.08);
  --border-medium: rgba(26, 43, 73, 0.15);
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 24px rgba(214, 69, 61, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Zen Kaku Gothic New', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --primary: #ff6b62;
  --primary-hover: #ff857d;
  --primary-light: rgba(255, 107, 98, 0.15);
  --primary-glow: rgba(255, 107, 98, 0.3);
  
  --secondary: #0c1626;
  --secondary-light: #16243d;
  
  --accent-gold: #f4be6c;
  --accent-green: #3ea377;
  --accent-green-light: rgba(62, 163, 119, 0.15);
  
  --bg-main: #0b111e;
  --bg-surface: #131c2e;
  --bg-surface-elevated: #1a253c;
  --bg-subtle: #192338;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

[data-theme="dark"] .app-header {
  background: rgba(19, 28, 46, 0.85);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), #e05a47);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--bg-subtle);
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-icon:hover {
  color: var(--text-main);
  background: var(--border-medium);
  transform: translateY(-1px);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-pill-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-pill-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Category Navigation Bar */
.nav-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 61px;
  z-index: 90;
  transition: var(--transition);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.4rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-container::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-tab i {
  font-size: 0.95rem;
}

.nav-tab:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.nav-tab.active {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 14px rgba(26, 43, 73, 0.25);
}

[data-theme="dark"] .nav-tab.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #101c30 0%, #1e3357 50%, #294474 100%);
  color: white;
  padding: 2.8rem 1.25rem 2.2rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 650px;
  margin-top: 0.5rem;
}

.hero-stats {
  display: flex;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Quick Bar & Search Bar */
.search-control-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-box-wrapper {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}

.search-input {
  width: 100%;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.quick-filter-chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-filter-chips::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}

.chip-btn:hover, .chip-btn.active {
  background: var(--accent-gold);
  color: #1a202c;
  border-color: var(--accent-gold);
  font-weight: 700;
}

/* Main Content Layout */
.main-wrapper {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
  flex: 1;
}

.section-header {
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Card Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Item Card */
.travel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.travel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.card-media {
  position: relative;
  width: 100%;
  height: 220px;
  background: var(--bg-subtle);
  overflow: hidden;
  cursor: pointer;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.travel-card:hover .card-media img {
  transform: scale(1.04);
}

.media-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card-media:hover .media-zoom-overlay {
  opacity: 1;
}

.card-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.card-rating-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(229, 168, 75, 0.95);
  color: #1a202c;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-body {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.9rem;
}

.card-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-jp-name {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-jp-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.card-jp-copy:hover {
  background: var(--primary);
  color: white;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.card-tag {
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 500;
}

.card-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  white-space: pre-line;
}

.card-highlights {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.highlight-item {
  font-size: 0.84rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.highlight-item i {
  color: var(--accent-green);
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.card-tips-box {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding: 0.7rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.45;
}

.card-locations-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.location-item {
  font-size: 0.82rem;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.4rem;
}
.location-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.loc-title {
  font-weight: 700;
  color: var(--text-main);
}

.loc-detail {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.card-actions-left {
  display: flex;
  gap: 0.4rem;
}

.btn-card-action {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-subtle);
  color: var(--text-main);
  transition: var(--transition);
}

.btn-card-action:hover {
  background: var(--border-medium);
  transform: translateY(-1px);
}

.btn-card-primary {
  background: var(--primary);
  color: white;
}
.btn-card-primary:hover {
  background: var(--primary-hover);
}

/* Checklist Section Special Styles */
.checklist-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.checklist-progress-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.progress-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.progress-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.progress-bar-wrap {
  flex: 1;
  min-width: 220px;
  background: var(--bg-subtle);
  height: 12px;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--accent-green), #48bb78);
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  width: 0%;
}

.checklist-group {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.group-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.group-title h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.group-title p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checklist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
}

.checklist-row:hover {
  background: var(--border-medium);
}

.checklist-row.checked {
  opacity: 0.65;
  background: var(--bg-surface-elevated);
}

.checklist-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: var(--transition);
}

.checklist-row.checked .checkbox-custom {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: white;
}

.checklist-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.checklist-row.checked .checklist-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.checklist-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--primary);
  border: 1px solid var(--border-subtle);
}

/* Floating Utility Dock & Currency Converter Widget */
.currency-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.currency-trigger-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  color: white;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.currency-trigger-btn:hover {
  transform: scale(1.08);
}

.currency-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  width: 280px;
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  animation: slideUp 0.2s ease;
}

.currency-panel.open {
  display: flex;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.converter-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.converter-row label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.converter-input-wrap {
  position: relative;
}

.converter-input {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.75rem 0.55rem 2.2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.currency-symbol {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 25, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover {
  color: var(--primary);
}

/* Coupon Modal */
.coupon-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 25, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.coupon-card-modal {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.coupon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coupon-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.coupon-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.coupon-body img {
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
}

/* Mobile Bottom Navigation Dock */
.mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.5rem 0.25rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  justify-content: space-around;
}

[data-theme="dark"] .mobile-dock {
  background: rgba(19, 28, 46, 0.92);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dock-item i {
  font-size: 1.15rem;
}

.dock-item.active {
  color: var(--primary);
}

@media (max-width: 768px) {
  .mobile-dock {
    display: flex;
  }
  .currency-widget {
    bottom: 5.5rem;
    right: 1.25rem;
  }
  .nav-bar {
    display: none;
  }
  .main-wrapper {
    padding-bottom: 7rem;
  }
}

/* App Footer */
.app-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 1.25rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-info h4 {
  font-size: 1rem;
  font-weight: 700;
}
.footer-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #1a202c;
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 2000;
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
