/* ==========================================================================
   GRIFINÓRIA // COLEÇÃO ESCARLATE & OURO - MOBILE-FIRST DESIGN SYSTEM
   Cores: Vermelho Escarlate (#740001, #9B111E), Ouro (#EEBA30, #D3A625), Preto (#09070A)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Italiana&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Hogwarts Luxury & Grifinória Palette */
  --bg-dark: #0f0a0a;
  --gold: #d4af37;
  --burgundy: #58181f;
  --pergaminho: #f4ebd9;
  --font-serif: 'Cinzel', serif;
  --font-hand: 'Italiana', serif;

  --scarlet-deep: #4c0005;
  --scarlet-main: #740001;
  --scarlet-vibrant: #9b111e;
  --scarlet-glow: rgba(155, 17, 30, 0.4);
  
  --gold-metallic: #d3a625;
  --gold-main: #eeba30;
  --gold-light: #f5c542;
  --gold-glow: rgba(238, 186, 48, 0.35);
  
  --black-obsidian: #080608;
  --black-velvet: #120c10;
  --black-surface: #1a1218;
  --black-elevated: #241820;

  --border-gold: rgba(238, 186, 48, 0.28);
  --border-gold-hover: rgba(245, 197, 66, 0.7);
  --border-scarlet: rgba(155, 17, 30, 0.3);

  --text-main: #fffdfa;
  --text-muted: #e2d9d2;
  --text-dim: #a69892;

  --font-regal: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--black-obsidian);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(116, 0, 1, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(211, 166, 37, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(155, 17, 30, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(116, 0, 1, 0.2) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Custom Scroll Progress Bar at the top */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--scarlet-vibrant), var(--gold-main), var(--gold-light));
  z-index: 1001;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   MOBILE-FIRST HEADER / NAVBAR
   ========================================================================== */

.mobile-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(14, 9, 13, 0.88);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
}

.brand-crest {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.crest-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--scarlet-main), #2d0003);
  border: 1px solid var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-main);
  font-size: 1.15rem;
  box-shadow: 0 0 14px var(--gold-glow);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-regal);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 10%, var(--gold-main) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-main);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-gold-sm {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-metallic));
  color: #120907;
  font-family: var(--font-regal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 10px var(--gold-glow);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-gold-sm:active {
  transform: scale(0.96);
}

.btn-crest-outline {
  background: rgba(116, 0, 1, 0.25);
  border: 1px solid var(--border-gold);
  color: var(--gold-main);
  font-size: 0.75rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   MOBILE HERO / BANNER
   ========================================================================== */

.mobile-hero {
  padding: 2.2rem 1.25rem 1.25rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero-house-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(116, 0, 1, 0.35);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-regal);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(238, 186, 48, 0.2);
}

.hero-house-badge .flame-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-light);
  animation: flamePulse 1.6s infinite ease-in-out;
}

@keyframes flamePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-headline {
  font-family: var(--font-regal);
  font-size: clamp(1.8rem, 7vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.hero-headline .gold-text {
  background: linear-gradient(135deg, #fff7db 0%, var(--gold-main) 60%, var(--gold-metallic) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

/* Floating Count Pill */
.indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 18, 24, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   FEED DE 14 FOTOS COM EFEITOS DE ROLAGEM (SCROLL REVEAL)
   ========================================================================== */

.photo-feed-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.25rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* Card base */
.feed-card {
  position: relative;
  background: var(--black-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(116, 0, 1, 0.15);
  display: flex;
  flex-direction: column;
  
  /* Scroll reveal initial state */
  opacity: 0;
  transform: translateY(35px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  will-change: transform, opacity;
}

/* Scroll reveal active state */
.feed-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feed-card:hover, .feed-card.in-focus {
  border-color: var(--border-gold-hover);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(238, 186, 48, 0.25);
}

/* Card Top Bar (Slot Number & Category) */
.card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.15rem;
  background: rgba(18, 12, 16, 0.95);
  border-bottom: 1px solid rgba(238, 186, 48, 0.15);
}

.slot-index {
  font-family: var(--font-regal);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-main);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(116, 0, 1, 0.6);
  border: 1px solid rgba(238, 186, 48, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* Image container optimized for mobile ratio (4:5 / portrait) */
.card-image-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  background: #0d080c;
  overflow: hidden;
  cursor: pointer;
}

@media (max-width: 440px) {
  .card-image-wrap {
    height: 380px;
  }
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.feed-card:hover .card-image-wrap img {
  transform: scale(1.04);
}

/* Floating Like Button */
.card-like-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 12, 16, 0.8);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.card-like-btn:active {
  transform: scale(0.9);
}

.card-like-btn.liked {
  background: rgba(155, 17, 30, 0.85);
  border-color: var(--gold-main);
  color: var(--gold-light);
  box-shadow: 0 0 15px var(--scarlet-glow);
}

/* Card Content / Título e Legenda */
.card-content {
  padding: 1.35rem 1.25rem 1.5rem;
  background: linear-gradient(180deg, var(--black-surface) 0%, #150e13 100%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-title {
  font-family: var(--font-regal);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.card-title .title-accent {
  color: var(--gold-main);
}

.card-caption {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 400;
}

/* Card Bottom Metadata */
.card-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(238, 186, 48, 0.12);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-metallic);
  font-weight: 500;
}

.card-likes-count {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold-light);
  font-weight: 700;
}

.card-expand-btn {
  background: transparent;
  border: none;
  color: var(--gold-main);
  font-family: var(--font-regal);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0;
}

/* ==========================================================================
   FULLSCREEN LIGHTBOX MODAL (MOBILE ADAPTED)
   ========================================================================== */

.mobile-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background: rgba(6, 4, 6, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.5rem;
}

.lb-index-tag {
  font-family: var(--font-regal);
  color: var(--gold-main);
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-close-lb {
  background: rgba(238, 186, 48, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox-middle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.5rem 0;
}

.lightbox-middle img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.lightbox-info {
  background: rgba(22, 14, 20, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lb-title-full {
  font-family: var(--font-regal);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
}

.lb-caption-full {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
/* ==========================================================================
   AUTHENTICATION VIEW & LOGIN PREVIO (ALOHOMORA / GRIFINÓRIA)
   ========================================================================== */

.body-login {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--black-obsidian);
  background-image: 
    radial-gradient(circle at center, rgba(15, 10, 10, 0.45) 0%, rgba(8, 6, 8, 0.88) 100%),
    url('/static/uploads/gryffindor_lion.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

.body-login::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.login-container {
  position: relative;
  z-index: 2;
  background-color: rgba(26, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold);
  padding: 40px 26px;
  border-radius: 14px;
  text-align: center;
  max-width: 370px;
  width: 100%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.25);
  animation: fadeIn 0.8s ease-out;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.brasao {
  font-size: 2.6rem;
  margin-bottom: 14px;
  color: var(--gold);
  display: inline-block;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.65));
  animation: crestPulse 3.5s ease-in-out infinite alternate;
}

.login-container h2 {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.p-dica {
  font-size: 0.86rem;
  color: #b3a28f;
  margin-bottom: 24px;
}

.login-container input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(37, 26, 26, 0.9);
  border: 1px solid #4a3535;
  color: var(--pergaminho);
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1rem;
  text-align: center;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.login-container input:focus {
  border-color: var(--gold);
  background: rgba(48, 32, 32, 0.95);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.4);
}

.login-container input::placeholder {
  color: #8c7a6b;
}

.login-container button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--burgundy), #3c1015);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(88, 24, 31, 0.5);
  position: relative;
  overflow: hidden;
}

.login-container button:hover {
  background: linear-gradient(135deg, #741722, var(--burgundy));
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.login-container button:active {
  transform: scale(0.98);
  background: #401015;
}

.login-container button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.erro-msg {
  color: #ff5252;
  font-size: 0.88rem;
  margin-top: 15px;
  min-height: 22px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.admin-toggle-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--gold-metallic);
  text-decoration: none;
  letter-spacing: 0.05em;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.admin-toggle-link:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--gold);
}

.admin-login-fields {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  animation: fadeIn 0.3s ease;
}

.admin-login-fields.active {
  display: block;
}

@keyframes crestPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.85)); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

/* Fallback & Legacy Auth Wrapper */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: var(--black-obsidian);
  background-image: 
    radial-gradient(circle at center, rgba(15, 10, 10, 0.45) 0%, rgba(8, 6, 8, 0.88) 100%),
    url('/static/uploads/gryffindor_lion.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(26, 18, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.85rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.25);
  position: relative;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-crest-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--scarlet-main), #2e0003);
  border: 2px solid var(--gold-main);
  color: var(--gold-main);
  font-size: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 20px var(--gold-glow);
}

.auth-title {
  font-family: var(--font-regal);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.auth-sub {
  font-size: 0.85rem;
  color: var(--gold-metallic);
  margin-top: 0.35rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-label {
  display: block;
  font-family: var(--font-regal);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  background: #0d080c;
  border: 1px solid var(--border-gold);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--gold-main);
  box-shadow: 0 0 16px var(--gold-glow);
}

.btn-scarlet-full {
  width: 100%;
  background: linear-gradient(135deg, var(--scarlet-vibrant), var(--scarlet-main));
  border: 1px solid var(--gold-main);
  color: var(--gold-light);
  font-family: var(--font-regal);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 18px var(--scarlet-glow);
  margin-top: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-scarlet-full:active {
  transform: scale(0.98);
}

.alert-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-error {
  background: rgba(116, 0, 1, 0.4);
  border: 1px solid var(--scarlet-vibrant);
  color: #fecdd3;
}

.alert-success {
  background: rgba(211, 166, 37, 0.2);
  border: 1px solid var(--gold-main);
  color: var(--gold-light);
}

/* ==========================================================================
   ADMIN / CURATOR PANEL (SLOTS 01 TO 14)
   ========================================================================== */

.admin-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

.admin-header-box {
  background: var(--black-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.slot-editor-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.slot-card {
  background: var(--black-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 600px) {
  .slot-card {
    grid-template-columns: 1fr;
  }
}

.slot-thumb-wrap {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(238, 186, 48, 0.25);
  background: #000;
}

.slot-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Footer */
.mobile-footer {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  border-top: 1px solid rgba(238, 186, 48, 0.15);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-crest {
  font-family: var(--font-regal);
  color: var(--gold-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
