*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#06040d;
    color:white;
    overflow-x:hidden;
}

/* FUNDAL */

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:
        linear-gradient(rgba(5,0,20,.72),rgba(0,0,0,.92)),
        url("../../images/cardphoto.png") center/cover no-repeat;
    z-index:-2;
}

body::after{
    content:"";
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at 20% 20%,rgba(255,0,180,.18),transparent 30%),
        radial-gradient(circle at 80% 10%,rgba(0,100,255,.15),transparent 35%);
    z-index:-1;
}

/* HEADER */

.top-bar{

    text-align:center;

    position:relative;

    padding:50px 30px;
}

.back-btn{

    position:absolute;

    left:60px;

    top:45px;

    color:#ff7fe4;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;
}

.back-btn:hover{

    color:#ff2ebd;
}

.top-bar h1{

    font-size:58px;

    margin-bottom:15px;
}

.top-bar p{

    color:#cfcfcf;

    font-size:18px;
}

/* CARDURI */

.cards{

    width:min(1400px,92%);

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:18px;

    padding-bottom:80px;
}

.card{

    display:flex;

    flex-direction:column;

    background:transparent;

    border:1px solid rgba(255,255,255,.08);

    border-radius:32px;

    overflow:hidden;

    backdrop-filter:blur(15px);

    transition:.35s;

    box-shadow:0 0 30px rgba(255,46,189,.12);

    margin:0;

    padding:0;
    min-height: 560px;
}

.card:hover{

    transform:translateY(-10px);

    border-color:#ff2ebd;

    box-shadow:0 0 35px rgba(255,46,189,.45);
}

.media-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #090710;
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.35s ease;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0;
    padding: 0;
    background: #090710;
}

.media-slider {
    background: linear-gradient(135deg, rgba(255,46,189,.18), rgba(255,255,255,.02));
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(10,8,18,0.72);
    color: #fff;
    border-radius: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: rgba(255,46,189,0.2);
    border-color: rgba(255,46,189,0.9);
    color: #ffb1ea;
}

.slider-prev {
    left: 12px;
}

.slider-next {
    right: 12px;
}

.info{

    padding:18px 18px 22px;

    text-align:center;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    background:linear-gradient(180deg, #f3d7a4 0%, #e7c98b 100%);
    color: #1d1621;
    flex: 1;
    min-height: 180px;
    position: relative;
    z-index: 1;
}

.info-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:8px 16px;
    border-radius:999px;
    background:linear-gradient(180deg, rgba(22,16,12,.95), rgba(20, 19, 15, 0.95));
    border:1px solid rgba(20, 19, 16, 0.8);
    color:#f4d28b;
    box-shadow:0 0 0 1px rgba(37,22,12,.5), 0 8px 20px rgba(0,0,0,.16);
    font-size:12px;
    letter-spacing:1px;
    margin-bottom:10px;
    font-weight:800;
    line-height:1.4;
    text-shadow: 0 1px 0 rgba(96, 57, 9, 0.08);
    opacity: 1;
    visibility: visible;
}

.card:last-child .info-badge {
    white-space: nowrap;
    max-width: 100%;
    font-size: 13px;
    letter-spacing: 0.6px;
}

.card:last-child .info-badge span {
    white-space: nowrap;
}

.card:first-child .info-badge {
    white-space: nowrap;
    max-width: 100%;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 8px 12px;
}

.card:first-child .info-badge span {
    white-space: nowrap;
}

.info h2{

    font-size:clamp(1.45rem, 2vw, 2.1rem);

    line-height:1.08;

    margin:0 0 12px;
    font-weight:900;
    letter-spacing: -0.03em;
    opacity: 1;
    visibility: visible;
    background: linear-gradient(135deg, #3d1d00 0%, #62340a 18%, #854d12 30%, #b76b1c 52%, #dca94d 68%, #d4b467 85%, #ddbd53 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(214, 172, 92, 0.25), 0 0 36px rgba(95, 64, 26, 0.18);
    filter: drop-shadow(0 2px 10px rgba(120, 78, 24, 0.22));
    -webkit-text-stroke: 0.3px rgba(124, 78, 27, 0.35);
}

.name-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin: 8px 0 6px;
}

.name-block h2 {
    margin: 0;
}

.ampersand {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    line-height: 1;
    font-weight: 900;
    color: rgba(29, 22, 33, 0.9);
    margin: 2px 0;
}

.card:first-child .name-block--compact {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.card:first-child .name-block--compact h2 {
    font-size: clamp(1.2rem, 2vw, 1.9rem);
    margin: 0;
}

.card:first-child .name-block--compact .ampersand {
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    margin: 0;
}

.card:last-child .name-block--featured {
    gap: 2px;
    margin-top: 10px;
}

.card:last-child .name-block--featured h2 {
    font-size: clamp(1.8rem, 2.2vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #1b1621;
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}

.card:last-child .name-block--featured h2:first-child {
    background: linear-gradient(135deg, #3d1d00 0%, #62340a 18%, #854d12 30%, #b76b1c 52%, #dca94d 68%, #d4b467 85%, #ddbd53 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(214, 172, 92, 0.25), 0 0 36px rgba(95, 64, 26, 0.18);
    filter: drop-shadow(0 2px 10px rgba(120, 78, 24, 0.22));
    -webkit-text-stroke: 0.3px rgba(124, 78, 27, 0.35);
}

.card:last-child .name-block--featured h2:last-child {
    background: linear-gradient(135deg, #3c2207 0%, #673d12 18%, #8d5b18 32%, #bb7c22 52%, #e1b554 68%, #e0bf63 85%, #d4b453 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(223, 180, 92, 0.24), 0 0 36px rgba(94, 61, 24, 0.16);
    filter: drop-shadow(0 2px 10px rgba(111, 77, 24, 0.2));
    -webkit-text-stroke: 0.3px rgba(124, 78, 27, 0.35);
}

.card:last-child .ampersand {
    font-size: clamp(2.1rem, 2.8vw, 2.9rem);
    color: rgba(42, 29, 26, 0.9);
}

.details-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:fit-content;

    margin-top:8px;

    padding:0.7rem 1.4rem;

    border-radius:10px;

    border:1px solid rgba(180, 99, 14, 0.8);

    background: linear-gradient(135deg, #f4b25a 0%, #eb8a2d 45%, #d96a1c 100%);

    color:#fff8eb;

    text-decoration:none;

    text-transform:uppercase;

    letter-spacing:0.8px;

    font-size:0.8rem;

    font-weight:700;

    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;

    box-shadow:0 10px 20px rgba(214, 126, 21, 0.25);
}

.details-btn:hover{

    transform:translateY(-1px);

    border-color:#f2b55b;

    box-shadow:0 12px 26px rgba(214, 126, 21, 0.32);
}

/* FOOTER */

footer{

    margin-top:30px;

    padding:30px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

    background:rgba(0,0,0,.45);

    color:#a8a8a8;

    font-size:15px;
}

/* RESPONSIVE */

@media(max-width:900px){

.top-bar h1{

    font-size:41px;
}

.back-btn{

    position:static;

    display:inline-block;

    margin-bottom:25px;
}

.cards{

    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
}

.slide {
    height: 360px;
}

.card {
    min-height: 500px;
}

}

@media(max-width:600px){

.cards{

    grid-template-columns:1fr;
}

.info h2{

    font-size:24px;
}

.slide {
    height: 380px;
}

.slider-arrow {
    width: 32px;
    height: 32px;
}

.card {
    min-height: 570px;
}

.info {
    min-height: 220px;
}

}
/* ==============================
   TABLETĂ
============================== */

@media (max-width: 1024px){

    .navbar{
        padding:20px 4%;
        height:auto;
        flex-wrap:wrap;
        gap:20px;
    }

    nav{
        gap:20px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        padding:40px;
        min-height:400px;
    }

    .hero-content h1,
    .hero-text h1{
        font-size:52px;
    }

    .details-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .quick-menu,
    .action-menu{
        grid-template-columns:repeat(2, 1fr);
    }

    .main-grid{
        grid-template-columns:1fr;
    }

    .contacts-grid{
        grid-template-columns:1fr;
    }

    .cards{
        grid-template-columns:repeat(2, 1fr);
    }
}

/* ==============================
   TELEFON
============================== */

@media (max-width: 700px){

    body{
        overflow-x:hidden;
    }

    .navbar{
        flex-direction:column;
        padding:18px 20px;
    }

    .logo img{
        width:60px;
    }

    nav{
        width:100%;
        justify-content:center;
        gap:14px;
    }

    nav a{
        font-size:13px;
    }

    .page{
        width:92%;
    }

    .hero{
        min-height:330px;
        padding:30px 22px;
        border-radius:22px;
    }

    .hero-content h1,
    .hero-text h1{
        font-size:36px;
    }

    .hero-content h2{
        font-size:24px;
    }

    .hero-content span{
        font-size:12px;
        letter-spacing:4px;
    }

    .section-title{
        font-size:28px;
    }

    .details-grid,
    .quick-menu,
    .action-menu,
    .main-grid,
    .contacts-grid,
    .cards{
        grid-template-columns:1fr;
    }

    .detail-card,
    .action-card,
    .quick-menu a,
    .contact-card{
        width:100%;
    }

    .contact-card{
        flex-direction:column;
        text-align:center;
        align-items:center;
    }

    .gallery-box,
    .tickets-box{
        padding:28px 22px;
    }

    .gallery-box h2,
    .tickets-box h2{
        font-size:28px;
    }

    .ticket-box{
        padding:30px 20px;
    }

    .instagram-btn,
    .ticket-btn,
    .gallery-box a,
    .tickets-box a{
        width:100%;
        justify-content:center;
        text-align:center;
    }

    .sponsors-track{
        gap:45px;
    }

    .sponsors-track img{
        height:45px;
    }

    .footer{
        padding:22px 15px;
    }

    .footer p{
        font-size:13px;
    }
}

/* Refined contestant-card theme */
.top-bar {
    padding: 54px 24px 42px;
}

.top-bar h1 {
    margin-bottom: 10px;
    background: linear-gradient(100deg, #fff 15%, #ff8ee8 55%, #c77dff 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -.04em;
    text-shadow: 0 8px 36px rgba(216, 99, 255, .2);
}

.top-bar p {
    color: #c8bfd2;
}

.back-btn {
    padding: 10px 16px;
    border: 1px solid rgba(216, 99, 255, .28);
    border-radius: 999px;
    background: rgba(26, 12, 39, .72);
}

.back-btn:hover {
    border-color: rgba(255, 46, 189, .7);
    box-shadow: 0 0 20px rgba(255, 46, 189, .18);
}

.cards {
    width: min(1320px, 92%);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 24px;
}

.card {
    min-height: 0;
    border: 1px solid rgba(216, 99, 255, .28);
    border-radius: 26px;
    background: linear-gradient(155deg, rgba(38, 19, 55, .94), rgba(9, 7, 20, .98));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .32), 0 0 22px rgba(154, 35, 255, .1);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 46, 189, .68);
    box-shadow: 0 24px 58px rgba(0, 0, 0, .42), 0 0 30px rgba(216, 99, 255, .2);
}

.media-slider {
    border-bottom: 1px solid rgba(216, 99, 255, .22);
}

.slider-arrow {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(15, 8, 25, .78);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}

.info {
    min-height: 230px;
    padding: 24px 20px 26px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(216, 99, 255, .18), transparent 70%),
        linear-gradient(155deg, rgba(36, 18, 53, .98), rgba(13, 9, 25, .99));
    color: #fff;
}

.info-badge {
    max-width: 100%;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(216, 99, 255, .48);
    background: rgba(12, 7, 21, .82);
    box-shadow: 0 0 18px rgba(183, 80, 255, .16);
    color: #ffb2ef;
    font-size: 11px;
    letter-spacing: .07em;
    white-space: normal;
    text-shadow: none;
}

.info h2,
.card:last-child .name-block--featured h2,
.card:last-child .name-block--featured h2:first-child,
.card:last-child .name-block--featured h2:last-child {
    background: linear-gradient(100deg, #fff 5%, #ffb2ef 52%, #d49aff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: none;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    letter-spacing: -.025em;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

.name-block {
    gap: 5px;
    margin: 8px 0 12px;
}

.card:last-child .name-block--featured h2 {
    font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.ampersand,
.card:last-child .ampersand {
    margin: 0;
    color: #d863ff;
    font-size: 1.8rem;
    text-shadow: 0 0 18px rgba(216, 99, 255, .45);
}

.details-btn {
    min-height: 44px;
    margin-top: 10px;
    padding: 0 22px;
    border: 1px solid rgba(255, 142, 232, .55);
    border-radius: 999px;
    background: linear-gradient(115deg, #b938e8, #ed3ebc);
    box-shadow: 0 8px 24px rgba(196, 42, 207, .25);
    color: #fff;
    font-size: .76rem;
    letter-spacing: .08em;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.details-btn:hover {
    transform: translateY(-2px);
    border-color: #ffb2ef;
    box-shadow: 0 12px 30px rgba(216, 63, 205, .38);
    filter: brightness(1.08);
}

@media (max-width: 900px) {
    .top-bar {
        padding: 38px 20px 32px;
    }
}

@media (max-width: 700px) {
    .top-bar {
        padding: 30px 20px 28px;
    }

    .top-bar h1 {
        font-size: clamp(2.3rem, 10vw, 3.1rem);
    }

    .cards {
        width: min(460px, calc(100% - 32px));
        gap: 20px;
        padding-bottom: 52px;
    }

    .card {
        border-radius: 24px;
    }

    .slide {
        height: min(105vw, 430px);
    }

    .info {
        min-height: 220px;
        padding: 22px 18px 24px;
    }
}

.vote-container {
    margin: 20px auto;
    text-align: center;
    width: 100%;
}

.vote-counter {
    font-size: 19px;
    font-weight: 700;
    color: #e63950;
    margin-bottom: 12px;
}

.vote-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    border: none;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 65, 108, .25);
    transition: .25s;
}

.vote-btn:hover:not(:disabled) {
    transform: scale(1.06);
}

.vote-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

#vote-message {
    font-size: 13px;
    margin-top: 10px;
}
