:root {
  --rcm-bg: #0a0c10;
  --rcm-surface: rgba(20,24,32,0.92);
  --rcm-text: #e8ecf1;
  --rcm-accentA: #ff3366;
  --rcm-accentB: #ff4b2b;
  --rcm-radius: 18px;
  --rcm-gap: 16px;
  --rcm-shadow: 0 24px 60px rgba(0,0,0,0.7);
  --rcm-glow: 0 0 18px rgba(255,77,122,0.6);
}

body {
  background: var(--rcm-bg);
  color: var(--rcm-text);
  font-family: sans-serif;
  margin:0; padding:0;
}


#title-All {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;          /* bold but professional */
  font-size: clamp(20px, 2vw, 26px);  /* responsive */
  margin: 20px 0 10px 16px;
  color: #e8ecf1;            /* soft futuristic white */
  letter-spacing: 0.5px;     /* modern spacing */
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); /* subtle depth */
  transition: color 0.3s ease, font-size 0.3s ease;
}

.rcm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rcm-gap);
  padding: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.rcm-card {
  position: relative;
  border-radius: var(--rcm-radius);
  overflow: hidden;
  background: var(--rcm-surface);
  box-shadow: var(--rcm-shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.rcm-card:hover {
  transform: scale(1.03);
  box-shadow: var(--rcm-glow);
}

.rcm-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease, filter .4s ease;
}

.rcm-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.rcm-name {
  font-weight: 700;
  font-size: clamp(13px, 2vw, 16px);
  color: #fff;
  padding: 8px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0,0,0,0.7), transparent);
}

.rcm-rating {
  position: absolute;
  top:10px;
  left:10px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 600;
  font-size:12px;
  display: inline-flex;
  align-items:center;
  gap:4px;
  color:#fff;
}
.rcm-rating::before { content:"★"; color:#ffcc00; }
.rcm-rating::after { content:"IMDb"; color:#ffcc00; font-size:11px; margin-left:4px; }

#rcmLoader {
  text-align: center;
  padding: 16px;
  font-weight: bold;
  color: var(--rcm-accentA);
}

#rcmScrollTop {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg,#ff3366,#ff4b2b);
  color: #fff;
  font-size: 24px;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: transform .3s ease, filter .2s ease;
  z-index: 999;
}
#rcmScrollTop:hover {
  transform: scale(1.2);
  filter: brightness(1.1);
}

@media(max-width:500px){
  .rcm-card img { height: 180px; }
}
