/* Skin Wildy rediseño PL+RO — tokens medidos en Figma CWQMchjaUcPfuk2EX7DXRF. */
:root {
  --color-bg-base: #0B1210;
  --color-bg-elevated: #111C18;
  --color-bg-card: #111C18;
  --color-text-base: #F3F1E8;
  --color-text-muted: #A8B2AA;
  --color-text-secondary: #A8B2AA;
  --color-text-inverse: #0B1210;
  --color-on-accent: #0B1210;
  --color-primary: #FAB428;
  --color-primary-hover: #E2A01F;
  --primary-400: #FAB428;
  --primary-500: #FAB428;
  --color-primary-light: #FAB428;
  --color-primary-dark: #111C18;
  --color-secondary: #111C18;
  --color-brand: #FAB428;
  --color-accent: #FAB428;
  --color-success: #a2e49e;
  --color-error: #ff6b6b;
  --color-warning: #FAB428;
  --color-info: #F3F1E8;
  --color-border: #29352F;
  --foryou-primary: var(--color-primary);
  --foryou-primary-hover: var(--color-primary-hover);
  --foryou-text: var(--color-text-base);
  --foryou-bg: var(--color-bg-base);
  --foryou-card-bg: var(--color-bg-card);
  --foryou-button-text: var(--color-on-accent);
  --foryou-tab-active: var(--color-primary);
  --foryou-tab-border: var(--color-primary);
  --foryou-tab-inactive: var(--color-text-muted);
  --foryou-border: var(--color-border);
  --color-input-bg: #111C18;
  --color-input-border: #29352F;
  --color-overlay-light: rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(133deg, #A6CBAD 9%, #0B1210 89%);
  --gradient-primary-secondary: linear-gradient(133deg, #A6CBAD 9%, #0B1210 89%);
  --gradient-overlay: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  --header-top-bg: #0B1210;
  --header-nav-bg: #0B1210;
  --header-nav-text: #A8B2AA;
  --header-shadow: none;
  --footer-bg: #111C18;
  --footer-border: transparent;
  --radius-card: 0px;
  --radius-button: 999px;
  --radius-input: 4px;
  --radius-sm: 4px;
  --radius-lg: 8px;
  --radius-full: 999px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-gold: none;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 56px;
  --font-family-base: var(--font-public-sans), "Public Sans", sans-serif;
  --font-family-display: var(--font-dm-serif), "DM Serif Display", serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 26px;
  --font-size-3xl: 36px;
  --font-size-4xl: 48px;
  --font-size-5xl: 56px;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
}

body.theme-wildy {
  --background: #0B1210;
  --foreground: #F3F1E8;
  --font-family-base: var(--font-public-sans), "Public Sans", sans-serif;
  --font-family-display: var(--font-dm-serif), "DM Serif Display", serif;
  --font-bricolage: var(--font-family-base);
  background-color: #0B1210 !important;
  color: #F3F1E8 !important;
  font-family: var(--font-family-base);
}

body.theme-wildy .signup-form input {
  background: var(--color-input-bg) !important;
  color: #F3F1E8 !important;
}
body.theme-wildy .signup-form input::placeholder {
  color: #A8B2AA !important;
  opacity: 1 !important;
}
body.theme-wildy .signup-form .login-input svg {
  color: #A8B2AA !important;
}

/* Login shares the editorial skin; the template's orange disabled button,
   unchanged hover gradient and orange caret belong to its default theme. */
body.theme-wildy .login-page .login-card {
  border-radius: var(--radius-lg);
  border-color: var(--color-border);
  box-shadow: none;
}
body.theme-wildy .login-page .signup-title {
  font-family: var(--font-family-display);
  font-size: clamp(30px, 4vw, 36px);
  font-weight: 400;
}
body.theme-wildy .login-page .signup-form .login-input input {
  font-family: var(--font-family-base) !important;
  caret-color: var(--color-primary) !important;
}
body.theme-wildy .login-page .signup-form .login-input > div:hover {
  opacity: 1;
}
body.theme-wildy .login-page .login-input > div:hover > div {
  border-color: var(--color-text-muted) !important;
}
body.theme-wildy .login-page .login-input > div:focus-within {
  box-shadow: 0 0 0 2px var(--color-primary);
}
body.theme-wildy .login-page .login-input > div:focus-within > div {
  border-color: var(--color-primary) !important;
}
body.theme-wildy .login-page .btn-tertiary {
  border-radius: var(--radius-button);
  font-family: var(--font-family-base);
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
body.theme-wildy .login-page .btn-tertiary:not(:disabled),
body.theme-wildy .login-page .btn-tertiary:focus:not(:focus-visible):not(:disabled) {
  background: var(--color-primary);
  color: var(--color-on-accent);
  border-color: var(--color-primary);
  box-shadow: none;
}
body.theme-wildy .login-page .btn-tertiary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 0 12px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
body.theme-wildy .login-page .btn-tertiary:active:not(:disabled) {
  background: color-mix(in srgb, var(--color-primary) 80%, black);
  border-color: var(--color-primary-hover);
  box-shadow: none;
}
body.theme-wildy .login-page .btn-tertiary:focus-visible:not(:disabled) {
  background: var(--color-primary);
  color: var(--color-on-accent);
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: none;
}
body.theme-wildy .login-page .btn-tertiary:disabled {
  background: var(--color-bg-elevated);
  color: var(--color-text-muted);
  border-color: var(--color-border);
  box-shadow: none;
}
body.theme-wildy .login-page form a:hover { color: var(--color-text-base); }
body.theme-wildy .login-page form a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  body.theme-wildy .login-page .btn-tertiary { transition: none; }
}

/* Shared header shell from the approved Wildy Figma design. */
.wildy-header { position: relative; z-index: 120; width: 100%; background: #0B1210; }
/* Figma places the navigation inside the hero, not above it. */
body.theme-wildy:has(.wrh-page) .wildy-header,
body.theme-wildy:has(.listing-hero) .wildy-header,
body.theme-wildy:has(.wildy-for-you__title) .wildy-header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}
.wildy-header-bar {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr) auto;
  column-gap: 16px;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  height: 106px;
}
.wildy-logo { display: flex; align-items: center; }
.wildy-logo img { display: block; width: 192px; height: 55px; object-fit: contain; }

/* Centro: nav pill */
.wildy-desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wildy-nav-pill {
  display: flex;
  align-items: center;
  margin: 0;
  list-style: none;
  background: rgba(17, 28, 24, 0.15);
  border: 1px solid #29352F;
  border-radius: 999px;
  padding: 0 6px;
  gap: 0;
  transition: background 180ms ease, border-color 180ms ease;
}
.wildy-nav-pill:hover,
.wildy-nav-pill:focus-within {
  background: linear-gradient(133deg, rgba(166, 203, 173, 0.12), rgba(11, 18, 16, 0.35));
  border-color: #4E8A5A;
}
.wildy-nav-item { position: relative; display: flex; align-items: center; }
.wildy-nav-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 10px;
  color: #A8B2AA;
  font-family: var(--font-family-base); font-size: 16px; font-weight: 500;
  text-decoration: none; cursor: pointer; background: transparent; border: 0;
  white-space: nowrap;
}
.wildy-nav-link:hover,
.wildy-nav-link:focus-visible,
.wildy-nav-link[data-state="open"],
.wildy-nav-link[data-active],
.wildy-nav-link[data-selected] { color: #FAB428; }
.wildy-nav-link:focus-visible,
.wildy-nav-chevron:focus-visible { outline: 2px solid #FAB428; outline-offset: 2px; }
.wildy-nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-height: 44px;
  padding: 0 6px 0 0;
  color: #A8B2AA;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.wildy-nav-item:hover .wildy-nav-chevron,
.wildy-nav-chevron[data-state="open"],
.wildy-nav-chevron[data-selected] { color: #FAB428; }
.wildy-dropdown {
  visibility: hidden; opacity: 0; position: absolute; left: 0; top: 100%;
  min-width: 230px; padding: 8px 0;
  background: #111C18;
  border: 1px solid #29352F;
  border-radius: 12px;
  z-index: 130;
}
.wildy-dropdown[data-state="open"] { visibility: visible; opacity: 1; }
.wildy-dropdown ul { list-style: none; margin: 0; padding: 0; }
.wildy-dropdown a { display: block; padding: 10px 18px; color: #A8B2AA; font-size: 16px; }
.wildy-dropdown a:hover, .wildy-dropdown a:focus-visible { color: #F3F1E8; background: rgba(255,255,255,0.06); }

/* Derecha: CTA (auth) + mobile toggle */
.wildy-header-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.wildy-cta-wrap .wildy-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(133deg, #A6CBAD 9%, #0B1210 89%);
  border: 1px solid #29352F !important;
  border-radius: 999px;
  color: #F3F1E8 !important;
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}
.wildy-cta-wrap .wildy-auth-link:hover,
.wildy-cta-wrap .wildy-auth-link:focus-visible {
  background: linear-gradient(133deg, #2E683A 9%, #0B1210 89%);
  border-color: #6FA57A !important;
}
.wildy-cta-wrap .wildy-auth-link:focus-visible {
  outline: 2px solid #FAB428;
  outline-offset: 3px;
}
.wildy-menu-toggle { display: none; color: var(--header-nav-text); }
.wildy-mobile-nav { display: none; }

/* Customer-care banner in header */
.wildy-header .customer-care {
  background: #111C18; color: #F3F1E8; min-height: 36px; padding: 4px 12px;
}
.wildy-header .customer-care p { font-size: 20px; font-weight: 400; line-height: 28px; }
.wildy-header .customer-care a { color: #FAB428; text-decoration: none; }

/* Shared footer shell from the approved Wildy Figma design. */
.wildy-footer {
  min-height: 300px;
  padding: 40px 80px 24px;
  background: #111C18;
  color: #F3F1E8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
/* The home design leaves a 300px editorial pause before the footer. */
body.theme-wildy:has(.wrh-page) .wildy-footer { margin-top: 300px; }
@media (max-width: 767px) {
  body.theme-wildy:has(.wrh-page) .wildy-footer { margin-top: 64px; }
}
.wildy-footer-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.wildy-footer-logo { display: flex; align-items: center; justify-content: center; }
.wildy-footer-logo img { width: 220px; height: 64px; object-fit: contain; }
.wildy-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px; padding: 4px 0;
}
.wildy-footer-links a,
.wildy-footer-links button {
  color: #A8B2AA;
  font-size: 16px;
  text-decoration: underline;
  font-weight: 400;
}
.wildy-footer-links a:hover,
.wildy-footer-links button:hover { color: #F3F1E8; }
.wildy-footer-support {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #F3F1E8;
  font-size: 14px;
  font-weight: 500;
}
.wildy-footer-phone {
  text-align: center;
  color: #FAB428;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.wildy-footer-phone:hover { opacity: 0.85; }
.wildy-footer-copyright {
  text-align: center;
  color: #A8B2AA;
  font-size: 14px;
  font-weight: 400;
  margin-top: auto;
}

/* Legacy selectors retained until all page templates have migrated. */
.wildy-home { width: 100%; }
.wildy-section { max-width: 1342px; margin-left: auto; margin-right: auto; }
.wildy-showcase { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 2px; }
.wildy-showcase-card { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; color: #ffffff; }
.wildy-showcase-card img { width: 100%; height: 100%; object-fit: cover; }
.wildy-showcase-card span {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 12px 16px;
  background: var(--gradient-overlay); font-size: 26px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.wildy-showcase-loading { aspect-ratio: 2 / 3; background: #454545; }
.wildy-featured { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding-top: 108px; }
.wildy-featured-player { aspect-ratio: 16 / 9; width: 100%; background: #000000; }
.wildy-spotlight { padding: 0 18px; }
.wildy-section-title { font-size: 28px; font-weight: 400; line-height: 1.3; margin: 0 0 24px; }
.wildy-secondary { padding: 108px 18px 0; }
.wildy-content-grid, .wildy-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.wildy-content-message { padding: 24px; color: var(--color-text-muted); }
.wildy-content-card p { color: #F3F1E8; font-size: 22px; line-height: 1.3; margin-top: 12px; font-weight: 400; }

/* The Polish labels exceed the English Figma pill at tablet widths.
   Keep an accessible mobile menu until the full desktop header fits. */
@media (max-width: 1399px) {
  .wildy-header-bar {
    display: flex;
    padding: 0 18px;
    justify-content: space-between;
    height: 72px;
  }
  .wildy-logo img { width: 150px; height: 43px; }
  .wildy-desktop-nav, .wildy-cta-wrap { display: none; }
  .wildy-menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .wildy-mobile-nav { display: block; padding: 12px 18px; background: #111C18; border-top: 1px solid #29352F; }
  .wildy-mobile-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
  .wildy-mobile-item { display: flex; justify-content: space-between; align-items: center; min-height: 44px; color: #A8B2AA; }
  .wildy-mobile-item a, .wildy-mobile-item button { color: #A8B2AA; font-size: 16px; }
  .wildy-mobile-item:hover, .wildy-mobile-item:focus-within {
    background: linear-gradient(133deg, rgba(166, 203, 173, 0.12), rgba(11, 18, 16, 0.35));
  }
  .wildy-mobile-item a:hover, .wildy-mobile-item button:hover,
  .wildy-mobile-item button[data-state="open"] { color: #FAB428; }
  .wildy-mobile-item button { min-height: 44px; min-width: 44px; text-align: left; }
  .wildy-mobile-children { display: flex; flex-direction: column; padding: 0 16px; }
  .wildy-mobile-children a { padding: 10px 0; color: #A8B2AA; }
}

/* Keep the legacy content-grid breakpoint independently of the redesigned header. */
@media (max-width: 991px) {
  .wildy-header-bar {
    display: flex;
    padding: 0 18px;
    justify-content: space-between;
    height: 72px;
    grid-template-columns: none;
  }
  .wildy-logo img { width: 150px; height: 43px; }
  .wildy-desktop-nav { display: none; }
  .wildy-cta-wrap { display: none; }
  .wildy-menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .wildy-mobile-nav {
    display: block; padding: 12px 18px;
    background: #111C18;
    border-top: 1px solid #29352F;
  }
  .wildy-mobile-item { display: flex; justify-content: space-between; align-items: center; min-height: 44px; color: #A8B2AA; }
  .wildy-mobile-item a { color: #A8B2AA; font-size: 16px; }
  .wildy-mobile-item button { min-height: 44px; min-width: 44px; text-align: left; color: #A8B2AA; font-size: 16px; }
  .wildy-mobile-children { display: flex; flex-direction: column; padding: 0 16px; color: #A8B2AA; }
  .wildy-mobile-children a { padding: 10px 0; color: #A8B2AA; }
  .wildy-header .customer-care p { font-size: 14px; line-height: 20px; }
  .wildy-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wildy-showcase-card:nth-child(3), .wildy-showcase-card:nth-child(4) { grid-column: span 2; }
  .wildy-showcase-card span { font-size: 22px; }
  .wildy-featured { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }
  .wildy-spotlight { padding-top: 24px; }
  .wildy-secondary { padding-top: 48px; }
  .wildy-content-grid, .wildy-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .wildy-content-card p { font-size: 18px; }
  .wildy-footer { padding: 32px 24px 20px; min-height: auto; }
  .wildy-footer-logo img { width: 160px; height: 46px; }
}
