/* ==========================================================================
   HELLO KITTY - KAWAII SAKURA & ROSE VELVET RETRO MODEL DIRECTORY
   Folder 25 - Authentic 2002-2006 Kawaii Pink & Japanese Glamour Aesthetic
   100% Pure Native Vanilla CSS | ZERO Bootstrap | Ultra Fast (<2ms TTFB)
   Sakura Pink (#ffa5a8, #fb7185), Rose Velvet (#be123c), Burgundy (#881337)
   ========================================================================== */

:root {
  --sakura-light: #fff5f7;
  --sakura-subtle: #ffe4e8;
  --sakura-pink: #ffa5a8;
  --sakura-bright: #fb7185;
  --rose-primary: #f43f5e;
  --rose-deep: #be123c;
  --rose-velvet: #881337;
  --rose-noir: #4c0519;
  --gold-star: #f59e0b;
  --gold-light: #fef3c7;
  --card-bg: #ffffff;
  --text-main: #1f2937;
  --text-slate: #334155;
  --text-muted: #64748b;
  --border-pink: #fecdd3;
  --shadow-sakura: 0 12px 35px rgba(225, 29, 72, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #fff0f3;
  background-image: 
    radial-gradient(#fecdd3 1px, transparent 1px),
    linear-gradient(180deg, #fff5f7 0%, #ffe4e8 40%, #fed7e2 100%);
  background-size: 22px 22px, 100% 100%;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 13.5px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rose-deep);
  text-decoration: none;
  transition: all 0.15s ease;
}

a:hover {
  color: var(--rose-velvet);
  text-decoration: underline;
}

/* Master Kawaii Sakura Container */
.kawaii-container {
  max-width: 1140px;
  width: 95%;
  margin: 22px auto 44px;
  background: var(--card-bg);
  border: 3px solid var(--border-pink);
  border-radius: 16px;
  box-shadow: var(--shadow-sakura);
  overflow: hidden;
  position: relative;
}

/* Top Kawaii Ticker Bar */
.kawaii-ticker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #be123c 0%, #e11d48 50%, #f43f5e 100%);
  color: #ffffff;
  padding: 8px 18px;
  font-size: 11.5px;
  font-weight: 700;
  flex-wrap: wrap;
  gap: 10px;
  letter-spacing: 0.5px;
}

.kawaii-ticker-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sakura-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: bold;
}

/* Header Section with Sakura Pink Banner */
.kawaii-header {
  background: linear-gradient(180deg, #ffa5a8 0%, #fb7185 100%);
  border-bottom: 3px solid var(--rose-deep);
  padding: 22px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  text-shadow: 0 1px 3px rgba(136, 19, 55, 0.35);
}

.kawaii-title {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.kawaii-subtitle {
  margin: 6px 0 0 0;
  font-size: 13.5px;
  color: #fff0f3;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Master VIP Cinema & Download Callout Bar */
.kawaii-cta-bar {
  background: #fff1f2;
  border-bottom: 1px solid var(--border-pink);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.kawaii-btn-vip {
  background: linear-gradient(180deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.kawaii-btn-vip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.4);
  color: #ffffff !important;
}

/* Search Bar Area */
.search-filter-wrapper {
  background: #fff8f9;
  border-bottom: 1px solid var(--border-pink);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.search-input-kawaii {
  max-width: 420px;
  width: 100%;
  padding: 8px 14px;
  border: 1px solid #fda4af;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  background: #ffffff;
  color: var(--text-main);
  font-family: inherit;
  transition: all 0.2s ease;
}

.search-input-kawaii:focus {
  border-color: var(--rose-primary);
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.35);
}

.model-stats-pill {
  background: #ffffff;
  border: 1px solid var(--border-pink);
  color: var(--rose-velvet);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* A–Z Model Alphabet Filter Bar */
.alphabet-filter-bar {
  background: #ffffff;
  border-bottom: 2px solid #fed7e2;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.letter-btn {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: var(--rose-deep);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 28px;
  text-align: center;
}

.letter-btn:hover,
.letter-btn.active {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
  transform: translateY(-1px);
}

/* Section Header Bar */
.kawaii-section-header {
  background: #fff1f2;
  border-bottom: 1px solid var(--border-pink);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.kawaii-section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: var(--rose-velvet);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.section-tag-badge {
  background: var(--rose-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

/* 440+ A-Z Model Directory Grid */
.models-grid-section {
  padding: 16px 18px;
  background: #ffffff;
  border-bottom: 2px solid #fed7e2;
  width: 100%;
  box-sizing: border-box;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  max-height: 440px;
  overflow-y: auto;
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
}

/* Custom Scrollbar for Models Grid */
.models-grid::-webkit-scrollbar {
  width: 8px;
}
.models-grid::-webkit-scrollbar-track {
  background: #fff1f2;
  border-radius: 4px;
}
.models-grid::-webkit-scrollbar-thumb {
  background: #fda4af;
  border-radius: 4px;
}
.models-grid::-webkit-scrollbar-thumb:hover {
  background: var(--rose-primary);
}

.model-card-item {
  background: #fffdfd;
  border: 1px solid #ffe4e6;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.model-card-item:hover {
  background: #fff1f2;
  border-color: #fda4af;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(244, 63, 94, 0.12);
  text-decoration: none;
}

.model-monogram {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(225, 29, 72, 0.2);
}

.model-info-wrap {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.model-name-text {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--rose-velvet);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-sub-badge {
  font-size: 10px;
  color: #059669;
  font-weight: 700;
}

/* Retro Flash Cinema Player Showcase (Using XgxuOOq.png) */
.cinema-showcase-section {
  padding: 22px 18px;
  background: #fff5f7;
  border-bottom: 2px solid #fed7e2;
  text-align: center;
}

.flash-player-box {
  max-width: 680px;
  margin: 0 auto 20px;
  background: #000000;
  border: 2px solid #fda4af;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.flash-screen-link {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111827;
  overflow: hidden;
  text-decoration: none;
}

.flash-overlay-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.flash-screen-link:hover .flash-overlay-img {
  opacity: 1;
  transform: scale(1.02);
}

.flash-play-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(225, 29, 72, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 0 24px rgba(225, 29, 72, 0.8);
  transition: transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.flash-screen-link:hover .flash-play-glow {
  transform: translate(-50%, -50%) scale(1.18);
  background: #f43f5e;
  box-shadow: 0 0 32px rgba(244, 63, 94, 1);
}

.flash-bezel-bottom {
  background: #000000;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px solid #1f2937;
}

.cinema-streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cinema-card-mini {
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cinema-card-mini:hover {
  transform: translateY(-2px);
  border-color: var(--rose-primary);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.15);
}

.mini-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff1f2;
  color: var(--rose-deep);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #fecdd3;
}

.mini-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--rose-velvet);
  padding-right: 50px;
  line-height: 1.35;
}

.mini-card-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-stream-btn {
  background: linear-gradient(180deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 4px;
  text-align: center;
  margin-top: 4px;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.mini-stream-btn:hover {
  background: linear-gradient(180deg, #fb7185 0%, #be123c 100%);
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.35);
  transform: translateY(-1px);
}

/* Trending Search Keywords Cloud */
.keywords-cloud-section {
  padding: 18px 20px;
  background: #ffffff;
  border-bottom: 2px solid #fed7e2;
}

.keyword-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 0;
}

.kawaii-search-pill {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: var(--rose-deep);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.kawaii-search-pill:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ==========================================================================
   UNIQUE LOWER SECTIONS:
   1. Top 10 Sakura Model Leaderboard
   2. Vintage Shoutbox & Fan Guestbook
   3. Tape Preservation Specs
   4. Authentic Retro 88x31 Webring Ribbon
   ========================================================================== */

/* 1. Top 10 Sakura Model Leaderboard */
.kawaii-leaderboard-section {
  padding: 20px 22px;
  background: #ffffff;
  border-bottom: 2px solid #fed7e2;
}

.leaderboard-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.leaderboard-table th {
  background: #fff1f2;
  color: var(--rose-velvet);
  font-weight: 800;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid #fda4af;
  font-size: 11.5px;
  text-transform: uppercase;
}

.leaderboard-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ffe4e6;
  vertical-align: middle;
}

.leaderboard-table tr:hover {
  background: #fff8f9;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 11px;
  color: #ffffff;
}

.rank-1 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.rank-3 { background: linear-gradient(135deg, #d97706, #92400e); }
.rank-other { background: #fda4af; color: #881337; }

.lead-name-link {
  font-weight: 800;
  color: var(--rose-velvet);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-name-link:hover {
  color: var(--rose-primary);
  text-decoration: underline;
}

.lead-vote-btn {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lead-vote-btn:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
}

/* 2. Vintage Shoutbox & Fan Guestbook */
.kawaii-shoutbox-section {
  padding: 20px 22px;
  background: #fff8f9;
  border-bottom: 2px solid #fed7e2;
}

.shoutbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.shout-card {
  background: #ffffff;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  border-bottom: 1px dashed #fecdd3;
  padding-bottom: 6px;
}

.shout-user {
  font-weight: 800;
  color: var(--rose-velvet);
  display: flex;
  align-items: center;
  gap: 6px;
}

.shout-date {
  font-size: 10px;
  color: var(--text-muted);
}

.shout-body {
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
}

.shoutbox-input-bar {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shout-input-field {
  flex: 1;
  min-width: 200px;
  padding: 8px 12px;
  border: 1px solid #fda4af;
  border-radius: 6px;
  font-size: 12.5px;
  outline: none;
  font-family: inherit;
}

.shout-input-field:focus {
  border-color: var(--rose-primary);
}

.shout-post-btn {
  background: linear-gradient(180deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.shout-post-btn:hover {
  background: #be123c;
  transform: translateY(-1px);
}

/* 3. Tape Preservation & Tech Specs */
.kawaii-specs-section {
  padding: 18px 22px;
  background: #ffffff;
  border-bottom: 2px solid #fed7e2;
}

.specs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.specs-item-card {
  background: #fff8f9;
  border: 1px solid #ffe4e6;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-icon {
  font-size: 20px;
}

.specs-detail-wrap {
  display: flex;
  flex-direction: column;
}

.specs-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.specs-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--rose-velvet);
}

/* 4. Authentic Retro Ribbon Webring (1999-2005 Vintage Webring Control Bar) */
.kawaii-webring-bar {
  padding: 16px 20px;
  background: linear-gradient(180deg, #fff1f2 0%, #ffe4e8 100%);
  border-bottom: 2px solid var(--border-pink);
  text-align: center;
}

.webring-title-badge {
  font-size: 12px;
  font-weight: 900;
  color: var(--rose-velvet);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.webring-buttons-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.webring-btn {
  background: #ffffff;
  border: 1px solid #fda4af;
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.webring-btn:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Footer & Compliance */
.kawaii-footer {
  background: #fff1f2;
  border-top: 2px solid var(--border-pink);
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--rose-velvet);
}

.footer-compliance-text {
  max-width: 860px;
  margin: 10px auto 0;
  font-size: 11px;
  color: #881337;
  line-height: 1.5;
  opacity: 0.85;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .kawaii-title {
    font-size: 24px;
  }
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .alphabet-filter-bar {
    gap: 3px;
  }
  .letter-btn {
    padding: 3px 6px;
    font-size: 10.5px;
  }
  .editorial-header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}
