 :root {
     --bg-dark: #0d0d0d;
     --bg-card: #1a1a1a;
     --accent: #00adee;
     --accent-hover: #0098d0;
     --text-light: #f0f0f0;
     --text-muted: #b0b0b0;
     --overlay: rgba(0, 0, 0, .65);
     --modal-bg: #121212;
 }

 * {
     box-sizing: border-box
 }

 body {
     margin: 0;
     background: var(--bg-dark);
     font-family: "Roboto", sans-serif;
     color: var(--text-light)
 }

 header {
     background: linear-gradient(90deg, #202020, #141414);
     padding: 20px 40px;
     font-size: 1.8rem;
     font-weight: 700;
     color: var(--accent);
     text-align: center;
     border-bottom: 2px solid #00adee33
 }

 .toolbar {
     display: flex;
     justify-content: center;
     gap: 15px;
     padding: 15px;
     background: #111;
     border-bottom: 1px solid #222;
     flex-wrap: wrap
 }

 .pcdos-intro {
     max-width: 980px;
     margin: 0 auto;
     padding: 28px 24px 10px;
     text-align: center
 }

 .pcdos-intro h1 {
     margin: 0 0 14px;
     color: var(--accent);
     font-size: clamp(1.9rem, 3vw, 3rem)
 }

 .pcdos-intro p {
     margin: 0;
     color: var(--text-light);
     line-height: 1.7
 }

 .pcdos-intro p + p {
     margin-top: 12px
 }

 .pcdos-intro a {
     color: #7bdcff
 }

 #main-container {
     width: 100%
 }

 .toolbar input,
 .toolbar select {
     padding: 10px 15px;
     border-radius: 6px;
     border: none;
     background: #222;
     color: var(--text-light);
     outline: none
 }

 .container {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
     gap: 24px;
     padding: 30px 40px
 }

 .card {
     background: var(--bg-card);
     border-radius: 12px;
     box-shadow: 0 0 10px #000a;
     transition: .25s;
     overflow: hidden;
     cursor: pointer;
     outline: none
 }

 .card:hover {
     transform: translateY(-6px);
     box-shadow: 0 0 15px #00adee55
 }

 .card img {
     width: 100%;
     height: 160px;
     object-fit: cover;
     filter: brightness(.9);
     transition: filter .3s
 }

 .card:hover img {
     filter: brightness(1)
 }

 .card-content {
     padding: 15px
 }

 .title {
     font-size: 1.05rem;
     font-weight: 700;
     color: var(--accent);
     margin-bottom: 8px;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap
 }

 .desc {
     display: none
 }

 .play-btn {
     margin-top: 12px;
     display: inline-block;
     background: var(--accent);
     color: #fff;
     font-weight: 700;
     padding: 8px 16px;
     border-radius: 6px;
     text-decoration: none;
     transition: background .25s
 }

 .play-btn:hover {
     background: var(--accent-hover)
 }

 footer {
     text-align: center;
     font-size: .85rem;
     color: #888;
     padding: 20px;
     border-top: 1px solid #222;
     margin-top: 40px
 }

 /* MODAL */
 .modal-backdrop {
     position: fixed;
     inset: 0;
     display: none;
     align-items: center;
     justify-content: center;
     background: var(--overlay);
     z-index: 9999;
     padding: 24px
 }

 .modal-backdrop.open {
     display: flex
 }

 .modal {
     background: var(--modal-bg);
     width: min(960px, 100%);
     border-radius: 14px;
     box-shadow: 0 15px 40px #000a;
     overflow: hidden;
     border: 1px solid #222;
     animation: pop .18s ease
 }

 @keyframes pop {
     from {
         transform: translateY(6px);
         opacity: .92
     }

     to {
         transform: translateY(0);
         opacity: 1
     }
 }

 .modal-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     padding: 16px 18px;
     border-bottom: 1px solid #222;
     background: #0f0f0f
 }

 .modal-title {
     font-size: 1.3rem;
     font-weight: 800;
     letter-spacing: .2px;
     color: #fff
 }

 .modal-close {
     background: transparent;
     color: #ddd;
     border: 1px solid #333;
     border-radius: 8px;
     padding: 6px 10px;
     cursor: pointer;
     font-weight: 700
 }

 .modal-close:hover {
     background: #1d1d1d
 }

 .modal-body {
     display: grid;
     grid-template-columns: 360px 1fr;
     gap: 20px;
     padding: 18px
 }

 .modal-body img {
     width: 100%;
     height: auto;
     max-height: 70vh;
     object-fit: cover;
     border-radius: 10px;
     border: 1px solid #222
 }

 .modal-desc {
     color: #cfcfcf;
     line-height: 1.45;
     font-size: .98rem;
     white-space: pre-wrap
 }

 .modal-actions {
     margin-top: 14px;
     display: flex;
     gap: 10px;
     flex-wrap: wrap
 }

 .modal-play {
     background: var(--accent);
     color: #fff;
     border: none;
     padding: 10px 16px;
     border-radius: 8px;
     font-weight: 800;
     cursor: pointer
 }

 .modal-play:hover {
     background: var(--accent-hover)
 }

 @media (max-width:820px) {
     .modal-body {
         grid-template-columns: 1fr
     }

     .modal-body img {
         max-height: 50vh
     }
 }

 @media (max-width:600px) {
     .toolbar {
         flex-direction: column
     }

     .toolbar input,
     .toolbar select {
         width: 90%
     }
 }
