/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Body ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: #f1f1f1;
    min-height: 100vh;
    padding: 30px;
}

/* ===== Headings ===== */
h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== Dropdown ===== */
select {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    margin: 0 auto 30px auto;
    display: block;
    background: #1f1f1f;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    outline: none;
}

select:hover {
    border-color: #00bcd4;
}

/* ===== Record Container ===== */
#list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ===== Individual Record Card ===== */
.record {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.record:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

/* ===== Record Text ===== */
.record strong {
    font-size: 18px;
    display: block;
    margin-bottom: 6px;
    color: #00bcd4;
}

.record span {
    font-size: 14px;
    opacity: 0.85;
}

/* ===== Audio Player ===== */
audio {
    width: 100%;
    margin-top: 12px;
    border-radius: 8px;
}

/* ===== Footer (Optional) ===== */
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    opacity: 0.6;
}

/* ===== Mobile Optimizations ===== */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    h2 {
        font-size: 22px;
    }

    select {
        font-size: 15px;
    }
}

*{box-sizing: border-box; }
 
  .wrap { max-width: 520px; margin: 0 auto; }
  .year { font-size: 40px; font-weight: 500; margin: 0 0 16px 4px; }

  .date-row {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
  }
  .arrow {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%;
    background: #000; color: #fff;
    border: none; cursor: pointer;
    font-size: 18px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
  }
  .arrow:disabled { opacity: .3; cursor: not-allowed; }

  .dates {
    display: flex;
    gap: 10px;
    overflow: hidden;
    flex: 1;
  }
  .pill {
    flex-shrink: 0;
    padding: 12px 22px;
    border-radius: 999px;
    background: #e9e9ec;
    color: #000;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s, transform .15s;
  }
  .pill:hover { transform: translateY(-1px); }
  .pill.active { background: #3ec5ff; color: #fff; }

  .slots {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .slot {
    padding: 12px 22px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .15s;
  }
  .slot:hover { background: #2a2a2a; }
  .slot.active { background: #3ec5ff; color: #fff; }

  .hidden { display: none; }