* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
   -webkit-tap-highlight-color: transparent;
}

:root {
  --brand: #dc2626;
  --brand-rgb: 220, 38, 38;
  --success-color: #16a34a;
  --success-rgb: 22, 163, 74;
  --bg-color: #ffffff;
  --text-color: #111111;
  --text-secondary: #555555;
  --border-color: rgba(17, 17, 17, 0.1);
  --card-bg: #ffffff;
  --gradient-bg: linear-gradient(
    90deg,
    rgba(220, 38, 38, 0.1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  --success-gradient-bg: linear-gradient(
    90deg,
    rgba(22, 163, 74, 0.1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  --bottom-nav-height: 60px;
}

html.dark-mode {
  --brand: #f12a2a;
  --bg-color: #111111;
  --text-color: #f0f0f0;
  --text-secondary: #a0a0a0;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-bg: #1c1c1c;
  --gradient-bg: linear-gradient(
    90deg,
    rgba(220, 38, 38, 0.2) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  --success-gradient-bg: linear-gradient(
    90deg,
    rgba(22, 163, 74, 0.2) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

html {
  box-sizing: inherit;
  scroll-behavior: smooth;
  font-size: 15px;
  line-height: 1.5;
  background-color: var(--border-color);
}

body {
  position: relative;
  color: var(--text-color);
  margin: 0 auto;
  background-color: var(--bg-color);
  overflow-x: hidden;
  min-height: 100dvh;
  max-width: 580px;
  transition: background-color 0.3s, color 0.3s;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s, border-bottom-color 0.3s;
}

header h1 {
  font-size: 17px;
  color: var(--text-color);
}

.header-icon-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  transition: transform 0.1s ease-out, background-color 0.2s ease;
}

.header-icon-btn:active {
  transform: scale(0.9);
  background-color: var(--border-color);
}

main {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 10px;
  padding-bottom: calc(var(--bottom-nav-height) + 10px);
}

.view > section:not(:last-child),
.view > .premium-cta,
.view > .settings-group {
  margin-bottom: 20px;
}

.services,
.articles {
  overflow: hidden;
}

.services {
  margin-bottom: 20px;
}

.articles {
  margin-bottom: 20px;
}

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

.section-header h2 {
  font-size: 15px;
  color: var(--text-color);
  font-weight: 500;
}

.section-header a,
.section-header .view-all {
  font-size: 13px;
  color: var(--brand);
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  display: flex;
  align-items: center;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.service-item {
  text-decoration: none;
  color: var(--text-color);
  opacity: 0.8;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 8px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: transform 0.1s ease-out, background-color 0.2s ease;
  cursor: pointer;
  min-height: 80px;
}

.service-item:active {
  transform: scale(0.95);
  background-color: var(--border-color);
}

.premium-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--gradient-bg);
  border: 1px solid rgba(var(--brand-rgb), 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.1s ease-out;
  margin-bottom: 20px;
  cursor: pointer;
  min-height: 64px;
}

.premium-cta:active {
  transform: scale(0.98);
}

.cta-icon {
  flex-shrink: 0;
  background-color: rgba(var(--brand-rgb), 0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.cta-text h2 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.cta-text span {
  font-size: 13px;
  opacity: 0.7;
}

.cta-price-tag {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  padding: 4px 8px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

.cta-price-tag .lucide {
  width: 16px;
  height: 16px;
}

#posts-container,
#search-results-container,
#favorites-container,
#all-articles-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-item {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.1s ease-out, background-color 0.2s ease;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  min-height: 84px;
}

.article-item:active {
  transform: scale(0.98);
  background-color: var(--border-color);
}

.article-item-content {
  flex: 1;
  min-width: 0;
}

.article-item-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.article-item-date {
  font-size: 12px;
  opacity: 0.7;
}

.article-item-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.hidden {
  display: none !important;
}

#single-post-view {
  padding-bottom: 20px;
}

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

.single-post-actions {
  display: flex;
  gap: 8px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.1s ease-out;
  padding: 8px;
  min-height: 44px;
  border-radius: 8px;
}

.single-post-header .back-btn {
  font-size: 14px;
}

.single-post-header .back-btn svg, .single-post-actions svg {
  width: 20px;
  height: 20px;
}

.back-btn:active {
  transform: scale(0.95);
  background-color: var(--border-color);
}

#favorite-btn.favorited {
  color: var(--brand);
  fill: var(--brand);
}

#single-post-title,
#terms-view h2 {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 16px;
  margin-bottom: 12px;
  color: var(--text-color);
}

#single-post-title {
  font-size: 18px;
}

#single-post-content,
.page-content {
  font-size: 15px;
  line-height: 1.6;
}

#single-post-content p,
.page-content p {
  margin-bottom: 1em;
}

#single-post-content img, #single-post-content video {
  max-width: 100%;
  height: auto;
}

#single-post-content figure {
  margin: 16px 0;
  overflow: auto;
}

.wp-block-embed iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  max-width: 100%;
}

#single-post-content {
  line-height: 1.8;
}

table, td, th {  
  border: 1px solid var(--border-color);
  text-align: left;
  line-height: 1.6;
  font-size: 14px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: 8px;
}

#single-post-content h2, #single-post-content h3 {
  font-size: 16px;
  font-weight: 600;
  background-color: var(--brand);
  padding: 4px 8px;
  color: #ffffff;
  margin-top: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#single-post-content h4 {
  margin-top: 16px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

#single-post-content strong {
  font-weight: 600;
}

#single-post-content a {
  color: var(--brand);
  font-weight: 500;
  text-underline-offset: 3px;
}

.has-text-align-center {
  text-align: center;
}

#single-post-content ol, #single-post-content ul, .page-content ol, .page-content ul {
    margin: 0 0 1em 2.5em;
}

#single-post-content blockquote {
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  padding: 8px;
  background-color: rgba(var(--brand-rgb), 0.1);
}

#single-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.rank-math-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.rank-math-list-item {
    border: 1px solid rgba(var(--brand-rgb), 0.2);
    overflow: hidden;
}

.rank-math-question {
    margin-bottom: 0 !important;
    padding: 8px;
    background-color: rgba(var(--brand-rgb), 0.1);
    font-weight: 500;
}

.rank-math-answer {
    padding: 8px;
}

.rank-math-answer>p:last-child {
    margin-bottom: 0 !important;
}

.loader {
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--brand);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 3rem auto;
}

.mini-loader {
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--brand);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 580px;
  margin: 0 auto;
  height: var(--bottom-nav-height);
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  z-index: 1000;
}

.nav-item {
  background: none;
  border: none;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-grow: 1;
  transition: color 0.1s ease-out;
  padding: 8px;
  min-height: 44px;
  border-radius: 8px;
}

.nav-label {
  font-size: 11px;
  font-family: inherit;
}

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

.nav-item:active {
  background-color: var(--border-color);
}

#side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  background-color: var(--bg-color);
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.side-menu-header {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.side-menu-header h3 {
  font-size: 20px;
  font-weight: 600;
}

#side-menu-profile-section {
  margin-bottom: 16px;
}

.smp-status,
.smp-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
}

.smp-cta {
  cursor: pointer;
  transition: transform 0.1s ease-out, background-color 0.2s ease;
  min-height: 64px;
}

.smp-cta:active {
  transform: scale(0.98);
  background-color: var(--border-color);
}

.smp-status .lucide,
.smp-cta .lucide:first-child {
  color: var(--brand);
}

.smp-cta .lucide:last-child {
  margin-left: auto;
  color: var(--text-secondary);
}

.smp-text h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.smp-text span {
  font-size: 12px;
  color: var(--text-secondary);
}

.side-menu-nav {
  list-style: none;
  flex-grow: 1;
}

.side-menu-nav li {
  margin-bottom: 4px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 8px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background-color 0.1s ease-out, color 0.1s ease-out, transform 0.1s ease-out;
  cursor: pointer;
  min-height: 48px;
}

.menu-item:active {
  background-color: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  transform: scale(0.98);
}

.menu-item .lucide {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: color 0.1s ease-out;
}

.menu-item:active .lucide {
  color: var(--brand);
}

.side-menu-footer {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.side-menu-footer span {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: block;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  color: var(--text-secondary);
  transition: color 0.1s ease-out, transform 0.1s ease-out;
  cursor: pointer;
  padding: 8px;
  min-height: 40px;
  min-width: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:active {
  color: var(--brand);
  transform: scale(0.9);
  background-color: var(--border-color);
}

/* Notice/Alert Component */
.app-notice {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.app-notice.info {
  border-left: 4px solid #3b82f6;
  background-color: rgba(59, 130, 246, 0.05);
}

.app-notice.warning {
  border-left: 4px solid #f59e0b;
  background-color: rgba(245, 158, 11, 0.05);
}

.app-notice .lucide {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.app-notice-content {
  flex: 1;
}

.app-notice-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.app-notice-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

html.menu-open #side-menu {
  transform: translateX(0);
}

html.menu-open #menu-overlay {
  opacity: 1;
  visibility: visible;
}

.search-bar-container {
  position: relative;
  margin-bottom: 12px;
}

.search-bar-container .lucide {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

#search-input {
  width: 100%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: 8px;
  padding: 0 12px 0 40px;
  font-size: 14px;
  height: 44px;
}

#search-input:focus {
  outline: none;
  border-color: var(--brand);
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.1s ease-out, background-color 0.2s ease;
  min-height: 36px;
}

.chip:active {
  transform: scale(0.95);
  background-color: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
}

.premium-cta-card,
.premium-status-card {
  background: var(--gradient-bg);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.premium-status-card {
  background: var(--success-gradient-bg);
  border: 1px solid rgba(var(--success-rgb), 0.2);
}

.premium-status-card .cta-icon {
  background-color: rgba(var(--success-rgb), 0.15);
  color: var(--success-color);
}

.premium-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.premium-benefits {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.premium-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.premium-benefits .lucide {
  color: var(--brand);
  width: 18px;
}

.primary-button {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background-color: var(--brand);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.1s ease-out;
  min-height: 48px;
}

.primary-button:active {
  transform: scale(0.98);
}

.manage-subscription-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-secondary);
  text-decoration: underline;
  font-size: 13px;
  cursor: pointer;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.settings-group {
  margin-bottom: 20px;
}

.settings-group-header {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  padding: 0 4px;
  margin-bottom: 8px;
}

.settings-group-list {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  text-decoration: none;
  color: var(--text-color);
  transition: background-color 0.1s ease-out;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  min-height: 56px;
}

.setting-item:not(:last-of-type) {
  border-bottom: 1px solid var(--border-color);
}

.setting-item:active {
  background-color: rgba(var(--brand-rgb), 0.1);
}

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

.setting-item-content .lucide {
  color: var(--text-secondary);
  width: 20px;
}

.setting-item .lucide:last-child {
  color: var(--text-secondary);
  width: 20px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .slider {
  background-color: var(--brand);
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
}

.app-version {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 24px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.empty-state .lucide {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.empty-state h2 {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  max-width: 250px;
}

.offline-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  min-height: 60vh;
  color: var(--text-secondary);
}

.offline-page-container .lucide {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.offline-page-container h2 {
  font-size: 20px;
  color: var(--text-color);
  margin-bottom: 10px;
}

.offline-page-container p {
  font-size: 15px;
  max-width: 300px;
  margin-bottom: 24px;
}

.view-all {
  cursor: pointer;
  transition: transform 0.1s ease-out;
}

.view-all:active {
  transform: scale(0.95);
}

.sponsor-slider-container {
  margin: 10px 0 20px 0;
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}

.sponsor-slider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.sponsor-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.sponsor-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.05) 0%, rgba(var(--brand-rgb), 0.02) 100%);
}

.sponsor-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.sponsor-slide img:active {
  transform: scale(0.98);
}

.sponsor-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(var(--brand-rgb), 0.03) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.sponsor-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.sponsor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(var(--text-color), 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 4px;
}

.sponsor-dot.active {
  background-color: var(--brand);
  transform: scale(1.2);
}

.sponsor-slider-container::after {
  content: 'Sponsored';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 10px;
  color: var(--text-secondary);
  background-color: rgba(var(--text-color), 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  z-index: 10;
  opacity: 0.7;
}

@keyframes slideProgress {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.sponsor-slide.active .sponsor-slide-progress {
  animation: slideProgress 5s linear;
}

.sponsor-slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(var(--brand-rgb), 0.6));
  transform-origin: left;
  transform: scaleX(0);
}

.sponsor-fade-in {
  animation: sponsorFadeIn 0.5s ease-in-out;
}

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

/* Responsive Design Improvements */
@media (max-width: 480px) {
  
  .premium-cta {
    padding: 10px;
  }
  
  .cta-text h2 {
    font-size: 14px;
  }
  
  .cta-text span {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .service-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  header {
    padding: 0 8px;
  }
  
  main {
    padding: 8px;
    padding-bottom: calc(var(--bottom-nav-height) + 8px);
  }
}