/* ============================================
   style.css — eunuch woman
   Thème : fairycore × soufi persan
   Palette : brun profond, rouge grenade, doré, crème
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=IM+Fell+English:ital@0;1&display=swap');

/* ── RESET & BASE ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1e0e07;
  background-image:
    radial-gradient(ellipse at 20% 50%, #3d1010 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, #2a1a08 0%, transparent 50%),
    url('https://www.transparenttextures.com/patterns/dark-mosaic.png');
  font-family: 'IM Fell English', serif;
  font-size: 16px;
  color: #ddc8a0;
  cursor: url('https://inkcaps.neocities.org/assets/cursors/purplestar.png'), auto;
  image-rendering: pixelated;
}

/* ── POLICES ── */
@font-face {
  font-family: "alice";
  src: url("https://inkcaps.neocities.org/fonts/alice.woff");
}
@font-face {
  font-family: "Magic Land";
  src: url("https://inkcaps.neocities.org/fonts/Magic%20Land-1.otf");
}

/* ── LIENS ── */
a:link, a:visited {
  color: #c0392b;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover, a:active {
  color: #e8c49a;
}

/* ── BORDURES FIXES (haut / bas) ── */
.topborder {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  background-image: url('https://inkcaps.neocities.org/wardrobe/sdmk-ms.gif');
  background-repeat: repeat-x;
  z-index: 20;
  filter: hue-rotate(300deg) saturate(0.5) brightness(0.65);
}

.bottomborder {
  width: 100%;
  height: 30px;
  position: fixed;
  bottom: 0;
  background-image: url('https://inkcaps.neocities.org/wardrobe/sdmk-m2.gif');
  background-repeat: repeat-x;
  z-index: 20;
  filter: hue-rotate(300deg) saturate(0.5) brightness(0.65);
}

/* ── DÉCO LATÉRALE ── */
.deco-side {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
  font-size: 1.8em;
  line-height: 2.8;
  pointer-events: none;
  text-shadow: 0 0 14px #c0392b66;
  z-index: 5;
}
.deco-side.left  { left: 8px; }
.deco-side.right { right: 8px; }

/* ── HEADER / NAVIGATION ── */
header {
  background: linear-gradient(160deg, #1e0f07f0, #2e1408f0);
  border: 1.5px solid #7a3322aa;
  border-radius: 6px;
  box-shadow: 0 0 40px 8px #6b1a1a44, inset 0 0 40px 6px #00000055;
  width: 620px;
  margin: 90px auto 20px;
  padding: 10px 8px;
  text-align: center;
}

.nav-ornament {
  text-align: center;
  color: #7a3322;
  font-size: 0.9em;
  letter-spacing: 0.4em;
  margin: 4px 0;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.78em;
  letter-spacing: 0.08em;
}

nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 90px;
  padding: 8px 4px;
  background: linear-gradient(160deg, #2e1408, #1e0c06);
  border: 1px solid #7a332288;
  border-radius: 4px;
  color: #c9854a;
  font-weight: 600;
  box-shadow: 0 0 10px #6b1a1a33;
  transition: all 0.3s ease;
}
nav a:hover {
  color: #e8c49a;
  border-color: #c0392baa;
  box-shadow: 0 0 18px #c0392b66;
  transform: translateY(-2px);
}
nav a img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  image-rendering: pixelated;
}

/* ── CONTENEUR DE PAGE ── */
.page-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 100px;
}

/* ── BOÎTE PRINCIPALE ── */
.outerbox {
  background: linear-gradient(160deg, #1e0f07f0 0%, #2a1408f0 100%);
  border: 1.5px solid #7a3322aa;
  border-radius: 6px;
  box-shadow: 0 0 50px 8px #6b1a1a44, inset 0 0 50px 8px #00000055;
  width: 660px;
  padding: 30px 36px;
  margin: 10px auto;
  position: relative;
}
.outerbox::before, .outerbox::after {
  content: '❧';
  position: absolute;
  font-size: 1.5em;
  color: #7a332288;
}
.outerbox::before { top: 10px; left: 14px; }
.outerbox::after  { bottom: 10px; right: 14px; transform: rotate(180deg); }

/* ── TITRES ── */
h1 {
  font-family: 'Cinzel', serif;
  font-size: 1.6em;
  color: #c9854a;
  text-shadow: 1px 1px #6b1a1a, 2px 2px #3d0a0a;
  text-align: center;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding: 10px;
  border-bottom: 1px solid #7a332255;
}

h2 {
  font-family: 'Cinzel', serif;
  font-size: 0.78em;
  color: #c9854a;
  letter-spacing: 0.12em;
  border-bottom: 1px solid #7a332244;
  padding-bottom: 5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* ── SÉPARATEUR ── */
.section-divider {
  text-align: center;
  color: #7a3322;
  font-size: 0.85em;
  letter-spacing: 0.5em;
  margin: 12px 0;
}

/* ── TEXTE D'ACCUEIL ── */
.welcome-text {
  font-size: 0.95em;
  line-height: 1.85;
  color: #ddc8a0;
  margin: 10px 0;
}
.welcome-text p + p { margin-top: 10px; }

.float-right {
  float: right;
  margin: 0 0 12px 18px;
  max-width: 120px;
  image-rendering: pixelated;
}

/* ── WIDGETS ── */
.widgets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  justify-content: center;
}

.widget {
  background: linear-gradient(160deg, #2a1208, #1a0b06);
  border: 1px solid #7a332266;
  border-radius: 4px;
  padding: 14px 16px;
  flex: 1 1 160px;
  max-width: 190px;
  min-width: 140px;
  box-shadow: 0 0 14px #6b1a1a33;
}

#list-widget {
  flex: 2 1 300px;
  max-width: 380px;
}

.update-list {
  list-style: none;
  font-size: 0.78em;
  line-height: 1.7;
  overflow-y: auto;
  max-height: 200px;
  padding-right: 4px;
  color: #c4a882;
}
.update-list li {
  padding: 2px 0;
  border-bottom: 1px solid #3d1a0822;
}
.update-list li b { color: #e8c49a; }

.todo-text {
  font-size: 0.78em;
  color: #c4a882;
  line-height: 1.8;
  overflow-y: auto;
  max-height: 200px;
}

.guild-content {
  font-size: 0.75em;
  color: #c4a882;
  line-height: 1.9;
  text-align: center;
  overflow-y: auto;
  max-height: 200px;
}

.rss-badge {
  display: inline-block;
  background: #3d1a08;
  border: 1px solid #7a332255;
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 0.78em;
  color: #c9854a;
  margin-bottom: 8px;
}

/* ── SPLASH PAGE ── */
body.splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

#wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 20px 60px;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.site-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1em;
  letter-spacing: 0.45em;
  color: #c9a96e;
  text-shadow: 0 0 20px #8b1a1a88;
  text-transform: uppercase;
  margin-bottom: 4px;
}

#main-box {
  background: linear-gradient(160deg, #1e0f07ee 0%, #2e1408ee 60%, #1a0c06ee 100%);
  border: 2px solid #8b3a2a66;
  border-radius: 4px;
  box-shadow: 0 0 40px 6px #8b1a1a44, inset 0 0 60px 10px #00000066;
  padding: 40px 50px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
}
#main-box::before, #main-box::after {
  content: '❧';
  position: absolute;
  font-size: 1.8em;
  color: #8b3a2a99;
}
#main-box::before { top: 10px; left: 14px; }
#main-box::after  { bottom: 10px; right: 14px; transform: rotate(180deg); }

.ornament {
  font-size: 1.4em;
  color: #c0392b;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
  text-shadow: 0 0 10px #c0392b66;
}

#poem {
  font-style: italic;
  font-size: 1.05em;
  line-height: 2;
  color: #ddc8a0;
  margin: 16px 0 22px;
  border-left: 2px solid #8b3a2a88;
  padding-left: 16px;
  text-align: left;
}
#poem .arabic {
  font-style: normal;
  font-size: 1.3em;
  direction: rtl;
  text-align: right;
  color: #e8c49a;
  letter-spacing: 0.05em;
  border-left: none;
  border-right: 2px solid #8b3a2a88;
  padding-right: 16px;
  padding-left: 0;
  margin-bottom: 8px;
}

.divider {
  color: #8b3a2a;
  font-size: 1.1em;
  letter-spacing: 0.5em;
  margin: 10px 0;
}

#dance {
  display: block;
  margin: 10px auto;
  transition: filter 0.4s ease, transform 0.4s ease;
  animation: float 4s ease-in-out infinite;
}
#dance:hover {
  filter: drop-shadow(0 0 18px #c0392b) brightness(1.15);
  transform: scale(1.04);
}
#dance img {
  max-width: 180px;
  image-rendering: pixelated;
}

.notices {
  font-size: 0.82em;
  color: #c4a882;
  line-height: 2;
  margin-top: 14px;
}
.notices span { display: block; }
.notices b { color: #e8c49a; }

.pomegranate {
  font-size: 1.6em;
  margin: 0 6px;
  filter: drop-shadow(0 0 6px #c0392b88);
}

/* ── PARTICULES ── */
.particle {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  font-size: 1em;
  animation: rise linear infinite;
  z-index: 1;
}

/* ── ANIMATIONS ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

@keyframes rise {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  15%  { opacity: 0.6; }
  85%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-80vh) rotate(360deg); }
}

/* ── LECTEUR AUDIO ── */
.mAdjust {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 50;
}
.controls {
  border: none;
  background: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.bhover img:hover {
  transform: translateY(-1px);
}
.p1 {
  font-family: 'IM Fell English', serif;
  font-size: 0.75em;
  color: #e8d5b0;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1a0c06; }
::-webkit-scrollbar-thumb { background: #7a3322; border-radius: 3px; }


