.mine_container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.ml_header_section {
  width: 90%;
  max-width: 1100px;
  text-align: center;
  margin: 25px auto 15px auto;
}

.ml_sec_heading {
  color: #fff;
  margin: 20px 0px;
  font-size: 44px;
  text-shadow: 0px 1px 5px #000;
}

.ml_sec_text {
  margin: 10px 0px;
  color: #fff;
  font-size: 20px;
  text-shadow: 0px 1px 5px #000;
}
.ml_main_content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.ml_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 25px 0;
}

.ml_card {
  background: var(--color-glass-bg);
  border-radius: 8px;
  box-shadow: var(--box-shad-def);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ml_card_media {
  margin: 15px;
  border-radius: 8px;
  height: 190px;
  overflow: hidden;
}

.ml_card_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ml_card_body {
  margin: 0px 15px 15px 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ml_card_title {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 8px 0;
  text-shadow: 0px 1px 5px #000;
}

.ml_badge {
  display: inline-flex;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.badge_addon {
  background: linear-gradient(#003f69, #00315f);
  color: #46cdff;
}

.badge_texture {
  background: linear-gradient(#480069, #31005f);
  color: #c79eff;
}

.ml_card_desc {
  font-size: 14px;
  color: var(--text-sec-col);
  line-height: 1.45;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.ml_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 45px;
  min-width: 280px;
  background: linear-gradient(
    145deg,
    rgba(22, 32, 70, 0.75),
    rgba(12, 18, 42, 0.9)
  );
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body, "Rotonda Regular", sans-serif);
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: var(--text-shad-def);
  box-shadow: var(--box-shad-def);

  user-select: none;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.ml_btn:hover {
  background: linear-gradient(135deg, #18359ba1, #0e163da1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 100, 250, 0.5);
}

.ml_detail_panel {
  background: var(--color-glass-bg);
  border-radius: 8px;
  box-shadow: var(--box-shad-def);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 30px;
  margin: 25px 0;
}

.ml_section_heading {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  margin: 0 0 16px 0;
  text-shadow: var(--text-shad-def);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0 100 250 / 15%);
  padding-bottom: 8px;
}

.ml_text_block {
  font-size: 16px;
  color: var(--text-sec-col);
  line-height: 1.6;
  margin-bottom: 20px;
  white-space: pre-line;
  text-shadow: var(--text-shad-def);
}

.ml_recipe_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.ml_recipe_item {
  background: rgba(10, 14, 28, 0.65);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  box-shadow: var(--box-shad-def);

  transition: all 0.25s ease;
}

.ml_recipe_item:hover {
  background: linear-gradient(135deg, #18359ba1, #0e163da1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 100, 250, 0.5);
}

.ml_recipe_item img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
  display: block;
  object-fit: contain;
}

.ml_gallery_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
  justify-items: center;
}

.ml_gallery_item {
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 334px;
  transition: all 0.25s ease;
  box-shadow: var(--box-shad-def);
}

.ml_gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ml_gallery_item:hover {
  background: linear-gradient(135deg, #18359ba1, #0e163da1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 100, 250, 0.5);
}

.ml_download_box {
  background: var(--color-glass-bg);
  border-radius: 8px;
  box-shadow: var(--box-shad-def);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 18px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.ml_dl_info h4 {
  margin: 0 0 6px 0;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  text-shadow: var(--text-shad-def);
}

.ml_dl_info ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-sec-col);
  font-size: 14px;
  text-shadow: var(--text-shad-def);
}

.ml_dl_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body, "Rotonda Regular", sans-serif);
  background: var(--color-glass-bg);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 20px 25px;
  border-radius: 8px;
  text-decoration: none;
  gap: 10px;
  box-shadow: var(--box-shad-def);
  transition: all 0.25s ease;
}

.ml_dl_btn:hover {
  background: linear-gradient(135deg, #18359ba1, #0e163da1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 100, 250, 0.5);
}

.ml_dl_btn:active {
  transform: translateY(0);
}

.ml_modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 7, 16, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 24px;

  cursor: pointer;
}

.ml_modal_content {
  user-select: none;
  max-width: 85vw;
  max-height: 77vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 100, 250, 0.5);
}

.ml_modal_close {
  position: absolute;
  top: 18px;
  right: 28px;
  color: #fff;
  font-size: 38px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  transition: all 0.2s ease;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .ml_download_box {
    flex-direction: column;
    align-items: flex-start;
  }
  .ml_dl_btn {
    width: 100%;
    justify-content: center;
  }
}
