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

body {
  font-family: Arial, sans-serif;
  color: white;
  min-height: 100vh;
  background:
    linear-gradient(rgba(4, 0, 20, .45), rgba(4, 0, 20, .95)),
    url("https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 25%, rgba(0, 110, 255, .35), transparent 35%),
    radial-gradient(circle at 30% 45%, rgba(255, 0, 150, .35), transparent 35%),
    radial-gradient(circle at 50% 20%, rgba(0, 255, 180, .18), transparent 30%);
  z-index: -1;
}

.navbar {
  height: 95px;
  padding: 25px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand h2 {
  font-size: 28px;
  letter-spacing: 7px;
  font-weight: 900;
}

.brand span {
  display: block;
  text-align: center;
  color: #ff2ebd;
  letter-spacing: 8px;
  font-size: 13px;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 42px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  position: relative;
}

nav a.active,
nav a:hover {
  color: #ff2ebd;
}

nav a.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: #ff2ebd;
  left: 0;
  bottom: -16px;
  box-shadow: 0 0 18px #ff2ebd;
}

.icons{
    display:flex;
    gap:18px;
}

.icons a{
    width:50px;
    height:50px;

    border:1px solid rgba(255,255,255,.25);
    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;
    font-size:22px;

    text-decoration:none;
    transition:.3s;
}

.icons a:hover{
    color:#ff2ebd;
    border-color:#ff2ebd;
    box-shadow:0 0 20px #ff2ebd;
    transform:translateY(-4px);
}

.hero {
  min-height: 570px;
  padding: 70px 5% 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left {
  width: 47%;
}

.mini {
  color: #ff4fc3;
  letter-spacing: 11px;
  font-size: 15px;
  margin-bottom: 22px;
}

h1 {
  font-size: 70px;
  line-height: 1.08;
  font-weight: 950;
}

h1 span{
    background: linear-gradient(90deg,#ff2ebd,#b86cff,#ffffff);
    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;

    display: inline-block;
}

.desc {
  max-width: 570px;
  margin: 26px 0;
  color: #e8e8e8;
  font-size: 18px;
  line-height: 1.6;
}

button {
  cursor: pointer;
  border: 1px solid #ff2ebd;
  color: white;
  background: rgba(255,255,255,.06);
  padding: 15px 28px;
  border-radius: 11px;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(255, 46, 189, .25);
  transition: .25s;
}

button:hover {
  background: #ff2ebd;
  transform: translateY(-3px);
}

.planet {
  width: 45%;
  display: flex;
  justify-content: center;
}


/* ===================== GLOB ===================== */

.globe {
    position: relative;
    width: 420px;
    height: 420px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 35px #d400ff,
        0 0 80px rgba(212, 0, 255, .4);
}

/* Fundalul care se rotește */
.globe::before {
    content: "";
    position: absolute;
    inset: -5%;
    background: url("images/glob.jpg") center center / cover no-repeat;
    animation: globeRotate 30s linear infinite;
    transform-origin: center;
}

/* Logo-ul */
.globe img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    z-index: 2;
    pointer-events: none;
    animation: logoFloat 3s ease-in-out infinite;
}


/* Glow */
.globe::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow:
        inset 0 0 40px rgba(255,255,255,.12),
        0 0 45px #d400ff;
    z-index: 3;
    pointer-events: none;
}

@keyframes globeRotate {
    from {
        transform: rotate(0deg) scale(1.08);
    }
    to {
        transform: rotate(360deg) scale(1.08);
    }
}
@keyframes logoFloat {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -53%) scale(1.05) rotate(2deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

.events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 93%;
  margin: 40px auto 38px;
}

.events-head h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -.02em;
}

.events-head a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 285px;
  min-height: 60px;
  padding: 15px 34px;
  border: 1px solid #ff2ebd;
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  background: rgba(5,0,15,.34);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.events-head a:hover {
  background: #ff2ebd;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,46,189,.25);
}

.cards {
  width: 93%;
  max-width: 1720px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-card {
  min-width: 0;
  min-height: clamp(420px, 25vw, 470px);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,46,189,.24);
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
  transition: .35s ease;
  background: transparent;
}

.home-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(255,0,212,.28);
}

.home-card .event-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease;
}

.home-card:hover .event-img {
  transform: scale(1.08);
}

.home-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,0,140,.14) 0%, rgba(20,0,30,.08) 45%, rgba(5,0,9,.96) 100%);
}

.home-card .date-box {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 88px;
  height: 105px;
  border-radius: 20px;
  background: linear-gradient(#ff00c8,#ff4ea6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.home-card .date-box h2 {
  font-size: 40px;
  line-height: 35px;
}

.home-card .date-box span {
  font-size: 18px;
  font-weight: 700;
}

.home-card .event-info {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-card .event-info h3 {
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.home-card .event-info p {
  color: #ddd;
  font-size: 17px;
  margin-bottom: 22px;
  line-height: 1.55;
}

.home-card .time {
  display: flex;
  align-items: end;
  gap: 9px;
  margin-bottom: 18px;
}

.home-card .time b {
  font-size: 20px;
}

.home-card .time small {
  font-size: 10px;
  color: #bbb;
  margin-right: 6px;
}

.home-card .event-info a {
  display: block;
  text-align: center;
  width: 100%;
  padding: 17px 14px;
  border-radius: 15px;
  border: 2px solid #ff00d4;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: .35s ease;
  backdrop-filter: blur(12px);
  background: rgba(5,0,9,.66);
}

.home-card .event-info a:hover {
  background: #ff00d4;
}

.card {
  height: 330px;
  border-radius: 15px;
  border: 4px solid rgba(255, 46, 189, .65);
  overflow: hidden;
  position: relative;
  padding: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 30px rgba(255, 46, 189, .18);
  transition: .25s;
}

.card1 {
  background-image:
    linear-gradient(rgba(255, 0, 140, .4), rgba(0,0,0,.85)),
    url("images/cardphoto.png");}

.card2 {
  background-image:
    linear-gradient(rgba(0, 100, 255, .45), rgba(0,0,0,.85)),
    url("images/cardphoto.png");
}

.card3 {
  background-image:
    linear-gradient(rgba(255, 0, 60, .45), rgba(0,0,0,.85)),
    url("images/cardphoto.png");
}

.card4 {
  background-image:
    linear-gradient(rgba(140, 0, 255, .5), rgba(0,0,0,.85)),
    url("images/cardphoto.png");
}

.date {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff2ebd, #ff006a);
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: 950;
  box-shadow: 0 0 20px rgba(255, 46, 189, .65);
}

.date span {
  display: block;
  font-size: 12px;
  margin-top: -18px;
}

.card-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.card p {
  color: #ddd;
  margin-bottom: 15px;
}

.time {
  display: flex;
  align-items: end;
  gap: 9px;
  margin-bottom: 18px;
}

.time b {
  font-size: 20px;
}

.time small {
  font-size: 10px;
  color: #bbb;
  margin-right: 6px;
}

.card button {
  width: 100%;
  padding: 13px;
}

.features {
  margin: 34px 5% 40px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.features div {
  text-align: center;
}

.features span {
  font-size: 34px;
}

.features h4 {
  margin: 10px 0;
  color: #ff2ebd;
}

.features p {
  color: #ccc;
}

@media (max-width: 1050px) {
  nav {
    display: none;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .left,
  .planet {
    width: 100%;
  }

  h1 {
    font-size: 48px;
  }

  .globe {
    width: 300px;
    height: 300px;
    margin-top: 35px;
  }

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

  .home-card {
    min-height: 400px;
  }

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

@media (max-width: 1050px) and (min-width: 701px) {
  .hero { padding: 50px 5% 30px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-card { min-height: 430px; }
}

@media (max-width: 700px) {
  .hero { min-height: auto; padding: 42px 5% 24px; gap: 20px; }
  .left { min-width: 0; }
  .mini { font-size: 12px; letter-spacing: clamp(4px, 2vw, 8px); }
  h1 { font-size: clamp(2.15rem, 11vw, 3rem); overflow-wrap: anywhere; }
  .desc { margin: 20px 0; font-size: 16px; }
  .main-btn { width: 100%; }
  .globe { width: min(76vw, 280px); height: min(76vw, 280px); }
  .globe img { width: 42%; }
  .events-head { align-items: stretch; flex-direction: column; gap: 18px; margin-top: 24px; }
  .events-head h2 { font-size: clamp(1.35rem, 7vw, 1.8rem); }
  .events-head a { min-width: 0; width: 100%; padding-inline: 18px; text-align: center; }
  .cards { width: 90%; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-card { min-height: clamp(360px, 118vw, 440px); }
  .home-card .date-box { width: 72px; height: 86px; top: 16px; left: 16px; }
  .home-card .date-box h2 { font-size: 34px; line-height: 31px; }
  .home-card .date-box span { font-size: 15px; }
  .home-card .event-info { left: 18px; right: 18px; bottom: 18px; }
  .home-card .event-info a { padding: 14px 10px; font-size: clamp(.76rem, 3.7vw, .95rem); }
  .time { flex-wrap: wrap; }
  .features { margin-inline: 5%; padding: 22px 16px; }
  .rules-buttons { flex-direction: column; }
}

@media (max-width: 360px) {
  .hero { padding-top: 32px; }
  .home-card .event-info { left: 15px; right: 15px; bottom: 15px; }
  .home-card .date-box { top: 15px; left: 15px; }
  .time { gap: 6px; }
  .time b { font-size: 17px; }
}
/* ================= FOOTER ================= */

.footer{
    width:100%;
    margin-top:80px;
    padding:28px 20px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(10px);
}

.footer p{
    color:#a8a8a8;
    font-size:15px;
    letter-spacing:.5px; 
}
.rules-buttons{
    display:flex;
    gap:15px;
    justify-content:center;
    margin-top:25px;
}

#acceptRules,
#rejectRules{
    padding:12px 30px;
    border:none;
    border-radius:50px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

#acceptRules{
    background:#ff8c00;
    color:white;
}

#acceptRules:hover{
    transform:scale(1.05);
}

#rejectRules{
    background:#2b2b2b;
    color:white;
}

#rejectRules:hover{
    background:#ff2b2b;
    transform:scale(1.05);
}
/* ==============================
   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;
    }
}

.rules-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 2, 14, 0.85); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.rules-card { background: rgba(22, 12, 38, 0.95); border: 1px solid rgba(255, 46, 189, 0.3); border-radius: 20px; padding: 32px 28px; max-width: 480px; width: 100%; text-align: center; box-shadow: 0 0 40px rgba(255, 46, 189, 0.2); }
.rules-card h2 { font-size: 24px; color: #fff; margin-bottom: 14px; }
.rules-card p { font-size: 15px; color: #d0c4de; line-height: 1.6; margin-bottom: 24px; }
.rules-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rules-actions button { min-height: 44px; padding: 0 22px; border-radius: 22px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.btn-accept { background: linear-gradient(135deg, #ff00c8, #ff4ea6); color: #fff; border: none; }
.btn-accept:hover { transform: translateY(-2px); }
.btn-reject { background: transparent; color: #a090b5; border: 1px solid rgba(255,255,255,0.2); }
.btn-reject:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
