/* LevelCard.module.css */

.LevelCard_levelCard__UUVet {
  display: flex;
  flex-direction: column;
  /* Align content vertically */
  justify-content: center;
  /* Center content vertically */
  min-height: 64px;
  min-width: 64px;

  /* Padding will be reduced for smaller screens. */
  padding: 16px;

  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  color: white;
  text-decoration: none;
  position: relative;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  text-align: center;
  /* Center standard IDs */
}

.LevelCard_levelCardContent__FrPJI {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

/* For music cards, align content to the start (left) */
.LevelCard_levelCard__UUVet.LevelCard_isMusic__ORjRE {
  text-align: left;
}

.LevelCard_levelCard__UUVet.LevelCard_isMusic__ORjRE .LevelCard_levelCardContent__FrPJI {
  justify-content: flex-start;
}

/* --- CONTENT STYLES --- */

.LevelCard_cardStandardId__Mio0D {
  font-size: 28px;
  font-weight: bold;
}

.LevelCard_cardDetails__u_w2g {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.LevelCard_cardTitle__PbKzG {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.LevelCard_cardSubtitle__djg0y {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.LevelCard_cardMusicDuration___N_Yi {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* --- STATES --- */

.LevelCard_levelCard__UUVet.LevelCard_unlocked__0mujJ {
  cursor: pointer;
}

.LevelCard_levelCard__UUVet.LevelCard_unlocked__0mujJ:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.LevelCard_levelCard__UUVet.LevelCard_locked__EUzm6 {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}


.LevelCard_levelCard__UUVet.LevelCard_locked__EUzm6 .LevelCard_cardTitle__PbKzG,
.LevelCard_levelCard__UUVet.LevelCard_locked__EUzm6 .LevelCard_cardSubtitle__djg0y,
.LevelCard_levelCard__UUVet.LevelCard_locked__EUzm6 .LevelCard_cardMusicDuration___N_Yi {
  color: rgba(255, 255, 255, 0.7);
}

.LevelCard_lockIcon__GyNMo {
  font-size: 24px;
}

.LevelCard_levelCard__UUVet.LevelCard_unavailable__SZyFk {
  background-color: rgba(0, 0, 0, 0.4);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

/* --- NEW STAR STYLES --- */

.LevelCard_starRatingContainer__VI2uX {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 12px;
  /* Gold color for filled/half-filled stars */
  color: #ffc700;
}
.Overlay_overlay__rKX6G {
  /* XXX: Height, width, top, left are set on the Overlay component */
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: flex-start;

  z-index: 10000;

  overflow-y: auto;
}

.Overlay_overlayContent__KmRlH {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  /* I don't get why you had 80% here? For small screens, just use padding. */
  /* width: 80%; */
  width: 100%;
  max-width: 700px;
  color: white;
  padding: 16px 16px 48px 16px;

  /* New stuff: */
  height: 100%;

  box-sizing: border-box;
  /* Highly recommended, especially with height: 100% and padding */
}

.Overlay_overlayTitle__Eq3Jp {
  font-size: 32px;
  margin-bottom: 24px;
  text-align: center;
}

.Overlay_overlayChildrenContainer__9jy_5 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  margin-bottom: 16px;
}

.Overlay_overlayCloseButton__16_Pi {
  position: absolute;
  top: 15px;
  right: 25px;
  background: none;
  border: none;
  font-size: 40px;
  color: white;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  z-index: 10001;
  /* Ensure it's above content */

  -webkit-user-select: none;

     -moz-user-select: none;

          user-select: none;
}

.Overlay_overlayCloseButton__16_Pi:hover {
  color: #ccc;
}
.OverlayButton_overlayButton__d_c_I {
  padding: 12px 24px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 4px;
  cursor: pointer;

  font-size: 20px;
  font-weight: 600;

  transition: background-color 0.3s, color 0.3s;
}

.OverlayButton_overlayButton__d_c_I:hover {
  background-color: white;
  color: black;
}

.OverlayButton_overlayButton__d_c_I:disabled {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;

  transition: none !important;
}

.OverlayButton_overlayButton__d_c_I:disabled:hover {
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.5) !important;

  transition: none !important;
}
.OverlayButtonContainer_overlayButtonContainer__tE5Os {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  flex-direction: column;

  min-width: 250px;
  gap: 16px;

  margin: 24px 0;
}
.OverlayText_overlayText__Ero7M {
  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  margin: 8px;
}
/* src/components/ConsentBanner.module.css */

.ConsentBanner_banner__zU_Iw {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  /* Black-ish */
  color: #ffffff;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 12px; */

  /* z-index slightly above regular overlays' 10000: */
  z-index: 10001;
  font-family: sans-serif;
  font-size: 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;

  /* max-width: 1000px; */
  border-radius: 8px;

  margin: 16px;
}

.ConsentBanner_text__7SUmT {
  margin: 0;
  flex-grow: 1;
  line-height: 1.5;
  /* Allow text to take available space */
}

.ConsentBanner_buttons__ONPi5 {
  display: flex;
  gap: 12px;
  /* Prevent buttons from shrinking */
  flex-shrink: 0;
  margin: 6px 32px;
}

.ConsentBanner_button__y9lKb {
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;

  height: 42px;
  width: 100px;

  font-size: 16px;
}

.ConsentBanner_primary__EJszX {
  background-color: #3b82f6;
  /* A nice blue */
  color: white;
}

.ConsentBanner_primary__EJszX:hover {
  background-color: #2563eb;
}

.ConsentBanner_secondary__szPvu {
  background-color: #4b5563;
  /* A neutral gray */
  color: white;
}

.ConsentBanner_secondary__szPvu:hover {
  background-color: #374151;
}
.SocialIcons_socialIcons__rgGAu {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  /* 24px */
}

.SocialIcons_iconLink__CJNR4 {
  opacity: 0.8;
  transition: opacity 0.2s ease-in-out;
}

.SocialIcons_iconLink__CJNR4:hover {
  opacity: 1;
}

.SocialIcons_iconImage__NH120 {
  filter: brightness(0) invert(1);
}
.Footer_email__V5n10 {
  display: inline-block;
  width: 220px;
  text-align: center;

  text-decoration: none;
  /* transition: font-weight 0.2s ease; */
}

.Footer_footer__4vzqH {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 12px;

  padding: 32px 24px;
}

.Footer_email__V5n10:hover {
  font-weight: 600;
}

.Footer_settingItem__HA8jS {}

.Footer_link__wByfM {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: white;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;

  /* This is the property you transition for variable fonts */
  transition: font-variation-settings 0.2s ease-in-out;
}

.Footer_link__wByfM svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease-in-out;
}

.Footer_link__wByfM:hover svg {
  transform: translateX(4px);
}
/* LevelGrid.css */

.LevelGrid_levelGridWrapper__E7Q0J {
  margin-bottom: 60px;
}

.LevelGrid_levelGridTitle__B8MLX {
  font-size: 32px;
  font-weight: 600;
  color: white;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Common container styles */
.LevelGrid_levelGridContainer__jNK_m {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

/* Variant for the 2-column music layout */
.LevelGrid_levelGridContainerMusic__V1Cmn {
  grid-template-columns: repeat(2, 1fr);
}

/* Variant for the 4-column chapter layout */
.LevelGrid_levelGridContainerChapter__5aw5g {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 720px) {
  .LevelGrid_levelGridContainer__jNK_m {
    /* Reduce the gap further for small screens, as requested */
    gap: 8px;
  }

  .LevelGrid_levelGridContainerChapter__5aw5g {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .LevelGrid_levelGridContainer__jNK_m {
    /* Reduce the gap further for small screens, as requested */
    gap: 4px;
  }
}
.Landing_centerContainer__tJvvm {
  margin-bottom: auto;
  margin-top: auto;
  transition: all 1.5s ease;
}

.Landing_levelSelectionPageContainer__QTWOW {
  padding: 8px;
  max-width: min(1200px, 90%);
  margin: 0px auto;
}
/* module.css file: */

@keyframes MainSplash_fadeInAndDeblur__YG_e_ {
  from {
    opacity: 0;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.MainSplash_splashContainer__AKUl7 {
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #222426;
  z-index: 99999999999;

  /* The container is now visible by default */
  opacity: 1;
  /* This transition is only for the final fade-out */
  transition: opacity 1s ease-in-out;
}

/* This class is added to the CONTAINER to trigger the fade-out */
.MainSplash_fadeOut__GI9w1 {
  opacity: 0;
}

.MainSplash_logoText__WwZ4L {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: 'Alfa Slab One', normal;
  font-weight: 400;
  margin: 200px;
  font-size: 64px;

  /* The text starts out invisible and blurred */
  opacity: 0;
  filter: blur(8px);
}

/* This class is added to the LOGO TEXT to trigger its animation */
.MainSplash_fadeIn___oNA7 {
  animation: MainSplash_fadeInAndDeblur__YG_e_ 1s ease-out forwards;
}

.MainSplash_logoIcon__lfjZY {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.MainSplash_logoIcon__lfjZY svg {
  width: 38px;
  height: 38px;
  margin-right: 2px;
  animation: MainSplash_spin__U3SF1 5s linear infinite;
}

@keyframes MainSplash_spin__U3SF1 {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}
.SteamClientSoErrorInstructions_instructionsContainer__F_Vu5 {
  /* Aligns text to the left for better readability of instructions */
  text-align: left;
  width: 100%;
  max-width: 600px;
  /* Constrain line length for easier reading */
  font-size: 16px;
  line-height: 1.6;
}

.SteamClientSoErrorInstructions_introText__2xAOF,
.SteamClientSoErrorInstructions_outroText__TXcBk {
  margin-bottom: 24px;
}

.SteamClientSoErrorInstructions_stepsHeader__f2Qri {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.SteamClientSoErrorInstructions_stepsList__FSx9d {
  /* Use padding for indentation instead of default browser margin */
  padding-left: 20px;
  list-style-type: decimal;
  /* Explicitly set numbered list style */
}

.SteamClientSoErrorInstructions_stepItem__VIjJa {
  margin-bottom: 20px;
}

/* This is where the magic happens! */
.SteamClientSoErrorInstructions_codeBlock__N8TKu {
  display: block;
  /* Make it take up its own line */
  background-color: rgba(255, 255, 255, 0.1);
  /* Subtle highlight */
  color: #a5d6ff;
  /* A light blue for code text, high contrast on black */
  font-family: 'monospace', 'Courier New', Courier;
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 10px;

  /* Ensure long lines wrap correctly and are selectable */
  white-space: pre-wrap;
  word-break: break-all;
  /* user-select: all; */
  /* Make it easy for users to copy the command */
}

.SteamClientSoErrorInstructions_placeholder__F2ZCR {
  color: #ffd700;
  /* A gold/yellow color to draw attention */
  font-weight: bold;
  background-color: rgba(255, 215, 0, 0.15);
  /* Faint highlight for the placeholder */
  padding: 2px 4px;
  border-radius: 3px;
}
