/* ============================================================
   Festival Recommendations — Frontend Styles
   Rockstadt Extreme Fest — dark metal theme
   ============================================================ */

.frec-wrapper {
    --frec-red:         #c0392b;
    --frec-red-bright:  #e74c3c;
    --frec-gold:        #f0a500;
    --frec-text:        #ffffff;
    --frec-muted:       #999999;
    --frec-card-bg:     #111111;
    --frec-card-border: rgba(255,255,255,0.07);
    --frec-circle:      280px;       /* BIG circles */
    --frec-tab-border:  rgba(255,255,255,0.1);
    font-family: inherit;
    box-sizing: border-box;
}

*, *::before, *::after { box-sizing: inherit; }

/* ── Tab navigation ──────────────────────────────────────── */
.frec-tabs-nav {
display: flex;
  gap: 2px;
  margin-bottom: 48px;
  border-bottom: 2px solid var(--frec-tab-border);
  padding-bottom: 0;
  flex-direction: row;
  justify-content: center;
}

.frec-tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 14px 32px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #777;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    border-radius: 3px 3px 0 0;
}
.frec-tab-btn:hover { color: #840000; background: rgba(255,255,255,0.04); }
.frec-tab-btn.is-active {
    color: #cd0000;
    border-bottom-color: var(--frec-red);
    background: rgba(192,57,43,0.1);
}

/* ── Tab panels ──────────────────────────────────────────── */
.frec-tab-panel { display: none; animation: frec-in 0.3s ease; }
.frec-tab-panel.is-active { display: block; }
@keyframes frec-in {
    from { opacity:0; transform:translateY(10px); }
    to   { opacity:1; transform:translateY(0); }
}
.frec-tab-desc { color: var(--frec-muted); font-size:13px; text-align:center; margin-bottom:28px; }

/* ── Grid ────────────────────────────────────────────────── */
.frec-grid {
    display: grid;
    gap: 56px 32px;
    align-items: start;
}
.frec-grid--3col { grid-template-columns: repeat(3, 1fr); }
.frec-grid--2col { grid-template-columns: repeat(2, 1fr); }
.frec-grid--1col { grid-template-columns: 1fr; }
.frec-grid--4col { grid-template-columns: repeat(4, 1fr); }

/* ── Card ────────────────────────────────────────────────── */
.frec-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    color: var(--frec-text) !important;
    cursor: default;
}
a.frec-card { cursor: pointer; }
a.frec-card:hover { text-decoration: none !important; }
a.frec-card:hover .frec-card__circle { border-color: var(--frec-red); transform: scale(1.03); }
a.frec-card:hover .frec-card__cta    { color: var(--frec-red-bright); }
a.frec-card:hover .frec-card__hover-desc { opacity: 1; }

/* ── Circle ──────────────────────────────────────────────── */
.frec-card__circle-wrap {
    position: relative;
    width: var(--frec-circle);
    height: var(--frec-circle);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.frec-card__circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    border: 3px solid var(--frec-card-border);
    transition: border-color 0.3s, transform 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* ── Hover description inside circle ────────────────────── */
.frec-card__hover-desc {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s;
}
.frec-card__hover-desc p {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.5;
    margin: 0;
}

/* ── Venue type icon (top-left of circle) ────────────────── */
.frec-card__icon {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 34px;
    height: 34px;
    background: rgba(0,0,0,0.82);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    line-height: 1;
}

/* ── Price / deal badges ─────────────────────────────────── */
.frec-badge {
    position: absolute;
    bottom: 10px;
    right: -6px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 16px rgba(0,0,0,0.6);
    line-height: 1.15;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Fixed price */
.frec-badge--price {
    background: rgba(14,14,14,0.93);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 7px 13px;
    min-width: 74px;
}
.frec-price-new {
    font-size: 16px;
    font-weight: 900;
    color: var(--frec-red-bright);
    letter-spacing: 0.03em;
}
.frec-price-old {
    font-size: 11px;
    color: #666;
    text-decoration: line-through;
}

/* Discount % */
.frec-badge--discount {
    background: var(--frec-red);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 14px;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.frec-badge--discount span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.85;
    display: block;
    text-align: center;
    margin-top: 1px;
}

/* Festival special */
.frec-badge--festival {
background: linear-gradient(135deg, #1a0a00, #3d1a00);
  border: 1px solid var(--frec-gold);
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--frec-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 170px;
  text-align: center;
  line-height: 1.35;
  right: -10px;
}

/* ── Stars ───────────────────────────────────────────────── */
.frec-stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 4px;
}
.frec-star { font-size: 1.6rem; line-height: 1; }
.frec-star--on  { color: var(--frec-gold); }
.frec-star--off { color: #333; }

/* ── Card text block ─────────────────────────────────────── */
.frec-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
}

.frec-card__place {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #292727;
    line-height: 1.3;
    display: block;
}

.frec-card__biz {
    font-size: 11px;
    color: var(--frec-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
}

.frec-card__cta {
    margin-top: 8px;
    display: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--frec-red);
    transition: color 0.2s;
    border: 1px solid rgba(192,57,43,0.4);
    border-radius: 4px;
    padding: 4px 12px;
}

/* ── Misc ────────────────────────────────────────────────── */
.frec-no-content {
    color: var(--frec-muted);
    font-style: italic;
    text-align: center;
    padding: 48px 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .frec-wrapper { --frec-circle: 180px; }
}
@media (max-width: 860px) {
    .frec-wrapper { --frec-circle: 155px; }
    .frec-grid--3col, .frec-grid--4col { grid-template-columns: repeat(2, 1fr); }
    .frec-tab-btn { padding: 12px 20px; }
}
@media (max-width: 560px) {
    .frec-wrapper { --frec-circle: 200px; }
    .frec-grid--2col, .frec-grid--3col, .frec-grid--4col { grid-template-columns: repeat(1, 1fr); }
    .frec-grid { gap: 40px 16px; }
    .frec-tab-btn { padding: 10px 14px; font-size: 10px; }
}
@media (max-width: 380px) {
    .frec-grid--2col, .frec-grid--3col, .frec-grid--4col { grid-template-columns: 1fr; }
}
