/* ==========================================================================
   INKORA Hero - Video Background, Animated Title, Counter & Location
   Tattoo & Music Festival - Professional Hero Section
   ========================================================================== */

.inkora-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- Video Background --- */
.inkora-hero__video-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Cover YouTube logo (bottom-right) and video title (bottom-left) */
.inkora-hero__video-wrap::before,
.inkora-hero__video-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 56px;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1;
  pointer-events: none;
}

.inkora-hero__video-wrap::before {
  left: 0;
  width: 180px;
  border-radius: 0 6px 0 0;
}

.inkora-hero__video-wrap::after {
  right: 0;
  width: 100px;
  border-radius: 6px 0 0 0;
}

.inkora-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.inkora-hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* --- Hero entrances: start when preloader closes (body.preloader-done) --- */
.inkora-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
  opacity: 0;
}

body.preloader-done .inkora-hero__overlay {
  animation: inkora-overlay-fade 0.8s ease-out both;
}

@keyframes inkora-overlay-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Center Content: INKORA + Subtitle + Date --- */
.inkora-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

body.preloader-done .inkora-hero__content {
  animation: inkora-content-fade 0.6s ease-out both;
}

@keyframes inkora-content-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* INKORA title stack: outline (back) + main (front) */
.inkora-hero__title-wrap {
  position: relative;
  display: inline-block;
  margin: 0;
}

.inkora-hero__title {
  margin: 0;
  font-family: "Unbounded", "Oswald", sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 8rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* Main INKORA - electric waves effect (brand palette) */
.inkora-hero__title-inner {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #fff 0%,
    #f5e6c8 8%,
    #fff 16%,
    #e8dcc4 24%,
    #d4c4a0 32%,
    #fff 40%,
    #be912f 48%,
    #f5e6c8 56%,
    #fff 64%,
    #e8dcc4 72%,
    #d4c4a0 80%,
    #fff 88%,
    #fff 100%
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  filter: drop-shadow(0 0 30px rgba(190, 145, 47, 0.5))
          drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  opacity: 0;
}

body.preloader-done .inkora-hero__title-inner {
  opacity: 1;
  animation:
    inkora-main-entrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
    inkora-electric-wave 2.5s ease-in-out 1.3s infinite,
    inkora-main-float 4s ease-in-out 1.3s infinite;
}

@keyframes inkora-main-entrance {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes inkora-electric-wave {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 50% 50%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 50%; }
}

@keyframes inkora-main-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Outline INKORA - bigger, behind, 10% opacity, more animated */
.inkora-hero__title-outline {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Unbounded", "Oswald", sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 12rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px rgba(255, 255, 255, 0.1);
  text-stroke: 3px rgba(255, 255, 255, 0.1);
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
}

body.preloader-done .inkora-hero__title-outline {
  animation:
    inkora-outline-entrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both,
    inkora-outline-float 5s ease-in-out 1.3s infinite;
}

@keyframes inkora-outline-entrance {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes inkora-outline-float {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) translateX(0);
  }
  25% {
    transform: translate(-50%, -50%) scale(1.05) translateX(6px);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08) translateX(0);
  }
  75% {
    transform: translate(-50%, -50%) scale(1.05) translateX(-6px);
  }
}

.inkora-hero__subtitle {
  margin: 1.25rem 0 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.2vw, 1.35rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.98);
  opacity: 0;
}

body.preloader-done .inkora-hero__subtitle {
  animation: inkora-subtitle-slide 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

@keyframes inkora-subtitle-slide {
  from {
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.2em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.5em;
  }
}

.inkora-hero__date {
  margin: 0.75rem 0 0;
  font-family: "Unbounded", "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
}

body.preloader-done .inkora-hero__date {
  animation: inkora-date-fade 1s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}

@keyframes inkora-date-fade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Bottom: 3 WOW Boxes --- */
.inkora-hero__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 1.25rem 2rem 2rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.inkora-hero__box {
  border-radius: 20px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inkora-hero__box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.inkora-hero__title-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  color: #be912f;
  font-size: 1.15rem;
}

/* --- Box 1: Tickets - Slides from left --- */
.inkora-hero__tickets-box {
  background: linear-gradient(135deg, rgba(190, 145, 47, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(190, 145, 47, 0.35);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 280px;
  opacity: 0;
}

body.preloader-done .inkora-hero__tickets-box {
  animation: inkora-box-slide-left 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
}

.inkora-hero__tickets-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.inkora-hero__tickets-title {
  margin: 0;
  font-family: "Unbounded", "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.08em;
}

.inkora-hero__tickets-text {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.inkora-hero__tickets-box .inkora-hero__btn {
  margin-top: 0.5rem;
}

/* --- Box 2: Countdown - Slides from center (scale up) --- */
.inkora-hero__counter-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 320px;
  opacity: 0;
}

body.preloader-done .inkora-hero__counter-box {
  animation: inkora-box-scale-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
}

@keyframes inkora-box-scale-up {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes inkora-box-slide-left {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.inkora-hero__counter-title {
  margin: 0 0 1rem;
  font-family: "Unbounded", "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0.15em;
  text-align: left;
}

.inkora-hero__countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.inkora-hero__countdown li {
  font-family: "Unbounded", "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #fff;
  background: transparent;
  border: none;
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  text-align: center;
}

.inkora-hero__countdown li span {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.1rem;
}

.inkora-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #be912f 0%, #d4a84b 100%);
  border-radius: 8px;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.inkora-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(190, 145, 47, 0.4);
  color: #fff;
}

.inkora-hero__btn-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

/* --- Box 3: Location - Slides from right --- */
.inkora-hero__location-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 260px;
  opacity: 0;
}

body.preloader-done .inkora-hero__location-box {
  animation: inkora-box-slide-right 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both;
}

@keyframes inkora-box-slide-right {
  from {
    opacity: 0;
    transform: translateX(120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.inkora-hero__location-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.inkora-hero__location-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.inkora-hero__location-venue {
  font-family: "Unbounded", "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.inkora-hero__location-text a {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.inkora-hero__location-text a:hover {
  color: #be912f;
}

/* --- Responsive --- */
@media only screen and (max-width: 767px) {
  /* Center content in the area between header and bottom boxes */
  .inkora-hero__content {
    padding-top: 90px;
    padding-bottom: 380px;
    justify-content: center;
    min-height: 0;
  }

  .inkora-hero__bottom {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .inkora-hero__tickets-box,
  .inkora-hero__counter-box,
  .inkora-hero__location-box {
    min-width: 100%;
    width: 100%;
  }

  .inkora-hero__tickets-box {
    align-items: center;
    text-align: center;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding:0 !important;
  }

  .inkora-hero__tickets-box:hover {
    transform: none;
    box-shadow: none;
  }

  .inkora-hero__tickets-title,
  .inkora-hero__tickets-text {
    display: none;
  }

  .inkora-hero__tickets-content {
    align-items: center;
    width:100%;
  }

  .inkora-hero__tickets-box .inkora-hero__btn {
    margin-top: 0;
    width:100%;
  }

  .inkora-hero__counter-box {
    align-items: center;
  }

  .inkora-hero__counter-title {
    text-align: center;
  }

  .inkora-hero__countdown {
    justify-content: center;
  }

  .inkora-hero__countdown li {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    font-size: 1.35rem;
  }

  .inkora-hero__title,
  .inkora-hero__title-outline {
    letter-spacing: 0.15em;
  }

  .inkora-hero__title-outline {
    font-size: clamp(4rem, 18vw, 8rem);
  }

  .inkora-hero__subtitle {
    letter-spacing: 0.3em;
  }

  .inkora-hero__location-box {
    flex-direction: row;
    justify-content: center;
  }

  .inkora-hero__location-img {
    height: 52px;
  }

  .inkora-hero__location-text {
    align-items: center;
    text-align: center;
  }
}
