:root {
  --primary-bg: #23001F;
  --card-bg: rgba(60, 0, 80, 0.4);
  --text: #FFFFFF;
  --accent: #FF6F61;
  --muted: #DDD1E0;
  --highlight: #FFD700;
  --alt-accent: #8E44AD;
  --button-bg: #ff60d0;
  --button-hover: #ff38b2;
  --shadow: rgba(255, 255, 255, 0.05);
}

@media (prefers-color-scheme: light) {
  :root {
    --primary-bg: #f9f9f9;
    --card-bg: #ffffff;
    --text: #111111;
    --accent: #8E44AD;
    --muted: #666666;
    --highlight: #4444aa;
    --alt-accent: #ff60d0;
    --button-bg: #8E44AD;
    --button-hover: #6f2c91;
    --shadow: rgba(0, 0, 0, 0.05);
  }
}

body {
  background: var(--primary-bg);
  color: var(--text);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

.rdj-card-container,
.rdj-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

.rdj-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  overflow: hidden;
  width: 200px;
  text-align: center;
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}
.rdj-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rdj-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.rdj-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.rdj-card:hover .rdj-cover img {
  transform: scale(1.05);
}

.rdj-details {
  padding: 1rem;
  color: var(--text);
}
.rdj-artist,
.rdj-details strong {
  display: block;
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: var(--highlight);
}
.rdj-title,
.rdj-details span {
  font-size: 0.95rem;
  color: var(--muted);
}

.request-btn {
  display: inline-block;
  background: var(--button-bg);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 0.8rem;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.request-btn:hover {
  background: var(--button-hover);
  box-shadow: 0 0 8px var(--button-hover);
}

.disabled-request {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.85rem;
  border-radius: 20px;
  margin-top: 0.8rem;
}

.searchbox {
  margin: 2rem auto;
  text-align: center;
}
.searchbox input[type="text"] {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  width: 80%;
  max-width: 600px;
  border-radius: 6px;
  border: none;
  outline: none;
}
.searchbox input[type="submit"] {
  background-color: var(--button-bg);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: none;
  margin-left: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.searchbox input[type="submit"]:hover {
  background-color: var(--button-hover);
}

.rdj-header legend.screenreader-text {
  font-size: 0.9rem;
  color: #72ffb0;
  text-align: center;
  margin: 1rem auto;
  display: block;
  max-width: 800px;
}

.rdj-pagination {
  text-align: center;
  margin-top: 1rem;
}
.rdj-pagination a {
  margin: 0 6px;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  background: var(--button-bg);
  color: white;
  text-decoration: none;
}
.rdj-pagination a:hover {
  background: var(--button-hover);
}
/* === RadioDJ newstyle.css – compatibil cu brandul Radio 90 Hit === */

/* Card general */
.rdj-notice-card,
.rdj-message,
.rdj-error,
.rdj-success,
.rdj-info {
    background: linear-gradient(135deg, #1e0033, #3c0066);
    color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 800px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
}

/* Mesaje standard */
.rdj-message.info {
    background: linear-gradient(135deg, #002a4d, #004080);
    border-left: 4px solid #00ccff;
}
.rdj-message.error,
.errordiv {
    background: linear-gradient(135deg, #4d001a, #800033);
    border-left: 4px solid #ff0040;
}

.rdj-message strong,
.rdj-notice-card strong {
    color: #ffcc00;
}

/* Texturi de mulțumire, callout */
.rdj-thanks,
.rdj-callout,
.rdj-bonus {
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Banner donație */
.rdj-donate-banner {
    margin-top: 1.5rem;
}
.rdj-donate-banner img {
    max-width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rdj-donate-banner img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Link Înapoi */
.rdj-return-link,
.rdj-return {
    display: inline-block;
    background: #ff007f;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: background 0.3s ease;
}
.rdj-return-link:hover,
.rdj-return:hover {
    background: #cc0066;
}

/* Countdowns */
#countdown {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
}
.countdown-box {
    background: #ffcc00;
    color: #000;
    padding: 0.3rem 0.7rem;
    margin: 0 0.2rem;
    border-radius: 0.5rem;
}

/* Paginate */
.paginate {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem auto;
}
.paginate a,
.paginate .current,
.paginate .disabled {
    padding: 0.4rem 0.8rem;
    border-radius: 0.4rem;
    text-decoration: none;
    font-weight: bold;
}
.paginate a {
    background: #ff007f;
    color: white;
    transition: background 0.3s ease;
}
.paginate a:hover {
    background: #cc0066;
}
.paginate .current {
    background: #ffcc00;
    color: #000;
}
.paginate .disabled {
    background: #999;
    color: #eee;
}

/* Search box and filters */
.rdj-searchbox {
    text-align: center;
    margin: 2rem 0;
}
.rdj-searchbox input[type="text"] {
    padding: 0.5rem 1rem;
    border: 2px solid #ff007f;
    border-radius: 2rem;
    width: 80%;
    max-width: 400px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.rdj-searchbox input[type="text"]:focus {
    border-color: #ffcc00;
    outline: none;
}

/* Responsive */
@media (max-width: 600px) {
    .rdj-notice-card,
    .rdj-message {
        padding: 1rem;
    }

    .rdj-thanks,
    .rdj-callout,
    .rdj-bonus {
        font-size: 1rem;
    }

    .paginate {
        gap: 0.3rem;
    }

    .rdj-return-link {
        width: 100%;
        text-align: center;
    }
}
.rdj-message.error {
  background: #330000;
  border: 2px solid #ff3333;
  color: #fff;
  padding: 1rem;
  border-radius: 0.75rem;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  text-align: center;
}

.rdj-message.error strong {
  color: #ffaaaa;
}

.countdown-box {
  display: inline-block;
  background: #ff007f;
  color: #fff;
  padding: 0.25rem 0.5rem;
  margin: 0 0.25rem;
  border-radius: 0.5rem;
  font-weight: bold;
}
