/*--------------------------------------------------------------
# Steam-Inspired Redesign - MODIFIED TO MCU UI
# Designed by Gemini
--------------------------------------------------------------*/

:root {
  --mcu-dark-blue-bg: hsla(217, 30%, 10%, 0.9);
  --mcu-medium-blue-ui: hsla(217, 25%, 15%, 1);
  --mcu-accent-cyan: hsla(196, 100%, 50%, 1);
  --mcu-text-light: hsla(200, 15%, 85%, 1);
  --mcu-text-medium: hsla(200, 10%, 70%, 1);
  --mcu-border-dark: hsla(217, 20%, 30%, 1);
}

/*--------------------------------------------------------------
# Basics & Typography
--------------------------------------------------------------*/
html {
  overflow-y: scroll;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: 'Rajdhani', sans-serif; /* New font for body text */
  font-size: 16px;
  background-color: var(--mcu-dark-blue-bg); /* Darker, slightly transparent background */
  color: var(--mcu-text-light);
}

ul {
  list-style: none;
  padding: 0;
}

textarea, input, a, button {
  outline: none;
  transition: all 0.2s ease-in-out;
}

.clearfix {
  position: relative;
  clear: both;
}
.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper img {
  max-width: 65%;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif; /* New font for headings */
  font-weight: 700;
  color: var(--mcu-text-light); /* Lighter text for headings */
}

a {
  color: var(--mcu-accent-cyan); /* Accent color for links */
}

a:hover, a:visited, a:focus, a:active, button:hover, button:visited, button:active, button:focus {
  text-decoration: none !important;
  outline: none !important;
}

::selection {
  background: var(--mcu-accent-cyan);
  color: var(--mcu-text-light);
  text-shadow: none;
}

::-moz-selection {
  background: var(--mcu-accent-cyan);
  color: var(--mcu-text-light);
  text-shadow: none;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header.page-header {
  position: relative;
  text-align: center;
  padding: 40px 0;
  background: var(--mcu-dark-blue-bg); /* Use dark blue background */
  border-bottom: 1px solid var(--mcu-border-dark); /* Subtle border */
}

#header-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  top: 0;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.logo-wrapper img {
  max-width: 150px;
  height: auto;
}

.header-title {
  font-size: 3em;
  font-weight: 700; /* Adjusted to new font weights */
  margin: 15px 0;
  color: var(--mcu-text-light);
  text-transform: uppercase; /* Ensure it stays uppercase if needed */
}

.header-subtitle {
  margin: 0;
  font-size: 1.2em;
  color: var(--mcu-text-medium);
  font-weight: 400; /* Adjusted to new font weights */
}

/*--------------------------------------------------------------
# Sections & Titles
--------------------------------------------------------------*/
.featured-section {
  position: relative;
  padding: 50px 0;
  background-color: var(--mcu-medium-blue-ui); /* Medium blue for sections */
  border-bottom: 1px solid var(--mcu-border-dark);
  box-shadow: inset 0 10px 20px -10px rgba(0,0,0,0.4); /* Subtle inner shadow */
}

.listing-section {
  position: relative;
  min-height: 80vh;
  padding: 50px 0;
  background-color: transparent; /* Transparent to show main background */
}

.section-title-wrapper h3 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.4em;
  position: relative;
  padding-left: 15px;
  color: var(--mcu-text-light);
}

.section-title-wrapper h3:before {
  content: '';
  height: 100%;
  left: 0;
  width: 5px;
  border-radius: 2px;
  display: block;
  position: absolute;
  top: 0;
  background-color: var(--mcu-accent-cyan); /* Accent color for title bar */
}

/*--------------------------------------------------------------
# Search & Filter
--------------------------------------------------------------*/
.listing-section .section-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.search-form-wrapper {
  max-width: 350px;
  margin-left: auto;
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  height: 45px;
  padding: 0 20px 0 50px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid var(--mcu-border-dark); /* Darker border */
  background-color: hsla(217, 20%, 10%, 0.8); /* Slightly transparent dark background */
  color: var(--mcu-text-light);
}

.search-input:focus {
  border-color: var(--mcu-accent-cyan); /* Accent border on focus */
  box-shadow: 0 0 10px hsla(196, 100%, 50%, 0.5); /* Glowing shadow on focus */
}

.search-input-wrapper span.material-icons-two-tone {
  position: absolute;
  font-size: 1.4em;
  top: 12px;
  left: 15px;
  color: var(--mcu-accent-cyan); /* Accent color for icon */
}

/*--------------------------------------------------------------
# App/Game Cards & Sliders
--------------------------------------------------------------*/
.featured-section .container,
.listing-section .container {
  max-width: 960px;
}

.slick-slide {
  margin: 0 15px;
}

.slick-list {
  margin: 0 -15px;
  padding: 20px 0;
}

.featured-app-slider-item,
.listing-item {
  background-color: hsla(217, 25%, 15%, 0.8); /* Slightly transparent background for cards */
  border-radius: 6px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
}

.featured-app-slider-item:hover,
.listing-item:hover {
  transform: translateY(-5px);
  border-color: var(--mcu-accent-cyan); /* Accent border on hover */
  box-shadow: 0 0 15px hsla(196, 100%, 50%, 0.4); /* Glowing shadow on hover */
}

.featured-app-slider-item-img,
.listing-item-img {
  border-radius: 6px;
  margin: 0 auto;
}

.featured-app-slider-item-img {
  max-width: 100px;
}

.featured-app-slider-item-name {
  margin: 10px auto 0 auto;
  font-weight: 700;
  font-size: 1em;
  color: var(--mcu-text-light);
}

.listing-content .row {
  margin: 0 -10px;
}
.listing-content .listing-item-wrapper {
  padding: 0 10px;
  margin-bottom: 20px;
}

.listing-item {
  display: flex;
  align-items: center;
  text-align: left;
}

.listing-item .listing-item-left {
  width: 80px;
  flex-shrink: 0;
}

.listing-item .listing-item-right {
  padding-left: 20px;
  width: calc(100% - 80px);
}

.listing-item-auos {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.listing-item-by, .listing-item-os {
  font-size: 0.8em;
  color: var(--mcu-text-medium);
}
.listing-item-by-val {
  color: var(--mcu-accent-cyan);
}
.listing-item-os {
  margin-left: auto;
}

.listing-item-name-rating-wrapper {
  display: flex;
  align-items: center;
  margin: 4px 0 7px 0;
}
.listing-item-name {
  font-weight: 700;
  font-size: 1.3em;
  line-height: 1.2;
  color: var(--mcu-text-light);
}
.listing-item-rating {
  margin-left: auto;
  padding-left: 10px;
  display: inline-flex;
  align-items: center;
  color: var(--mcu-accent-cyan);
}
.listing-item-rating-separator {
 display: none;
}
.listing-item-rating .material-icons-two-tone {
  color: var(--mcu-accent-cyan);
  font-size: 1.2em;
  margin-right: 4px;
}
.listing-item-rating-val {
  font-weight: 700;
}

.listing-item-about {
  line-height: 1.4;
  font-size: 0.9em;
  color: var(--mcu-text-medium);
}

/* Hide unused elements */
.listing-item-downloads-val,
.featued-app-slider-item-hidden-meta,
.listing-item-short-name {
  display: none !important;
}

/*--------------------------------------------------------------
# Modal / Popup Styles
--------------------------------------------------------------*/
.mfp-bg {
    background: hsla(0, 0%, 0%, 0.9); /* Darker, more opaque background */
    opacity: 0.85;
}

.step-container,
.proccessing-wrapper {
  background-color: var(--mcu-medium-blue-ui); /* Matches UI element background */
  border: 1px solid var(--mcu-border-dark); /* Subtle border */
  max-width: 480px;
  margin: 0 auto;
  border-radius: 6px;
  padding: 30px 40px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.step-exit {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  color: var(--mcu-text-medium); /* Light grey color */
  transition: all 0.2s;
}
.step-exit:hover {
    color: var(--mcu-text-light); /* White on hover */
    transform: scale(1.1);
}
.step-exit .material-icons-two-tone {
  font-size: 2em;
}

.step-icon-wrapper {
  margin: 0 auto 20px auto;
  text-align: center;
  display: flex;
  justify-content: center;
}

.app-step-icon {
  border-radius: 10px;
  max-width: 120px;
  margin-bottom: 20px;
}

.app-step-pr {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--mcu-text-medium);
  gap: 15px;
}

/* REMOVED separator as requested */
.aspr-sep {
  display: none;
}

#app-step-by { /* Ensure consistency for author field */
    color: var(--mcu-text-medium);
    font-size: 0.9em;
}

#app-step-title {
  color: var(--mcu-text-light);
  margin: 5px 0 10px;
}
#app-step-description {
  color: var(--mcu-text-medium);
  font-size: 0.95em;
}

.step-proccesing-content {
  border-top: 1px solid var(--mcu-border-dark); /* Darker border */
  margin-top: 25px;
  padding-top: 25px;
  text-align: center;
}

#s-p-c-title {
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 5px;
  color: var(--mcu-accent-cyan); /* Accent color */
}
#s-p-c-msg {
  font-size: 1em;
  color: var(--mcu-text-light);
}

.s-p-c-btn-wrapper {
  margin-top: 25px;
}
.s-p-c-btn {
  width: 100%;
  padding: 15px 20px;
  text-align: center;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif; /* Use heading font for buttons */
  cursor: pointer;
  color: var(--mcu-text-light);
  background-color: var(--mcu-accent-cyan); /* Accent color background */
  box-shadow: 0 2px 10px hsla(196, 100%, 50%, 0.3); /* Subtle glow */
  transition: all 0.2s ease;
  border: none; /* Ensure no default button borders */
}

.s-p-c-btn:hover {
    background-color: hsla(196, 100%, 50%, 0.8); /* Slightly darker accent on hover */
    box-shadow: 0 4px 15px hsla(196, 100%, 50%, 0.5); /* Stronger glow on hover */
    color: var(--mcu-text-light);
}

/*--------------------------------------------------------------
# Processing Screen & Loader
--------------------------------------------------------------*/
#proccessing-outer-wrapper {
  background-color: hsla(217, 30%, 10%, 0.95); /* Darker, more opaque */
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  z-index: 1050;
}
.proccessing-wrapper {
    padding: 50px;
}

.proccessing-loader {
    text-align: center;
}

.proccessing-loader span.material-icons-two-tone {
    font-size: 6em;
    color: var(--mcu-accent-cyan); /* Accent color */
}
.proccessing-title {
    font-size: 1.1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--mcu-text-light);
    margin: 20px 0;
    text-align: center;
}
.proccessing-msg {
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    color: var(--mcu-text-light);
    min-height: 40px;
}
.proccessing-loadbar {
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    margin-top: 25px;
    overflow: hidden;
}
.proccessing-loadbar div {
    height: 100%;
    background: var(--mcu-accent-cyan); /* Accent color */
    border-radius: 4px;
    text-indent: -9999px;
    font-size: 0;
}

/*--------------------------------------------------------------
# Preloader & Footer
--------------------------------------------------------------*/
.preloader-wrapper {
    display: none !important; /* Kept hidden as in original for consistency */
}

.extra-content-section {
    display: none; /* Hiding this section as it was not part of the core request */
}

footer {
  position: relative;
  text-align: center;
  padding: 20px;
  font-size: 0.8em;
  background-color: hsla(217, 20%, 10%, 1); /* Darker footer */
  color: var(--mcu-text-medium);
  border-top: 1px solid #000;
}
footer p {
  margin: 0;
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media screen and (max-width: 575px) {
  .listing-item-right {
    padding-left: 15px;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 15px;
  }
  header.page-header {
    padding: 25px 15px;
  }
  .header-title {
    font-size: 2.2em;
  }
  .header-subtitle {
    font-size: 1em;
  }
  .featured-section, .listing-section {
    padding: 30px 15px;
  }
  .listing-section .section-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-form-wrapper {
    margin-top: 20px;
    margin-left: 0;
    width: 100%;
  }
  .slick-slide {
    margin: 0 10px;
  }
  .slick-list {
    margin: 0 -10px;
  }
  .step-container, .proccessing-wrapper {
    padding: 25px;
  }
}

@media screen and (max-width: 420px) {
  .listing-item {
    padding: 15px;
    flex-direction: column;
    text-align: center;
  }
  .listing-item .listing-item-left,
  .listing-item .listing-item-right {
    width: 100%;
    padding: 0;
  }
  .listing-item .listing-item-left {
    margin-bottom: 15px;
  }
  .listing-item-name-rating-wrapper {
    justify-content: center;
  }
  .listing-item-auos {
    justify-content: center;
  }
  .listing-item-os {
    margin-left: 10px;
  }
}