/* Bani u Dani PWA Stylesheet */

@font-face {
  font-family: 'Skiff';
  src: url('assets/fonts/Skiff-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Skiff';
  src: url('assets/fonts/Skiff-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Skiff';
  src: url('assets/fonts/Skiff-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Skiff';
  src: url('assets/fonts/Skiff-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TDVolshebstvo';
  src: url('assets/fonts/TDVolshebstvo.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-dark: #12100e;
  --bg-card: #1c1815;
  --bg-card-hover: #26211c;
  --bg-glass: rgba(28, 24, 21, 0.88);
  --gold-primary: #d4a359;
  --gold-light: #f3cb88;
  --gold-dim: #9e7539;
  --text-main: #f5ede4;
  --text-muted: #a39589;
  --text-dim: #6e645c;
  --border-color: rgba(212, 163, 89, 0.22);
  --border-light: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 16px rgba(212, 163, 89, 0.25);
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Skiff', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  padding-bottom: calc(75px + var(--safe-bottom));
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header-title-wrap {
  display: flex;
  flex-direction: column;
}

.header-app-title {
  font-family: 'TDVolshebstvo', 'Skiff', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-light);
}

.header-app-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.header-btn {
  background: rgba(212, 163, 89, 0.12);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-btn:hover {
  background: rgba(212, 163, 89, 0.25);
  transform: translateY(-1px);
}

.header-btn-install {
  background: linear-gradient(135deg, #d4a359 0%, #b8863b 100%);
  color: #12100e !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 10px rgba(212, 163, 89, 0.35);
}

.header-btn-install:hover {
  opacity: 0.95;
}

/* Install Top Banner */
.install-banner {
  background: linear-gradient(135deg, #2a221b 0%, #1a1613 100%);
  border-bottom: 1px solid var(--gold-primary);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.install-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.install-banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.install-banner-text {
  display: flex;
  flex-direction: column;
}

.install-banner-text strong {
  font-size: 13px;
  color: var(--gold-light);
  line-height: 1.2;
}

.install-banner-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-install-banner {
  background: linear-gradient(135deg, #d4a359, #b8863b);
  color: #12100e;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(212, 163, 89, 0.3);
}

.install-banner-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

/* Branch Filter Pills */
.branch-switcher-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #171310;
  border-bottom: 1px solid var(--border-light);
}

.branch-switcher-bar::-webkit-scrollbar {
  display: none;
}

.branch-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.branch-pill.active {
  background: linear-gradient(135deg, rgba(212, 163, 89, 0.25), rgba(212, 163, 89, 0.08));
  color: var(--gold-light);
  border-color: var(--gold-primary);
  box-shadow: 0 2px 10px rgba(212, 163, 89, 0.15);
}

/* Stories Carousel */
.stories-section {
  padding: 16px 0 8px 0;
}

.stories-carousel {
  display: flex;
  gap: 14px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.stories-carousel::-webkit-scrollbar {
  display: none;
}

.story-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
  flex-shrink: 0;
  cursor: pointer;
}

.story-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #d4a359, #f3cb88, #8c602a);
  box-shadow: 0 4px 12px rgba(212, 163, 89, 0.2);
  transition: transform 0.2s ease;
}

.story-circle-item:hover .story-avatar-ring {
  transform: scale(1.05);
}

.story-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-dark);
  background: #25201c;
}

.story-label {
  font-size: 11px;
  color: var(--text-main);
  text-align: center;
  max-width: 76px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Content Area */
.app-content {
  padding: 16px;
  max-width: 800px;
  margin: 0 auto;
}

/* Section Containers */
.app-section {
  margin-bottom: 28px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'TDVolshebstvo', 'Skiff', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.3px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.section-more-btn {
  font-size: 13px;
  color: var(--gold-primary);
  background: none;
  border: none;
  cursor: pointer;
}

/* Branches Grid / Cards */
.branches-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.branch-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.branch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.branch-card-media {
  height: 180px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.branch-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.1) 0%, rgba(18, 16, 14, 0.85) 100%);
}

.branch-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 16, 14, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.branch-card-body {
  padding: 16px;
}

.branch-card-title {
  font-family: 'TDVolshebstvo', serif;
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.branch-card-address {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.branch-card-desc {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 14px;
  line-height: 1.4;
}

.branch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.branch-tag {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.branch-actions {
  display: flex;
  gap: 10px;
}

.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #d4a359 0%, #b8863b 100%);
  color: #12100e;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(212, 163, 89, 0.3);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Tariffs Grid */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.tariff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tariff-card.featured {
  background: linear-gradient(145deg, #241e18, #181411);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.tariff-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  background: var(--gold-primary);
  color: #12100e;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.tariff-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.tariff-days {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tariff-prices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.tariff-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--border-light);
}

.tariff-price-val {
  font-weight: 700;
  color: var(--text-main);
}

/* Steam Masters Carousel */
.masters-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.masters-carousel::-webkit-scrollbar {
  display: none;
}

.master-card {
  width: 170px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.master-photo-wrap {
  width: 100%;
  height: 190px;
  position: relative;
  background: #25201b;
}

.master-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.master-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(18, 16, 14, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.master-fav-btn.active {
  color: #ff4757;
}

.master-info {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.master-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.master-role {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 6px;
}

.master-rating {
  font-size: 11px;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Steam Programs Cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program-media {
  height: 130px;
  background: #25201b;
  position: relative;
}

.program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
}

.program-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.program-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.program-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
}

/* Kitchen Section */
.kitchen-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 14px;
}

.kitchen-tabs::-webkit-scrollbar {
  display: none;
}

.kitchen-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.kitchen-tab-btn.active {
  background: var(--gold-primary);
  color: #12100e;
  border-color: var(--gold-primary);
}

.kitchen-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kitchen-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.kitchen-item-info {
  display: flex;
  flex-direction: column;
}

.kitchen-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.kitchen-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.kitchen-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.kitchen-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
}

.kitchen-item-weight {
  font-size: 11px;
  color: var(--text-dim);
}

/* Loyalty Card View */
.loyalty-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.guest-card {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1.586;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2c251f 0%, #151210 60%, #3a3026 100%);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 163, 89, 0.2);
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.guest-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 163, 89, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.card-brand {
  font-family: 'TDVolshebstvo', serif;
  font-size: 20px;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.card-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #e5b869, #9e7539);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.card-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  margin: 10px 0;
}

.card-qr-box {
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.card-number {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--gold-light);
}

.card-holder {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.card-rules-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 100%;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Events Feed */
.events-feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-feed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.event-media {
  height: 190px;
  width: 100%;
  background: #25201b;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-content {
  padding: 18px;
}

.event-date {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.event-title {
  font-family: 'TDVolshebstvo', serif;
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-summary {
  font-size: 13px;
  color: #ddd;
  line-height: 1.5;
  margin-bottom: 12px;
}

.event-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  white-space: pre-line;
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 16, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  padding: 8px 12px calc(8px + var(--safe-bottom));
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  max-width: 90px;
}

.nav-icon {
  font-size: 20px;
}

.nav-label {
  font-size: 11px;
  font-weight: 500;
}

.nav-item.active {
  color: var(--gold-light);
}

.nav-item.active .nav-icon {
  transform: translateY(-2px);
}

/* Modals & Sheets */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* iOS Steps */
.ios-install-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-top: 16px;
}

.ios-step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.ios-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #12100e;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.ios-step-text {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.4;
}

/* Stories Fullscreen Player */
.story-player-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 300;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.story-player-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.story-progress-bar-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 310;
}

.story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.story-progress-fill {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.1s linear;
}

.story-player-header {
  position: absolute;
  top: 24px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 310;
}

.story-player-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.story-player-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.story-player-media {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.story-nav-touch-left, .story-nav-touch-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  z-index: 305;
}

.story-nav-touch-left { left: 0; }
.story-nav-touch-right { right: 0; }

/* Responsive adjustments */
@media (max-width: 480px) {
  .app-header {
    padding: 8px 12px;
  }
  .header-app-title {
    font-size: 17px;
  }
  .branch-card-media {
    height: 150px;
  }
}
