/* File: assets/css/frontend.css */

/* Scope all styles inside mma-frontend */
.mma-frontend {
  background-color: #121212;
  color: #ddd;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* Links and buttons */
.mma-frontend a {
  color: #f1c40f; /* warm gold accent */
  text-decoration: none;
}
.mma-frontend a:hover,
.mma-frontend a:focus {
  text-decoration: underline;
  outline: none;
}
.mma-frontend button,
.mma-frontend input[type="submit"] {
  cursor: pointer;
  background-color: #f1c40f;
  color: #121212;
  border: none;
  padding: 0.6em 1.2em;
  font-weight: 600;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
.mma-frontend button:hover,
.mma-frontend button:focus,
.mma-frontend input[type="submit"]:hover,
.mma-frontend input[type="submit"]:focus {
  background-color: #d4ac0d;
  outline: none;
}

/* Header */
.mma-frontend-header {
  background-color: #242424;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}
.mma-frontend-header .mma-logo img {
  max-height: 50px;
}
.mma-frontend-header .mma-navigation ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.mma-frontend-header .mma-navigation li {
  position: relative;
}
.mma-frontend-header .mma-navigation a {
  font-weight: 600;
  font-size: 1rem;
}
.mma-frontend-header .mma-search-toggle {
  cursor: pointer;
  font-size: 1.4rem;
  color: #f1c40f;
  user-select: none;
}
.mma-frontend-header .mma-search-container {
  display: none;
  position: absolute;
  top: 100%;
  right: 2rem;
  background: #333;
  padding: 1rem;
  border-radius: 4px;
  width: 300px;
  z-index: 150;
}
.mma-frontend-header .mma-search-container form {
  display: flex;
  gap: 0.5rem;
}
.mma-frontend-header .mma-search-container input[type="search"] {
  flex-grow: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}
.mma-frontend-header .mma-search-container button {
  background: #f1c40f;
  color: #121212;
  border-radius: 4px;
}

/* Main Content */
.mma-frontend-main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Section Titles */
.mma-frontend .mma-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #f1c40f;
  text-align: center;
}

/* Album grid */
.mma-frontend .mma-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 1.5rem;
}

/* Album card */
.mma-frontend .mma-album-card {
  background: #1c1c1c;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(241, 196, 15, 0.2);
  color: #fff;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.mma-frontend .mma-album-card:hover,
.mma-frontend .mma-album-card:focus {
  transform: translateY(-5px);
  outline: none;
}
.mma-frontend .mma-album-artwork img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.mma-frontend .mma-album-info {
  padding: 1rem;
}
.mma-frontend .mma-album-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.mma-frontend .mma-album-meta {
  font-size: 0.9rem;
  color: #bbb;
  display: flex;
  justify-content: space-between;
}

/* Stat boxes */
/*.mma-frontend .mma-stat-box {
  text-align: center;
  background: #222;
  border-radius: 8px;
  padding: 1.2rem;
  color: #f1c40f;
  box-shadow: 0 0 8px rgba(241, 196, 15, 0.3);
}*/

/* =========================================================
   STATISTICS
   ========================================================= */

.mma-stat-boxes {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.mma-stat-boxes-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    width: 100%;
}

.mma-stat-box {
    text-align: center;
    background: #222;
    border: 1px solid rgba(241, 196, 15, 0.25);
    border-radius: 8px;
    padding: 24px 15px;
    color: #f1c40f;
    box-shadow: 0 0 8px rgba(241, 196, 15, 0.3);
}

.mma-stat-icon {
    margin-bottom: 8px;
}

.mma-stat-icon .dashicons {
    width: auto;
    height: auto;
    font-size: 28px;
    line-height: 1;
}

.mma-stat-count {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
}

.mma-stat-title {
    font-size: 1rem;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 900px) {
    .mma-stat-boxes-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 520px) {
    .mma-stat-boxes-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (max-width: 900px) {

    .mma-frontend .mma-stat-boxes-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 520px) {

    .mma-frontend .mma-stat-boxes {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .mma-frontend .mma-stat-boxes-wrapper {
        grid-template-columns: 1fr;
    }

    .mma-frontend .mma-stat-box {
        padding: 1.2rem 1rem;
    }
}


.mma-frontend .mma-stat-count {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.mma-frontend .mma-stat-title {
  font-size: 1rem;
  font-weight: 600;
}

/* Language chips */
.mma-frontend .mma-language-chip {
  display: inline-block;
  background: #333;
  padding: 0.4rem 0.8rem;
  margin: 0.25rem;
  border-radius: 20px;
  color: #f1c40f;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.mma-frontend .mma-language-chip:hover,
.mma-frontend .mma-language-chip:focus {
  background-color: #555;
  outline: none;
}

/* Explore archive */
.mma-frontend .mma-explore-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.mma-frontend .mma-explore-card {
  background: #1a1a1a;
  color: #f1c40f;
  width: 130px;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(241, 196, 15, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.mma-frontend .mma-explore-card:hover,
.mma-frontend .mma-explore-card:focus {
  transform: translateY(-5px);
  outline: none;
}
.mma-frontend .mma-explore-card .dashicons {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Decades navigation */
.mma-frontend .mma-decades-nav {
  text-align: center;
  margin: 2rem 0;
}
.mma-frontend .mma-decades-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.mma-frontend .mma-decade-item a {
  color: #f1c40f;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: #222;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}
.mma-frontend .mma-decade-item a:hover,
.mma-frontend .mma-decade-item a:focus {
  background-color: #555;
  outline: none;
}

/* Footer */
.mma-frontend .mma-frontend-footer {
  background-color: #1b1b1b;
  color: #ccc;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.mma-frontend .mma-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.mma-frontend .mma-footer-navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.mma-frontend .mma-footer-navigation a {
  color: #f1c40f;
  font-weight: 600;
  text-decoration: none;
}
.mma-frontend .mma-footer-navigation a:hover,
.mma-frontend .mma-footer-navigation a:focus {
  text-decoration: underline;
}
.mma-frontend .mma-footer-description,
.mma-frontend .mma-footer-copyright {
  margin: 0.3rem 0;
}


/* =========================================================
   HEADER LAYOUT FIX
   ========================================================= */
.mma-frontend .mma-frontend-header {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    box-sizing: border-box;
}
.mma-frontend .mma-header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px;
    box-sizing: border-box;
}
.mma-frontend .mma-logo { flex: 0 0 auto; margin: 0; }
.mma-frontend .mma-logo a { display: block; line-height: 0; }
.mma-frontend .mma-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 60px;
    height: auto;
}
.mma-frontend .mma-navigation { flex: 1 1 auto; min-width: 0; }
.mma-frontend .mma-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mma-frontend .mma-navigation li { margin: 0; padding: 0; }
.mma-frontend .mma-navigation a { display: block; white-space: nowrap; }
.mma-frontend .mma-search-toggle {
    flex: 0 0 auto;
    width: 46px;
    height: 42px;
    margin: 0;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .mma-frontend .mma-header-inner {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 14px 20px;
    }
    .mma-frontend .mma-navigation { order: 3; flex: 0 0 100%; }
    .mma-frontend .mma-navigation ul { gap: 12px 18px; }
}
@media (max-width: 520px) {
    .mma-frontend .mma-frontend-header { padding: 1rem; }
    .mma-frontend .mma-logo img { max-width: 180px; }
    .mma-frontend .mma-navigation ul { justify-content: flex-start; gap: 10px 16px; }
}



/* =========================================================
   HOMEPAGE HERO
   ========================================================= */
.mma-frontend .mma-hero {
    width: 100%;
    padding: 72px 24px 48px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(241, 196, 15, 0.08), transparent 42%),
        #121212;
    box-sizing: border-box;
}

.mma-frontend .mma-hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.mma-frontend .mma-hero-title {
    margin: 0 0 14px;
    color: #f1c40f;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mma-frontend .mma-hero-intro {
    max-width: 720px;
    margin: 0 auto 30px;
    color: #cfcfcf;
    font-size: 1.08rem;
    line-height: 1.7;
}

.mma-frontend .mma-hero-search {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.mma-frontend .mma-hero-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    color: #f5f5f5;
    background: #1d1d1d;
    border: 1px solid rgba(241, 196, 15, 0.32);
    border-radius: 7px;
    outline: none;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.mma-frontend .mma-hero-search input[type="search"]::placeholder {
    color: #8f8f8f;
}

.mma-frontend .mma-hero-search input[type="search"]:focus {
    border-color: #f1c40f;
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.10);
}

.mma-frontend .mma-hero-search .mma-hero-search-button {
    flex: 0 0 auto;
    min-width: 112px;
    height: 52px;
    padding: 0 24px;
    border: 1px solid #f1c40f;
    border-radius: 7px;
    background: #f1c40f;
    color: #121212;
    font-size: 1rem;
    font-weight: 700;
}

.mma-frontend .mma-hero-search .mma-hero-search-button:hover,
.mma-frontend .mma-hero-search .mma-hero-search-button:focus {
    background: #d4ac0d;
    border-color: #d4ac0d;
    text-decoration: none;
}

@media (max-width: 640px) {
    .mma-frontend .mma-hero {
        padding: 52px 18px 36px;
    }

    .mma-frontend .mma-hero-intro {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .mma-frontend .mma-hero-search {
        flex-direction: column;
        gap: 10px;
    }

    .mma-frontend .mma-hero-search .mma-hero-search-button {
        width: 100%;
    }
}


/* =========================================================
   LANGUAGE CHIPS ALIGNMENT
   ========================================================= */
.mma-frontend .mma-language-chips {
    width: 100%;
    text-align: center;
    padding: 20px 24px 45px;
    box-sizing: border-box;
}

.mma-frontend .mma-language-chips-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 22px auto 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
}

/* =========================================================
   MAESTRO HERO V3 - PREMIUM FRAMED HERO
   ========================================================= */

.mma-frontend .mma-hero {
    position: relative;
    width: 100%;
    padding: 36px 24px 28px;
    background: #101010;
    overflow: hidden;
}

/* Premium framed panel */
.mma-frontend .mma-hero-inner {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 55px 60px 52px;

    border: 1px solid rgba(241, 196, 15, 0.70);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(241, 196, 15, 0.10) 0%,
            rgba(241, 196, 15, 0.035) 32%,
            transparent 65%
        ),
        linear-gradient(
            180deg,
            rgba(30, 28, 20, 0.80),
            rgba(15, 15, 15, 0.96)
        );

    box-shadow:
        0 0 35px rgba(241, 196, 15, 0.05),
        inset 0 0 50px rgba(241, 196, 15, 0.025);

    overflow: hidden;
}

/* Very subtle decorative musical atmosphere */
.mma-frontend .mma-hero-inner::before {
    content: "♪   ♫        ♩        ♪";
    position: absolute;
    left: -25px;
    top: 45%;
    transform: translateY(-50%) rotate(-8deg);

    color: rgba(241, 196, 15, 0.055);

    font-size: 70px;
    letter-spacing: 24px;
    white-space: nowrap;

    pointer-events: none;
}

.mma-frontend .mma-hero-inner::after {
    content: "♫      ♪      ♩";
    position: absolute;
    right: -30px;
    top: 45%;
    transform: translateY(-50%) rotate(8deg);

    color: rgba(241, 196, 15, 0.045);

    font-size: 72px;
    letter-spacing: 26px;
    white-space: nowrap;

    pointer-events: none;
}

.mma-frontend .mma-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 940px;
    margin: 0 auto;

    text-align: center;
}

/* =========================================================
   EYEBROW
   ========================================================= */

.mma-frontend .mma-hero-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    margin: 0 0 22px;

    color: #f1c40f;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.mma-frontend .mma-hero-eyebrow-line {
    width: 45px;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #f1c40f
    );
}

/* second decorative line using pseudo element */
.mma-frontend .mma-hero-eyebrow::after {
    content: "";
    width: 45px;
    height: 1px;

    background: linear-gradient(
        90deg,
        #f1c40f,
        transparent
    );
}

/* =========================================================
   TITLE
   ========================================================= */

.mma-frontend .mma-hero-title {
    max-width: 900px;
    margin: 0 auto;

    color: #ffffff;

    font-size: clamp(44px, 4.5vw, 66px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.mma-frontend .mma-hero-title span {
    color: #f1c40f;

    text-shadow:
        0 0 20px rgba(241, 196, 15, 0.12);
}

/* =========================================================
   DESCRIPTION
   ========================================================= */

.mma-frontend .mma-hero-intro {
    max-width: 720px;
    margin: 24px auto 0;

    color: #d0d0d0;

    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   SEARCH
   ========================================================= */

.mma-frontend .mma-hero-search {
    display: flex;
    align-items: stretch;
    gap: 14px;

    width: 100%;
    max-width: 820px;

    margin: 34px auto 0;
}

.mma-frontend .mma-hero-search-field {
    position: relative;

    display: flex;
    align-items: center;
    flex: 1;

    min-width: 0;

    background: rgba(10, 10, 10, 0.88);

    border: 1px solid rgba(241, 196, 15, 0.60);
    border-radius: 9px;

    box-shadow:
        0 0 15px rgba(241, 196, 15, 0.08),
        inset 0 0 20px rgba(0, 0, 0, 0.30);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mma-frontend .mma-hero-search-field:hover {
    border-color: rgba(241, 196, 15, 0.85);
}

.mma-frontend .mma-hero-search-field:focus-within {
    border-color: #f1c40f;

    box-shadow:
        0 0 0 3px rgba(241, 196, 15, 0.08),
        0 0 22px rgba(241, 196, 15, 0.10);
}

/* Search icon */
.mma-frontend .mma-hero-search-field .dashicons {
    position: absolute;
    left: 20px;

    width: 22px;
    height: 22px;

    color: #f1c40f;

    font-size: 22px;
    line-height: 22px;

    pointer-events: none;
}

.mma-frontend .mma-hero-search input[type="search"] {
    width: 100%;
    height: 58px;

    padding: 0 20px 0 55px;

    color: #ffffff;
    background: transparent;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    font-size: 15px;
}

.mma-frontend .mma-hero-search input[type="search"]::placeholder {
    color: #999999;
}

/* Search button */
.mma-frontend .mma-hero-search-button {
    min-width: 125px;
    height: 58px;

    padding: 0 28px;

    color: #111111;
    background: #f1c40f;

    border: 1px solid #f1c40f;
    border-radius: 9px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 0 18px rgba(241, 196, 15, 0.12);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mma-frontend .mma-hero-search-button:hover {
    background: #ffd522;

    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(241, 196, 15, 0.20);
}

/* Remove old bottom hero line */
.mma-frontend .mma-hero::after {
    display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .mma-frontend .mma-hero {
        padding: 25px 20px;
    }

    .mma-frontend .mma-hero-inner {
        padding: 50px 30px;
    }

    .mma-frontend .mma-hero-title {
        font-size: clamp(40px, 8vw, 58px);
    }
}

@media (max-width: 650px) {

    .mma-frontend .mma-hero {
        padding: 16px 14px 24px;
    }

    .mma-frontend .mma-hero-inner {
        padding: 42px 20px 38px;
        border-radius: 14px;
    }

    .mma-frontend .mma-hero-eyebrow {
        font-size: 9px;
        letter-spacing: 1.8px;
        gap: 8px;
    }

    .mma-frontend .mma-hero-eyebrow-line,
    .mma-frontend .mma-hero-eyebrow::after {
        width: 25px;
    }

    .mma-frontend .mma-hero-title {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .mma-frontend .mma-hero-intro {
        margin-top: 18px;
        font-size: 15px;
    }

    .mma-frontend .mma-hero-search {
        flex-direction: column;
        margin-top: 28px;
    }

    .mma-frontend .mma-hero-search-button {
        width: 100%;
    }

    .mma-frontend .mma-hero-inner::before,
    .mma-frontend .mma-hero-inner::after {
        opacity: 0.5;
    }
}
/* =========================================================
   MAESTRO FRONTEND - REMOVE LINK UNDERLINES
   ========================================================= */

.mma-frontend a,
.mma-frontend a:hover,
.mma-frontend a:focus,
.mma-frontend a:active,
.mma-frontend a:visited {
    text-decoration: none;
}


/* =========================================================
   MAESTRO HERO - SEARCH BORDER FINAL FIX
   ========================================================= */

.mma-frontend .mma-hero-search input[type="search"] {
    background: #181818;
    color: #ffffff;
    border: 1px solid rgba(244, 196, 0, 0.55) !important;
    border-radius: 6px;
    box-shadow: none;
    outline: none;
}

.mma-frontend .mma-hero-search input[type="search"]:hover {
    border-color: rgba(244, 196, 0, 0.8) !important;
}

.mma-frontend .mma-hero-search input[type="search"]:focus {
    border-color: #f4c400 !important;
    box-shadow: 0 0 0 2px rgba(244, 196, 0, 0.12);
}
/* =========================================
   HIDE HEADER SEARCH TOGGLE
   Search is already available in hero area
   ========================================= */

#mma-search-toggle,
.mma-search-toggle {
    display: none !important;
}
/* =========================================
   MAESTRO HERO - TITLE CENTERED FINAL
   ========================================= */

.mma-hero-title {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
    white-space: nowrap;

    font-size: clamp(38px, 4vw, 64px);
    line-height: 1.15;
}

/* Make sure hero content itself is centered */
.mma-hero-content {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Tablet / Mobile */
@media (max-width: 900px) {
    .mma-hero-title {
        white-space: normal;
        font-size: clamp(34px, 7vw, 52px);
    }
}/* =========================================================
   MAESTRO MUSIC PLAYER - STAGE 4B
   ========================================================= */
.mma-frontend .mma-movie-page {
    max-width: 1200px;
    margin: 0 auto;
}

.mma-frontend .mma-movie-eyebrow,
.mma-frontend .mma-player-label {
    color: #f1c40f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.mma-frontend .mma-movie-heading {
    margin-bottom: 28px;
}

.mma-frontend .mma-movie-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

.mma-frontend .mma-movie-meta {
    margin: 12px 0 0;
    color: #aaa;
}

.mma-frontend .mma-movie-overview {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    align-items: start;
}

.mma-frontend .mma-movie-poster {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.mma-frontend .mma-movie-poster-placeholder {
    aspect-ratio: 2 / 3;
    background: #1b1b1b;
    border: 1px solid rgba(241,196,15,.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    padding: 20px;
    text-align: center;
}

.mma-frontend .mma-movie-synopsis {
    margin-bottom: 28px;
    color: #ccc;
    line-height: 1.8;
}

.mma-frontend .mma-subheading {
    color: #f1c40f;
    font-weight: 700;
    margin-bottom: 10px;
}

.mma-frontend .mma-youtube-frame-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.mma-frontend .mma-youtube-frame,
.mma-frontend .mma-youtube-player {
    border: 0;
    width: 100%;
    height: 100%;
}

.mma-frontend .mma-youtube-frame {
    position: absolute;
    inset: 0;
}

.mma-frontend .mma-songs-section {
    margin-top: 42px;
}

.mma-frontend .mma-songs-section h2 {
    color: #f1c40f;
    margin: 0 0 18px;
}

.mma-frontend .mma-song-list {
    border: 1px solid rgba(241,196,15,.18);
    border-radius: 10px;
    overflow: hidden;
    background: #181818;
}

.mma-frontend .mma-song-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.mma-frontend .mma-song-row:last-child {
    border-bottom: 0;
}

.mma-frontend .mma-song-track {
    width: 36px;
    flex: 0 0 36px;
    color: #888;
    text-align: center;
}

.mma-frontend .mma-song-info {
    flex: 1;
    min-width: 0;
}

.mma-frontend .mma-song-title {
    color: #fff;
    font-weight: 600;
}

.mma-frontend .mma-song-source {
    color: #888;
}

.mma-frontend .mma-song-duration {
    color: #aaa;
    white-space: nowrap;
}

.mma-frontend .mma-song-play {
    width: 86px;
    min-width: 86px;
    box-sizing: border-box;
    text-align: center;
}

.mma-frontend .mma-song-play-disabled {
    opacity: .5;
    cursor: not-allowed;
}

.mma-frontend .mma-no-songs {
    color: #aaa;
}

.mma-frontend .mma-song-player {
    width: min(100%, 700px);
    margin: 36px auto 10px;
    border: 1px solid rgba(241,196,15,.35);
    border-radius: 10px;
    overflow: hidden;
    background: #151515;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.mma-frontend .mma-song-player[hidden] {
    display: none;
}

.mma-frontend .mma-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mma-frontend .mma-player-title {
    margin-top: 3px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.mma-frontend .mma-player-status {
    margin-top: 2px;
    color: #999;
    font-size: .9rem;
}

.mma-frontend .mma-player-time {
    margin-top: 3px;
    color: #f1c40f;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
}

.mma-frontend .mma-player-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
}

.mma-frontend .mma-player-body {
    background: #000;
}

.mma-frontend .mma-youtube-player {
    display: none;
    position: relative;
    width: 100%;
    height: min(394px, 56.25vw);
    aspect-ratio: 16 / 9;
    min-height: 270px;
    overflow: hidden;
    background: #000;
}

.mma-frontend .mma-mp3-player {
    display: none;
    width: calc(100% - 36px);
    margin: 18px;
}

@media (max-width: 760px) {
.mma-frontend .mma-song-player {
    width: 100%;
}

    .mma-frontend .mma-youtube-player {
        height: 56.25vw;
        min-height: 200px;
    }

    .mma-frontend .mma-movie-overview {
        grid-template-columns: 1fr;
    }

    .mma-frontend .mma-movie-poster-wrap {
        max-width: 180px;
    }

    .mma-frontend .mma-song-row {
        flex-wrap: wrap;
    }

    .mma-frontend .mma-song-info {
        min-width: calc(100% - 52px);
    }

    .mma-frontend .mma-song-duration {
        margin-left: 52px;
    }

    .mma-frontend .mma-song-play {
        margin-left: auto;
    }
}


/* Movie views emphasis */
.mma-frontend .mma-movie-views {
    margin-top: 18px;
    color: #f1c40f;
    font-weight: 600;
}

.mma-frontend .mma-movie-views .dashicons {
    color: #f1c40f;
}

/* =========================================================
   COMMUNITY FIX v1.1
   Scoped only to community controls/comments.
   Does not modify poster, movie overview, songs or player sizing.
   ========================================================= */
.mma-frontend .mma-movie-details { position: relative; }
.mma-frontend .mma-community-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.mma-frontend .mma-community-like,
.mma-frontend .mma-community-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(241,196,15,.32);
    border-radius: 6px;
    background: #181818;
    color: #ddd;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}
.mma-frontend .mma-community-like:hover,
.mma-frontend .mma-community-share:hover,
.mma-frontend .mma-community-like.is-liked,
.mma-frontend .mma-community-share.is-shared { color:#f1c40f; border-color:#f1c40f; }
.mma-frontend .mma-community-like:disabled { opacity:.65; cursor:wait; }
.mma-frontend .mma-community-comments { margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.08); }
.mma-frontend .mma-comments-title-row { display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.mma-frontend .mma-comments-title-row h2 { margin:0; color:#f1c40f; }
.mma-frontend .mma-comments-title-row span { min-width:26px; height:26px; display:inline-flex; align-items:center; justify-content:center; padding:0 7px; border-radius:13px; background:#222; color:#aaa; font-size:.85rem; }
.mma-frontend .mma-comment-form { padding:20px; border:1px solid rgba(241,196,15,.16); border-radius:9px; background:#181818; }
.mma-frontend .mma-comment-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.mma-frontend .mma-comment-form label { display:block; margin:0 0 7px; color:#aaa; font-size:.9rem; font-weight:600; }
.mma-frontend .mma-comment-form > label { margin-top:16px; }
.mma-frontend .mma-comment-form input,
.mma-frontend .mma-comment-form textarea { width:100%; box-sizing:border-box; padding:10px 11px; border:1px solid rgba(255,255,255,.12); border-radius:6px; background:#101010; color:#fff; font:inherit; }
.mma-frontend .mma-comment-form textarea { resize:vertical; min-height:120px; }
.mma-frontend .mma-comment-submit-row { display:flex; align-items:center; gap:14px; margin-top:15px; }
.mma-frontend .mma-comment-submit { min-height:38px; }
.mma-frontend #mma-comment-message { color:#aaa; font-size:.9rem; }
.mma-frontend .mma-comments-list { margin-top:24px; }
.mma-frontend .mma-comment-item { padding:16px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.mma-frontend .mma-comment-item strong { color:#fff; }
.mma-frontend .mma-comment-item time { margin-left:10px; color:#777; font-size:.82rem; }
.mma-frontend .mma-comment-item > div { margin-top:8px; color:#ccc; line-height:1.65; }
.mma-frontend .mma-no-comments { color:#888; }
@media (max-width:760px) {
    .mma-frontend .mma-community-actions { position:static; margin:12px 0 18px; }
    .mma-frontend .mma-comment-grid { grid-template-columns:1fr; }
}

/* Compact comments refinement */
.mma-frontend .mma-comment-form input {
    min-height: 40px;
}
.mma-frontend .mma-comment-form textarea {
    min-height: 90px;
    height: 90px;
}
.mma-frontend .mma-comment-form-footer {
    margin-top: 10px;
}
.mma-frontend .mma-no-comments {
    margin-top: 14px;
}


/* Active song row highlight */
.mma-frontend .mma-song-row.is-playing {
    background: rgba(241,196,15,.08);
    box-shadow: inset 3px 0 0 #f1c40f;
}

.mma-frontend .mma-song-row.is-playing .mma-song-track {
    color: #f1c40f;
}

.mma-frontend .mma-song-row.is-playing .mma-song-title {
    color: #fff;
}

.mma-frontend .mma-song-row.is-playing .mma-song-play {
    border-color: #f1c40f;
}

/* Song button pause/resume state */
.mma-frontend .mma-song-play.is-playing {
    min-width: 86px;
}

/* v11: YT.Player creates the iframe inside the stable player container. */
.mma-frontend .mma-youtube-player > iframe {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Completed song state */
.mma-frontend .mma-song-play.is-completed {
    width: 86px;
    min-width: 86px;
    border-color: rgba(241,196,15,.35);
    color: #f1c40f;
    cursor: default;
}

.mma-frontend .mma-song-row.is-completed {
    background: rgba(241,196,15,.035);
}

.mma-frontend .mma-song-row.is-completed .mma-song-track {
    color: #f1c40f;
}


/* v16: identical song action button dimensions in Play/Pause/Resume states */
.mma-frontend .mma-song-play {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}


/* Movie attribution / courtesy */
.mma-frontend .mma-movie-credits { margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); color: #9ca3af; font-size: 12px; line-height: 1.65; }
.mma-frontend .mma-movie-credits span { color: #d1d5db; font-weight: 600; }
.mma-frontend .mma-movie-credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Movie information metadata */
.mma-frontend .mma-movie-details-meta {
    margin: 10px 0 14px;
    color: #b8b8b8;
    font-size: 13px;
    line-height: 1.65;
}
.mma-frontend .mma-movie-details-meta span {
    color: #d7d7d7;
    font-weight: 600;
}
