﻿@charset "UTF-8";

/* ==========================================
   MU.HAKEEMB.COM — CSS
   atelier bagarre — hakeem b — 2026
   ========================================== */

:root {
    --bg-color: #121212;
    --text-color: rgba(253,251,252,0.9);
    --text-color-faded: rgba(253,251,252,0.9);
    --text-bright: rgba(253,251,252,0.9);
    --border-color: rgba(253,251,252,0.7);
    --font: "argent-pixel-cf", sans-serif;
    --transition: 0.8s ease;
	--font-w: 400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "argent-pixel-cf", sans-serif;
    font-style: normal;
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

body {
    background: var(--bg-color);
    overflow: hidden;
    font-family: "argent-pixel-cf", sans-serif;
    min-height: 100vh;
	filter: grayscale(1);
}

/* =====================
   CONTAINER (desktop + iPad)
   ===================== */
#phone {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* scanlines */
body::after {
    content: '';
    position: fixed; inset: 0;
    background: repeating-linear-gradient(
      0deg, transparent, transparent 3px,
      rgba(0,0,0,0.015) 3px, rgba(0,0,0,0.015) 4px
    );
    pointer-events: none;
    z-index: 200;
}

/* =====================
   LOADER SHAPES
   ===================== */
#loader-shapes {
    position: absolute; inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
    background: var(--bg-color);
    opacity: 1;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
}
#loader-shapes.hidden {
    opacity: 0;
}
.loader-inner {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.shape {
    width: 20px;
    height: 20px;
    background: rgba(253,251,252);
    animation: bounce 1s infinite;
}
.circle {
    border-radius: 50%;
    animation-delay: 0s;
}
.square {
    animation-delay: 0.2s;
}
.triangle {
    width: 0;
    height: 0;
    background: transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid rgba(253,251,252);
    animation-delay: 0.4s;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =====================
   INTRO MÜ + SUBTITLE
   ===================== */
#intro-mu, #intro-sub {
    position: absolute; inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    background: var(--bg-color);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}
#intro-mu.visible, #intro-sub.visible {
    opacity: 1;
}
#intro-title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(253,251,252,0.9);
}
#intro-subtitle {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(253,251,252,0.9);
    font-style: italic;
}

/* =====================
   LOADER PRINCIPAL
   ===================== */
#loader {
    position: absolute; inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background: var(--bg-color);
}

#ui {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 30px;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

#mu-title {
    font-size: clamp(15px, 7vw, 10px);
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.divider {
    width: 40px;
    height: 1px;
    background: var(--border-color);
    transition: opacity 0.8s ease, max-height 0.8s ease, margin 0.8s ease;
    overflow: hidden;
    max-height: 2px;
    margin-bottom: 20px;
}

#sub-title {
    font-size: clamp(10px, 1.2vw, 13px);
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--text-color-faded);
    margin-bottom: 20px;
    font-style: italic;
}

/* =====================
   PHOTO NUAGE
   ===================== */
#cloud-wrap {
    position: relative;
    width: 100%;
    cursor: pointer;
    margin-bottom: 12px;
    -webkit-tap-highlight-color: transparent;
}

#cloud-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1176 / 1724;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.2s ease;
}

#cloud-img.visible {
    opacity: 1;
}

/* hint play centré sur l'image */
#play-hint {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: rgba(12,12,12,0.75);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
}
#play-hint.hidden {
    opacity: 0;
}

#mu-caption {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--text-bright);
    text-align: center;
    margin-top: 4px;
}

/* =====================
   DL BUTTONS
   ===================== */
#dl-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.dl-btn {
    display: inline-block;
    font-family: "argent-pixel-cf", sans-serif;
    font-size: 9px;
    font-weight: 200;
    letter-spacing: 0.2em;
    color: rgba(253,251,252,0.7);
    border: 1px solid rgba(253,251,252,0.3);
    padding: 5px 10px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s, border-color 0.3s;
    -webkit-tap-highlight-color: transparent;
}
.dl-btn:hover, .dl-btn:active {
    color: rgba(253,251,252,0.9);
    border-color: rgba(253,251,252,0.7);
}

/* =====================
   DESKTOP + IPAD
   ===================== */
@media (min-width: 769px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bg-color);
        height: calc(var(--vh, 1vh) * 100);
        min-height: calc(var(--vh, 1vh) * 100);
    }
    #phone {
        width: 600px;
        height: 844px;
        border-radius: 0px;
        overflow: hidden;
        position: relative;
    }
    #mu-title { font-size: 13px; }
    #sub-title { font-size: 10px; }
}

/* =====================
   MOBILE : plein écran
   ===================== */
@media (max-width: 768px) {
    #phone {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
}

/* =====================
   BTN ••• + ACCORDION
   ===================== */
#btn-accordion-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}
#btn-accordion {
    background: none;
    border: 0px solid rgba(253,251,252,0.7);
    color: rgba(253,251,252,0.9);
    font-family: "argent-pixel-cf", sans-serif;
    font-size: 10px;
    letter-spacing: 0.15em;
    padding: 0px 0px;
    cursor: pointer;
    z-index: 5;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s;
}
#btn-accordion:hover, #btn-accordion:active {
    background: none;
    color: rgba(253,251,252,0.9);
}

#accordion {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30;
    background: var(--color-bg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
#accordion.open {
    opacity: 1;
    pointer-events: auto;
}
#accordion-inner {
    width: 400px;
    max-height: 70%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 36px 30px;
    box-sizing: border-box;
    background: var(--bg-color);
    border: .5px solid rgba(253,251,252,0.9);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(253,251,252,0.15) transparent;
}
#accordion-inner::-webkit-scrollbar {
    width: 3px;
}
#accordion-inner::-webkit-scrollbar-track {
    background: transparent;
}
#accordion-inner::-webkit-scrollbar-thumb {
    background: rgba(253,251,252,0.15);
    border-radius: 2px;
}
#accordion-content {
    font-size: 11px;
    font-weight: 200;
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: rgba(253,251,252,0.7);
    font-family: "argent-pixel-cf", sans-serif;
}
#accordion-content p {
    margin-bottom: 20px;
}
#accordion-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    opacity: 0.85;
}
#accordion-content .acc-caption {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: rgba(253,251,252,0.9);
    margin-top: -14px;
    margin-bottom: 20px;
}
#accordion-content strong {
    color: rgba(253,251,252,0.7);
    font-weight: 400;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
	#intro-title {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(253,251,252,0.7);
}
#intro-subtitle {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(253,251,252,0.7);
    font-style: italic;
}
    #accordion-inner {
        width: 90%;
        max-height: 75%;
    }
}