
.nostalgia-bar {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 10px;
    margin: 40px 0;
    border: 3px solid #c00;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.25);
    position: relative;
    overflow: hidden;
}

.nostalgia-bar h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #c00;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 #ff90e8;
}

.nostalgia-scroll-wrapper {
    position: relative;
}

.nostalgia-items {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    padding: 10px 0;
}

.nostalgia-item {
    width: 120px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    border: 2px dashed #48c6ef;
    box-shadow: inset 0 0 8px rgba(72, 198, 239, 0.2), 2px 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.nostalgia-item:hover {
    transform: scale(1.08);
    box-shadow: 2px 2px 10px rgba(255, 105, 180, 0.25);
}

.nostalgia-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.nostalgia-item p {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    color: #121212;
    margin: 0;
    height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.nostalgia-item a {
    color: #c00;
    font-weight: bold;
    text-decoration: none;
}

.nostalgia-item a:hover {
    text-decoration: underline;
}

.nostalgia-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #c00;
    color: #c00;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 26px;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

.nostalgia-arrow:hover {
    background-color: #ffeef2;
}

.nostalgia-arrow.left {
    left: 0;
}

.nostalgia-arrow.right {
    right: 0;
}

/* Hub stays the same */
.nostalgia-hub {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.nostalgia-hub h2 {
    font-family: 'Poppins', sans-serif;
    color: #c00;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.nostalgia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.nostalgia-card {
    background: #ffffff;
    border: 2px dashed #ff90e8;
    border-radius: 10px;
    padding: 15px;
    box-shadow: inset 0 0 10px rgba(255, 144, 232, 0.2), 2px 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s ease;
}

.nostalgia-card:hover {
    transform: translateY(-4px);
}

.nostalgia-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.nostalgia-card h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #121212;
    margin: 0;
}

.nostalgia-card a {
    color: #c00;
    text-decoration: none;
}

.nostalgia-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
  .nostalgia-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    overflow: visible;
    padding: 0;
  }

  .nostalgia-item {
    width: 90%;
    max-width: 180px;
    margin: 0 auto;
    text-align: center;
    padding: 12px;
  }

  .nostalgia-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .nostalgia-item p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .nostalgia-item:nth-of-type(n+4) {
    display: none;
  }

  .nostalgia-arrow {
    display: none;
  }
}
