html,
body {
  margin: 0;
  padding: 0;
  font-family: "Press Start 2P", monospace;
  background: transparent;
  color: #fff;
  overflow-x: hidden;
  height: 100%;
  font-size: 10px;
}

body {
  background-color: #181717;
  background-image: 
    radial-gradient(circle, rgba(50, 50, 50, 1) 1px, transparent 1px),
    radial-gradient(circle, rgba(50, 50, 50, 1) 1px, transparent 1px);
  background-size: 15px 15px;
  background-position: 0 0, 7.5px 7.5px;
}

canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  background: transparent; /* NE MELNS */
}

/* ========================= */
/*        Bāzes stils       */
/* ========================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

/* Kanva - lai neblķētu klikšķus */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 12px); /* nogriež 12px joslu scrollbar vietai */
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: black; /* rezerves fons */
}

/* #top enkura korekcija */
#top {
  position: relative;
  top: -80px;
  height: 0;
  visibility: hidden;
}

/* ========================= */
/*     Header un Layout      */
/* ========================= */

.main-header, 
.hero,
.section,
.main-footer {
  position: relative;
  z-index: 1;
}

.main-header {
  height: 80px;
  padding: 0 50px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.logo-link {
  display: inline; /* minimāla klikšķa zona tieši uz logo */
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 0;
  text-decoration: none;

  /* No highlight uz pieskārieniem mobilajā */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.logo {
  height: 100px; /* logo izmērs */
  width: auto;
  display: block;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); /* maza shadow */
}

.logo:hover {
  box-shadow: 0 0 4px rgba(255, 178, 44, 0.5);
  transform: scale(1.05) rotate(2deg);
}

/* Navigācija desktop */
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 1001;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

/* Default hover visiem pārējiem */
.main-nav a:hover {
  color: #ffb22c;
}

/* Gaming efekts īpašajām pogām */
.main-nav a.gaming-link {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  z-index: 1;
}

.main-nav a.gaming-link::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 300%;
  background: linear-gradient(120deg, transparent, rgba(0,255,255,0.6), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: -1;
}

.main-nav a.gaming-link:hover::before {
  transform: translateX(100%);
}

.main-nav a.gaming-link:hover {
  color: #0ff; /* cyan neon */
  border-color: #0ff;
  text-shadow: 0 0 8px #0ff, 0 0 16px #0ff, 0 0 24px #0ff;
  box-shadow: 0 0 10px #0ff, inset 0 0 8px rgba(0,255,255,0.6);
  background: rgba(0, 255, 255, 0.08);
}

/* Tukša vieta labajā */
.right-spacer {
  width: 60px;
}

/* ===== Desktop versija ===== */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  color: white;
  position: relative;
  z-index: 1200;
}

/* Galvenā navigācija (desktop) */
.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.main-nav a:hover {
  transform: scale(1.05);
}

/* ========================= */
/* Mobilajam — no tap highlight uz logo */
/* ========================= */
@media (max-width: 768px) {
  .logo-link {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
  }
  .logo {
    transition: none; /* atspējot hover transformāciju mobilajā */
  }
}

/* ===== Mobilais izkārtojums ===== */ 
@media (max-width: 768px) {

  /* Hamburger poga */
  .hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent; /* Novērš zilo highlight */
    transition: transform 0.2s ease; /* gluda animācija uz hover/active */
  }

  .hamburger span {
    display: block;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease, background-color 0.3s ease; /* Pievienota krāsas pāreja */
  }

  /* Hover efekts uz hamburger pogas */
  .hamburger:hover span {
    transform: scaleX(1.2);
  }

  /* Spiežot (active) efektu "pulse" */
  .hamburger:active {
    animation: pulse 0.3s ease;
  }

  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }

  /* Hamburger span krāsas maiņa uz klikšķi */
  .hamburger.active span {
    background-color: #ffb22c;
  }

  /* Noņem fokusa un aktīvā stāvokļa kontūru (zilais pārklājums) */
  .hamburger:focus,
  .hamburger:active {
    outline: none;
    box-shadow: none;
  }

  /* Hamburger animācija uz "X" */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Navigācija mobilajā – palielināta platums */
  .main-nav {
    display: none;
    flex-direction: column;
    background: rgba(17,17,17,0.95);
    position: absolute;
    top: 60px;
    right: 10px;
    width: calc(100% - 20px);
    max-width: 360px;
    padding: 20px 0;
    box-sizing: border-box;
    z-index: 1000;
    border-radius: 8px;
    transition: all 0.3s ease; /* gluda izskata animācija */
  }

  .main-nav a {
    padding: 12px 18px;
    font-size: 16px;
    text-align: center;
    color: white;
    text-decoration: none;

    /* Novērš zilo parklājumu arī saitēm */
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s ease, background-color 0.3s ease; /* gluda hover krāsa */
  }

  /* Hover efekts uz saitēm */
  .main-nav a:hover {
    color: #ffb22c;
  }

  /* Noņem fokusa kontūru arī saitēm */
  .main-nav a:focus,
  .main-nav a:active {
    outline: none;
    box-shadow: none;
    background: none;
  }

  .main-nav.show {
    display: flex;
  }
}

/* Īpaši maziem ekrāniem (<480px) */
@media (max-width: 480px) {
  .main-nav {
    width: calc(100% - 10px);
    right: 5px;
  }

  .main-nav a {
    font-size: 14px;
    padding: 12px 16px;
    text-align: center;
  }
}

/* Desktopā hamburger poga nav redzama */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* ===============================  
   HERO SEKCIJA
================================ */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero-content p {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.5rem;
  opacity: 0.9;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

/* ===============================
   HERO ATTĒLS (NEW FLOAT + RGB FLOW GLOW)
================================ */
.character-img {
  max-width: 200px;
  display: block;
  margin: 0 auto 20px;
  will-change: transform, filter;
  animation: 
    hero-float 4.5s ease-in-out infinite,
    hero-glow 6s linear infinite;
}

/* Glow krāsu plūstošais cikls ar #ff9100 */
@keyframes hero-glow {
  0%, 33%, 66%, 100% {
    filter: drop-shadow(0 0 10px #ff9100)
            drop-shadow(0 0 20px #ff9100);
  }
}

/* Jauns dinamiskāks floating efekts */
@keyframes hero-float {
  0%   { transform: translateY(0px) scale(1); }
  20%  { transform: translateY(-8px) scale(1.02); }
  40%  { transform: translateY(-18px) scale(1.04); }
  50%  { transform: translateY(-22px) scale(1.05); }
  60%  { transform: translateY(-18px) scale(1.04); }
  80%  { transform: translateY(-8px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .character-img {
    animation: none;
  }
}

/* ===============================
   HERO POGU KONTEINERS
================================ */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ===============================
   POGAS
================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: #ffffff;
  color: #222;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: #ffb22c;
  color: #ffffff;
  box-shadow:
    0 0 8px rgba(255,178,44,0.6),
    0 0 18px rgba(255,178,44,0.85),
    0 0 36px rgba(255,178,44,0.6);
  transform: translateY(-2px);
}

/* ===============================
   IKONAS
================================ */
.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-size: cover;
  background-position: center;
  filter: brightness(0);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.giveaways-icon {
  background-image: url("https://cdn-icons-png.freepik.com/512/5499/5499582.png?ga=GA1.1.292190565.1765117586");
}

.partners-icon {
  background-image: url("https://cdn-icons-png.freepik.com/512/3386/3386942.png?ga=GA1.1.292190565.1765117586");
}

.btn:hover .btn-icon {
  filter: brightness(0) invert(1);
  animation: icon-bounce 0.5s ease;
}

@keyframes icon-bounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
  60% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

/* ===============================
   ATTĒLI
================================ */
.character-img { max-width: 180px; }

.floating-images img {
  max-width: 300px;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.floating-images img:hover {
  transform: scale(1.05);
}

/* ===============================
   MOBILAIS (≤480px)
================================ */
@media (max-width: 480px) {
  .hero-content p {
    font-size: 1.0rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .btn-icon {
    width: 18px;
    height: 18px;
  }

  .character-img { max-width: 140px; }
  .floating-images img { max-width: 180px; }
}

/* ===============================
   TABLET / MOBILA (≤768px)
================================ */
@media (max-width: 768px) {
  .hero-content p {
    font-size: 1.1rem;
  }

  .btn { font-size: 1rem; padding: 12px 24px; }
  .btn-icon { width: 20px; height: 20px; }
  .character-img { max-width: 160px; }
  .floating-images img { max-width: 220px; }
}

/* ===============================
   DESKTOP VIDĒJA (769px – 1199px)
================================ */
@media (min-width: 769px) and (max-width: 1199px) {
  .hero-content p {
    font-size: 1.1rem;
  }

  .btn { font-size: 1.05rem; padding: 12px 28px; }
  .btn-icon { width: 22px; height: 22px; }
  .character-img { max-width: 200px; }
  .floating-images img { max-width: 260px; }
}

/* ===============================
   DESKTOP LIELS (≥1200px)
================================ */
@media (min-width: 1200px) {
  .hero-content p {
    font-size: 1.3rem;
  }

  .btn { font-size: 1.1rem; padding: 14px 32px; }
  .btn-icon { width: 24px; height: 24px; }
  .character-img { max-width: 220px; }
  .floating-images img { max-width: 300px; }
}

/* Sekcijas pamati */
.section { padding: 60px 30px; }

/* ============================= */
/* ====== PARTNERS SECTION ===== */
/* ============================= */
#partners {
    padding: 80px 20px;
}

/* ====== Virsraksts centrā ar oranžām līnijām ====== */
.partners-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    width: 100%;
}

.partners-title h2 {
    margin: 0;
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff, #ff7f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}

.partners-title-line {
    flex: 1;
    height: 3px;
    max-width: 300px;
    background-color: #ff7f00;
    border-radius: 2px;
}

/* ============================= */
/* ====== Partneru režģis ====== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    perspective: 1000px;
    justify-items: center;
}

/* ============================= */
/* ====== Partneru kartiņas ==== */
.partner-card {
    background-color: #232222;
    padding: 90px 20px 30px;
    border-radius: 15px;
    text-align: center;
    margin: 20px 15px;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    pointer-events: auto;
    overflow: hidden;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 320px;
    width: 100%;
}

.partner-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--shine-color, rgba(255,255,255,0.25)) 0%, transparent 35%);
}

.partner-card > * {
    position: relative;
    z-index: 1;
}

/* ============================= */
/* ====== Krāsu variācijas ===== */
.partner-card.border-skinclub {
    --shine-color: rgba(255, 0, 186, 1);
    --glow-color: rgba(255, 0, 186, 0.9);
    border-color: #ff00ba;
}

.partner-card.border-hellcase {
    --shine-color: rgba(255, 97, 0, 1);
    --glow-color: rgba(255, 97, 0, 0.9);
    border-color: #ff6100;
}

.partner-card.border-skinbaron {
    --shine-color: rgba(82, 50, 200, 1);
    --glow-color: rgba(82, 50, 200, 0.85);
    border-color: #5232c8;
}

/* ============================= */
/* ====== Hover animācija ====== */
.partner-card.border-skinclub:hover {
    box-shadow: 0 10px 40px #ff00ba;
    transform: translateY(10px) scale(1.02);
}

.partner-card.border-hellcase:hover {
    box-shadow: 0 10px 40px #ff6100;
    transform: translateY(10px) scale(1.02);
}

.partner-card.border-skinbaron:hover {
    box-shadow: 0 10px 40px #5232c8;
    transform: translateY(10px) scale(1.02);
}

/* ============================= */
/* ====== Trofeja ============== */
.partner-trophy {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    filter: invert(1) drop-shadow(2px 2px 4px rgba(0,0,0,0.6));
    z-index: 10;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-trophy {
    transform: scale(1.2) translateY(3px);
}

/* ============================= */
/* ====== Logo ================= */
.partner-logo {
    max-width: 200px;
    max-height: 90px;
    margin: 15px auto;
    display: block;
    object-fit: contain;
}

/* ============================= */
/* ====== H3 virsraksts ====== */
.partner-card h3 {
    position: absolute;
    top: 0;
    left: -2px;
    right: -2px;
    height: 70px;
    margin: 0;
    padding: 0;
    background-color: #ffb22c;
    color: #ffffff;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    overflow: hidden;
}

/* ============================= */
/* ====== Apraksts ============= */
.partner-description {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 12px;
    color: white;
}

/* ============================= */
/* ====== Pogas ================ */
.partner-card .code-block {
    pointer-events: auto;
    display: inline-block;
    cursor: pointer;
    z-index: 2;
    margin-top: 20px;
}

.code-block a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.15em;
    width: 180px;
    height: 50px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.code-block a:hover {
    filter: brightness(90%);
}

.skinclub-button a { background-color: #ff00ba; }
.hellcase-button a { background-color: #ff6100; }
.skinbaron-button a { background-color: #5232c8; }

/* ============================= */
/* ====== Responsive =========== */
@media (max-width: 768px) {
    .partners-title h2 { font-size: 2rem; }
    .partners-title-line { max-width: 120px; height: 3px; }
    .partner-card { padding: 80px 20px 25px; margin: 15px 0; }
    .partner-card h3 { height: 64px; font-size: 1.35em; left: -2px; right: -2px; }

    /* NEDAUDZ MAZĀKAS POGAS MOBILAJĀ */
    .code-block a {
        width: 170px;
        height: 48px;
        font-size: 1.1em;
        padding: 12px 26px;
    }

    .partner-logo { max-width: 180px; max-height: 80px; }
}

@media (max-width: 480px) {
    .partner-card h3 { height: 58px; font-size: 1.2em; left: -2px; right: -2px; }

    /* NEDAUDZ MAZĀKAS TELEFONOS */
    .code-block a {
        width: 190px;
        height: 52px;
        font-size: 1.15em;
        padding: 14px 28px;
    }

    .partner-logo { max-width: 160px; max-height: 70px; }
}

/* ======================= VIDEOS SECTION STILS ======================= */

/* Virsraksts ar līnijām — centrēts */
.videos-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 60px 20px 40px;
  width: 100%;
}

.videos-title h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 1px;
}

/* Animēta līnija */
.title-line {
  flex: 1;
  height: 3px;
  max-width: 250px;
  border-radius: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    #ff69b4,
    #ffffff,
    #ff69b4,
    transparent
  );

  background-size: 200%;
  animation: lineFlow 4s linear infinite;
}

@keyframes lineFlow {
  from { background-position: 0%; }
  to { background-position: 200%; }
}

/* Videos Grid */
.videos-grid {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  overflow: visible;
  padding: 0 20px;
}

/* ================= VIDEO KARTES ================= */

.video-card {
  position: relative;
  width: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #ffffff;
  background: #222;
  box-shadow: 0 4px 8px rgba(0,0,0,0.8);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;

  opacity: 1;
  transform: translateY(0) scale(1) rotateY(0deg);

  transition: transform 0.4s ease, box-shadow 0.3s ease, opacity 0.5s ease;

  /* Fade in animācija */
  animation: fadeUp 0.8s ease forwards;
}

/* Fade animācija */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-card.hidden,
.video-card.hidden-3d {
  opacity: 0;
  transform: translateY(20px) scale(0.95) rotateY(20deg);
  pointer-events: none;
}

/* Hover efekts */
@media (hover: hover) and (pointer: fine) {
  .video-card:hover {
    transform: translateY(-6px) scale(1.05) rotateY(-2deg);
    box-shadow: 0 10px 24px rgba(0,0,0,0.9);
  }
}

.video-card.exit-3d {
  transform: translateX(200px) rotateY(60deg) scale(0.8);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

/* ================= ATTĒLI ================= */

.video-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: transform 0.4s ease;
}

.video-card:hover img {
  transform: scale(1.05);
}

/* ================= VIDEO INFO ================= */

.video-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
}

/* Datums */

.video-date {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.85rem;
  color: #fff;
  text-shadow: 0 1px 2px black;

  display: flex;
  align-items: center;

  position: relative;
  bottom: -4px;

  padding: 4px 8px;
  border-radius: 6px;

  background-color: rgba(255, 255, 255, 0.1);

  flex-grow: 1;

  transition: background 0.3s ease;
}

.video-date .clock-icon {
  width: 1.4em;
  height: 1.4em;
  margin-right: 0.5em;
  filter: brightness(0) invert(1) drop-shadow(1px 1px 1px black);
}

/* Video ilgums */

.video-length {
  display: flex;
  align-items: center;
  gap: 4px;

  font-size: 0.85rem;
  font-family: 'Press Start 2P', cursive;

  color: #fff;
  text-shadow: 0 1px 2px black;

  position: absolute;
  right: 12px;
  bottom: 6px;

  background-color: rgba(255, 255, 255, 0.1);

  padding: 4px 8px;
  border-radius: 6px;

  transition: background 0.3s ease;
}

.video-length .duration-icon {
  width: 1.4em;
  height: 1.4em;
  filter: brightness(0) invert(1);
}

/* ================= PROGRESS BAR ================= */

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;

  height: 8px;
  width: 0%;

  background: linear-gradient(270deg, #ff6a00, #ffd500, #ff6a00);
  background-size: 400% 400%;

  border-radius: 0 0 16px 16px;

  box-shadow:
    0 0 12px rgba(255,106,0,0.8),
    0 0 20px rgba(255,214,0,0.6),
    inset 0 0 6px rgba(255,255,255,0.4);

  overflow: hidden;

  animation: gradientFlow 6s ease infinite, glowPulse 2.5s ease-in-out infinite;

  pointer-events: none;
}

.progress-bar.animate {
  transition: width 5s linear;
  width: 100%;
}

.progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;

  background: repeating-linear-gradient(
    45deg,
    rgba(139,69,19,0.4) 0px,
    rgba(139,69,19,0.4) 4px,
    transparent 4px,
    transparent 16px
  );

  transform: skewX(-25deg);
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowPulse {

  0%, 100% {
    box-shadow:
      0 0 12px rgba(255,106,0,0.8),
      0 0 20px rgba(255,214,0,0.6),
      inset 0 0 6px rgba(255,255,255,0.4);
  }

  50% {
    box-shadow:
      0 0 18px rgba(255,106,0,1),
      0 0 30px rgba(255,214,0,0.8),
      inset 0 0 10px rgba(255,255,255,0.5);
  }

}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .video-card { 
    width: 250px;
    height: 190px;
  }

  .video-card img {
    height: 140px;
  }

}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .videos-grid {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
    padding: 0 10px 20px;
    box-sizing: border-box;
  }

  .video-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: 12px;

    border-radius: 6px;
    border: 2px solid #ffffff;

    box-shadow: 0 4px 8px rgba(0,0,0,0.8) !important;
    background-color: #222222 !important;

    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .video-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .video-length {
    right: 10px;
    bottom: 10px;
    font-size: 0.8rem;
  }

  .progress-bar {
    display: none !important;
  }

}

/* ================= PAPILDU HOVER EFEKTI ================= */

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.05),
    transparent
  );

  opacity: 0;
  transition: opacity 0.4s ease;

  pointer-events: none;
  border-radius: 12px;
}

.video-card:hover::before {
  opacity: 1;
}

/* ======= FOOTER ======= */
.main-footer {  
  width: 100%; /* pa visu platumu */
  background: #111;
  text-align: center;
  padding: 60px 20px 40px; /* vairāk augšpusē, mazāk apakšā */
  font-size: 1.2rem;
  position: relative;
  color: white;
  border-top: 1px solid rgba(255,255,255,0.1); /* viegla atdalīšana */
}

.main-footer p:first-child {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Disleimeris — vairāk uz augšu un bez fona */
.disclaimer-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  text-align: center;
}

/* Vecā vecuma brīdinājums — desktop: nedaudz zemāk un nedaudz uz kreiso pusi no labās malas */
.age-warning { 
  position: absolute;
  top: 80px;       /* nedaudz uz leju */
  right: 100px;    /* nedaudz uz kreiso pusi no labās malas */
  font-size: 0.75rem;
  line-height: 1.3;
  color: white;
  text-align: left;
  max-width: 250px;
  z-index: 10;
}

.age-warning .red-18 {
  color: red;
  font-weight: bold;
  text-shadow: 0 0 4px red;
}

/* Sociālie linki */
.social-links {
  display: flex;
  justify-content: center; /* centrēti kopā ar footer */
  gap: 20px;
  margin-top: 30px;
  position: static;
}

.social-icon img {
  width: 22px;
  height: 22px;
  filter: invert(100%);
  transition: transform 0.3s;
}

.social-icon img:hover {
  transform: scale(1.2);
}

/* ======= MOBILAJIEM IERĪCĒM ======= */
@media (max-width: 768px) {

  .main-footer {
    display: flex;
    flex-direction: column;
    align-items: center; /* centrē saturu horizontāli */
    justify-content: center; /* centrē saturu vertikāli */
    padding: 30px 15px 50px;
    font-size: 1rem;
    gap: 20px; /* vienmērīgas atstarpes starp bērniem */
    text-align: center; /* nodrošina, ka teksts ir centrēts */
  }

  .age-warning {
    order: 1; /* parādās pirmais */
    position: static; /* noņem absolute */
    text-align: center;
    max-width: 90%;
    font-size: 0.65rem;
    margin: 0 auto; /* centrē horizontāli */
  }

  .disclaimer-text {
    order: 2; /* parādās pēc age-warning */
    font-size: 0.55rem;
    padding: 0 10px;
    text-align: center;
    margin: 0 auto; /* centrē horizontāli */
  }

  .social-links {
    order: 3;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
  }

  .main-footer p:first-child {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

.videos-grid {
    gap: 20px;
  }

  .video-card {
    width: 100%;
    max-width: 350px;
    height: auto;
  }

  .video-card img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 15px;
  }

  .video-info {
    position: relative;
    padding: 8px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .video-info h3 {
    font-size: 1rem;
  }

  .video-date {
    font-size: 0.8rem;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .partner-description {
    font-size: 0.9em;
  }

  .video-info h3 {
    font-size: 0.9rem;
  }

  .video-date {
    font-size: 0.75rem;
  }
}

.promo-banner {
  display: block;
  max-width: 1100px;
  width: 100%;
  margin: 50px auto;
  border-radius: 14px;
  overflow: visible;
  position: relative;
  text-decoration: none;
  transition: box-shadow 0.4s ease;
}

.promo-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  /* No filter hover effect */
}

.promo-banner:hover {
  box-shadow: 0 0 10px 3px #ffb22c, 0 0 20px 6px #ff8a00;
}

/* ===== HERO SEKCIJA ===== */
.hero-content {
  position: relative;
  display: inline-block;
  text-align: center;
}

/* Mazāks character image */
.character-img {
  max-width: 350px; /* iepriekš 480px */
  width: 100%;
  position: relative;
  z-index: 10;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Viegla reakcija uz hover */
.character-img:hover {
  transform: scale(1.08) rotate(-2deg);
  filter: brightness(1.1);
}

/* ===== FLOATING IMAGES ===== */
.floating-images img {
  position: absolute;
  width: 200px;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.6));
  opacity: 0.95;
  z-index: -2;
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: center center;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

/* ===== POZICIJAS ===== */
.floating-images img:nth-child(1) { top: calc(10% - 100px); left: calc(50% - 100px); animation: floatCrazy1 6s infinite ease-in-out; }
.floating-images img:nth-child(2) { top: calc(40% - 100px); left: calc(85% - 100px); animation: floatCrazy2 5.5s infinite ease-in-out; }
.floating-images img:nth-child(3) { top: calc(80% - 100px); left: calc(70% - 100px); animation: floatCrazy3 7s infinite ease-in-out; }
.floating-images img:nth-child(4) { top: calc(85% - 100px); left: calc(30% - 100px); animation: floatCrazy2 6.5s infinite ease-in-out; }
.floating-images img:nth-child(5) { top: calc(35% - 100px); left: calc(15% - 100px); animation: floatCrazy1 5.5s infinite ease-in-out; }

/* ===== KRUTĀS FLOAT + ROTATE ANIMĀCIJAS ===== */
@keyframes floatCrazy1 {
  0%   { transform: translateY(0) rotate(-5deg) scale(1); }
  25%  { transform: translateY(-20px) rotate(3deg) scale(1.02); }
  50%  { transform: translateY(-40px) rotate(-4deg) scale(1.03); }
  75%  { transform: translateY(-20px) rotate(2deg) scale(1.02); }
  100% { transform: translateY(0) rotate(-5deg) scale(1); }
}

@keyframes floatCrazy2 {
  0%   { transform: translateY(0) rotate(5deg) scale(1); }
  25%  { transform: translateY(-25px) rotate(-3deg) scale(1.03); }
  50%  { transform: translateY(-50px) rotate(4deg) scale(1.05); }
  75%  { transform: translateY(-25px) rotate(-2deg) scale(1.03); }
  100% { transform: translateY(0) rotate(5deg) scale(1); }
}

@keyframes floatCrazy3 {
  0%   { transform: translateY(0) rotate(-3deg) scale(1); }
  20%  { transform: translateY(-15px) rotate(4deg) scale(1.02); }
  40%  { transform: translateY(-30px) rotate(-5deg) scale(1.04); }
  60%  { transform: translateY(-15px) rotate(3deg) scale(1.03); }
  80%  { transform: translateY(-25px) rotate(-4deg) scale(1.05); }
  100% { transform: translateY(0) rotate(-3deg) scale(1); }
}

/* ===== BALTS HOVER EFEKTS ===== */
.floating-images img:hover {
  filter: brightness(4) drop-shadow(0 0 40px rgba(255,255,255,1));
  transform: scale(1.2) translateY(-40px) rotate(5deg);
  z-index: 5;
  opacity: 1;
}

/* ===== MOBILĀ VERSIJA ===== */
@media (max-width: 600px) {
  .character-img {
    max-width: 230px; /* mazāks mobilajā */
  }

  .floating-images img {
    width: 100px; /* mazākas bildes */
    transform: scale(0.9) translateZ(0);
    opacity: 0.9;
  }

  /* Optimizētas pozīcijas mobilajā */
  .floating-images img:nth-child(1) { top: 5%; left: 35%; animation: floatCrazy1 6s infinite ease-in-out; }
  .floating-images img:nth-child(2) { top: 25%; left: 70%; animation: floatCrazy2 5s infinite ease-in-out; }
  .floating-images img:nth-child(3) { top: 55%; left: 55%; animation: floatCrazy3 7s infinite ease-in-out; }
  .floating-images img:nth-child(4) { top: 65%; left: 15%; animation: floatCrazy2 6.5s infinite ease-in-out; }
  .floating-images img:nth-child(5) { top: 30%; left: 5%; animation: floatCrazy1 5.5s infinite ease-in-out; }
}

.social-links a img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.social-links a:hover img {
  transform: scale(1.3) translateY(-5px);
  z-index: 10;
}

/* ===== No Mobile Tap Highlight ===== */
* { -webkit-tap-highlight-color: transparent !important; }

/* ===== Centrēts Giveaways Title ar 40% balts un 60% zaļš ===== */
.giveaways-title {
display: flex;
align-items: center;
justify-content: center;
gap: 25px;
margin-bottom: 40px;
width: 100%;
background: linear-gradient(to right, #ffffff 40%, #0dff00 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.giveaways-title h2 {
margin: 0;
font-size: 2.5rem;
font-weight: 800;
color: inherit;
text-transform: uppercase;
text-align: center;
white-space: nowrap;
}

.giveaways-title .title-line {
flex: 1;
height: 3px;
max-width: 200px;
background: linear-gradient(to right, transparent, rgba(255,255,255,0.7), transparent);
border-radius: 2px;
}

/* ======== Giveaway Row ======== */
.giveaway-row {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
gap: 40px;
margin-top: 20px;
}

/* ===== Giveaway Card ===== */
.giveaway-card {
background: #1a1a1a;
border-radius: 12px;
padding: 14px 16px;
max-width: 300px;
width: 300px;
min-height: 350px;
text-align: center;
outline: 2px solid #ffb22c;
position: relative;
flex: 1 1 300px;
overflow: hidden;
}

/* ===== Pin Button ===== */
.pin-btn {
position: absolute;
top: 18px;
left: 24px;
background-color: #ffcc33;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: none;
pointer-events: none;
user-select: none;
z-index: 15;
}

.pin-btn img {
width: 32px;
height: 32px;
filter: brightness(0);
pointer-events: none;
}

/* ===== Carousel Dots ===== */
.carousel-dots {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 6px;
z-index: 20;
pointer-events: none;
}

.carousel-dots .dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(255,255,255,0.3);
pointer-events: none;
}

.carousel-dots .dot.active {
background: #ffb22c;
}

/* ===== Karuseļa attēli ===== */
.giveaway-img-carousel {
position: relative;
width: 100%;
height: 299px;
overflow: hidden;
border-radius: 8px;
}

.giveaway-img-carousel .giveaway-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 1s ease-in-out, transform 0.25s ease;
}

.giveaway-img-carousel .giveaway-img.active {
opacity: 1;
}

/* ===== Giveaway Image Wrapper ===== */
.giveaway-image-wrapper {
position: relative;
margin-bottom: 12px;
border-radius: 10px;
outline: 2px solid #ffb22c;
overflow: hidden;
max-width: 100%;
z-index: 10;
}

/* ===== Static Glow in Bottom Right Corner ===== */
.giveaway-image-wrapper::before {
content: '';
position: absolute;
right: 15px;
bottom: 15px;
width: 160px;
height: 160px;
background: radial-gradient(circle at bottom right, rgba(255, 178, 44, 1) 0%, rgba(255, 178, 44, 0) 70%);
filter: blur(35px);
pointer-events: none;
z-index: 0;
}

/* ===== Giveaway Image ===== */
.giveaway-img {
width: 100%;
height: auto;
border-radius: 8px;
display: block;
transition: transform 0.25s ease;
opacity: 1;
filter: brightness(1);
position: relative;
z-index: 5;
}

/* ===== Hover Animācija ===== */
@keyframes pulseMove {
0% { transform: translateY(0px) scale(1); }
50% { transform: translateY(-4px) scale(1.03); }
100% { transform: translateY(0px) scale(1); }
}

@keyframes whitePulse {
0% { filter: brightness(1); }
50% { filter: brightness(1.3); }
100% { filter: brightness(1); }
}

.giveaway-img.hover-active {
animation: pulseMove 1.3s ease-in-out infinite, whitePulse 1.3s ease-in-out infinite;
}

/* ===== Giveaway Item Background Overlay ===== */
.giveaway-item {
position: relative;
overflow: hidden;
padding: 10px;
margin: 5px;
}

.giveaway-item::after {
content: "";
position: absolute;
inset: 0;
opacity: 0.15;
background-repeat: no-repeat;
background-position: center;
background-size: 150px;
pointer-events: none;
transform: translateY(0px);
transition: transform 0.6s ease, opacity 0.3s ease;
z-index: 1;
}

/* ===== Fona attēli ===== */
.giveaway-item:nth-of-type(1)::after,
.giveaway-item:nth-of-type(2)::after,
.giveaway-item:nth-of-type(3)::after {
content: '';
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
width: 60%;
height: 60%;
background-repeat: no-repeat;
opacity: 0.08;
filter: brightness(0) invert(1);
pointer-events: none;
}

.giveaway-item:nth-of-type(1)::after {
background-image: url('https://bonkku.com/wp-content/uploads/2024/02/hellcase.png');
}

.giveaway-item:nth-of-type(2)::after {
background-image: url('https://yt3.ggpht.com/oFs6ods_8PKS_2inZ-UvaY4mxDlZkNEewy0SPi_kt3OqWhc7_JRj4XS0vATRGVZHjUTNprvnne_2=s607-c-fcrop64=1,00000000ffffffff-nd-v1-rwa');
background-size: 143%;
background-position: calc(50% + 15px) center;
}

.giveaway-item:nth-of-type(3)::after {
background-image: url('https://yt3.ggpht.com/oFs6ods_8PKS_2inZ-UvaY4mxDlZkNEewy0SPi_kt3OqWhc7_JRj4XS0vATRGVZHjUTNprvnne_2=s607-c-fcrop64=1,00000000ffffffff-nd-v1-rwa');
background-size: 143%;
background-position: calc(50% + 15px) center;
}

/* ===== Giveaway Titles ===== */
.giveaway-title {
color: #fff;
font-size: 1.3rem;
margin: 8px 0 0;
font-weight: 700;
}

/* ===== Tags ===== */
.active-tag, .inactive-tag, .price-tag {
position: absolute;
top: 10px;
right: 12px;
font-size: 0.9rem;
font-weight: 700;
padding: 6px 12px;
border-radius: 10px;
user-select: none;
white-space: nowrap;
z-index: 10;
}

.active-tag { background-color: #00ff29; color: #fff; }
.inactive-tag { background-color: #ff0000; color: #fff; }

.price-tag {
right: 100px;
background: linear-gradient(135deg, #ff8000, #8000ff);
color: #fff;
}

.price-tag.inactive-price { right: 120px; }

/* ===== Enter Button ===== */
.btn.enter-btn {
display: inline-block;
background: linear-gradient(135deg, #e8621d, #d62c87);
color: white;
padding: 10px 18px;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
border: none;
margin-top: 12px;
cursor: pointer;
outline: none;
-webkit-tap-highlight-color: transparent !important;
-webkit-user-select: none;
user-select: none;
-webkit-appearance: none;
transition: background 0.15s ease;
box-shadow: 0 0 10px rgba(232,98,29,0.3);
transform: none !important;
}

.btn.enter-btn:hover {
background: linear-gradient(135deg, #9718ce, #e8621d);
}

/* POP-OUT efekts (strādā VISUR, arī karuselim) */
.giveaway-card:has(.enter-btn:hover) .giveaway-img,
.giveaway-card:has(.enter-btn:hover) .giveaway-img-carousel .giveaway-img.active {
transform: scale(1.08);
}

/* noņemts brightness */
.giveaway-card:has(.enter-btn:hover) .giveaway-img {
filter: none !important;
}

/* ===== Active ===== */
.btn.enter-btn:active,
.btn.enter-btn.touch-active {
background: linear-gradient(135deg, #9718ce, #e8621d);
filter: none !important;
}

/* ===== Focus ===== */
.btn.enter-btn:focus,
.btn.enter-btn:focus-visible {
outline: none !important;
box-shadow: 0 0 10px rgba(232,98,29,0.3) !important;
}

/* Images */
img { pointer-events: none; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
.giveaway-row {
flex-direction: column;
align-items: center;
gap: 30px;
}

.giveaway-card {
max-width: 300px !important;
width: 300px !important;
min-height: 420px;
}

.btn.enter-btn {
width: 85%;
margin: 32px auto 0 auto;
font-size: 1rem;
padding: 12px 0;
border-radius: 6px;
}

.giveaway-title {
font-size: 1.25rem;
margin: 8px 0 0;
}

.giveaway-item {
padding: 8px;
margin: 6px 0;
}

.giveaway-item:nth-of-type(2)::after,
.giveaway-item:nth-of-type(3)::after {
background-position: calc(50% + 15px) center;
}

.giveaway-img:hover {
animation: none !important;
}

.giveaway-img-carousel { overflow: hidden; }

.giveaway-img-track {
display: flex;
width: 100%;
height: 100%;
transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
will-change: transform;
}

.giveaway-img-track .giveaway-img {
position: relative !important;
opacity: 1 !important;
min-width: 100%;
flex-shrink: 0;
}
}

/* =========================
   Scrollbar stils (Chrome, Edge, Safari)
   ========================= */
::-webkit-scrollbar {
  width: 18px; /* biezāks scrollbar */
}

::-webkit-scrollbar-track {
  background: #2e2e2e; /* tumšs fons */
  border-radius: 12px;
}

::-webkit-scrollbar-thumb {
  border-radius: 12px;
  border: 4px solid #2e2e2e; /* atstarpe ap īkšķi */
  background: linear-gradient(
    180deg,
    #ffb22c,
    #e69f20,
    #ffd16c,
    #ff9f1c
  );
  background-size: 400% 400%;
  animation: gradient-scroll 3s ease infinite; /* animācija */
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  transform: scale(1.1); /* nedaudz palielina hoverā */
  box-shadow: 0 0 16px #ffb22c; /* glow efekts */
}

/* =========================
   Animācija gradienta kustībai
   ========================= */
@keyframes gradient-scroll {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   Firefox scrollbar stils
   ========================= */
* {
  scrollbar-width: auto;
  scrollbar-color: #ffb22c #2e2e2e;
}

/* =========================
   Fona zvaigznes (canvas)
   ========================= */
canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* zem lapas satura */
  pointer-events: none; /* klikšķi iet cauri */
}

/* ===== TITLE ===== */
.specials-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    margin:80px 20px 20px;
}

.specials-title h2{
    font-size:2.6rem;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
    background:linear-gradient(90deg,#ffffff,#c084fc,#ffffff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.title-line{
    flex:1;
    max-width:250px;
    height:2px;
    background:linear-gradient(to right,transparent,#c084fc,transparent);
}

.specials-subtitle{
    text-align:center;
    color:#d1d5db;
    margin-bottom:60px;
    font-size:1.05rem;
}

/* ===== GRID ===== */
.specials-grid{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
    padding:0 20px 100px;
}

/* ===== BANNER ===== */
.promo-banner{
    position:relative;
    width:520px;
    height:330px;
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
    transition:0.4s ease;
    box-shadow:0 20px 40px rgba(0,0,0,0.6);
}

.banner-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s ease;
}

/* ===== BLUR OVERLAY ===== */
.banner-overlay{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(0px);
    -webkit-backdrop-filter:blur(0px);
    transition:0.4s ease;
    z-index:1;
}

.promo-banner:hover .banner-overlay{
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    background:rgba(255,255,255,0.08);
}

.banner-content{
    position:absolute;
    bottom:30px;
    left:30px;
    right:30px;
    z-index:2;
    display:flex;
    flex-direction:column;
    gap:12px;
}

/* =============================== */
/* GLASS HEADER BLOKS (h3 + ribbon) */
/* =============================== */
.glass-header{
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-radius:16px;
    padding:18px 24px;
    display:flex;
    flex-direction:column;
    gap:6px;
    border:1px solid rgba(255,255,255,0.2);
    box-shadow:0 10px 30px rgba(0,0,0,0.35);
}

/* Ribbon */
.glass-header .event-ribbon{
    display:inline-block;
    padding:6px 14px;
    font-size:12px;
    font-weight:800;
    border-radius:6px;
    letter-spacing:1px;
    color:#ffffff;
}

/* H3 */
.glass-header h3{
    font-size:1.6rem;
    font-weight:800;
    color:#ffffff;
    margin:0;
}

/* =============================== */
/* P BLOKS (atsevišķs glass) */
/* =============================== */
.banner-content p{
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    padding:14px 20px;
    border-radius:14px;
    color:#ffffff;
    line-height:1.6;
    display:inline-block;
    border:1px solid rgba(255,255,255,0.2);
    box-shadow:0 8px 25px rgba(0,0,0,0.3);
    margin:0;
}

/* =============================== */
/* 1. BANNER – ORANŽS GLASS HEADER */
/* =============================== */
.promo-banner:first-child .glass-header{
    background:rgba(255,120,0,0.25);
    border:1px solid rgba(255,140,0,0.6);
}

.promo-banner:first-child .banner-content p{
    background:rgba(255,150,50,0.2);
    border:1px solid rgba(255,160,60,0.5);
}

/* =============================== */
/* 2. BANNER – VIOLETS GLASS HEADER */
/* =============================== */
.promo-banner:nth-child(2) .glass-header{
    background:rgba(120,0,255,0.25);
    border:1px solid rgba(150,0,255,0.6);
}

.promo-banner:nth-child(2) .banner-content p{
    background:rgba(170,0,255,0.2);
    border:1px solid rgba(200,0,255,0.5);
}

/* ===== CTA BUTTON ===== */
.cta-button{
    display:inline-block;
    padding:12px 24px;
    background:#000000;
    color:#ffffff;
    font-weight:700;
    border-radius:8px;
    transition:0.3s ease;
    border:1px solid #333;
}

.promo-banner:first-child:hover .cta-button{
    background:linear-gradient(90deg,#ff8500,#ff2c00);
    border:none;
    box-shadow:0 10px 25px rgba(255,60,0,0.4);
}

.promo-banner:nth-child(2):hover .cta-button{
    background:linear-gradient(90deg,#3600ff,#ff00ba);
    border:none;
    box-shadow:0 10px 30px rgba(168,85,247,0.5);
}

/* Hover efekts bannerim */
.promo-banner:hover{
    transform:translateY(-8px);
    box-shadow:0 35px 70px rgba(0,0,0,0.8);
}

.promo-banner:hover img{
    transform:scale(1.05);
}

/* ===== Responsive ===== */
@media(max-width:768px){
    .specials-title h2{
        font-size:2rem;
    }

    .promo-banner{
        width:100%;
        max-width:500px;
        height:auto;
        min-height:280px;
    }

    .banner-content{
        bottom:20px;
        left:10px;
        right:10px;
        flex-direction:column;
        gap:12px;
    }

    .glass-header{
        padding:14px 18px;
        border-radius:12px;
        flex-direction:column;
        gap:6px;
    }

    .banner-content p{
        padding:12px 16px;
        border-radius:12px;
    }

    .cta-button{
        padding:10px 20px;
        font-size:0.95rem;
    }
}

/* Fons */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: black;
  overflow: hidden;
}

/* Pamatpleķi */
.plekis {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
  background: radial-gradient(circle, rgba(255, 178, 44, 0.45), transparent 70%);
}

/* Pleķi dažādās vietās un izmēros */
.plekis-1 {
  bottom: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  opacity: 0.6;
}

.plekis-2 {
  top: 30%;
  left: -200px;
  width: 600px;
  height: 600px;
  opacity: 0.5;
  transform: translateY(-50%);
}

.plekis-3 {
  top: 100px;
  right: 120px;
  width: 500px;
  height: 500px;
  opacity: 0.55;
}

.plekis-4 {
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  opacity: 0.45;
}

.plekis-5 {
  top: 70%;
  left: 60%;
  width: 350px;
  height: 350px;
  opacity: 0.35;
}

.plekis-6 {
  bottom: 10%;
  left: 20%;
  width: 500px;
  height: 500px;
  opacity: 0.4;
}

/* Mobilā versija */
@media (max-width: 768px) {
  .plekis {
    width: 300px;
    height: 300px;
    filter: blur(100px);
  }

  .plekis-1 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -80px;
    opacity: 0.5;
  }

  .plekis-2 {
    width: 400px;
    height: 400px;
    top: 25%;
    left: -120px;
    opacity: 0.35;
  }

  .plekis-3 {
    width: 350px;
    height: 350px;
    top: 60px;
    right: 40px;
    opacity: 0.45;
  }

  .plekis-4 {
    width: 300px;
    height: 300px;
    opacity: 0.35;
  }

  .plekis-5 {
    width: 250px;
    height: 250px;
    top: 65%;
    left: 55%;
    opacity: 0.3;
  }

  .plekis-6 {
    width: 350px;
    height: 350px;
    bottom: 5%;
    left: 15%;
    opacity: 0.35;
  }
}

.promo-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
}

/* PROMO BUTTON */
#promo-code{

  --gold-1:#ffde59;
  --gold-2:#ffcc33;
  --gold-3:#ffb700;
  --gold-4:#ffaa00;

  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  font-family:'Press Start 2P', cursive;
  font-size:9px;
  font-weight:900;
  letter-spacing:0.9px;

  padding:10px 16px;
  min-width:140px;
  max-width:100%;

  border-radius:14px;

  color:#000;
  text-decoration:none;
  white-space:nowrap;

  background:linear-gradient(135deg,var(--gold-1),var(--gold-2),var(--gold-3),var(--gold-4));
  background-size:250% 250%;
  animation:goldGlow 6s ease-in-out infinite;

  box-shadow:
  0 0 10px rgba(255,214,0,0.6),
  0 4px 12px rgba(0,0,0,0.3),
  inset 0 0 8px rgba(255,255,255,0.25);

  text-shadow:
  0 1px 2px rgba(0,0,0,0.2);

  overflow:hidden;
  transition:filter 0.25s ease;
}

/* ICON */
#promo-code img{
  width:16px;
  height:16px;
  flex-shrink:0;

  filter: none;
  transition:transform 0.35s ease;
}

/* ICON MOVEMENT (hover) */
#promo-code:hover img{
  transform:rotate(-12deg) scale(1.15);
}

/* SHINE EFFECT */
#promo-code::before{
  content:"";
  position:absolute;

  top:-50%;
  left:-120%;

  width:60%;
  height:200%;

  background:linear-gradient(
  120deg,
  transparent 0%,
  rgba(255,255,255,0.6) 50%,
  transparent 100%
  );

  transform:skewX(-25deg);
  transition:left 0.8s ease;
}

#promo-code:hover::before{
  left:140%;
}

#promo-code:hover{
  filter:brightness(1.12) drop-shadow(0 0 8px #ffd700);
}

/* GRADIENT ANIMATION */
@keyframes goldGlow{
  0%,100%{
    background-position:0% 50%;
  }
  50%{
    background-position:100% 50%;
  }
}

/* MOBILE VERSION */
@media (max-width:600px){

  .promo-wrapper{
    justify-content:flex-start; /* <-- pabīda visu uz kreiso */
    padding-left:10px;          /* <-- neliela atkāpe no malas */
  }

  #promo-code{
    font-size:7px;
    padding:6px 10px;
    min-width:110px;
    gap:4px;
    border-radius:12px;
  }

  #promo-code img{
    width:12px;
    height:12px;
  }
}

/* ==========================
   SOCIAL WRAPPER
========================== */
.social-wrapper {
    margin-top: 15px;
    text-align: left;
    padding: 5px 0;
}

/* ==========================
   SOCIAL TITLE
========================== */
.social-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    font-style: italic;
    color: #ffffff; /* balts teksts */
    text-shadow: 1px 1px 0 #000, 2px 2px 0 #555; /* ēnas kontrasts */
    margin-bottom: 14px;
}

/* ==========================
   ICON GRID
========================== */
#social-links-footer {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================
   ICON BOX
========================== */
.social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #ffb347, #ffcc33);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Hover pulse effect */
.social-icon::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: all 0.5s ease-out;
}

.social-icon:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
}

/* ==========================
   ICON IMAGE
========================== */
.social-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0);
    transition: filter 0.3s ease, transform 0.4s ease;
}

/* ==========================
   HOVER EFFECT
========================== */
.social-icon:hover {
    background: linear-gradient(145deg, #ffcc33, #ff9900);
    transform: translateY(-4px) scale(1.1);
}

.social-icon:hover img {
    filter: brightness(0) invert(1);
    transform: rotate(15deg) scale(1.1);
}

/* ==========================
   RESPONSIVE ADJUSTMENTS
========================== */
@media (max-width: 480px) {
    .social-icon {
        width: 42px;
        height: 42px;
    }

    .social-icon img {
        width: 28px;
        height: 28px;
    }

    .social-title {
        font-size: 12px;
    }
}

/* Footer logo pozīcija desktop versijā */
@media (min-width: 601px) {
    .footer-logo {
        display: block;
        max-width: 250px;      /* lielāks logo desktop */
        height: auto;
        margin: 0 auto 5px;    /* mazāka atstarpe zem logo, lai būtu augstāk */
    }
}

/* Mobilajām ierīcēm logo paliek mazāks un ar lielāku atstarpi */
@media (max-width: 600px) {
    .footer-logo {
        display: block;
        max-width: 180px;
        height: auto;
        margin: 0 auto 20px;   /* lielāka atstarpe mobilajā */
    }
}

body.menu-open {
  overflow: hidden;
}
