
/* CSS Variables for Colors */
:root {
  --green-primary: #10b981;
  --green-hover: #059669;
  --blue-telegram: #0b5fa5;
  --red-rank: #ff3d00;
  --orange-bonus: #ff6f00;
  
  --bg-dark: #f1f5f9;
  --bg-mobile: #ffffff;
  
  --text-dark: #1e293b;
  --text-grey: #64748b;
  --text-light: #ffffff;
  
  --border-grey: #e2e8f0;
  --bg-tabs: #f1f5f9;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.2s ease-in-out;
}

/* Global Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-dark);
  line-height: 1.5;
}

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

/* Mobile-Centric Wrapper (Centered on Desktop) */
.mobile-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--bg-mobile);
  color: var(--text-dark);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Green App Header */
.app-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--text-light);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2.5px solid #047857;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
}

.header-icon {
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.header-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Podium Banner Section */
.podium-section {
  display: flex;
  padding: 20px 12px;
  background-color: #ffffff;
  gap: 6px;
  align-items: flex-end; /* Align elements to bottom */
  border-bottom: 8px solid #f1f5f9;
}

.podium-col {
  flex: 1;
  border-radius: 8px;
  text-align: center;
  padding: 15px 8px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.podium-no1 {
  background: linear-gradient(180deg, #ff4a68 0%, #d81b43 100%);
  height: 255px;
  order: 2; /* Middle column */
}

.podium-no2 {
  background: linear-gradient(180deg, #8ba8c4 0%, #5d7c99 100%);
  height: 215px;
  order: 1; /* Left column */
}

.podium-no3 {
  background: linear-gradient(180deg, #ffb800 0%, #fb8400 100%);
  height: 195px;
  order: 3; /* Right column */
}

.podium-rank {
  font-size: 0.75rem;
  font-weight: 800;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.podium-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: #fff;
  margin-bottom: 10px;
  overflow: hidden;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.podium-icon-fallback {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-primary);
}

.podium-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.podium-download {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid #fff;
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: auto;
  transition: var(--transition-smooth);
}

.podium-download:hover {
  background-color: #fff;
  color: #d81b43;
}

.podium-no2 .podium-download:hover {
  color: #5d7c99;
}

.podium-no3 .podium-download:hover {
  color: #fb8400;
}

.podium-trusted {
  font-size: 0.65rem;
  font-weight: 600;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Telegram Channel Banner */
.telegram-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  padding: 8px 12px;
  color: var(--text-light);
  border-bottom: 4px solid #e2e8f0;
}

.telegram-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.telegram-join-btn {
  background-color: #ffffff;
  color: var(--blue-telegram);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
}

.telegram-join-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-1px);
}

/* ALL YONO APPS Title Section */
.section-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
}

.section-line {
  height: 2px;
  width: 45px;
  background: linear-gradient(90deg, transparent, #8b5cf6);
}

.section-line-right {
  height: 2px;
  width: 45px;
  background: linear-gradient(90deg, #8b5cf6, transparent);
}

.section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #6d28d9;
  margin: 0 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(109, 40, 217, 0.15);
}

/* Tabs Section */
.tabs-wrapper {
  display: flex;
  background-color: var(--bg-tabs);
  border-radius: 50px;
  padding: 4px;
  margin: 6px 12px 8px;
  border: 1px solid var(--border-grey);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-grey);
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

/* Recently Added Games Showcase Section */
.recent-showcase-section {
  padding: 8px 12px;
  background-color: #f8fafc;
  border-bottom: 4px solid #e2e8f0;
}

.recent-showcase-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.recent-showcase-header h3 {
  font-size: 0.85rem;
  font-weight: 800;
  color: #4c1d95;
  letter-spacing: 1px;
}

.sparkle-icon {
  font-size: 0.95rem;
  animation: bounce-slow 2s infinite ease-in-out;
}

/* Upper Promo Banner Image */
.upper-img-container {
  width: 100%;
  padding: 6px 12px;
  background-color: #ffffff;
  border-bottom: 4px solid #e2e8f0;
}

.upper-img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  display: block;
}

.recent-cards-container {
  display: flex;
  gap: 8px;
  overflow: hidden;
  padding: 4px 4px 8px;
}

/* Hide scrollbar but keep functionality */
.recent-cards-container::-webkit-scrollbar {
  height: 0px;
}
.recent-cards-container::-webkit-scrollbar-track {
  background: transparent;
}
.recent-cards-container::-webkit-scrollbar-thumb {
  background: transparent;
}

.recent-card {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 125px;
}

.recent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.recent-card:hover {
  transform: translateY(-2px);
}

.recent-card-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ff4a68;
  color: #fff;
  font-size: 0.45rem;
  font-weight: 800;
  padding: 0.5px 3.5px;
  border-radius: 2px;
  letter-spacing: 0.3px;
  box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.2);
}

.recent-card-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.recent-card-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-card-icon-wrapper .fallback-icon {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-primary);
}

.recent-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.recent-card-bonus {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.recent-card-bonus span {
  color: #fbbf24;
  font-weight: 800;
}

.recent-card-download {
  width: 100%;
  background: #ffffff;
  color: #1e1b4b;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 0;
  border-radius: 50px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

.recent-card-download:hover {
  background: #fbbf24;
  color: #000;
  transform: scale(1.03);
}


/* App Vertical Stack Listing - Upgraded Graphics */
.apps-list {
  padding: 4px 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-row {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 8px 10px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.25);
  background-color: #ffffff;
}

.app-rank-num {
  position: absolute;
  top: -6px;
  left: -6px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: var(--text-light);
  font-size: 0.65rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  border: 1.5px solid #fff;
}

/* Gold, Silver, Bronze for top 3 */
.app-row:nth-child(1) .app-rank-num {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.app-row:nth-child(2) .app-rank-num {
  background: linear-gradient(135deg, #94a3b8, #475569);
}
.app-row:nth-child(3) .app-rank-num {
  background: linear-gradient(135deg, #b45309, #78350f);
}

.app-icon-container {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fafafa;
  margin-right: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.app-row-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-icon-fallback-sm {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-primary);
}

.app-row-details {
  flex: 1;
  min-width: 0;
}

.app-row-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* Modern Gradient Badges */
.badge-tag {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  color: #fff;
  line-height: 1.2;
}

.badge-popular {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 1px 4px rgba(139, 92, 246, 0.3);
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
}

.badge-new, .badge-recent {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.3);
}

.app-row-bonus {
  font-size: 0.7rem;
  color: #ff6f00;
  font-weight: 600;
  margin-bottom: 1px;
}

.app-row-bonus span {
  color: #ff6f00;
  font-weight: 800;
}

.app-row-withdrawal {
  font-size: 0.7rem;
  color: #10b981;
  font-weight: 600;
}

.app-row-withdrawal span {
  color: #10b981;
  font-weight: 800;
}

.app-row-action {
  margin-left: 8px;
}

.btn-download-green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--text-light);
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download-green:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
  transform: scale(1.03);
}

/* Animations */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.btn-secondary-action {
  background-color: var(--bg-tabs);
  border: 1px solid var(--border-grey);
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary-action:hover {
  background-color: var(--border-grey);
}

.btn-delete-red {
  background-color: #d32f2f;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-delete-red:hover {
  background-color: #b71c1c;
}


/* Footer Section */
.footer-disclaimer {
  background-color: #f8fafc;
  padding: 20px 16px;
  border-top: 1px solid var(--border-grey);
  font-size: 0.75rem;
  color: var(--text-grey);
  text-align: center;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-primary);
}

.footer-copyright {
  font-size: 0.72rem;
  color: #999;
  text-align: center;
  padding-bottom: 25px;
}

/* Local SEO Text (at bottom of listing) */
.seo-text-section {
  padding: 20px 16px;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-grey);
}

.seo-text-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.seo-text-section p {
  font-size: 0.8rem;
  color: var(--text-grey);
  margin-bottom: 15px;
  line-height: 1.5;
}

/* FAQ Accordion in list style */
.faq-section {
  margin-top: 15px;
}

.faq-item {
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  background-color: #ffffff;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--green-primary);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer-content {
  padding: 0 16px 12px;
  font-size: 0.78rem;
  color: var(--text-grey);
  line-height: 1.4;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

/* ======================================================== */
/* ADMIN DASHBOARD (WIDE VIEWPORT OUTSIDE MOBILE FRAME)     */
/* ======================================================== */
/* ======================================================== */
/* ADMIN DASHBOARD (MATCHING FRONTEND CSS THEME)            */
/* ======================================================== */
.admin-card {
  background: #ffffff;
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  padding: 20px 15px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.admin-card h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
  font-size: 1.05rem;
  border-bottom: 2px solid var(--green-primary);
  padding-bottom: 6px;
  display: inline-block;
}

.admin-table-wrapper {
  overflow-x: auto;
  margin-top: 10px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-grey);
  font-size: 0.8rem;
}

.admin-table th {
  color: var(--text-grey);
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--bg-tabs);
}

.admin-table td {
  color: var(--text-dark);
}

.admin-actions {
  display: flex;
  gap: 6px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: var(--bg-tabs);
  border: 1px solid var(--border-grey);
  color: var(--text-dark);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--green-primary);
  background-color: #ffffff;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-help {
  font-size: 0.7rem;
  color: var(--text-grey);
  margin-top: 4px;
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.alert-success {
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.2);
  color: var(--green-primary);
}

.alert-error {
  background: rgba(211, 47, 47, 0.1);
  border: 1px solid rgba(211, 47, 47, 0.2);
  color: #d32f2f;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .mobile-wrapper {
    max-width: 100%;
    box-shadow: none;
  }
}

/* ======================================================== */
/* APP DETAIL PAGE STYLES (app.php)                         */
/* ======================================================== */

.navbar {
  background-color: #0b0f19;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: #10b981;
}

.telegram-btn {
  background-color: #0b5fa5;
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(11, 95, 165, 0.3);
}

.telegram-btn:hover {
  background-color: #084d85;
  transform: translateY(-1px);
}

/* Breadcrumbs */
.breadcrumb {
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-grey);
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-grey);
}

.breadcrumb a {
  color: var(--green-primary);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Detail Grid Layout */
.detail-layout {
  background-color: var(--bg-mobile);
  color: var(--text-dark);
  min-height: 100vh;
}

.detail-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 30px;
}

/* Sidebar & Info Card */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-info-card {
  background: #ffffff;
  border: 1px solid var(--border-grey);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.detail-info-card h1 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 15px 0 8px;
  color: var(--text-dark);
}

.detail-info-card .category-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green-primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.detail-download-btn {
  width: 100%;
  padding: 14px !important;
  justify-content: center;
  font-size: 0.95rem !important;
  border-radius: 12px !important;
  margin-bottom: 25px;
}

.detail-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.detail-stat-item {
  background: #f8fafc;
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  padding: 10px;
  text-align: left;
}

.card-meta-label {
  font-size: 0.7rem;
  color: var(--text-grey);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.card-meta-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.detail-refer-box {
  background: #fffdf5;
  border: 1px dashed #f59e0b;
  border-radius: 12px;
  padding: 15px;
  text-align: left;
}

.detail-refer-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 5px;
}

.detail-refer-box p {
  font-size: 0.78rem;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Detail Content Area */
.detail-content {
  background: #ffffff;
  padding: 10px 0px;
}

.detail-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 12px;
  color: var(--text-dark);
  border-bottom: 2px solid var(--green-primary);
  padding-bottom: 6px;
  display: inline-block;
}

.detail-content h2:first-of-type {
  margin-top: 0;
}

.detail-content p {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 15px;
}

/* Pros & Cons */
.pros-cons-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 25px 0;
}

.pros-box, .cons-box {
  border-radius: 14px;
  padding: 16px;
}

.pros-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.cons-box {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.pros-box h3 {
  font-size: 1rem;
  color: var(--green-hover);
  margin-bottom: 10px;
}

.cons-box h3 {
  font-size: 1rem;
  color: #dc2626;
  margin-bottom: 10px;
}

.pros-box ul, .cons-box ul {
  list-style-type: none;
  padding: 0;
}

.pros-box li, .cons-box li {
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.pros-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: bold;
}

.cons-box li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
}

/* Related Apps Grid */
.app-card {
  background: #ffffff;
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.app-card .btn-secondary {
  background: #f1f5f9;
  border: 1px solid var(--border-grey);
  color: var(--text-dark);
  border-radius: 6px;
  display: block;
  text-align: center;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.app-card .btn-secondary:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #fff;
}

/* Footer (Detail Page version) */
.footer {
  background-color: #f8fafc;
  border-top: 1px solid var(--border-grey);
  padding: 40px 0;
  color: var(--text-grey);
  font-size: 0.8rem;
}

.footer .footer-disclaimer {
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-grey);
}

.footer-copyright {
  text-align: center;
  color: var(--text-grey);
}

.footer-copyright a {
  color: var(--green-primary);
}

/* Mobile responsive for Detail page */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .nav-links {
    gap: 15px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}
