:root {
    --primary: #360c3a;
    --primaryrgb: rgba(54, 12, 58, 1);
    --headerColor: #000;
    --bodyTextColor: #8d8ba7;
    --white: #fff;
    --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
    --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
}

body,
html {
    margin: 0;
    overflow-x: hidden;
    padding: 0;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    color: var(--white);
    background-color: var(--primary);
}

*,
*:before,
*:after {
    margin: 0;
    box-sizing: border-box;
    padding: 0;
}

body {
    transition: background-color 0.3s;
}
section {
    padding: var(--sectionPadding);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    text-align: center;
    font-weight: 700;
    color: var(--white);
    margin: 2rem;
    font-size: 2rem;
}
h2 {
    text-align: center;
    color: var(--white);
    margin: 1rem;
    font-weight: normal;
}
h2 a {
    background: -webkit-linear-gradient(#8775ff, #4d37e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: bold;
}
h2 a span svg {
    display: inline-block;
    width: 22px;
    margin-bottom: 3px;
    height: auto;
    vertical-align: middle;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.text-center {
    text-align: center;
    margin: 0 auto;
}

header {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1000;
    padding-top: 2rem;

    background-image: url("../images/obj-1.png");
    background-repeat: repeat-x;
    background-size: cover;
}

header .logo-voyo {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    max-width: 271px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 100;
}

header .hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
}
header .hero:after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 50px;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(54, 12, 58, 1),
        rgba(255, 255, 255, 0)
    );
    /* Înlocuiește `rgba(255,255,255,1)` cu culoarea fundalului site-ului tău */
    pointer-events: none;
    z-index: 20;
}

header .hero img.img-mai-mult,
header .hero img.img-emotie-pura {
    height: 72px;
    z-index: 30;
}

header .hero img.img-jucatori {
    width: 100%;
    height: auto;
    max-width: 490px;
    z-index: 10;
}

header .logo-pl {
    position: absolute;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    max-width: 305px;
    z-index: 20;
}
header .hero-wrapper .obj {
    position: absolute;
    bottom: 5px;
    height: 100%;
    width: 100%;
    max-width: 400px;
    background-size: cover;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}
header .hero-wrapper .obj-left {
    left: 0;
    background-image: url("../images/obj-1.png");
}

header .hero-wrapper .obj-right {
    right: 0;
    background-image: url("../images/obj-2.png");
}
.select2-restults {
    position: relative;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: var(--primary);
}

/*  FORM */

form {
    z-index: 100;
    position: relative;
}
.container-formular {
    background-color: transparent;
    position: relative;
}

.formular {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 5vh;
}
.form-group {
    margin: 15px auto 10px;
}
.form-group,
.form-group label,
.form-group label span {
    color: #8d8ba7;
}
.form-group label {
    margin-bottom: 0.1rem;
}

.row-checkbox {
    margin: 15px auto 10px;
}
.row-checkbox + .row-checkbox {
    margin-top: 1px;
}

#results {
    color: var(--color-60rule);
}

#text-errors {
    color: var(--color-10rule);
    padding: var(--block-margin) 0 0;
    font-size: 30px;
    padding: 20px 0;
}

.visuallyhidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

.form-control {
    background-color: rgba(255, 255, 255, 1);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1rem;
    font-weight: normal;
    text-transform: none;
    width: 100%;
    height: auto;
    min-height: 55px;
    padding: 10px 10px;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: inset 0px 7px 12px 0px rgba(0, 0, 0, 0.22);
    font-family: "Roboto", Helvetica, sans-serif;
}
input:not(:placeholder-shown) {
    border: 2px solid var(--primary);
    color: var(--primary);
}

input:focus {
    outline: 0;
}

input.form-control,
textarea.form-control {
    text-indent: 30px;
}
textarea.form-control {
    padding-top: 10px;
    height: 140px;
    resize: vertical;
}
.submitButton {
    border: 0;
    border-radius: 0;
    background-color: var(--white);
    text-align: center;
    font-size: 1.4rem;
    color: var(--primary);
    border-radius: 40px;
    width: 100%;
    max-width: 275px;
    height: 55px;
    font-weight: 700;
    font-family: "Roboto", Helvetica, sans-serif;
    padding: 10px;
    margin: 1rem auto;
}

.form-group label {
    color: var(--white);
    display: flex;
    align-items: center;
}

.form-group label span {
    color: var(--white);
}

.row-checkbox label span {
    color: #8d8ba7;
}
.info {
    color: var(--white);
    font-size: calc(var(--h2-size) / 2);
    font-weight: lighter;
    font-family: "Roboto", Helvetica, sans-serif;
}

.reminder-class {
    color: var(--white);
    font-size: calc(var(--h2-size) / 2);
    font-weight: lighter;
    font-family: "Roboto", Helvetica, sans-serif;
    padding: 40px 0;
}

.reminder-class strong {
    color: var(--primary);
}

.custom-control {
    position: relative;
    display: block;
    padding-left: 3rem;
    margin-right: 1rem;
    cursor: pointer;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.custom-control-description a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.centering {
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    width: 19%;
    padding: 5px 0 0 0;
}

.custom-control-indicator {
    position: absolute;
    left: 10px;
    display: block;
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: 75% 75%;
    background-size: 75% 75%;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-indicator {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMiAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuMDcyMjcgNS40NDkxMkwzLjg4ODEyIDguMjY0OThMMTAuOTI3OCAxLjIyNTM0IiBzdHJva2U9IiM1RDVBODgiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
    border: 2px solid var(--primary);
}

.text-success {
    color: #6722ff;
}

/* SELECT */

.select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 1);
    border: 2px solid var(--primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: normal;
    text-transform: none;
    width: 100%;
    height: 50px;
    padding: 4px 10px;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: inset 0px 7px 12px 0px rgba(0, 0, 0, 0.22);
    font-family: "Roboto", Helvetica, sans-serif;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
}

.select2-results__option {
    padding: 6px 10px;
    display: flex;
    align-items: center;
}

.select-team-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
}

.select2-container--default .select2-results__option {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: #222;
}

/* Hover */
.select2-container--default .select2-results__option--highlighted {
    background-color: #f0f0f0;
    color: #000;
}

/* Logo în dropdown */
.select2-results__option .team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* MODAL */
.modal {
    padding: 0 !important;
    margin: 0;
}
.modal-open {
    padding: 0 !important;
    margin: 0 !important;
}
.modal-dialog {
    max-width: 800px;
    top: 50%;
    left: 0;
    position: relative;
    width: auto;
    pointer-events: none;
    transform: translate(0%, -50%) !important;
}
.modal-header {
    border-bottom: 0px;
}
.modal-body {
    font-size: var(--h1-size);
    color: var(--color-60rule);
}
.text-success {
    color: var(--form-text-color);
}
.check-close {
    width: 30px;
}
.check-close svg {
    display: inline-block;
    width: 30px;
    aspect-ratio: 1;
}
.modal-header .close {
    padding: 1rem 0rem;
    margin: -1rem 0.5rem -1rem auto;
}

.modal-content {
    background-color: rgba(30, 30, 30, 0.97);
    border: 2px solid #6722ff;
}

#alerts {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0;
    min-height: 50px;
    height: auto;
    margin: 1rem auto;
}

#alerts.text-success {
    font-size: 18px !important;
    text-align: center !important;
    color: white !important;
    line-height: 1.6 !important;
    background: green;
    opacity: 1 !important;
}
#alerts.text-danger {
    text-align: center !important;
    color: white !important;
    line-height: 1.6 !important;
    background-color: red;
    opacity: 1 !important;
}

.pl-element {
    position: absolute;
    width: 100%;
    max-width: 410px;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    left: -25%;
    z-index: 1;
}

/* FOOTER  */

footer {
    padding: var(--sectionPadding);
    padding-top: 0;
}

footer .logo-voyo-footer {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    max-width: 150px;
    margin: 2rem auto;
}

footer .copyright {
    position: relative;
    height: auto;
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.875rem;
}
footer .copyright:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    height: 1px;
    background-color: #841e8e;
    opacity: 1;
    z-index: 10;
}

footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

/* MOBILE */

@media (max-width: 768px) {
    header .hero img.img-mai-mult,
    header .hero img.img-emotie-pura {
        display: none;
    }

    header .hero-wrapper .obj-left {
        left: -150px;
    }
    header .hero-wrapper .obj-right {
        right: -150px;
    }
}
@media (max-width: 480px) {
    section {
        padding: 2rem 0rem;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1rem;
    }
    header .hero img.img-jucatori {
        max-width: 80%;
    }
    header .hero-wrapper .obj-left {
        left: -200px;
    }
    header .hero-wrapper .obj-right {
        right: -200px;
    }
    header .logo-pl {
        max-width: 220px;
    }
    .pl-element {
        left: -65%;
    }
    footer .logo-voyo-footer {
        max-width: 120px;
    }
}

/* IG LINK */

.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    position: relative;
    transition:
        transform 220ms ease,
        opacity 220ms ease;
}
.ig-link {
    position: relative;
}

.ig-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8775ff, #4d37e1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

.ig-link:hover::after {
    transform: scaleX(1);
}

.ig-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 220ms ease,
        filter 220ms ease;
}

.ig-link__icon svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    overflow: visible;
}

.ig-link__text {
    margin-right: 0.2rem;
    background: linear-gradient(180deg, #8775ff 0%, #4d37e1 100%);
    background-size: 100% 140%;
    background-position: 50% 0%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition:
        background-position 280ms ease,
        filter 220ms ease,
        letter-spacing 220ms ease,
        transform 220ms ease;
}

.ig-link:hover {
    transform: translateX(3px);
}

.ig-link:hover .ig-link__icon {
    transform: translateY(-2px) scale(1.06);
    filter: drop-shadow(0 6px 14px rgba(109, 82, 255, 0.28));
}

.ig-link:hover .ig-link__text {
    background-position: 50% 100%;
    letter-spacing: 0.01em;
    filter: drop-shadow(0 4px 10px rgba(109, 82, 255, 0.2));
}

.ig-link:active {
    transform: translateX(1px) scale(0.985);
}

.ig-link:focus-visible {
    outline: 2px solid rgba(135, 117, 255, 0.45);
    outline-offset: 4px;
    border-radius: 999px;
}

.ig-link__icon svg {
    animation: igFloat 2.2s ease-in-out infinite;
}

@keyframes igFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1.5px);
    }
}
.contest-countdown {
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: fit-content;
  margin: 4rem auto;
  padding: 2rem 5rem;

  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.contest-countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 220ms ease;

  background: radial-gradient(
    100px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(54, 12, 58, 0.42),
    rgba(54, 12, 58, 0.2) 35%,
    transparent 70%
  );
}

.contest-countdown:hover::before {
  opacity: 1;
}

.countdown-label,
.countdown-time {
  position: relative;
  z-index: 1;
  color: #fff;
}

#cta {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem 4rem;
    border-radius: 999px;

    width: fit-content;
    margin: 4rem auto;

    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition:
        transform 200ms ease,
        background 200ms ease,
        box-shadow 200ms ease;
}

#cta:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

#cta:active {
    transform: translateY(0);
}

#cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}
