/* Loader Styles - Retro Aesthetic */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2d5a2d;
  background-image: 
    radial-gradient(circle at 25% 25%, #4a7c59 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, #4a7c59 2px, transparent 2px);
  background-size: 50px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
  font-family: 'Press Start 2P', monospace;
}

.loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background: #f0f8f0;
  border: 4px outset #4a7c59;
  padding: 40px;
  box-shadow: 8px 8px 0px #2d5a2d;
  position: relative;
}

.loader-content::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: #1a3d1a;
  z-index: -1;
}

/* Retro Penguin Loader */
.penguin-loader {
  position: relative;
  width: 120px;
  height: 120px;
  image-rendering: pixelated;
}

.penguin-body {
  position: relative;
  width: 80px;
  height: 80px;
  background: #2d5a2d;
  border: 4px solid #ffffff;
  margin: 0 auto;
  animation: retroBounce 1.5s steps(4) infinite;
  box-shadow: 4px 4px 0px #1a3d1a;
}

@keyframes retroBounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-8px); }
  50% { transform: translateY(-16px); }
  75% { transform: translateY(-8px); }
}

.penguin-head {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: #2d5a2d;
  border: 4px solid #ffffff;
}

.penguin-eye {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffffff;
  top: 12px;
  border: 2px solid #000000;
}

.penguin-eye.left {
  left: 8px;
}

.penguin-eye.right {
  right: 8px;
}

.penguin-eye::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #1a3d1a;
  top: 1px;
  left: 1px;
  animation: retroBlink 2s steps(2) infinite;
}

@keyframes retroBlink {
  0%, 90%, 100% { opacity: 1; }
  95% { opacity: 0; }
}

.penguin-beak {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #ffa500;
}

.penguin-wings {
  position: absolute;
  top: 15px;
  width: 100%;
  height: 30px;
}

.wing {
  position: absolute;
  width: 20px;
  height: 25px;
  background: #1a3d1a;
  border: 2px solid #ffffff;
  animation: retroWingFlap 1s steps(2) infinite;
}

.wing.left-wing {
  left: -12px;
  transform-origin: right center;
}

.wing.right-wing {
  right: -12px;
  transform-origin: left center;
}

@keyframes retroWingFlap {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(45deg); }
}

.penguin-feet {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.foot {
  width: 12px;
  height: 15px;
  background: #ffa500;
  border: 2px solid #e69500;
}

/* Retro Text Animation */
.loader-text {
  display: flex;
  gap: 3px;
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: #2d5a2d;
  font-weight: bold;
  text-shadow: 2px 2px 0px #ffffff;
  background: #f0f8f0;
  padding: 8px 16px;
  border: 3px outset #4a7c59;
}

.loader-text span {
  animation: retroTextGlow 1.5s steps(2) infinite;
  animation-delay: calc(var(--i) * 0.1s);
}

@keyframes retroTextGlow {
  0%, 100% { 
    color: #2d5a2d;
    text-shadow: 2px 2px 0px #ffffff;
  }
  50% { 
    color: #4a7c59;
    text-shadow: 2px 2px 0px #ffffff, 0 0 8px #5a8c69;
  }
}

/* Loader Subtitle */
.loader-subtitle {
  display: flex;
  gap: 2px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #4a7c59;
  font-weight: bold;
  text-shadow: 1px 1px 0px #ffffff;
  background: #e8f5e8;
  padding: 6px 12px;
  border: 2px outset #4a7c59;
  margin-top: -20px;
}

.loader-subtitle span {
  animation: retroSubtitleGlow 2s steps(2) infinite;
  animation-delay: calc(var(--i) * 0.05s);
}

@keyframes retroSubtitleGlow {
  0%, 100% { 
    color: #4a7c59;
    text-shadow: 1px 1px 0px #ffffff;
  }
  50% { 
    color: #5a8c69;
    text-shadow: 1px 1px 0px #ffffff, 0 0 6px #6a9c79;
  }
}

/* Retro Loading Dots */
.loading-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  background: #f0f8f0;
  padding: 8px 16px;
  border: 3px outset #4a7c59;
}

.dot {
  width: 10px;
  height: 10px;
  background: #2d5a2d;
  border: 2px solid #ffffff;
  animation: retroDotPulse 1s steps(2) infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes retroDotPulse {
  0%, 100% { 
    transform: scale(1);
    background: #2d5a2d;
  }
  50% { 
    transform: scale(1.1);
    background: #4a7c59;
  }
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #e8f5e8 0%, #d4f1d4 100%);
  font-family: 'Press Start 2P', 'Courier New', monospace;
  color: #1a3d1a;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Global window style */
.window {
  border: 4px solid #2d5a2d;
  background: #f0f8f0;
  box-shadow: 6px 6px 0px #2d5a2d;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 8px;
}

.top-bar {
  background: linear-gradient(90deg, #4a7c59 0%, #5a8c69 100%);
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  font-size: 12px;
  border-bottom: 3px solid #2d5a2d;
  border-radius: 4px 4px 0 0;
  text-shadow: 1px 1px 0px #2d5a2d;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 16px;
  height: 92vh;
  width: 98vw;
  box-sizing: border-box;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.left-column {
  grid-column: 1;
}

.center-column {
  grid-column: 2;
}

.right-column {
  grid-column: 3;
}

.chat-column {
  grid-column: 4;
}

/* Profile Card */
.profile-card {
  background: linear-gradient(145deg, #f8fcf8 0%, #e8f5e8 100%);
  border: 4px solid #4a7c59;
}

.profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  gap: 12px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #4a7c59;
  box-shadow: 4px 4px 0px #2d5a2d;
}

.profile-info {
  text-align: center;
}

.profile-info h3 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #2d5a2d;
}

.level {
  font-size: 12px;
  color: #4a7c59;
  margin: 4px 0;
}

.status {
  font-size: 10px;
  color: #5a8c69;
  margin: 4px 0;
}

/* Stats Card */
.stats-card {
  background: linear-gradient(145deg, #f0f8f0 0%, #e8f5e8 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
}

.stat-item {
  text-align: center;
  padding: 8px;
  background: white;
  border: 2px solid #4a7c59;
  border-radius: 6px;
  box-shadow: 2px 2px 0px #2d5a2d;
}

.stat-value {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #2d5a2d;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 10px;
  color: #5a8c69;
}

/* Roadmap Card */
.roadmap-card {
  background: linear-gradient(145deg, #f0f8f0 0%, #e8f5e8 100%);
  margin-top: 16px;
}

.roadmap-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  gap: 12px;
}

.roadmap-btn {
  background: linear-gradient(145deg, #4a7c59 0%, #5a8c69 100%);
  color: white;
  border: 3px solid #2d5a2d;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Press Start 2P', monospace;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 4px 4px 0px #2d5a2d;
  transition: all 0.2s ease;
  text-shadow: 1px 1px 0px #2d5a2d;
  width: 340px;
  min-width: 340px;
  max-width: 340px;
  text-align: center;
  box-sizing: border-box;
}

.roadmap-btn:hover {
  background: linear-gradient(145deg, #5a8c69 0%, #6a9c79 100%);
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px #2d5a2d;
}

.roadmap-btn:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0px #2d5a2d;
}

/* Para que los enlaces con roadmap-btn funcionen correctamente */
a.roadmap-btn {
  text-decoration: none;
  display: inline-block;
}



/* About Container */
.about-container {
  background: linear-gradient(145deg, #f8fcf8 0%, #e8f5e8 100%);
  flex-grow: 1;
}

.about-content {
  padding: 12px;
  font-size: 12px;
  line-height: 1.6;
}

.about-content p {
  margin: 8px 0;
  color: #2d5a2d;
}

/* Social Links */
.social-links {
  background: linear-gradient(145deg, #f0f8f0 0%, #e8f5e8 100%);
}

.social-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.social-btn {
  background: white;
  border: 3px solid #4a7c59;
  padding: 12px;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Press Start 2P', monospace;
  color: #2d5a2d;
  text-decoration: none;
  text-align: center;
  box-shadow: 4px 4px 0px #2d5a2d;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.social-btn:hover {
  background: #4a7c59;
  color: white;
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px #2d5a2d;
}

/* Likes Card */
.likes-card {
  background: linear-gradient(145deg, #f8fcf8 0%, #e8f5e8 100%);
  flex-grow: 1;
  max-height: 500px;
  overflow: hidden;
}

.likes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 12px;
  max-height: 420px;
  overflow-y: auto;
}

.like-item {
  background: white;
  border: 2px solid #4a7c59;
  padding: 6px;
  font-size: 9px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 2px 2px 0px #2d5a2d;
  color: #2d5a2d;
  transition: all 0.2s ease;
}

.like-item:hover {
  background: #4a7c59;
  color: white;
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px #2d5a2d;
}

/* Scrollbar for likes grid */
.likes-grid::-webkit-scrollbar {
  width: 6px;
}

.likes-grid::-webkit-scrollbar-track {
  background: #e8f5e8;
  border-radius: 3px;
}

.likes-grid::-webkit-scrollbar-thumb {
  background: #4a7c59;
  border-radius: 3px;
}

.likes-grid::-webkit-scrollbar-thumb:hover {
  background: #5a8c69;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: linear-gradient(145deg, #f8fcf8 0%, #e8f5e8 100%);
  margin: 5% auto;
  padding: 0;
  border: 4px solid #4a7c59;
  border-radius: 12px;
  width: 80%;
  max-width: 600px;
  box-shadow: 8px 8px 0px #2d5a2d;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: linear-gradient(90deg, #4a7c59 0%, #5a8c69 100%);
  color: white;
  padding: 16px 20px;
  border-radius: 8px 8px 0 0;
  border-bottom: 3px solid #2d5a2d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 1px 1px 0px #2d5a2d;
}

.close {
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  padding: 2px 6px;
  margin-left: auto;
}

.close:hover {
  border: 2px inset #c0c0c0;
}

.roadmap-modal .close,
#roadmapModal .close,
#aboutProjectModal .close {
  display: none !important;
}

.modal-body {
  padding: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #2d5a2d;
  max-height: 400px;
  overflow-y: auto;
}

.modal-body p {
  margin: 0;
  text-align: justify;
}

/* Make like items clickable */
.like-item {
  background: white;
  border: 2px solid #4a7c59;
  padding: 6px;
  font-size: 9px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 2px 2px 0px #2d5a2d;
  color: #2d5a2d;
  transition: all 0.2s ease;
  cursor: pointer;
}

.like-item:hover {
  background: #4a7c59;
  color: white;
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px #2d5a2d;
}

.like-item:active {
  transform: translateY(0);
  box-shadow: 1px 1px 0px #2d5a2d;
}

/* Roadmap Modal Styles */
.roadmap-modal {
  max-width: 800px;
  width: 90%;
  background: #c0c0c0 !important;
  border: 2px outset #c0c0c0 !important;
  box-shadow: 2px 2px 0px #000000 !important;
  font-family: "MS Sans Serif", "Microsoft Sans Serif", sans-serif !important;
}

.roadmap-modal .modal-header {
  background: #000080 !important;
  color: white !important;
  border-bottom: 2px inset #c0c0c0 !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
  font-weight: bold !important;
}

.roadmap-modal .modal-header h2 {
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: bold !important;
}

.roadmap-modal .modal-body {
  background: #c0c0c0 !important;
  color: #000000 !important;
  padding: 8px !important;
  font-size: 11px !important;
}

.roadmap-modal .roadmap-phase {
  background: #ffffff !important;
  border: 2px inset #c0c0c0 !important;
  margin-bottom: 8px !important;
  padding: 8px !important;
}

.roadmap-modal .roadmap-phase:hover {
  border: 2px outset #c0c0c0 !important;
}

.roadmap-modal .phase-header {
  border-bottom: 1px solid #808080 !important;
  margin-bottom: 8px !important;
  padding-bottom: 4px !important;
}

.roadmap-modal .phase-header h3 {
  color: #000000 !important;
  font-size: 11px !important;
  font-weight: bold !important;
  margin: 0 !important;
}

.roadmap-modal .phase-content p {
  color: #000000 !important;
  border-left: 2px solid #000080 !important;
  background: #f0f0f0 !important;
  padding: 4px 8px !important;
  margin: 4px 0 !important;
  font-size: 10px !important;
}

.roadmap-body {
  max-height: 600px;
  overflow-y: auto;
}

.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 0;
}

.roadmap-phase {
  background: linear-gradient(145deg, #f8fcf8 0%, #e8f5e8 100%);
  border: 3px solid #4a7c59;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 4px 4px 0px #2d5a2d;
  transition: all 0.3s ease;
}

.roadmap-phase:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px #2d5a2d;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #4a7c59;
}

.phase-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #4a7c59;
  box-shadow: 2px 2px 0px #2d5a2d;
}

.phase-header h3 {
  margin: 0;
  font-size: 16px;
  color: #2d5a2d;
  font-weight: bold;
}

.phase-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phase-content p {
  margin: 0;
  font-size: 14px;
  color: #2d5a2d;
  padding: 6px 0;
  border-left: 3px solid #4a7c59;
  padding-left: 12px;
  background: rgba(74, 124, 89, 0.1);
  border-radius: 0 6px 6px 0;
}

/* Responsive roadmap */
@media (max-width: 768px) {
  .roadmap-modal {
    width: 95%;
    margin: 10% auto;
  }
  
  .roadmap-timeline {
    gap: 16px;
  }
  
  .roadmap-phase {
    padding: 16px;
  }
  
  .phase-header h3 {
    font-size: 14px;
  }
  
  .phase-content p {
    font-size: 12px;
  }
}

/* About Project Modal Styles */
.about-project-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roadmap-modal .about-project-content .project-section {
  background: #ffffff !important;
  border: 2px inset #c0c0c0 !important;
  margin-bottom: 8px !important;
  padding: 8px !important;
}

.roadmap-modal .about-project-content .project-section:hover {
  border: 2px outset #c0c0c0 !important;
}

.roadmap-modal .about-project-content .project-section h3 {
  color: #000000 !important;
  border-bottom: 1px solid #808080 !important;
  font-size: 11px !important;
  font-weight: bold !important;
  margin: 0 0 8px 0 !important;
  padding-bottom: 4px !important;
}

.roadmap-modal .about-project-content .project-section p,
.roadmap-modal .about-project-content .project-section li {
  color: #000000 !important;
  font-size: 10px !important;
  margin: 4px 0 !important;
}

.project-section {
  background: linear-gradient(145deg, #f8fcf8 0%, #e8f5e8 100%);
  border: 3px solid #4a7c59;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 4px 4px 0px #2d5a2d;
  transition: all 0.3s ease;
}

.project-section:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px #2d5a2d;
}

.project-section h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  color: #2d5a2d;
  font-weight: bold;
  border-bottom: 2px solid #4a7c59;
  padding-bottom: 8px;
}

.project-section p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #2d5a2d;
  line-height: 1.5;
}

.project-section ul {
  margin: 0;
  padding-left: 20px;
}

.project-section li {
  margin: 8px 0;
  font-size: 14px;
  color: #2d5a2d;
  line-height: 1.4;
}

/* Responsive about project */
@media (max-width: 768px) {
  .project-section {
    padding: 16px;
  }
  
  .project-section h3 {
    font-size: 16px;
  }
  
  .project-section p,
  .project-section li {
    font-size: 12px;
  }
}

/* Music Player */
.music-player {
  background: linear-gradient(145deg, #f0f8f0 0%, #e8f5e8 100%);
  min-height: 280px;
}

.music-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 240px;
  justify-content: space-between;
}

.music-cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #4a7c59;
  box-shadow: 4px 4px 0px #2d5a2d;
}

.music-player audio {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  border: 2px solid #4a7c59;
  margin-top: auto;
}

/* Chat Window */
.chat-window.large {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 450px;
  background: linear-gradient(145deg, #f8fcf8 0%, #e8f5e8 100%);
  position: relative;
}

.chat-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  font-size: 12px;
  background: white;
  border: 3px solid #4a7c59;
  margin: 8px;
  margin-bottom: 70px;
  border-radius: 6px;
  line-height: 1.5;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1);
}

.chat-content p {
  margin: 8px 0;
  padding: 8px;
  background: #f0f8f0;
  border-radius: 6px;
  border-left: 4px solid #4a7c59;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.chat-input {
  height: 50px;
  font-size: 14px;
  padding: 12px;
  border: 3px solid #4a7c59;
  background: white;
  font-family: 'Press Start 2P', monospace;
  width: calc(100% - 16px);
  margin: 8px;
  box-sizing: border-box;
  border-radius: 6px;
  color: #2d5a2d;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.chat-input:focus {
  outline: none;
  border-color: #5a8c69;
  box-shadow: 0 0 8px rgba(74, 124, 89, 0.3);
}

/* Gallery Container */
.gallery-container {
  background: linear-gradient(145deg, #f8fcf8 0%, #e8f5e8 100%);
  margin-top: 16px;
  height: 350px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  height: 290px;
  overflow-y: auto;
}

.gallery-item {
  aspect-ratio: 1;
  border: 2px solid #4a7c59;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 2px 2px 0px #2d5a2d;
  transition: all 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px #2d5a2d;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scrollbar for gallery */
.gallery-grid::-webkit-scrollbar {
  width: 6px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: #e8f5e8;
  border-radius: 3px;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: #4a7c59;
  border-radius: 3px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
  background: #5a8c69;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  
  .left-column {
    grid-column: 1;
    grid-row: 1;
  }
  
  .center-column {
    grid-column: 2;
    grid-row: 1;
  }
  
  .right-column {
    grid-column: 1;
    grid-row: 2;
  }
  
  .chat-column {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    gap: 12px;
  }
  
  .column {
    height: auto;
  }
  
  .chat-window.large {
    height: 400px;
  }
  
  .chat-content {
    max-height: 300px;
  }
  
  .window {
    padding: 6px;
  }
  
  .top-bar {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .chat-input {
    font-size: 12px;
    height: 40px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .likes-grid {
    grid-template-columns: 1fr;
  }
  
  body {
    overflow: auto;
  }
}

/* Scrollbar Styling */
.chat-content::-webkit-scrollbar {
  width: 8px;
}

.chat-content::-webkit-scrollbar-track {
  background: #e8f5e8;
  border-radius: 4px;
}

.chat-content::-webkit-scrollbar-thumb {
  background: #4a7c59;
  border-radius: 4px;
}

.chat-content::-webkit-scrollbar-thumb:hover {
  background: #5a8c69;
}
