/* =========================================
   COMPONENTS: Bloques Específicos de Contenido
   ========================================= */

/* --- HERO SECTION --- */
.hero-section {
  align-items: flex-start;
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-section .window-frame {
  flex-grow: 1;
  min-width: 300px;
}

@media (min-width: 1100px) {
  .hero-section {
    margin-bottom: 0;
  }
}

/* --- RETRO TV AVATAR --- */
.avatar-base {
  filter: contrast(120%) saturate(110%) sepia(10%);
  height: 80%;
  object-fit: cover;
  position: absolute;
  width: 80%;
  z-index: 1;
}

.custom-tv-container {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  margin: 0;
  max-width: 320px;
  position: relative;
  width: 100%;
}

.tv-frame-overlay {
  height: auto;
  pointer-events: none;
  position: relative;
  width: 100%;
  z-index: 2;
}

/* --- TERMINAL --- */
@keyframes blink {
  50% { opacity: 0; }
}

.cursor-blink {
  animation: blink 1s step-end infinite;
}

.term-list {
  border-left: 2px solid var(--color-term-dark-green);
  list-style: none;
  padding-left: 15px;
}

.term-list li {
  margin-bottom: 8px;
}

.term-path {
  color: var(--hardware-light);
  word-break: break-all;
}

.term-title {
  color: var(--color-cyber-yellow);
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
}

.terminal-container {
  color: var(--color-term-green);
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  line-height: 1;
}

/* --- ART GALLERY & MODELS --- */
@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.gallery-grid-3x3 {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.md-artwork {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.md-badge {
  background-color: var(--color-neon-pink);
  color: var(--bg-main);
  font-family: var(--font-tech);
  font-weight: bold;
  padding: 2px 8px;
}

.md-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 15px;
}

.md-details {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-align: right;
}

.md-footer {
  align-items: flex-end;
  border-top: 1px dashed var(--color-neon-cyan);
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}

.md-header {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.md-image-box {
  align-items: center;
  background: repeating-linear-gradient(45deg, var(--bg-md-scanline), var(--bg-md-scanline) 10px, transparent 10px, transparent 20px);
  border: 1px solid var(--color-term-green);
  display: flex;
  height: 200px;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}

.md-label {
  color: var(--hardware-light);
}

.md-name {
  color: var(--text-light);
  font-family: var(--font-tech);
  font-size: 1.1rem;
}

.md-placeholder-art {
  animation: pulse 2s infinite;
  color: var(--color-term-green);
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  opacity: 0.5;
}

.md-sidebar {
  align-items: center;
  background-color: var(--color-neon-cyan);
  border-right: 2px solid var(--color-neon-cyan);
  color: var(--bg-main);
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  width: 40px;
}

.md-title {
  color: var(--color-term-green);
  font-family: var(--font-tech);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.md-value {
  color: var(--color-neon-pink);
}

.md-vertical-text {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-orientation: mixed;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.md-vertical-text.secondary {
  font-size: 0.6rem;
  opacity: 0.7;
}

.model-display-wrapper {
  backdrop-filter: blur(5px);
  background-color: var(--bg-hardware-dark);
  border: 2px solid var(--color-neon-cyan);
  display: flex;
  margin-bottom: 1rem;
}

/* --- WIKI & CHAT --- */
.chat-btn {
  background-color: var(--color-neon-cyan);
  border: none;
  color: var(--bg-main);
  cursor: pointer;
  font-family: var(--font-tech);
  font-weight: bold;
  padding: 0 15px;
  transition: background-color 0.2s;
}

.chat-btn:hover {
  background-color: var(--color-neon-pink);
  color: var(--text-pure-white);
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: 500px;
}

.chat-history {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  gap: 12px;
  margin-bottom: 15px;
  overflow-y: auto;
  padding-right: 5px;
}

.chat-history::-webkit-scrollbar {
  width: 6px;
}

.chat-history::-webkit-scrollbar-thumb {
  background: var(--color-neon-cyan);
}

.chat-history::-webkit-scrollbar-track {
  background: var(--hardware-dark);
}

.chat-input {
  background-color: var(--hardware-dark);
  border: 1px solid var(--color-neon-cyan);
  color: var(--color-term-green);
  flex-grow: 1;
  font-family: var(--font-body);
  outline: none;
  padding: 8px;
}

.chat-input:focus {
  border-color: var(--color-neon-pink);
  box-shadow: var(--shadow-neon-pink-small);
}

.chat-input-area {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.chat-msg {
  background-color: var(--bg-chat-msg);
  border-left: 2px solid var(--color-neon-cyan);
  color: var(--text-light);
  padding: 8px;
}

.chat-msg.guest {
  border-left-color: var(--color-neon-pink);
}

.chat-user {
  color: var(--color-cyber-yellow);
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 5px;
}

.wiki-icon {
  color: var(--color-neon-cyan);
  margin-right: 8px;
}

.wiki-list {
  font-family: var(--font-pixel);
  font-size: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wiki-list li {
  border-bottom: 1px dashed var(--color-neon-cyan-rgba);
  color: var(--text-light);
  cursor: pointer;
  padding: 10px 5px;
  transition: all 0.2s ease;
}

.wiki-list li:hover {
  background-color: var(--bg-wiki-hover);
  color: var(--color-neon-pink);
  padding-left: 10px;
}

/* --- BIO & CONTACT TEXT --- */
.bio-text p {
  font-family: var(--font-pixel);
  font-size: 1.3rem;
  margin: 5px 0;
}

/* --- BLOG FLOPPY DISKS --- */
.floppy-card {
  background-color: var(--color-neon-pink);
  border: 2px solid var(--hardware-dark);
  box-shadow: 4px 4px 0 var(--hardware-dark);
  cursor: pointer;
  height: 110px;
  position: relative;
  transition: transform 0.2s;
  width: 110px;
}

.floppy-card:nth-child(even) {
  background-color: var(--color-neon-cyan);
}

.floppy-card:hover {
  transform: translateY(-5px);
}

.floppy-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.floppy-label {
  align-items: center;
  background-color: var(--text-light);
  border: 1px solid var(--hardware-dark);
  color: var(--text-dark);
  display: flex;
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  height: 50px;
  justify-content: center;
  margin: 25px 8px 8px 8px;
  padding: 5px;
  text-align: center;
}

.floppy-metal {
  background-color: var(--text-light);
  border: 1px solid var(--hardware-dark);
  border-top: none;
  height: 20px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 50px;
}

/* --- EMBED ME --- */
.embed-textarea {
  background-color: var(--hardware-dark);
  border: 1px solid var(--color-neon-cyan);
  box-sizing: border-box;
  color: var(--color-term-green);
  font-family: var(--font-body);
  font-size: 0.8rem;
  height: 60px;
  padding: 5px;
  resize: none;
  width: 100%;
  word-break: break-all;
}


/* --- MUSIC PLAYER --- */
.custom-audio {
  border-radius: 0;
  height: 35px;
  outline: none;
  width: 100%;
}

.custom-audio::-webkit-media-controls-panel {
  background-color: var(--hardware-dark);
  border-radius: 0;
}

.music-artist {
  color: var(--text-light);
  font-size: 0.9rem;
}

.music-cover {
  align-items: center;
  border: 1px solid var(--color-neon-pink);
  color: var(--color-neon-pink);
  display: flex;
  font-family: var(--font-body);
  font-size: 1.5rem;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.music-info {
  display: flex;
  flex-direction: column;
  font-family: var(--font-pixel);
}

.music-player-ui {
  align-items: center;
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.music-title {
  color: var(--color-neon-cyan);
  font-size: 1.2rem;
  font-weight: bold;
}

/* --- NEWS & UPDATES --- */
.news-banner {
  background-color: var(--hardware-dark);
  border: 1px solid var(--color-neon-cyan);
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  padding: 10px;
}

.news-banner span {
  color: var(--color-cyber-yellow);
  font-weight: bold;
}

.update-date {
  color: var(--color-neon-pink);
  font-weight: bold;
  margin-right: 5px;
}

.update-list {
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.update-list li {
  border-bottom: 1px dashed var(--color-neon-cyan-rgba);
  padding: 8px 0;
}

/* --- WARNING TEXT --- */
.warning-text {
  animation: pulse 1.5s infinite;
  color: var(--color-cyber-yellow);
  font-family: var(--font-pixel);
  font-size: 1.3rem;
  text-align: center;
}

/* --- WEBRING BANNERS --- */
.banner-placeholder {
  align-items: center;
  background-color: var(--hardware-dark);
  border: 1px solid var(--color-neon-cyan);
  color: var(--text-light);
  display: flex;
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  height: 31px;
  justify-content: center;
  width: 88px;
}

.webring-banners {
  border-top: 2px dashed var(--color-neon-pink);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
}