/* ==========================================================
 *   TAILWIND  – 3.4.1 (Base CSS)  +  Vos styles personnels
 * ========================================================== */


/*!
 * tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
 * (copied wholesale – no change)
 */
*,
*:after,
*:before {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}
:after,
:before {
  --tw-content: "";
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
pre,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button,
select {
  text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
menu {
  padding: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}


/* ==============================
 *   VARIABLES & CUSTOM SETTINGS
 * ============================== */
:root {
  --primary-color: #ff69b4;
  --secondary-color: #03a9f4;
  --accent-color: #8bc34a;
  --dark-bg: #0f0f0f;
  --darker-bg: #080808;
  --transition: all 0.4s ease;
}


/* ===== GLOBAL ===== */
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Russo One", sans-serif;
  color: white;
  overflow-x: hidden;
}


/* ---------- BACKGROUND (all pages) ---------- */
body {
  background-image: url("../images/david_krk_owl.jpg");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}
/* background-attachment: fixed breaks on iOS Safari — use scroll on touch devices */
@media (hover: none) {
  body {
    background-attachment: scroll;
  }
}


/* ---------- MAIN WRAPPER ---------- */
.content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* ---------- HEADER ---------- */
.hero-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.2rem;
  gap: 0.25rem 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.6rem 0.75rem;
  line-height: 1.2;
  transition: color 0.3s ease;
}
.hero-header a:hover {
  color: var(--primary-color);
}


/* ---------- MAIN & FOOTER ---------- */
main {
  flex: 1;
  margin-bottom: auto;
}
footer {
  text-align: center;
  padding: 2rem 1rem;
}


/* ---------- PLAYER CONTAINER (mixcloud widget area) ---------- */
.player-container {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 10px;
  width: 90%;
  margin: 0.5rem auto 2rem auto;
}
@media (min-width: 640px) {
  .player-container {
    width: 60%;
  }
}
@media (min-width: 1024px) {
  .player-container {
    width: 33%;
  }
}

/* ---------- PLAYER (on-demand load) ---------- */
.player-load-wrapper {
  margin: 0 auto 2rem;
  max-width: 900px;
  padding: 0 1rem;
  text-align: center;
}
.player-load-btn {
  background: transparent;
  border: 1px solid var(--primary-color, #ff0000);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-family: "Russo One", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.4rem;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.player-load-btn:hover,
.player-load-btn:focus-visible {
  background: color-mix(in srgb, var(--primary-color, #ff0000) 15%, transparent);
  transform: translateY(-1px);
}
.player-load-note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}


/* ---------- TYPOGRAPHY ---------- */
.text-center .main-title {
  font-size: 4rem !important; /* Taille par défaut (mobile) */
  text-align: center !important;
  background: linear-gradient(
      to right,
      var(--primary-color),
      var(--secondary-color),
      var(--accent-color)
  );
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  background-size: 200% auto;
  animation: gradient 8s ease infinite;
  margin-top: 1rem;
  font-weight: bold;
}
@media (min-width: 640px) {
  .text-center .main-title {
    font-size: 5rem !important; /* sm:text-5xl */
  }
}
@media (min-width: 768px) {
  .text-center .main-title {
    font-size: 6rem !important; /* md:text-6xl */
  }
}
.text-center p {
  text-align: center !important;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* ---------- NEON TEXT ---------- */
.neon-text {
  animation: neon 2s ease-in-out infinite;
}
@keyframes neon {
  0%,
  100% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff69b4, 0 0 20px #ff69b4, 0 0 25px #ff69b4, 0 0 30px #ff69b4,
      0 0 35px #ff69b4;
    color: #fff;
  }
  50% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #03a9f4, 0 0 40px #03a9f4, 0 0 50px #03a9f4, 0 0 60px #03a9f4,
      0 0 70px #03a9f4;
    color: #e0e0e0;
  }
}


/* ---------- ICONS ---------- */
.fab {
  color: #25d366;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem; /* mobile */
  min-width: 48px;
  min-height: 48px;
  padding: 0.125rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 0.25rem;
}

.social-icon:focus-visible,
.footer-contact-link:focus-visible {
  outline: 2px solid #fff0a8;
  outline-offset: 4px;
  border-radius: 0.5rem;
}

.social-icon img {
  height: 1em;
  width: auto;
  vertical-align: middle;
}

.social-icon.support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 221, 87, 0.45);
  background: rgba(255, 221, 87, 0.16);
  color: #ffdd57;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
}

.social-icon.support-link i {
  color: currentColor;
  font-size: 1.1em;
}

.social-icon.support-link span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.social-icon.support-link:hover,
.social-icon.support-link:focus-visible {
  background: rgba(255, 221, 87, 0.24);
  color: #fff0a8;
}
@media (min-width: 768px) {
  .social-icon {
    font-size: 3.5rem; /* desktop */
  }
}


/* ---------- RESPONSIVE OVERRIDES ---------- */
@media (max-width: 768px) {
  .hero-header {
    padding: 0.75rem 0.5rem;
  }

  .hero-header a {
    font-size: 0.9rem;
    margin: 0 0.25rem;
    padding: 0.6rem 0.5rem;
    min-height: 44px;
    min-width: 44px;
  }


  /* Override .main-title size within responsive breakpoint */
  .main-title,
  .text-center .main-title {
    font-size: 2.5rem !important;
  }


  .hero-logo {
    width: 100px;
    bottom: 10px;
    right: 10px;
  }
}


/* ---------- BIO PAGE ---------- */
.bio-text-container {
  background-color: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
}
.bio-text-container p {
  margin-bottom: 0.75rem;
}
.bio-quote {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}


/* ---------- LANGUAGE SELECTOR ---------- */
.language-selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}
.language-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #00ff00;
  border: 2px solid #00ff00;
  padding: 12px 18px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.8;
  font-size: 0.9rem;
}
.language-btn:hover,
.language-btn.active {
  background: #00ff00;
  color: #000;
  opacity: 1;
}
.lang-content {
  display: none;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}
.lang-content.active {
  display: block;
}


/* ---------- BIO MESSAGE (language toggler) ---------- */
.bio-message {
  display: none;
  text-align: center;
  line-height: 1.6;
}
.bio-message.active {
  display: block;
  animation: fadeInSlide 0.8s ease-out;
}


/* ---------- ANIMATIONS ---------- */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}


/* ---------- PLAYER (SiriWave) ---------- */
#waveform {
  width: 100%;
  height: 30%;
  position: absolute;
  left: 0;
  top: 50%;
  margin: -15% auto;
  display: none;
  cursor: pointer;
  opacity: 0.8;
  -webkit-user-select: none;
  user-select: none;
}
#waveform:hover {
  opacity: 1;
}
#bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
  opacity: 0.9;
}
#progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: -1;
}


/* ---------- LOADING SPINNER ---------- */
#loading {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -35px;
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
  display: none;
}
@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}
@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}


/* ---------- PLAYLIST ---------- */
#playlist {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}
#list {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.list-song {
  width: 100%;
  height: 120px;
  font-size: 4rem; /* 50px ~ 4rem on root font‑size 10px */
  line-height: 120px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
.list-song:hover {
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}


/* ---------- VOLUME SLIDER ---------- */
#volume {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  touch-action: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  display: none;
}
.bar {
  position: absolute;
  top: 50%;
  left: 5%;
  height: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
#barEmpty {
  width: 90%;
  opacity: 0.5;
  box-shadow: none;
  cursor: pointer;
}
#barFull {
  width: 90%;
}
#sliderBtn {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 93.25%;
  margin: -25px 0 0 0;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.33);
  border-radius: 25px;
  cursor: pointer;
}


/* ---------- FADE IN/OUT ---------- */
.fadeout {
  animation: fadeOut 0.5s;
}
.fadein {
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.text-lg {
  font-size: 1.2rem;
}

/* ---------- CONTACT FORM ---------- */
.contact-form-container {
  max-width: 600px;
  margin: 2rem auto;
}

.contact-form {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #D9D9D9;
  font-family: "Russo One", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(217, 217, 217, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 5px;
  color: white;
  font-family: "Russo One", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

/* ---------- SHOP IMAGES ---------- */
.product-image img,
.lang-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* === YouTube Auto-Section === */
.yt-grid { max-width: 960px; margin: 2rem auto; padding: 0 1rem; text-align: center; }
.yt-channel-link { display: inline-block; margin-bottom: 1.5rem; color: #ff0000; font-weight: bold; font-size: 1.1rem; text-decoration: none; }
.yt-channel-link:hover { opacity: 0.8; }
.yt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.yt-card { display: flex; flex-direction: column; background: rgba(0,0,0,0.45); border-radius: 10px; overflow: hidden; text-decoration: none; color: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.yt-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255,0,0,0.2); }
.yt-thumb { position: relative; }
.yt-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 2.5rem; opacity: 0.85; pointer-events: none; }
.yt-title { padding: 0.6rem 0.8rem 0.2rem; font-size: 0.9rem; font-weight: 600; text-align: left; }
.yt-date { padding: 0 0.8rem 0.8rem; font-size: 0.75rem; color: #aaa; text-align: left; }
