     /*Crafted by @BlackSoul*/  
	  :root {
        /* Dark Palette (Indigo Accent) - Default */
        --primary-color: #1e90ff;
        --primary-hover: #f368e0;
        --dark-bg: #121212;
        --card-bg-dark: #141414;
        --text-light: #e0e0e0;
        --text-heading-dark: #f5f5f5;
        --text-muted-dark: #737373;
        --border-dark: #262626;
        --logo-color: #22C55E;

        /* Light Mode Palette */
        --light-bg: #f8fafc;
        --card-bg-light: #ffffff;
        --text-dark: #1a1a1a;
        --text-heading-light: #1a1a1a;
        --text-muted-light: #6b7280;
        --border-light: #e5e7eb;
        

        --radius-small: 6px;
        --radius-medium: 10px;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
        --shadow-md: 0 3px 5px rgba(0, 0, 0, 0.2);
        --shadow-lg-dark: 0 8px 16px rgba(0, 0, 0, 0.5);
        --shadow-lg-light: 0 8px 16px rgba(0, 0, 0, 0.1);
        --transition-fast: 0.2s ease-out;
        --transition-base: 0.3s ease-out;
        --transition-card: 0.4s ease-out;
        --star-color: #FFD700;
        --version-color: #8A2BE2;
      }

      * { margin: 0; padding: 0; box-sizing: border-box; }

      body {
        font-family: 'Outfit', sans-serif;
        background-color: var(--dark-bg);
        color: var(--text-light);
        transition: background-color var(--transition-base), color var(--transition-base);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        background-size: 100px; background-repeat: repeat; background-attachment: fixed; opacity: 0.98;
      }
      body::before {
          content: ""; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
          background: var(--dark-bg); z-index: -1;
          transition: background-color var(--transition-base);
      }

      .light-mode {
        --primary-color: #22C55E; --primary-hover: #F59E0B;
        background-color: var(--light-bg); color: var(--text-dark);
        --card-bg: var(--card-bg-light); --text-muted: var(--text-muted-light);
        --text-heading: var(--text-heading-light); --border-color: var(--border-light);
        --shadow-current: var(--shadow-lg-light); background-image: none;--logo-color: #1e90ff;
      }
      .light-mode::before { background: var(--light-bg); }

      body:not(.light-mode) {
         --card-bg: var(--card-bg-dark); --text-muted: var(--text-muted-dark);
         --text-heading: var(--text-heading-dark); --border-color: var(--border-dark);
         --shadow-current: var(--shadow-lg-dark);
      }

      /* --- Header --- */
      header {
        padding: 15px 30px; position: sticky; top: 0; z-index: 1000;
        background-color: transparent;
        transition: background-color var(--transition-base), backdrop-filter var(--transition-base), border-bottom-color var(--transition-base);
        border-bottom: 1px solid transparent;
        display: flex; justify-content: space-between; align-items: center;
      }
      header.scrolled {
         background-color: rgba(10, 10, 10, 0.75);
         backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
         border-bottom-color: var(--border-dark);
      }
      .light-mode header.scrolled {
          background-color: rgba(255, 255, 255, 0.75);
          border-bottom-color: var(--border-light);
      }

      .logo-wrapper { display: flex; align-items: center; gap: 15px; }
      .logo-wrapper img {
          width: 45px;
          height: 45px;
          border-radius: var(--radius-small);
          box-shadow: 0 0 8px rgba(79, 70, 229, 0.5);
          transition: box-shadow var(--transition-base);
        }
        .light-mode .logo-wrapper img {
            box-shadow: 0 0 8px rgba(79, 70, 229, 0.3);
        }
      .logo-wrapper h1 {
        font-family: 'Orbitron', sans-serif; font-size: 1.9em; font-weight: 700;
        color: var(--logo-color); margin: 0;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
        transition: color var(--transition-base), text-shadow var(--transition-base);
      }
      .light-mode .logo-wrapper h1 {
           text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
      }

      /* --- Dark/Bright Feature (Toggle Button) --- */
      .toggle-mode {
        position: relative; margin-left: auto;
        cursor: pointer;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        color: var(--text-muted);
        width: 40px; height: 40px;
        border-radius: 50%; display: flex; justify-content: center; align-items: center;
        transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
        font-size: 1.1em;
        box-shadow: var(--shadow-sm);
      }
      .toggle-mode:hover {
        background-color: var(--primary-color); color: white; border-color: var(--primary-color);
      }
      .toggle-mode:focus { outline: none; box-shadow: 0 0 0 3px var(--primary-hover); }

      /* --- Main Content Area --- */
      main { max-width: 1400px; margin: 0 auto; padding: 40px 30px; }

      /* --- Search Bar --- */
      .search-bar { margin-bottom: 35px; max-width: 700px; margin-left: auto; margin-right: auto; }
      .search-wrapper { position: relative; }
      .search-icon {
          position: absolute; top: 50%; left: 18px;
          transform: translateY(-50%);
          color: var(--text-muted); font-size: 0.95em;
          pointer-events: none;
          transition: color var(--transition-fast);
      }
      .search-bar input {
        width: 100%; padding: 14px 22px 14px 50px;
        border: 1px solid var(--border-color); border-radius: var(--radius-medium);
        font-size: 1.05em; background-color: var(--card-bg); color: inherit;
        transition: var(--transition-fast); outline: none; box-shadow: var(--shadow-sm);
      }
      .search-bar input::placeholder { color: var(--text-muted); }
      .search-bar input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3); }
      .search-wrapper:focus-within .search-icon { color: var(--primary-color); }

      /* --- Category Filters --- */
      .category-filters {
          margin-bottom: 35px; display: flex; flex-wrap: wrap;
          justify-content: center; gap: 12px;
      }
      .category-btn {
          background-color: var(--card-bg); color: var(--text-muted);
          border: 1px solid var(--border-color); padding: 8px 18px;
          border-radius: var(--radius-medium); cursor: pointer;
          transition: var(--transition-fast); font-size: 0.9em;
          font-weight: 500; box-shadow: var(--shadow-sm);
      }
      .category-btn:hover {
          background-color: var(--primary-color); color: white;
          border-color: var(--primary-color); transform: translateY(-2px);
          box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2);
      }
      .category-btn.active {
          background-color: var(--primary-color); color: white;
          border-color: var(--primary-color); font-weight: 700;
          box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
      }

      /* --- Games Grid & Cards --- */
      .games-grid {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 25px; margin-bottom: 40px;
      }
      .no-results {
          grid-column: 1 / -1; text-align: center; color: var(--text-muted);
          font-size: 1.2em; padding: 60px 20px; background-color: var(--card-bg);
          border-radius: var(--radius-medium); border: 1px dashed var(--border-color);
      }
      .game-card {
        background-color: var(--card-bg); border-radius: var(--radius-medium); overflow: hidden;
        transition: transform var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-base);
        text-align: left; display: flex; flex-direction: column;
        box-shadow: var(--shadow-md); border: 1px solid var(--border-color);
        opacity: 0; transform: translateY(20px); will-change: opacity, transform;
      }
       .game-card.visible { opacity: 1; transform: translateY(0); }
      .game-card:hover {
          transform: translateY(-6px) scale(1.02);
          box-shadow: var(--shadow-current); border-color: var(--primary-color);
      }
.game-card img {
  display: block;
  margin: 12px auto 0;
  width: 70%;
  max-width: 512px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.4s ease-out; 
  transform: scale(0.95); 
  filter: brightness(0.95); 
}
     /*Crafted by @BlackSoul*/ 

.game-card:hover img {
  transform: scale(1); 
  filter: brightness(1.05) drop-shadow(0 0 12px rgba(79, 70, 229, 0.4)); 
  border-color: var(--primary-hover); 
}
      .game-card .category i {
          font-size: 0.95em;
          margin-right: 5px;
        }
      .game-info { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; }
      .game-card h3 {
        margin: 0 0 8px 0; font-size: 1.1em; font-weight: 700; line-height: 1.4;
        color: var(--text-heading);
      }
      .game-card .category, .game-card .platforms, .game-card .game-downloads {
        font-size: 0.85em; color: var(--text-muted); margin-bottom: 8px;
        display: flex; align-items: center; gap: 7px;
      }
      .game-card .game-downloads { margin-bottom: 12px; }
      .game-card .platforms { margin-bottom: 16px; margin-top: auto; }

      .install-btn {
        display: block; width: 100%; background-color: var(--primary-color); color: #ffffff;
        padding: 11px 15px; border-radius: var(--radius-small); font-size: 0.9em;
        font-weight: 700; text-decoration: none; text-align: center;
        transition: var(--transition-fast); margin-top: auto; border: none;
      }
       .install-btn i { margin-right: 6px; }
      .install-btn:hover {
        background-color: var(--primary-hover); transform: scale(1.03);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
      }
      .install-btn:focus { outline: none; box-shadow: 0 0 0 3px var(--primary-hover); }
      .rating-stars {
          display: flex;
          gap: 3px;
          margin-bottom: 8px;
      }

      .rating-stars i {
          color: var(--star-color);
          font-size: 0.9em;
      }

      .version-badge {
          background: rgba(138, 43, 226, 0.1);
          color: var(--version-color);
          padding: 3px 8px;
          border-radius: var(--radius-small);
          font-size: 0.8em;
          font-weight: 500;
      }

      /* --- Floating Buttons --- */
      .floating-buttons {
          position: fixed;
          bottom: 25px;
          right: 25px;
          display: flex;
          flex-direction: column;
          gap: 15px;
          z-index: 1000;
      }

      .search-btn-fixed,
      .support-btn-fixed {
          position: relative;
          width: 50px;
          height: 50px;
          border-radius: 50%;
          background-color: var(--primary-color);
          color: white;
          border: none;
          cursor: pointer;
          box-shadow: var(--shadow-md);
          transition: all var(--transition-fast);
          display: flex;
          align-items: center;
          justify-content: center;
      }

      .search-btn-fixed:hover,
      .support-btn-fixed:hover {
          background-color: var(--primary-hover);
          transform: scale(1.1);
          box-shadow: var(--shadow-lg-dark);
      }

      .search-btn-fixed .label,
      .support-btn-fixed .label {
          position: absolute;
          right: calc(100% + 15px);
          background: var(--card-bg);
          color: var(--text-heading);
          padding: 6px 12px;
          border-radius: var(--radius-medium);
          font-size: 0.9em;
          white-space: nowrap;
          opacity: 0;
          pointer-events: none;
          transition: opacity var(--transition-fast);
          border: 1px solid var(--border-color);
          box-shadow: var(--shadow-sm);
      }

      .search-btn-fixed:hover .label,
      .support-btn-fixed:hover .label {
          opacity: 1;
      }

      .search-btn-fixed i,
      .support-btn-fixed i {
          font-size: 1.2em;
      }
	        .game-modal {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.9);
          display: none;
          justify-content: center;
          align-items: center;
          z-index: 2000;
          overflow-y: auto;
          padding: 20px;
      }
      
      .game-modal.active {
          display: flex;
      }

      .modal-content {
          background: var(--card-bg);
          border-radius: var(--radius-medium);
          padding: 30px;
          max-width: 800px;
          width: 100%;
          position: relative;
          border: 1px solid var(--border-color);
          box-shadow: var(--shadow-lg-dark);
      }

      .close-modal {
          position: absolute;
          top: 15px;
          right: 20px;
          color: var(--text-muted);
          font-size: 28px;
          cursor: pointer;
          transition: color var(--transition-fast);
      }

      .close-modal:hover {
          color: var(--primary-color);
      }

      .modal-body {
          display: grid;
          grid-template-columns: 1fr 2fr;
          gap: 25px;
      }

      .modal-body img {
 display: block;
  margin: 12px auto 0;
  width: 70%;
  max-width: 512px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.4s ease-out; 
  transform: scale(0.95); 
  filter: brightness(0.95); 
      }

      .modal-info {
          display: flex;
          flex-direction: column;
          gap: 15px;
      }

      .modal-info h2 {
          color: var(--text-heading);
          margin: 0;
          font-size: 2em;
      }

      .modal-details {
          display: flex;
          flex-direction: column;
          gap: 12px;
      }

      .modal-actions {
          margin-top: auto;
          display: flex;
          gap: 15px;
      }

      .modal-download-btn {
          flex: 1;
          padding: 15px;
          font-size: 1.1em;
      }
	  /* Badges */
.mod-badge, .adult-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.mod-badge {
    background: #FFD700;
    color: #000;
}

.adult-badge {
    background: #f44336;
    color: white;
    top: 40px; /* Stack below MOD badge if both exist */
}



.mod-badge:hover::after {
    content: "Modified Version";
    position: absolute;
    right: 100%;
    white-space: nowrap;
    background: #FFD700;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.adult-badge:hover::after {
    content: "Adults Only Content";
    position: absolute;
    right: 100%;
    white-space: nowrap;
    background: #f44336;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 8px;
}
/* Update iOS button colors */
.ios-btn {
    background: #007AFF; /* iOS system blue */
    border-color: #007AFF;
    color: white !important;
}

.ios-btn:hover {
    background: #0063CC;
    border-color: #0063CC;
}

/* Dark mode specific adjustments */
.dark-mode .ios-btn {
    background: #0A84FF; /* Dark mode iOS blue */
    border-color: #0A84FF;
}

.dark-mode .ios-btn:hover {
    background: #0063CC;
    border-color: #0063CC;
}

/* Keep Android styling */
.android-btn {
    background: #3ddc84;
    border-color: #3ddc84;
    color: white !important;
}

.android-btn:hover {
    background: #32b371;
    border-color: #32b371;
}

      @media (max-width: 768px) {
          main { padding: 30px 20px; }
          .logo-wrapper h1 { font-size: 1.7em; }
          .games-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
          .toggle-mode { width: 38px; height: 38px; font-size: 1.05em; right: 20px; }
          .game-card h3 { font-size: 1.05em; }
          .install-btn { padding: 10px 14px; font-size: 0.85em; }
          .category-filters { gap: 10px; margin-bottom: 30px; }
          .category-btn { padding: 7px 15px; font-size: 0.85em; }
          .search-icon { left: 16px; }
          .search-bar input { padding-left: 45px; }
          .logo-wrapper img { width: 40px; height: 40px; }
          .logo-wrapper { gap: 12px; }
          
          .floating-buttons {
              bottom: 15px;
              right: 15px;
          }
          
          .search-btn-fixed,
          .support-btn-fixed {
              width: 45px;
              height: 45px;
          }
      }

      @media (max-width: 480px) {
          main { padding: 20px 15px; }
          header { padding: 12px 15px; }
          .logo-wrapper { gap: 10px; }
          .logo-wrapper img { width: 35px; height: 35px; }
          .logo-wrapper h1 { font-size: 1.5em; }
          .search-bar input { font-size: 1em; padding: 12px 18px 12px 42px; }
          .search-icon { left: 15px; font-size: 0.9em; }
          .category-filters { margin-bottom: 25px; }
          .games-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
          .game-info { padding: 12px; }
          .game-card h3 { font-size: 1em; }
          .install-btn { padding: 9px 12px; font-size: 0.8em; }
          .toggle-mode {
              position: relative;
              margin-left: 15px;
          }
.modal-body {
              grid-template-columns: 1fr;
          }
          
          .modal-content {
              padding: 20px;
          }
          
          .modal-info h2 {
              font-size: 1.5em;
          }
      }
	  
	  
	  /*Crafted by @BlackSoul*/  
	  