/*
Theme Name: YouCine
Theme URI: https://youcinebr.vip/
Author: YouCine
Description: Tema WordPress oficial do site YouCine.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: youcine
*/
:root {
  --bg: #02070b;
  --bg-soft: #061019;
  --panel: rgba(7, 14, 21, 0.86);
  --panel-strong: rgba(9, 17, 25, 0.96);
  --line: rgba(255, 255, 255, 0.16);
  --line-warm: rgba(255, 188, 44, 0.42);
  --text: #f6f7f8;
  --muted: #b8c0c8;
  --dim: #7f8994;
  --yellow: #ffc12f;
  --yellow-deep: #f09a09;
  --blue: #1f8fc9;
  --radius: 8px;
  --page-gutter: clamp(1.25rem, 3.4vw, 3rem);
  --section-y: 3.75rem;
  --section-title-gap: 3.75rem;
  --section-inner-gap: 2.25rem;
  --section-card-padding: 2.6rem;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #02070b;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 7%, rgba(38, 119, 162, 0.18), transparent 25rem),
    linear-gradient(180deg, #02060a 0%, #041019 44%, #02070b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

body::before {
  position: fixed;
  z-index: 0;
  top: -110px;
  right: 0;
  left: 0;
  height: calc(100vh + 260px);
  background:
    linear-gradient(180deg, rgba(2, 7, 11, 0.38), rgba(2, 7, 11, 0.78)),
    url("../img/site-background.webp") top center / 100% auto no-repeat;
  content: "";
  pointer-events: none;
  transform: translate3d(0, var(--bg-offset, 0px), 0);
  will-change: transform;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 82px;
  padding: 0 3.25vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #02070b;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 124px;
  height: 40px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  font-size: 0.98rem;
  color: #eef2f6;
}

.site-nav a {
  position: relative;
  padding: 1.95rem 0 1.75rem;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.05rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav .active::after {
  transform: scaleX(1);
}

.download-pill,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 750;
  white-space: nowrap;
}

.download-pill,
.primary-button {
  border: 1px solid rgba(255, 221, 105, 0.6);
  background: linear-gradient(180deg, #ffd35e, var(--yellow-deep));
  color: #111;
  box-shadow: 0 12px 28px rgba(226, 146, 12, 0.26);
}

.primary-button {
  padding: 0 1.5rem;
}

.download-pill {
  min-height: 46px;
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 224, 120, 0.72);
  background: linear-gradient(180deg, #ffdb68, #f8ae18);
  color: #111;
  font-size: 0.92rem;
  box-shadow: none;
}

.ghost-button {
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 193, 47, 0.62);
  background: rgba(4, 10, 15, 0.68);
  color: #fff7df;
}

.nav-toggle {
  display: none;
}

main {
  position: relative;
  z-index: 1;
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 2.25rem var(--page-gutter) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 3.6vw, 4.8rem);
  min-height: 560px;
  padding: 4.7rem 0 5.4rem;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0 0 2.35rem;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--yellow);
}

.hero-copy p {
  max-width: 520px;
  margin: 0;
  color: #eef2f3;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3.25rem;
}

.hero-actions .primary-button {
  min-height: 58px;
  padding: 0 1.85rem;
}

.hero-showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(350px, 39vw, 590px);
  padding-left: 1rem;
  overflow: visible;
}

.section-icon {
  width: 2.45rem;
  height: 2.45rem;
  object-fit: contain;
}

.hero-showcase::before {
  position: absolute;
  z-index: 0;
  inset: 12% -2% 8% 12%;
  border-radius: 50%;
  background: rgba(31, 143, 201, 0.18);
  filter: blur(46px);
  content: "";
}

.hero-showcase::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("../img/youcine-dispositivos.webp") center / contain no-repeat;
  filter: drop-shadow(0 28px 80px rgba(0, 0, 0, 0.64));
  content: "";
}

.download-hero {
  display: grid;
  align-items: center;
  min-height: 430px;
  padding: 5rem 0 4.5rem;
}

.download-hero div {
  max-width: 760px;
}

.download-hero h1 {
  margin: 0 0 2.35rem;
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.download-hero p {
  max-width: 680px;
  margin: 0;
  color: #eef2f3;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.content-section {
  padding: var(--section-y) 0;
}

.content-section h2,
.faq-section h2 {
  margin: 0 0 var(--section-title-gap);
  text-align: center;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 680;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.category-card {
  position: relative;
  min-height: 328px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.category-cover {
  width: 100%;
  height: 205px;
  object-fit: cover;
  object-position: center center;
  opacity: 0.92;
}

#filmes .category-cover {
  object-position: center 44%;
}

#series .category-cover {
  object-position: center 38%;
}

#animes .category-cover {
  object-position: center 34%;
}

#esportes .category-cover {
  object-position: center 42%;
}

.category-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(5, 12, 18, 0.9) 70%);
  content: "";
}

.category-card div {
  position: relative;
  z-index: 1;
  padding: 1.05rem 1.45rem 1.45rem;
}

.category-card .section-icon {
  position: absolute;
  top: 158px;
  left: 1.45rem;
  z-index: 2;
  width: 2.55rem;
  height: 2.55rem;
}

.category-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: var(--section-inner-gap) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 10, 15, 0.72);
}

.benefits div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  padding: 2.15rem 1.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits div:first-child {
  border-left: 0;
}

.benefit-icon {
  grid-row: span 2;
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.benefits h3 {
  margin: 0;
  font-size: 1rem;
}

.benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.device-card {
  display: grid;
  place-items: center;
  min-height: 162px;
  padding: 1.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 12, 18, 0.75);
  text-align: center;
  transition: border-color 160ms ease, transform 160ms ease;
}

.device-card:hover {
  border-color: var(--line-warm);
  transform: translateY(-2px);
}

.device-icon {
  width: 64px;
  height: 54px;
  margin-bottom: 0.7rem;
  object-fit: contain;
}

.device-icon-compact {
  width: 56px;
}

.device-icon-wide {
  width: 78px;
}

.device-card strong {
  font-size: 1rem;
}

.device-card small {
  color: var(--muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 1.6rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 12, 18, 0.75);
}

.download-card h3 {
  margin: 0.45rem 0 0.7rem;
  font-size: 1.1rem;
}

.download-card p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-card .primary-button {
  margin-top: auto;
  min-height: 46px;
  padding: 0 1rem;
  font-size: 0.92rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-grid div {
  min-height: 185px;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 10, 15, 0.72);
}

.step-grid strong {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--yellow);
  color: #111;
}

.step-grid h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
}

.faq-section {
  padding: var(--section-y) 0;
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 10, 15, 0.72);
}

details {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

details:first-child {
  border-top: 0;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 62px;
  padding: 0 2.35rem;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  content: "";
}

details[open] summary::after {
  transform: rotate(225deg);
}

details p {
  margin: 0;
  max-width: 760px;
  padding: 0 2.35rem 1rem;
  color: var(--muted);
}

.bottom-cta {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 340px;
  margin: var(--section-y) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #07111a;
}

.bottom-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.78;
}

.bottom-cta::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 10, 15, 0.96), rgba(4, 10, 15, 0.7), rgba(4, 10, 15, 0.05));
  content: "";
}

.bottom-cta div {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 3.2rem var(--section-card-padding);
}

.bottom-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  white-space: nowrap;
}

.bottom-cta p {
  margin: 0 0 1.75rem;
  color: #e5e9ef;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 7, 11, 0.95);
}

.footer-main,
.footer-bottom {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: 2.1rem;
  padding-bottom: 2rem;
}

.footer-brand {
  justify-content: flex-start;
  width: 128px;
  height: 42px;
}

.footer-brand img {
  object-position: left center;
}

.footer-main p,
.footer-main a,
.footer-main span,
.footer-bottom {
  color: var(--muted);
}

.footer-main p {
  max-width: 250px;
  margin: 1.05rem 0 0;
}

.footer-main h3 {
  margin: 0 0 0.8rem;
  color: var(--yellow);
  font-size: 1rem;
}

.footer-main a,
.footer-main span {
  display: block;
  margin: 0.35rem 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.footer-bottom nav {
  display: flex;
  gap: 1.25rem;
}
/*
 * GeneratePress keeps standard content panels white. Restore dark text on
 * pages, posts, archives, search results, and error pages that use them.
 */
body.page:not(.home) .inside-article,
body.single-post .inside-article,
body.archive .inside-article,
body.search .inside-article,
body.error404 .inside-article,
body.archive .page-header,
body.search .page-header,
body.single-post .comments-area,
body.archive .paging-navigation,
body.search .paging-navigation,
body.page:not(.home) #right-sidebar .widget,
body.page:not(.home) #left-sidebar .widget,
body.single-post #right-sidebar .widget,
body.single-post #left-sidebar .widget,
body.archive #right-sidebar .widget,
body.archive #left-sidebar .widget,
body.search #right-sidebar .widget,
body.search #left-sidebar .widget {
  color: #20252b;
}

body.page:not(.home) .inside-article .entry-title,
body.single-post .inside-article .entry-title,
body.archive .inside-article .entry-title,
body.search .inside-article .entry-title,
body.error404 .inside-article .entry-title,
body.archive .page-header .page-title,
body.search .page-header .page-title,
body.page:not(.home) #right-sidebar .widget-title,
body.page:not(.home) #left-sidebar .widget-title,
body.single-post #right-sidebar .widget-title,
body.single-post #left-sidebar .widget-title,
body.archive #right-sidebar .widget-title,
body.archive #left-sidebar .widget-title,
body.search #right-sidebar .widget-title,
body.search #left-sidebar .widget-title,
body.page:not(.home) .entry-content :is(h1, h2, h3, h4, h5, h6),
body.single-post .entry-content :is(h1, h2, h3, h4, h5, h6) {
  color: #111820;
}

body.page:not(.home) .inside-article a,
body.single-post .inside-article a,
body.archive .inside-article a,
body.search .inside-article a,
body.error404 .inside-article a,
body.archive .page-header a,
body.search .page-header a,
body.single-post .comments-area a,
body.page:not(.home) :is(#right-sidebar, #left-sidebar) a,
body.single-post :is(#right-sidebar, #left-sidebar) a,
body.archive :is(#right-sidebar, #left-sidebar) a,
body.search :is(#right-sidebar, #left-sidebar) a {
  color: #126da1;
}

body.page:not(.home) .entry-content a,
body.single-post .entry-content a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.page:not(.home) .inside-article a:hover,
body.page:not(.home) .inside-article a:focus,
body.single-post .inside-article a:hover,
body.single-post .inside-article a:focus,
body.archive .inside-article a:hover,
body.archive .inside-article a:focus,
body.search .inside-article a:hover,
body.search .inside-article a:focus,
body.error404 .inside-article a:hover,
body.error404 .inside-article a:focus,
body.archive .page-header a:hover,
body.archive .page-header a:focus,
body.search .page-header a:hover,
body.search .page-header a:focus,
body.single-post .comments-area a:hover,
body.single-post .comments-area a:focus,
body.page:not(.home) :is(#right-sidebar, #left-sidebar) a:hover,
body.page:not(.home) :is(#right-sidebar, #left-sidebar) a:focus,
body.single-post :is(#right-sidebar, #left-sidebar) a:hover,
body.single-post :is(#right-sidebar, #left-sidebar) a:focus,
body.archive :is(#right-sidebar, #left-sidebar) a:hover,
body.archive :is(#right-sidebar, #left-sidebar) a:focus,
body.search :is(#right-sidebar, #left-sidebar) a:hover,
body.search :is(#right-sidebar, #left-sidebar) a:focus {
  color: #084b73;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-strong);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.78rem 0.9rem;
  }

  .site-nav a::after {
    display: none;
  }

  .download-pill {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    background: currentColor;
  }

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

  .hero-showcase {
    min-height: 500px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits div:nth-child(odd) {
    border-left: 0;
  }

  .benefits div:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .device-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
    gap: 0.75rem;
  }

  .brand {
    width: 112px;
    height: 38px;
  }

  .site-nav {
    top: 72px;
  }

  main {
    padding-top: 0.75rem;
  }

  .hero {
    min-height: 0;
    padding-top: 1.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-showcase {
    min-height: 315px;
  }

  .category-grid,
  .benefits,
  .device-grid,
  .download-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .download-hero {
    min-height: 0;
    padding-top: 1.2rem;
  }

  .benefits div,
  .benefits div:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .benefits div:first-child {
    border-top: 0;
  }

  .bottom-cta::after {
    background: linear-gradient(90deg, rgba(4, 10, 15, 0.98), rgba(4, 10, 15, 0.74));
  }

  .bottom-cta div {
    padding: 1.45rem;
  }

  .bottom-cta h2 {
    white-space: normal;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
