/* ==================== ROOT VARIABLES & DESIGN TOKENS ==================== */
    :root {
      --primary: #6366f1;
      --primary-hover: #4f46e5;
      --primary-light: #e0e7ff;
      --secondary: #0ea5e9;
      --accent: #f59e0b;
      --accent-glow: rgba(245, 158, 11, 0.3);
      --success: #10b981;
      --danger: #ef4444;
      
      --bg-body: #f8fafc;
      --bg-surface: #ffffff;
      --bg-glass: rgba(255, 255, 255, 0.85);
      
      --text-main: #0f172a;
      --text-muted: #64748b;
      --text-light: #94a3b8;
      
      --border-color: #e2e8f0;
      --border-hover: #cbd5e1;
      
      --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
      --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
      --shadow-glow: 0 8px 24px rgba(99, 102, 241, 0.25);
      
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-full: 9999px;
      
      --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ==================== BASE STYLES ==================== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    body {
      background-color: var(--bg-body);
      color: var(--text-main);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    button {
      cursor: pointer;
      border: none;
      outline: none;
      background: none;
      font-family: inherit;
    }

    /* ==================== HEADER & NAVBAR ==================== */
    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--bg-glass);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      transition: var(--transition);
    }

    .nav-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0.85rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }

    .logo-badge {
      width: 42px;
      height: 42px;
      background: linear-gradient(135deg, #6366f1, #0ea5e9);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.2rem;
      box-shadow: var(--shadow-glow);
      transform: rotate(-3deg);
      transition: var(--transition);
    }

    .brand-logo:hover .logo-badge {
      transform: rotate(0deg) scale(1.05);
    }

    .brand-logo span strong {
      color: var(--primary);
    }

    .nav-search {
      flex: 1;
      max-width: 420px;
      position: relative;
    }

    .nav-search input {
      width: 100%;
      padding: 0.65rem 1rem 0.65rem 2.6rem;
      background: var(--bg-body);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-full);
      font-size: 0.9rem;
      color: var(--text-main);
      transition: var(--transition);
    }

    .nav-search input:focus {
      outline: none;
      border-color: var(--primary);
      background: var(--bg-surface);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    }

    .nav-search i {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
      font-size: 0.95rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-link {
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--text-muted);
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }

    .mobile-toggle {
      display: none;
      font-size: 1.4rem;
      color: var(--text-main);
      padding: 0.4rem;
    }

    /* ==================== BREADCRUMB ==================== */
    .breadcrumb-wrapper {
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-color);
      padding: 0.75rem 1.5rem;
    }

    .breadcrumb {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      flex-wrap: wrap;
    }

    .breadcrumb a {
      color: var(--text-muted);
      transition: var(--transition);
    }

    .breadcrumb a:hover {
      color: var(--primary);
    }

    .breadcrumb i {
      font-size: 0.7rem;
      color: var(--text-light);
    }

    .breadcrumb-current {
      color: var(--text-main);
      font-weight: 600;
    }

    /* ==================== MAIN LAYOUT ==================== */
    .layout-container {
      max-width: 1280px;
      margin: 2rem auto;
      padding: 0 1.5rem;
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 2rem;
    }

    /* ==================== APP DETAIL HERO CARD ==================== */
    .app-detail-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      box-shadow: var(--shadow-sm);
      margin-bottom: 1.75rem;
    }

    .app-detail-header {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      margin-bottom: 1.5rem;
    }

    .app-detail-icon {
      width: 110px;
      height: 110px;
      border-radius: 22px;
      object-fit: cover;
      box-shadow: var(--shadow-md);
      background: #1e1b4b;
      flex-shrink: 0;
    }

    .app-detail-info {
      flex: 1;
    }

    .app-detail-title {
      font-size: clamp(1.3rem, 3vw, 1.8rem);
      font-weight: 800;
      color: var(--text-main);
      line-height: 1.25;
      margin-bottom: 0.4rem;
    }

    .app-detail-dev {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .app-detail-dev i {
      color: var(--secondary);
    }

    .app-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .app-badge-tag {
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.25rem 0.65rem;
      border-radius: var(--radius-full);
      background: var(--bg-body);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
    }

    .app-badge-tag.primary {
      background: var(--primary-light);
      color: var(--primary);
      border-color: transparent;
    }

    .app-badge-tag.success {
      background: #d1fae5;
      color: #047857;
      border-color: transparent;
    }

    .app-stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      padding: 1rem;
      background: var(--bg-body);
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
    }

    .stat-box {
      text-align: center;
    }

    .stat-label {
      font-size: 0.75rem;
      color: var(--text-light);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .stat-val {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--text-main);
      margin-top: 0.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.25rem;
    }

    .stat-val i {
      color: var(--accent);
    }

    /* ==================== CTA DOWNLOAD SECTION ==================== */
    .download-cta-box {
      background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      color: #ffffff;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-glow);
      margin-bottom: 2rem;
    }

    .download-cta-box::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 60%);
      pointer-events: none;
    }

    .btn-download-hero {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      width: 100%;
      max-width: 480px;
      padding: 1rem 1.75rem;
      background: linear-gradient(135deg, #10b981, #059669);
      color: #ffffff;
      font-size: 1.15rem;
      font-weight: 800;
      border-radius: var(--radius-md);
      box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
      transition: var(--transition);
      position: relative;
      z-index: 2;
      animation: pulse-shadow 2s infinite;
    }

    .btn-download-hero:hover {
      transform: translateY(-3px) scale(1.01);
      box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
      background: linear-gradient(135deg, #059669, #047857);
    }

    .download-subtext {
      margin-top: 1rem;
      font-size: 0.85rem;
      opacity: 0.9;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;
      flex-wrap: wrap;
      position: relative;
      z-index: 2;
    }

    .download-subtext span {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .download-subtext i {
      color: #34d399;
    }

    .download-mirrors {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.15);
      display: flex;
      justify-content: center;
      gap: 1rem;
      font-size: 0.825rem;
      position: relative;
      z-index: 2;
    }

    .mirror-link {
      color: #a5b4fc;
      text-decoration: underline;
      transition: var(--transition);
    }

    .mirror-link:hover {
      color: #ffffff;
    }

    /* ==================== CONTENT SECTIONS ==================== */
    .content-box {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
      box-shadow: var(--shadow-sm);
      margin-bottom: 2rem;
    }

    .box-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding-bottom: 0.75rem;
      border-bottom: 2px solid var(--bg-body);
    }

    .box-title i {
      color: var(--primary);
    }

    /* Gallery / Screenshots */
    .screenshots-scroll {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      padding-bottom: 0.75rem;
      scroll-snap-type: x mandatory;
    }

    .screenshot-item {
      flex: 0 0 220px;
      height: 380px;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      scroll-snap-align: start;
      cursor: pointer;
      position: relative;
      transition: var(--transition);
    }

    .screenshot-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--primary);
    }

    .screenshot-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .screenshot-item::after {
      content: '\f00e';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.4);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      opacity: 0;
      transition: var(--transition);
    }

    .screenshot-item:hover::after {
      opacity: 1;
    }

    /* App Description Text */
    .rich-text {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .rich-text p {
      margin-bottom: 1rem;
    }

    .feature-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 0.85rem;
      margin: 1.25rem 0;
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
      background: var(--bg-body);
      padding: 0.85rem;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);

    }

    .feature-item i {
      color: var(--success);
      font-size: 1.1rem;
      margin-top: 0.1rem;
    }

    .feature-item strong {
      color: var(--text-main);
      display: block;
      font-size: 0.9rem;
    }

    .feature-item p {
      font-size: 0.825rem;
      margin-bottom: 0;
    }

    /* Tech Specs Table */
    .specs-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
      font-size: 0.9rem;
    }

    .specs-table tr {
      border-bottom: 1px solid var(--border-color);
    }

    .specs-table tr:last-child {
      border-bottom: none;
    }

    .specs-table td {
      padding: 0.75rem 0.5rem;
    }

    .specs-table td:first-child {
      font-weight: 700;
      color: var(--text-main);
      width: 35%;

    }

    .specs-table td:last-child {
      color: var(--text-muted);
    }

    /* Installation Steps */
    .install-steps {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: 1rem;
    }

    .step-card {
      display: flex;
      gap: 1rem;
      background: var(--bg-body);
      padding: 1rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
    }

    .step-num {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .step-content h4 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 0.2rem;
    }

    .step-content p {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin: 0;
    }

    /* Reviews Section */
    .review-summary {
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 1.5rem;
      align-items: center;
      background: var(--bg-body);
      padding: 1.25rem;
      border-radius: var(--radius-md);
      margin-bottom: 1.5rem;
    }

    .rating-big {
      text-align: center;
      border-right: 1px solid var(--border-color);
      padding-right: 1rem;
    }

    .rating-number {
      font-size: 2.8rem;
      font-weight: 800;
      color: var(--text-main);
      line-height: 1;
    }

    .rating-stars-gold {
      color: var(--accent);
      font-size: 0.9rem;
      margin: 0.3rem 0;
    }

    .rating-total {
      font-size: 0.75rem;
      color: var(--text-light);
    }

    .rating-bars {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .bar-row {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.8rem;
    }

    .bar-label {
      width: 30px;
      font-weight: 600;
      color: var(--text-muted);
    }

    .bar-bg {
      flex: 1;
      height: 7px;
      background: #e2e8f0;
      border-radius: var(--radius-full);
      overflow: hidden;
    }

    .bar-fill {
      height: 100%;
      background: var(--accent);

    }

    .bar-percent {
      width: 35px;
      text-align: right;
      color: var(--text-light);
      font-size: 0.75rem;
    }

    .reviews-list {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;

    }

    .review-item {
      padding-bottom: 1.25rem;
      border-bottom: 1px solid var(--border-color);
    }

    .review-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .review-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
    }

    .reviewer-user {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }

    .user-avatar {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: linear-gradient(135deg, #6366f1, #0ea5e9);
      color: white;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
    }

    .user-name {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .review-date {
      font-size: 0.75rem;
      color: var(--text-light);
    }

    .review-text {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ==================== SIDEBAR (<aside>) ==================== */
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
    }

    .widget-box {
      background: var(--bg-surface);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }

    .widget-title {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding-bottom: 0.6rem;
      border-bottom: 2px solid var(--bg-body);
    }

    .widget-title i {
      color: var(--accent);
    }

    /* Spotlight Feature Card */
    .featured-card {
      background: linear-gradient(135deg, #1e1b4b, #312e81);
      color: #ffffff;
      border: none;
      position: relative;
      overflow: hidden;
    }

    .featured-card::before {
      content: '';
      position: absolute;
      top: -30%;
      right: -30%;
      width: 180px;
      height: 180px;
      background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
      pointer-events: none;
    }

    .featured-badge {
      display: inline-block;
      background: var(--accent);
      color: #000;
      font-size: 0.7rem;
      font-weight: 800;
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-full);
      margin-bottom: 0.75rem;
    }

    .featured-body {
      display: flex;
      gap: 1rem;
      align-items: center;
      margin-bottom: 1rem;
    }

    .featured-icon {
      width: 68px;
      height: 68px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-md);
    }

    .featured-info h4 {
      font-size: 1.1rem;
      font-weight: 800;
    }

    .featured-info p {
      font-size: 0.8rem;
      opacity: 0.8;
      margin: 0.2rem 0;
    }

    .btn-featured {
      width: 100%;
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #ffffff;
      padding: 0.65rem;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
      transition: var(--transition);
    }

    .btn-featured:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
    }

    /* Category List */
    .category-list {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .category-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.6rem 0.8rem;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-muted);
      transition: var(--transition);
      cursor: pointer;
    }

    .category-item:hover {
      background: var(--bg-body);
      color: var(--primary);
    }

    .category-item-left {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .category-count {
      font-size: 0.75rem;
      background: var(--bg-body);
      padding: 0.15rem 0.5rem;
      border-radius: var(--radius-full);
      color: var(--text-light);
    }

    .category-item:hover .category-count {
      background: var(--primary-light);
      color: var(--primary);
    }

    /* Related Apps List */
    .top-list {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    .top-item {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px dashed var(--border-color);
      cursor: pointer;
      transition: var(--transition);
    }

    .top-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .top-item:hover {
      transform: translateX(4px);
    }

    .top-thumb {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      object-fit: cover;
    }

    .top-details {
      flex: 1;
    }

    .top-details h5 {
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .top-details p {
      font-size: 0.75rem;
      color: var(--text-light);
    }

    /* Trust Widget */
    .trust-card {
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: var(--radius-md);
      padding: 1.25rem;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.85rem;
      font-size: 0.85rem;
      color: #1e40af;
      font-weight: 600;
    }

    .trust-item:last-child {
      margin-bottom: 0;
    }

    .trust-item i {
      font-size: 1.1rem;
      color: var(--primary);
    }

    /* ==================== FOOTER ==================== */
    .footer {
      background: #0f172a;
      color: #94a3b8;
      padding-top: 4rem;
      margin-top: 4rem;
      border-top: 1px solid #1e293b;
    }

    .footer-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1.5rem 3rem;
      display: grid;
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 2.5rem;
    }

    .footer-brand p {
      font-size: 0.9rem;
      margin: 1rem 0 1.5rem;
      max-width: 320px;
      line-height: 1.6;
    }

    .footer-logo {
      color: #ffffff;
      font-size: 1.5rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .footer-heading {
      color: #ffffff;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 1.2rem;
      position: relative;
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .footer-links a {
      font-size: 0.875rem;
      transition: var(--transition);
    }

    .footer-links a:hover {
      color: var(--secondary);
      padding-left: 4px;
    }

    .newsletter-form {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .newsletter-form input {
      padding: 0.65rem 0.9rem;
      border-radius: var(--radius-sm);
      border: 1px solid #334155;
      background: #1e293b;
      color: #fff;
      font-size: 0.85rem;
    }

    .newsletter-form button {
      background: var(--primary);
      color: #fff;
      padding: 0.65rem;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 0.85rem;
      transition: var(--transition);
    }

    .newsletter-form button:hover {
      background: var(--primary-hover);
    }

    .footer-bottom {
      border-top: 1px solid #1e293b;
      padding: 1.5rem;
      text-align: center;
      font-size: 0.825rem;
      background: #090d16;
    }

    /* ==================== MODALS & LIGHTBOX ==================== */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.7);
      backdrop-filter: blur(4px);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: var(--transition);
      padding: 1rem;
    }

    .modal-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-content {
      background: var(--bg-surface);
      border-radius: var(--radius-lg);
      padding: 2rem;
      max-width: 460px;
      width: 100%;
      text-align: center;
      transform: scale(0.9);
      transition: var(--transition);
      box-shadow: var(--shadow-lg);
      position: relative;
    }

    .modal-overlay.active .modal-content {
      transform: scale(1);
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 1.2rem;
      color: var(--text-light);
      transition: var(--transition);
    }

    .modal-close:hover {
      color: var(--danger);
    }

    /* Lightbox Modal */
    .lightbox-content {
      max-width: 800px;
      padding: 0.5rem;
      background: transparent;
      box-shadow: none;
    }

    .lightbox-img {
      max-width: 100%;
      max-height: 80vh;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lg);

    }

    /* Progress simulation inside modal */
    .modal-icon {
      width: 90px;
      height: 90px;
      border-radius: 20px;
      margin: 0 auto 1rem;
      box-shadow: var(--shadow-md);
    }

    .modal-title {
      font-size: 1.3rem;
      font-weight: 800;
      margin-bottom: 0.3rem;
    }

    .modal-meta {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 1.25rem;
    }

    .download-progress-container {
      margin: 1.25rem 0;
      display: none;
    }

    .progress-bar-bg {
      height: 8px;
      background: var(--bg-body);
      border-radius: var(--radius-full);
      overflow: hidden;
      margin-bottom: 0.5rem;
    }

    .progress-bar-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #6366f1, #10b981);
      transition: width 0.1s linear;
    }

    .progress-text {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    /* Toast */
    .toast {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: #0f172a;
      color: #fff;
      padding: 0.85rem 1.4rem;
      border-radius: var(--radius-md);
      font-size: 0.9rem;
      font-weight: 600;
      box-shadow: var(--shadow-lg);
      display: flex;
      align-items: center;
      gap: 0.6rem;
      z-index: 3000;
      transform: translateY(100px);
      opacity: 0;
      transition: var(--transition);
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    /* ==================== KEYFRAMES & ANIMATIONS ==================== */
    @keyframes pulse-shadow {
      0%, 100% { box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35); }
      50% { box-shadow: 0 10px 28px rgba(16, 185, 129, 0.6); }
    }

    /* ==================== RESPONSIVE DESIGN ==================== */
    @media (max-width: 1024px) {
      .layout-container {
        grid-template-columns: 1fr;
      }

      .footer-container {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links, .nav-search {
        display: none;
      }

      .mobile-toggle {
        display: block;
      }

      .mobile-menu-active .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 1.25rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
      }

      .app-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .app-badges {
        justify-content: center;
      }

      .app-stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .review-summary {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .rating-big {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 1rem;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
    }

/* ==================== ROOT VARIABLES & DESIGN TOKENS ==================== */
    :root {
      --primary: #6366f1;
      --primary-hover: #4f46e5;
      --primary-light: #e0e7ff;
      --secondary: #0ea5e9;
      --accent: #f59e0b;
      --accent-glow: rgba(245, 158, 11, 0.3);
      --success: #10b981;
      --danger: #ef4444;
      
      --bg-body: #f8fafc;
      --bg-surface: #ffffff;
      --bg-glass: rgba(255, 255, 255, 0.85);
      
      --text-main: #0f172a;
      --text-muted: #64748b;
      --text-light: #94a3b8;
      
      --border-color: #e2e8f0;
      --border-hover: #cbd5e1;
      
      --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
      --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
      --shadow-glow: 0 8px 24px rgba(99, 102, 241, 0.25);
      
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-full: 9999px;
      
      --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ==================== BASE STYLES ==================== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    body {
      background-color: var(--bg-body);
      color: var(--text-main);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    button {
      cursor: pointer;
      border: none;
      outline: none;
      background: none;
      font-family: inherit;
    }

    /* ==================== HEADER & NAVBAR ==================== */
    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--bg-glass);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      transition: var(--transition);
    }

    .nav-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0.85rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }

    .logo-badge {
      width: 42px;
      height: 42px;
      background: linear-gradient(135deg, #6366f1, #0ea5e9);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.2rem;
      box-shadow: var(--shadow-glow);
      transform: rotate(-3deg);
      transition: var(--transition);
    }

    .brand-logo:hover .logo-badge {
      transform: rotate(0deg) scale(1.05);
    }

    .brand-logo span strong {
      color: var(--primary);
    }

    .nav-search {
      flex: 1;
      max-width: 420px;
      position: relative;
    }

    .nav-search input {
      width: 100%;
      padding: 0.65rem 1rem 0.65rem 2.6rem;
      background: var(--bg-body);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-full);
      font-size: 0.9rem;
      color: var(--text-main);
      transition: var(--transition);
    }

    .nav-search input:focus {
      outline: none;
      border-color: var(--primary);
      background: var(--bg-surface);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    }

    .nav-search i {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
      font-size: 0.95rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-link {
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--text-muted);
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }

    .mobile-toggle {
      display: none;
      font-size: 1.4rem;
      color: var(--text-main);
      padding: 0.4rem;
    }

    /* ==================== HERO SECTION ==================== */
    .hero {
      position: relative;
      background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
      padding: 3.5rem 1.5rem;
      color: #ffffff;
      overflow: hidden;
    }

    .hero-pattern {
      position: absolute;
      inset: 0;
      opacity: 0.08;
      background-image: radial-gradient(#fff 1px, transparent 1px);
      background-size: 24px 24px;
    }

    .hero-container {
      max-width: 1280px;
      margin: 0 auto;
      position: relative;
      z-index: 10;
      text-align: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 1rem;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      font-weight: 700;
      margin-bottom: 1.25rem;
      border: 1px solid rgba(255, 255, 255, 0.3);
      animation: pulse 2s infinite;
    }

    .hero-title {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 1rem;
      letter-spacing: -1px;
    }

    .hero-subtitle {
      font-size: clamp(1rem, 2vw, 1.15rem);
      opacity: 0.92;
      max-width: 680px;
      margin: 0 auto 2rem;
      font-weight: 400;
    }

    .hero-search-box {
      max-width: 600px;
      margin: 0 auto 1.5rem;
      display: flex;
      background: #ffffff;
      padding: 0.4rem;
      border-radius: var(--radius-full);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .hero-search-box input {
      flex: 1;
      border: none;
      padding: 0.75rem 1.25rem;
      font-size: 1rem;
      border-radius: var(--radius-full);
      color: var(--text-main);
    }

    .hero-search-box input:focus {
      outline: none;
    }

    .btn-search {
      background: linear-gradient(135deg, #10b981, #059669);
      color: white;
      padding: 0.75rem 1.75rem;
      border-radius: var(--radius-full);
      font-weight: 700;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: var(--transition);
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }

    .btn-search:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.5rem 1rem;
      font-size: 0.85rem;
      opacity: 0.9;
    }

    .hero-tags span {
      font-weight: 600;
      opacity: 0.75;
    }

    .hero-tag {
      color: #fff;
      text-decoration: underline;
      text-underline-offset: 3px;
      font-weight: 600;
      transition: var(--transition);
    }

    .hero-tag:hover {
      color: var(--accent);
    }

    /* ==================== MAIN LAYOUT & GRID ==================== */
    .layout-container {
      max-width: 1280px;
      margin: 2.5rem auto;
      padding: 0 1.5rem;
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 2rem;
    }

    .section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.5rem;
    }

    .section-title {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .section-title i {
      color: var(--primary);
    }

    .filter-pills {
      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      padding-bottom: 0.25rem;
    }

    .pill {
      padding: 0.4rem 0.9rem;
      border-radius: var(--radius-full);
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      font-size: 0.825rem;
      font-weight: 600;
      color: var(--text-muted);
      white-space: nowrap;
      transition: var(--transition);
    }

    .pill:hover, .pill.active {
      background: var(--primary);
      color: #ffffff;
      border-color: var(--primary);
      box-shadow: var(--shadow-sm);
    }

    /* ==================== APP CARD GRID ==================== */
    .app-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 1.25rem;
    }

    .app-grid [hidden] {
      display: none;
    }

    .empty-state {
      grid-column: 1 / -1;
      padding: 3rem;
      color: var(--text-muted);
      text-align: center;
    }

    .app-card {
      background: var(--bg-surface);
      border-radius: var(--radius-md);
      padding: 1rem;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      transition: var(--transition);
      cursor: pointer;
    }

    .app-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-light);
    }

    .card-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 0.65rem;
      font-weight: 800;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #fff;
      z-index: 2;
    }

    .badge-latest { background: var(--primary); }
    .badge-new { background: var(--danger); }
    .badge-updated { background: var(--success); }
    .badge-modded { background: var(--accent); }

    .app-icon-wrapper {
      width: 84px;
      height: 84px;
      border-radius: 18px;
      overflow: hidden;
      margin-bottom: 0.75rem;
      position: relative;
      box-shadow: var(--shadow-md);
      background: #f1f5f9;
      transition: var(--transition);
    }

    .app-card:hover .app-icon-wrapper {
      transform: scale(1.05);
    }

    .app-icon {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .app-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 0.25rem;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
      width: 100%;
    }

    .app-category-label {
      font-size: 0.75rem;
      color: var(--text-light);
      margin-bottom: 0.4rem;
      font-weight: 500;
    }

    .app-rating {
      display: flex;
      align-items: center;
      gap: 0.2rem;
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .app-rating span {
      color: var(--text-muted);
      margin-left: 0.2rem;
    }

    .btn-download-sm {
      width: 100%;
      padding: 0.5rem;
      background: var(--primary-light);
      color: var(--primary);
      font-weight: 700;
      font-size: 0.8rem;
      border-radius: var(--radius-sm);
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      margin-top: auto;
    }

    .app-card:hover .btn-download-sm {
      background: var(--primary);
      color: #ffffff;
      box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    }

    .btn-download-sm.fast-download {
      background: var(--accent-glow);
      color: #b45309;
    }

    /* ==================== SIDEBAR (<aside>) ==================== */
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
    }

    .widget-box {
      background: var(--bg-surface);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }

    .widget-title {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding-bottom: 0.6rem;
      border-bottom: 2px solid var(--bg-body);
    }

    .widget-title i {
      color: var(--accent);
    }

    /* Spotlight Feature Card */
    .featured-card {
      background: linear-gradient(135deg, #1e1b4b, #312e81);
      color: #ffffff;
      border: none;
      position: relative;
      overflow: hidden;
    }

    .featured-card::before {
      content: '';
      position: absolute;
      top: -30%;
      right: -30%;
      width: 180px;
      height: 180px;
      background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
      pointer-events: none;
    }

    .featured-badge {
      display: inline-block;
      background: var(--accent);
      color: #000;
      font-size: 0.7rem;
      font-weight: 800;
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-full);
      margin-bottom: 0.75rem;
    }

    .featured-body {
      display: flex;
      gap: 1rem;
      align-items: center;
      margin-bottom: 1rem;
    }

    .featured-icon {
      width: 68px;
      height: 68px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-md);
    }

    .featured-info h4 {
      font-size: 1.1rem;
      font-weight: 800;
    }

    .featured-info p {
      font-size: 0.8rem;
      opacity: 0.8;
      margin: 0.2rem 0;
    }

    .featured-rating-star { color: #fbbf24; }

    .btn-featured {
      width: 100%;
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #ffffff;
      padding: 0.65rem;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
      transition: var(--transition);
    }

    .btn-featured:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
    }

    /* Category List */
    .category-list {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .category-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 0.6rem 0.8rem;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-muted);
      transition: var(--transition);
      cursor: pointer;
      text-align: left;
    }

    .category-item:hover {
      background: var(--bg-body);
      color: var(--primary);
    }

    .category-item-left {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .category-rummy-icon { color: #6366f1; }
    .category-slots-icon { color: #0ea5e9; }
    .category-casino-icon { color: #10b981; }
    .category-cards-icon { color: #ef4444; }
    .category-ludo-icon { color: #f59e0b; }

    .trending-section { margin-top: 3.5rem; }
    .trending-icon { color: #ef4444; }

    .category-count {
      font-size: 0.75rem;
      background: var(--bg-body);
      padding: 0.15rem 0.5rem;
      border-radius: var(--radius-full);
      color: var(--text-light);
    }

    .category-item:hover .category-count {
      background: var(--primary-light);
      color: var(--primary);
    }

    /* Top Download List */
    .top-list {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    .top-item {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px dashed var(--border-color);
      cursor: pointer;
      transition: var(--transition);
    }

    .top-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .top-item:hover {
      transform: translateX(4px);
    }

    .top-rank {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--bg-body);
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .top-item:nth-child(1) .top-rank { background: #fef3c7; color: #d97706; }
    .top-item:nth-child(2) .top-rank { background: #e2e8f0; color: #475569; }
    .top-item:nth-child(3) .top-rank { background: #ffedd5; color: #c2410c; }

    .top-thumb {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      object-fit: cover;
    }

    .top-details {
      flex: 1;
    }

    .top-details h5 {
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .top-details p {
      font-size: 0.75rem;
      color: var(--text-light);
    }

    /* ==================== FOOTER ==================== */
    .footer {
      background: #0f172a;
      color: #94a3b8;
      padding-top: 4rem;
      margin-top: 4rem;
      border-top: 1px solid #1e293b;
    }

    .footer-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1.5rem 3rem;
      display: grid;
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 2.5rem;
    }

    .footer-brand p {
      font-size: 0.9rem;
      margin: 1rem 0 1.5rem;
      max-width: 320px;
      line-height: 1.6;
    }

    .footer-logo {
      color: #ffffff;
      font-size: 1.5rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .footer-logo-badge {
      width: 32px;
      height: 32px;
      font-size: 0.9rem;
    }

    .footer-socials {
      display: flex;
      gap: 0.8rem;
      color: #64748b;
      font-size: 1.2rem;
    }

    .footer-heading {
      color: #ffffff;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 1.2rem;
      position: relative;
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .footer-links a {
      font-size: 0.875rem;
      transition: var(--transition);
    }

    .footer-links a:hover {
      color: var(--secondary);
      padding-left: 4px;
    }

    .newsletter-form {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .newsletter-copy {
      margin-bottom: 0.8rem;
      font-size: 0.85rem;
    }

    .newsletter-form input {
      padding: 0.65rem 0.9rem;
      border-radius: var(--radius-sm);
      border: 1px solid #334155;
      background: #1e293b;
      color: #fff;
      font-size: 0.85rem;
    }

    .newsletter-form button {
      background: var(--primary);
      color: #fff;
      padding: 0.65rem;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 0.85rem;
      transition: var(--transition);
    }

    .newsletter-form button:hover {
      background: var(--primary-hover);
    }

    .footer-bottom {
      border-top: 1px solid #1e293b;
      padding: 1.5rem;
      text-align: center;
      font-size: 0.825rem;
      background: #090d16;
    }

    /* ==================== MODAL & TOAST ==================== */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.6);
      backdrop-filter: blur(4px);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: var(--transition);
      padding: 1rem;
    }

    .modal-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-content {
      background: var(--bg-surface);
      border-radius: var(--radius-lg);
      padding: 2rem;
      max-width: 440px;
      width: 100%;
      text-align: center;
      transform: scale(0.9);
      transition: var(--transition);
      box-shadow: var(--shadow-lg);
      position: relative;
    }

    .modal-overlay.active .modal-content {
      transform: scale(1);
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 1.2rem;
      color: var(--text-light);
      transition: var(--transition);
    }

    .modal-close:hover {
      color: var(--danger);
    }

    .modal-icon {
      width: 90px;
      height: 90px;
      border-radius: 20px;
      margin: 0 auto 1rem;
      box-shadow: var(--shadow-md);
    }

    .modal-title {
      font-size: 1.3rem;
      font-weight: 800;
      margin-bottom: 0.3rem;
    }

    .modal-meta {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 1.25rem;
    }

    .download-progress-container {
      margin: 1.25rem 0;
      display: none;
    }

    .progress-bar-bg {
      height: 8px;
      background: var(--bg-body);
      border-radius: var(--radius-full);
      overflow: hidden;
      margin-bottom: 0.5rem;
    }

    .progress-bar-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #6366f1, #10b981);
      transition: width 0.1s linear;
    }

    .progress-text {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    .btn-modal-download {
      width: 100%;
      padding: 0.85rem;
      background: linear-gradient(135deg, #10b981, #059669);
      color: white;
      font-weight: 800;
      font-size: 1rem;
      border-radius: var(--radius-md);
      box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: var(--transition);
    }

    .btn-modal-download:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
    }

    .toast {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: #0f172a;
      color: #fff;
      padding: 0.85rem 1.4rem;
      border-radius: var(--radius-md);
      font-size: 0.9rem;
      font-weight: 600;
      box-shadow: var(--shadow-lg);
      display: flex;
      align-items: center;
      gap: 0.6rem;
      z-index: 3000;
      transform: translateY(100px);
      opacity: 0;
      transition: var(--transition);
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    .toast-icon { color: #10b981; }

    /* ==================== KEYFRAMES & ANIMATIONS ==================== */
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.85; transform: scale(0.98); }
    }

    /* ==================== RESPONSIVE DESIGN ==================== */
    @media (max-width: 1024px) {
      .layout-container {
        grid-template-columns: 1fr;
      }

      .footer-container {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links, .nav-search {
        display: none;
      }

      .mobile-toggle {
        display: block;
      }

      .mobile-menu-active .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 1.25rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
      }

      .app-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.85rem;
      }

      .hero {
        padding: 2.5rem 1rem;
      }

      .hero-search-box {
        flex-direction: column;
        border-radius: var(--radius-md);
        background: transparent;
        box-shadow: none;
        gap: 0.5rem;
      }

      .hero-search-box input {
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
      }

      .btn-search {
        border-radius: var(--radius-md);
        justify-content: center;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
    }
