/* Extracted from spanish.html. Loaded in the same position the inline
   <style> occupied, so the cascade is unchanged. */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: #000;
      color: #87CEEB;
      min-height: 100vh;
      overflow-x: auto;
    }

    .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 100px 40px 40px;
      max-width: none;
      margin: 0;
      position: relative;
      z-index: 1;
    }

    .page-header {
      text-align: center;
      margin-bottom: 50px;
    }

    .page-title {
      font-size: 3rem;
      font-weight: 700;
      color: #87CEEB;
      margin-bottom: 35px;
      letter-spacing: -1px;
    }

    /* Search Bar */
    .search-container {
      max-width: 600px;
      margin: 0 auto 35px;
      position: relative;
      margin-left: auto;
      margin-right: auto;
    }

    .search-bar {
      display: flex;
      align-items: center;
      background: rgba(135, 206, 235, 0.03);
      border: 1px solid rgba(135, 206, 235, 0.1);
      border-radius: 50px;
      padding: 14px 28px;
      gap: 14px;
      transition: all 0.3s ease;
    }

    .search-bar:focus-within {
      border-color: rgba(135, 206, 235, 0.4);
      box-shadow: 0 0 30px rgba(135, 206, 235, 0.1);
      background: rgba(135, 206, 235, 0.05);
      transform: scale(1.02);
    }

    .search-bar svg {
      width: 22px;
      height: 22px;
      color: rgba(135, 206, 235, 0.5);
      flex-shrink: 0;
    }

    .search-input {
      flex: 1;
      background: transparent;
      border: none;
      color: #87CEEB;
      font-size: 16px;
      font-family: inherit;
      outline: none;
    }

    .search-input::placeholder {
      color: rgba(135, 206, 235, 0.35);
    }

    .search-hint {
      font-size: 11px;
      color: rgba(135, 206, 235, 0.5);
      background: rgba(135, 206, 235, 0.08);
      padding: 5px 12px;
      border-radius: 20px;
    }

    /* Category Tabs */
    .category-tabs {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }

    .category-tab {
      padding: 12px 28px;
      background: rgba(135, 206, 235, 0.02);
      border: 1px solid rgba(135, 206, 235, 0.1);
      border-radius: 30px;
      color: rgba(135, 206, 235, 0.6);
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 14px;
      font-weight: 500;
    }

    .category-tab:hover {
      background: rgba(135, 206, 235, 0.08);
      border-color: rgba(135, 206, 235, 0.2);
      transform: translateY(-2px);
    }

    .category-tab.active {
      background: rgba(135, 206, 235, 0.1);
      border-color: rgba(135, 206, 235, 0.3);
      color: #87CEEB;
    }

    /* Apps Grid */
    .apps-section {
      margin-bottom: 50px;
      width: 100%;
    }

    .section-title {
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 25px;
      padding-bottom: 15px;
      border-bottom: 1px solid rgba(135, 206, 235, 0.1);
      color: rgba(135, 206, 235, 0.9);
    }

    .apps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 20px;
      justify-content: center;
      width: 100%;
    }

    .app-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      padding: 24px 16px;
      border-radius: 20px;
      background: rgba(135, 206, 235, 0.02);
      border: 1px solid rgba(135, 206, 235, 0.08);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .app-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .app-card:hover {
      transform: translateY(-8px) scale(1.05);
      border-color: rgba(135, 206, 235, 0.25);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(135, 206, 235, 0.1);
      background: rgba(135, 206, 235, 0.05);
    }

    .app-card:hover::before {
      opacity: 1;
    }

    .app-card img {
      width: 72px;
      height: 72px;
      border-radius: 18px;
      object-fit: cover;
      border: 2px solid rgba(135, 206, 235, 0.15);
      margin-bottom: 14px;
      transition: all 0.3s ease;
    }

    .app-card:hover img {
      border-color: rgba(135, 206, 235, 0.4);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      transform: scale(1.1) rotate(3deg);
    }

    .app-card span {
      color: rgba(135, 206, 235, 0.85);
      font-weight: 600;
      font-size: 0.9rem;
      text-align: center;
      transition: all 0.3s ease;
    }

    .app-card:hover span {
      color: #87CEEB;
      transform: scale(1.05);
    }

    .app-card.hidden {
      display: none;
    }

    /* Add App Button */
    .add-app-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px 16px;
      border-radius: 20px;
      background: rgba(135, 206, 235, 0.02);
      border: 2px dashed rgba(135, 206, 235, 0.15);
      cursor: pointer;
      transition: all 0.3s ease;
      min-height: 140px;
    }

    .add-app-card:hover {
      border-color: rgba(135, 206, 235, 0.4);
      background: rgba(135, 206, 235, 0.05);
      transform: translateY(-8px) scale(1.05);
      border-style: solid;
    }

    .add-app-card .plus-icon {
      font-size: 2.5rem;
      color: rgba(135, 206, 235, 0.4);
      margin-bottom: 10px;
      transition: all 0.3s ease;
    }

    .add-app-card:hover .plus-icon {
      color: #87CEEB;
      transform: scale(1.2) rotate(90deg);
    }

    .add-app-card span {
      color: rgba(135, 206, 235, 0.5);
      font-weight: 500;
      font-size: 0.85rem;
      transition: all 0.3s ease;
    }

    .add-app-card:hover span {
      color: #87CEEB;
    }

    /* Modal */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(10px);
    }

    .modal-overlay.show {
      display: flex;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal {
      background: rgba(10, 10, 10, 0.98);
      border: 1px solid rgba(135, 206, 235, 0.15);
      border-radius: 24px;
      padding: 36px;
      width: 90%;
      max-width: 420px;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
      animation: slideUp 0.3s ease;
    }

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

    .modal h3 {
      color: #87CEEB;
      font-size: 1.5rem;
      margin-bottom: 28px;
      text-align: center;
      font-weight: 600;
    }

    .modal input {
      width: 100%;
      padding: 16px 20px;
      margin-bottom: 16px;
      border: 1px solid rgba(135, 206, 235, 0.1);
      border-radius: 14px;
      background: rgba(135, 206, 235, 0.03);
      color: #87CEEB;
      font-family: inherit;
      font-size: 15px;
      outline: none;
      transition: all 0.3s ease;
    }

    .modal input:focus {
      border-color: rgba(135, 206, 235, 0.4);
      background: rgba(135, 206, 235, 0.05);
      box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
    }

    .modal input::placeholder {
      color: rgba(135, 206, 235, 0.4);
    }

    .modal-buttons {
      display: flex;
      gap: 12px;
      margin-top: 20px;
    }

    .modal button {
      flex: 1;
      padding: 14px;
      border-radius: 12px;
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
    }

    .modal .save-btn {
      background: rgba(135, 206, 235, 0.15);
      border: 1px solid rgba(135, 206, 235, 0.3);
      color: #87CEEB;
    }

    .modal .save-btn:hover {
      background: rgba(135, 206, 235, 0.25);
      border-color: rgba(135, 206, 235, 0.4);
    }

    .modal .cancel-btn {
      background: transparent;
      border: 1px solid rgba(135, 206, 235, 0.15);
      color: rgba(135, 206, 235, 0.7);
    }

    .modal .cancel-btn:hover {
      border-color: rgba(135, 206, 235, 0.3);
      color: #87CEEB;
    }

    /* Delete button on custom apps */
    .delete-app {
      position: absolute;
      top: 5px;
      right: 5px;
      width: 20px;
      height: 20px;
      background: rgba(239, 68, 68, 0.8);
      border: none;
      border-radius: 50%;
      color: #fff;
      font-size: 12px;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
    }

    .app-card:hover .delete-app {
      display: flex;
    }

    .app-card {
      position: relative;
    }

    /* No results */
    .no-results {
      text-align: center;
      padding: 40px;
      color: rgba(135, 206, 235, 0.6);
      display: none;
    }

    .no-results.visible {
      display: block;
    }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(135, 206, 235, 0.2); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(135, 206, 235, 0.3); }
  
