@media (hover: hover) and (pointer: fine) {
  html, body, a, button, input, select, textarea, img, .item, [role="button"] { cursor: none !important; }
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(255,255,255,.9);
    pointer-events: none;
    animation: cursorPulse 1.4s ease-in-out infinite;
  }
  .custom-cursor.is-hidden { opacity: 0; }
  .custom-cursor.is-hover { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; background: #060816; border: 1px solid #fff; box-shadow: 0 0 14px rgba(255,255,255,1); }
  @keyframes cursorPulse {
    0%, 100% { opacity: .82; box-shadow: 0 0 8px rgba(255,255,255,.7); }
    50% { opacity: 1; box-shadow: 0 0 16px rgba(255,255,255,1); }
  }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #11101D;
  --secondary-bg: #0d0c16;
  --accent-color: #1a1a2e;
  --accent-hover: #36c6d0;
  --text-primary: #f5deb3;
  --text-secondary: #e0e0e0;
  --gradient-primary: linear-gradient(135deg, #1a3d6b 0%, #152a42 25%, #2b5876 50%, #4e4376 100%);
  --gradient-hover: linear-gradient(135deg, #1a1a2e 0%, #11101D 100%);
  --border-radius: 12px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
}

body, html {
  width: 100%;
  min-height: 100%;
  background-color: #060816;
  color: var(--text-primary);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(98, 123, 255, 0.42), transparent 26%),
    radial-gradient(circle at 85% 78%, rgba(48, 220, 180, 0.30), transparent 28%),
    linear-gradient(135deg, #040714 0%, #0b1227 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 25%, rgba(255,255,255,0.02));
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  pointer-events: none;
  z-index: -2;
  display: block;
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.2; }
  50% { transform: translate3d(var(--drift-x), var(--drift-y), 0); opacity: 1; }
  100% { transform: translate3d(calc(var(--drift-x) * -1), calc(var(--drift-y) * -1), 0); opacity: 0.4; }
}

.wrap,
.fullscreen,
.fullscreen .container {
  position: relative;
  z-index: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.25); }
  50% { box-shadow: 0 0 22px 6px rgba(255,255,255,0.18); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Improved focus states for accessibility */
*:focus {
  outline: 2px solid rgba(165, 180, 252, 0.5);
  outline-offset: 2px;
}

.wrap {
  margin-top: 5vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.btn {
  width: 140px;
  height: 45px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base) ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--gradient-hover);
  box-shadow: var(--shadow-md);
  color: #fff;
  transform: translateY(-7px);
}

.fullscreen {
  width: 100vw;
  height: fit-content;
  background: transparent;
}

.fullscreen .container {
  padding: var(--spacing-md);
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

.fullscreen .container .card {
  overflow: hidden;
  margin: clamp(8px, 3vw, 32px);
  width: clamp(150px, 80%, 300px);
  min-height: clamp(220px, 28vw, 380px);
  height: auto;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg), 0 0 22px rgba(255,255,255,0.2);
  transition: all var(--transition-base);
  border-radius: var(--border-radius);
  position: relative;
  display: flex;
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards, pulseGlow 3s ease-in-out infinite;
}

.fullscreen .container .card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg), 0 0 28px rgba(255,255,255,0.45);
}

.fullscreen .container .card:hover .sinopse {
  opacity: 1;
  transition-delay: 0.4s;
}

.fullscreen .container .card:hover .sinopse .view {
  opacity: 1;
  transform: translateY(0%);
  transition: 0.6s;
  transition-delay: 1s;
}

.fullscreen .container .card:hover .sinopse .content-sinopse .text {
  transform: translateY(0);
  transition-delay: 0.6s;
}

.fullscreen .container .card:hover .sinopse .content-sinopse .title {
  transform: translateY(0);
  transition-delay: 0.2s;
}

.fullscreen .container .card:hover .date {
  transform: translateY(-100%);
  opacity: 0;
  }
  .fullscreen .container .card:hover .content {
    transform: translateY(100%);
    opacity: 0;
  }
  .fullscreen .container .card .date {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--text-color);
    font-weight: 300;
    font-size: 14px;
    transition: 0.8s;
  }
  .fullscreen .container .card .date .tv_ico img {
    width: 12px;
    vertical-align: baseline;
    margin-left: 6px;
  }
  .fullscreen .container .card .content {
    transition: 0.8s;
    display: flex;
    flex-wrap: wrap;
    align-self: flex-end;
    padding: 25px 25px 50px 25px;
  }
  .fullscreen .container .card .content .title {
    width: 100%;
    color: var(--text-color);
    font-size: 44px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 12px;
  }
  .fullscreen .container .card .content .text {
    width: 100%;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 300;
  }
  .fullscreen .container .card .sinopse {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 25px 25px 50px 25px;
    background: var(--overlay-bg);
    color: var(--text-color);
    font-weight: 300;
    opacity: 0;
    transition: 0.8s;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
  }
  .fullscreen .container .card .sinopse iframe {
    position: absolute;
    top: 0;
    width: 100%;
    margin-left: -30px;
    height: 260px;
  }
  .fullscreen .container .card .sinopse .view {
    position: absolute;
    bottom: 15px;
    right: 25px;
    font-family: poppins;
    color: var(--text-color);
    font-size: 14px;
    border-bottom: 1px solid var(--text-color);
    opacity: 0;
    transform: translateY(100%);
    transition: 0.6s;
    cursor: pointer;
  }
  .fullscreen .container .card .sinopse .content-sinopse .title {
    color: var(--text-secondary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    transform: translateY(-100%);
    transition: 0.6s;
  }
  .fullscreen .container .card .sinopse .content-sinopse .text {
    transform: translateY(100%);
    transition: 0.6s;
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 14px;
  }
  .fullscreen .container .card_1 {
    background: transparent;
  }
  .fullscreen .container .card_2 {
    background: transparent;
  }
  .fullscreen .container .card_3 {
    background: transparent;
  }
  
 .tagline{
    color: var(--text-color);
    font-weight: 300;
 }



  @media (min-width: 580px) and (max-width: 992px) {
    .fullscreen {
      height: auto;
    }
    .fullscreen .container {
      flex-wrap: wrap;
      justify-content: space-evenly;
    }
    .fullscreen .container .card {
      overflow: hidden;
      width: clamp(150px, 40%, 250px);
      height: clamp(200px, 40vw, 320px);
      background: transparent;
      box-shadow: var(--shadow-lg);
      transition: 0.6s;
      border-radius: 2px;
      position: relative;
      display: flex;
      margin-bottom: 10%;
    }
  }
  
  @media (max-width: 580px) {
    .fullscreen {
      height: auto;
      width: 100vw;
      padding: 0;
    }
    .fullscreen .container {
      flex-wrap: wrap;
      justify-content: center;
      padding: var(--spacing-sm);
      width: 100%;
    }
    .fullscreen .container .card {
      width: clamp(150px, 80vw, 280px);
      height: clamp(200px, 100vw, 350px);
      margin: var(--spacing-sm);
      margin-bottom: var(--spacing-md);
    }
  }
  
  @media (max-width: 480px) {
    .fullscreen .container {
      padding: var(--spacing-xs);
    }
    .fullscreen .container .card {
      width: calc(100vw - 30px);
      height: auto;
      min-height: 200px;
      margin: var(--spacing-xs) auto;
    }
    .fullscreen .container .card .sinopse iframe {
      height: 180px;
      margin-left: -15px;
      width: calc(100% + 30px);
    }
  }
    /* Align all cards uniformly in explore grid */
    .fullscreen .container .card:nth-child(-n+2) {
      margin-top: clamp(8px, 3vw, 32px); /* same as default card margin */
    }
    .fullscreen .container .card .content .title {
      width: 100%;
      color: var(--text-color);
      font-size: 28px;
      font-weight: 700;
      line-height: 36px;
      margin-bottom: 12px;
    }
    .fullscreen .container .card .content .text {
      width: 100%;
      color: var(--text-color);
      font-size: 14px;
      font-weight: 300;
    }
    .fullscreen .container .card .sinopse {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      padding: 25px 25px 50px 25px;
      background: var(--overlay-bg);
      color: var(--text-color);
      font-weight: 300;
      opacity: 0;
      transition: 0.8s;
      display: flex;
      align-items: flex-end;
      flex-wrap: wrap;
    }
    .fullscreen .container .card .sinopse iframe {
      position: absolute;
      top: 0;
      width: 100%;
      margin-left: -30px;
      height: 260px;
    }
    .fullscreen .container .card .sinopse .view {
      position: absolute;
      bottom: 15px;
      right: 25px;
      color: var(--text-color);
      font-size: 14px;
      border-bottom: 1px solid var(--text-color);
      opacity: 0;
      transform: translateY(100%);
      transition: 0.6s;
      cursor: pointer;
    }
    .fullscreen .container .card .sinopse .content-sinopse .title {
      color: var(--text-secondary);
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 12px;
      transform: translateY(-100%);
      transition: 0.6s;
    }
    .fullscreen .container .card .sinopse .content-sinopse .text {
      transform: translateY(100%);
      transition: 0.6s;
      color: var(--text-secondary);
      font-weight: 300;
      font-size: 14px;
    }
    .fullscreen .container .card_1 {
      background: #1b1f2a;
    }
    .fullscreen .container .card_2 {
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.98)), url("https://w.wallhaven.cc/full/5d/wallhaven-5dpo51.jpg") no-repeat 45%/cover;
    }
    .fullscreen .container .card_3 {
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.88)), url("https://w.wallhaven.cc/full/43/wallhaven-43y676.jpg") no-repeat center/cover;
    }
  }
  @media (min-width: 320px) and (max-width: 580px) {
    .fullscreen {
      height: auto;
    }
    .fullscreen .container {
      flex-wrap: wrap;
    }
    .fullscreen .container .card {
      overflow: hidden;
      width: 50%;
      height: 71.2vw;
      background: transparent;
      box-shadow: var(--shadow-lg);
      transition: 0.6s;
      border-radius: 2px;
      position: relative;
      display: flex;
      margin-bottom: 10%;
    }
    .fullscreen .container .card .content .title {
      width: 100%;
      color: var(--text-color);
      font-size: 28px;
      font-weight: 700;
      line-height: 36px;
      margin-bottom: 12px;
    }
    .fullscreen .container .card .content .text {
      width: 100%;
      color: var(--text-color);
      font-size: 14px;
      font-weight: 300;
    }
    .fullscreen .container .card .sinopse {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      padding: 25px 25px 50px 25px;
      background: var(--overlay-bg);
      color: var(--text-color);
      font-weight: 300;
      opacity: 0;
      transition: 0.8s;
      display: flex;
      align-items: flex-end;
      flex-wrap: wrap;
    }
    .fullscreen .container .card .sinopse iframe {
      position: absolute;
      top: 0;
      width: 100%;
      margin-left: -30px;
      height: 260px;
    }
    .fullscreen .container .card .sinopse .view {
      position: absolute;
      bottom: 15px;
      right: 25px;
      color: var(--text-color);
      font-size: 14px;
      border-bottom: 1px solid var(--text-color);
      opacity: 0;
      transform: translateY(100%);
      transition: 0.6s;
      cursor: pointer;
    }
    .fullscreen .container .card .sinopse .content-sinopse {
      pointer-events: none;
    }
    .fullscreen .container .card .sinopse .content-sinopse .title {
      color: var(--text-secondary);
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 12px;
      transform: translateY(-100%);
      transition: 0.6s;
    }
    .fullscreen .container .card .sinopse .content-sinopse .text {
      pointer-events: none;
      transform: translateY(100%);
      transition: 0.6s;
      color: var(--text-secondary);
      font-weight: 300;
      font-size: 14px;
    }
    .fullscreen .container .card_1 {
      background: #1b1f2a;
    }
    .fullscreen .container .card_2 {
      background: url("https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-539333.png") no-repeat 45%/cover;
    }
    .fullscreen .container .card_3 {
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.88)), url("https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-5379.png") no-repeat center/cover;
    }
  }

  .pagination {
    margin-top: 20px;
    margin-bottom: 30px;
    
}

.pagination button {
  font-family: poppins;
    padding: 10px 18px;
    margin: 0 6px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #000000;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.pagination button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.pagination button:hover::before {
    left: 100%;
}

.fullscreen .container {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  align-items: start;
  justify-content: stretch;
}

.fullscreen .container .result-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  margin: 0;
  background: rgba(10, 14, 29, 0.85);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: none;
}

.fullscreen .container .result-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 28px rgba(255,255,255,0.35), 0 10px 28px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.7);
}

.fullscreen .container .result-card:nth-child(-n+2) {
  margin-top: 0;
}

.fullscreen .container .result-card .card-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.fullscreen .container .result-card .result-info {
  padding: 12px 12px 14px;
}

.fullscreen .container .result-card .result-title {
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fullscreen .container .result-card .result-meta {
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 92px;
  padding: 8px 16px;
  color: #f8fafc;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wrap .btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
  box-shadow: none;
  transform: translateY(-1px);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 30px;
}

.pagination button {
  margin: 0;
  padding: 8px 12px;
  color: #f8fafc;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pagination button::before {
  display: none;
}

.pagination button:hover:not(:disabled) {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
  box-shadow: none;
  transform: translateY(-1px);
}

.pagination button:disabled {
  color: rgba(255,255,255,0.52);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  cursor: default;
}

@media (max-width: 580px) {
  .fullscreen .container {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 14px;
    padding: 20px 14px 32px;
  }

  .fullscreen .container .result-card {
    width: 100%;
    min-height: 0;
    margin: 0;
  }
}

@media (max-width: 420px) {
  .fullscreen .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 10px 28px;
  }

  .fullscreen .container .result-card .result-info {
    padding: 9px 9px 11px;
  }

  .fullscreen .container .result-card .result-title {
    font-size: 0.78rem;
  }
}

.pagination button:hover {
    background: var(--gradient-hover);
    color: #ffffff;
    border-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.35);
    transform: translateY(-2px);
}

.pagination button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.35);
}

/* Style for the active page button */
.pagination .pageBtn.active {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: 1px solid var(--accent-color);
}

/* Style for disabled buttons */
.pagination button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
