/* Kyron Esports — shared footer styles (used with footer.js) */

/*====================================
ambient line
======================================*/
.kyron-footer-ambient {
  position: relative;
  height: 1px;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 25% 0%,
      rgba(0, 100, 255, 0.07),
      transparent 65%
    ),
    radial-gradient(
      ellipse at 75% 0%,
      rgba(130, 30, 200, 0.07),
      transparent 65%
    ),
    linear-gradient(rgba(100, 116, 139, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.055) 1px, transparent 1px);

  background-size:
    auto,
    auto,
    60px 60px,
    60px 60px;
}

.kyron-footer-ambient-line {
  position: absolute;
  bottom: 0;
  left: 7%;
  right: 6%;
  height: 1px;

  background: linear-gradient(
    90deg,
    #00a8ff 0%,
    #176bff 32%,
    #792be0 63%,
    #e51dce 83%,
    #ff2a1f 100%
  );
}
/* =========================================
   KYRON ESPORTS FOOTER
========================================= */

.kyron-footer {
  --kf-bg: #05070d;
  --kf-border: rgba(255, 255, 255, 0.09);
  --kf-text: #ffffff;
  --kf-secondary: #c5cad5;
  --kf-muted: #a0a8b8;
  --kf-sky: #ffffff;
  --kf-cta: transparent;

  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 5%;
  overflow: hidden;

  color: var(--kf-text);
  background-color: var(--kf-bg);

  font-family: inherit;
}

.kyron-footer *,
.kyron-footer *::before,
.kyron-footer *::after {
  box-sizing: border-box;
}

.kyron-footer a {
  -webkit-tap-highlight-color: transparent;
}

.kyron-footer a:focus-visible {
  outline: 2px solid #00a8ff;
  outline-offset: 5px;
}

/* =========================================
   TOP CTA
========================================= */

.kyron-cta {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 5%;
  color: var(--kf-text);
  background-color: var(--kf-bg);
}

.kyron-cta *,
.kyron-cta *::before,
.kyron-cta *::after {
  box-sizing: border-box;
}

.kyron-cta a:focus-visible {
  outline: 2px solid #00a8ff;
  outline-offset: 5px;
}

.kyron-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  padding: 46px 0 48px;
  border-bottom: 1px solid var(--kf-border);
}

.kyron-cta-content {
  max-width: 700px;
  min-width: 0;
}

.kyron-eyebrow {
  display: block;
  margin: 0 0 18px;

  color: var(--kf-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.5;
}

.kyron-cta-content h2 {
  margin: 0;

  color: var(--kf-text);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -1.2px;
  overflow-wrap: break-word;
}

/* CTA button */

.kyron-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  flex-shrink: 0;
  padding: 14px 0 14px 14px;

  color: var(--kf-text);
  background: transparent;
  border: 0;
  border-radius: 0;

  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;

  cursor: pointer;

  transition: color 0.2s ease;
}

.kyron-cta-button:hover {
  color: #00a8ff;
  box-shadow: none;
  transform: none;
}

.kyron-cta-arrow {
  display: inline-block;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;

  transition: transform 0.2s ease;
}

.kyron-cta-button:hover .kyron-cta-arrow {
  transform: translateX(4px);
}

/* =========================================
   MAIN FOOTER GRID
========================================= */

.kyron-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 0.9fr));
  gap: 45px;

  padding: 62px 0 70px;
}

/* =========================================
   BRAND & K LOGO
========================================= */

.kyron-footer-brand {
  min-width: 0;
  max-width: 380px;
}

.kyron-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  position: relative;
  width: fit-content;
  max-width: 100%;

  text-decoration: none;
  cursor: pointer;
}

.kyron-k-logo {
  display: block;

  width: 128px;
  max-width: 100%;
  height: auto;

  overflow: visible;
}

.kyron-k-shape,
.kyron-k-swoosh {
  fill: #ffffff;
  transition: fill 250ms ease;
}

.kyron-footer-logo:hover .kyron-k-shape,
.kyron-footer-logo:hover .kyron-k-swoosh {
  fill: url(#kyron-k-gradient);
}

.kyron-footer-logo svg {
  pointer-events: none;
}

.kyron-footer-logo:focus-visible {
  outline: 2px solid #00a8ff;
  outline-offset: 6px;
  border-radius: 3px;
}

/* Optional text wordmark */

.kyron-wordmark {
  display: inline-block;

  color: #ffffff;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 5px;
  line-height: 1.2;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.kyron-brand-underline {
  width: 39px;
  height: 2px;
  margin-top: 11px;

  background: linear-gradient(
    90deg,
    #00a8ff 0%,
    #0a6cff 35%,
    #9226db 65%,
    #ff2a1f 100%
  );
}

.kyron-footer-brand > p {
  max-width: 380px;
  margin: 24px 0 26px;

  color: var(--kf-secondary);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================
   SOCIAL LINKS
========================================= */

.kyron-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.kyron-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;
  flex-shrink: 0;

  color: var(--kf-muted);
  background: transparent;
  border: 1px solid var(--kf-border);
  border-radius: 5px;

  text-decoration: none;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.kyron-social-link svg {
  display: block;
  width: 17px;
  height: 17px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kyron-social-link:hover {
  transform: translateY(-2px);
}

.kyron-social-link.instagram:hover {
  color: #de30e1;
  border-color: #e62391;
  background: rgba(225, 48, 108, 0.08);
}

.kyron-social-link.youtube:hover {
  color: #fb2222;
  border-color: #fb2222;
  background: rgba(255, 68, 68, 0.08);
}

.kyron-social-link.discord:hover {
  color: #7289da;
  border-color: #7289da;
  background: rgba(114, 137, 218, 0.08);
}

.kyron-social-link.whatsapp:hover {
  color: #25d366;
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.08);
}

.kyron-social-link.email:hover {
  color: #00a8ff;
  border-color: #00a8ff;
  background: rgba(0, 168, 255, 0.08);
}

/* =========================================
   FOOTER COLUMNS
========================================= */

.kyron-footer-column {
  min-width: 0;
}

.kyron-footer-column h3 {
  margin: 3px 0 25px;

  color: var(--kf-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.5;
}

.kyron-footer-column ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.kyron-footer-column li {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.kyron-footer-column a {
  display: inline-block;
  max-width: 100%;

  color: var(--kf-secondary);
  font-size: 13px;
  line-height: 1.6;

  text-decoration: underline;
  text-decoration-color: rgba(160, 168, 184, 0.5);
  text-underline-offset: 4px;

  overflow-wrap: anywhere;

  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.kyron-footer-column a:hover {
  color: #ffffff;
  text-decoration-color: #00a8ff;
}

/* =========================================
   BOTTOM BAR
========================================= */

.kyron-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  min-height: 64px;
  padding: 16px 0;

  border-top: 1px solid var(--kf-border);
}

.kyron-copyright {
  margin: 0;

  color: var(--kf-muted);
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.7;
}

.kyron-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.kyron-legal-links a {
  color: var(--kf-secondary);
  font-size: 11px;
  line-height: 1.6;

  text-decoration: underline;
  text-decoration-color: rgba(160, 168, 184, 0.5);
  text-underline-offset: 4px;

  transition: color 0.2s ease;
}

.kyron-legal-links a:hover {
  color: #ffffff;
}

/* =========================================
   KYRON FOOTER — COLOR CORRECTIONS
========================================= */

.kyron-footer {
  --kf-bg: #05070d;
  --kf-border: rgba(148, 163, 184, 0.14);
  --kf-text: #f8fafc;
  --kf-secondary: #aab4c5;
  --kf-muted: #8490a3;
  --kf-sky: #00a8ff;
  --kf-cta: #ef2018;

  background-color: #05070d;
  color: #f8fafc;
}

/* Subtle grid background */
.kyron-footer {
  background-image:
    linear-gradient(rgba(100, 116, 139, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.035) 1px, transparent 1px);

  background-size: 60px 60px;
}

/* =========================================
   CTA SECTION
========================================= */

.kyron-cta-inner {
  border-bottom: 1px solid var(--kf-border);
}

.kyron-eyebrow {
  color: #00a8ff;
}

.kyron-cta-content h2 {
  color: #f8fafc;
}

/* Red conversation button */
.kyron-cta-button {
  padding: 18px 21px;
  gap: 24px;

  color: #ffffff;
  background: #ef2018;
  border: 1px solid #ef2018;
  border-radius: 3px;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.kyron-cta-button:hover {
  color: #ffffff;
  background: #d91b14;
  border-color: #d91b14;

  box-shadow: none;
  transform: none;
}

.kyron-cta-arrow {
  color: #ffffff;
}

/* =========================================
   BRAND
========================================= */

.kyron-footer-brand > p {
  color: #aab4c5;
}

/* Gradient brand underline */
.kyron-brand-underline {
  background: linear-gradient(
    90deg,
    #00a8ff 0%,
    #0a6cff 35%,
    #9226db 65%,
    #ff2a1f 100%
  );
}

/* Keep K logo white */
.kyron-k-shape,
.kyron-k-swoosh {
  fill: #ffffff;
}

/* =========================================
   SOCIAL ICONS
========================================= */

.kyron-social-link {
  color: #8490a3;
  background: rgba(5, 7, 13, 0.55);
  border-color: rgba(148, 163, 184, 0.16);
}

.kyron-social-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* =========================================
   COLUMN HEADINGS
========================================= */

.kyron-footer-column h3 {
  color: #00a8ff;
}

/* Footer links */
.kyron-footer-column a {
  color: #aab4c5;
  text-decoration-color: rgba(148, 163, 184, 0.55);
}

.kyron-footer-column a:hover {
  color: #ffffff;
  text-decoration-color: #00a8ff;
}

/* =========================================
   BOTTOM BAR
========================================= */

.kyron-footer-bottom {
  border-top-color: rgba(148, 163, 184, 0.14);
}

.kyron-copyright {
  color: #8490a3;
}

.kyron-legal-links a {
  color: #aab4c5;
  text-decoration-color: rgba(148, 163, 184, 0.45);
}

.kyron-legal-links a:hover {
  color: #00a8ff;
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
  .kyron-cta *,
  .kyron-cta *::before,
  .kyron-cta *::after,
  .kyron-footer *,
  .kyron-footer *::before,
  .kyron-footer *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================
   KYRON FOOTER — RESPONSIVE REFINEMENTS
========================================= */

/* Tablet */
@media (max-width: 900px) {
  .kyron-footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
  }

  .kyron-footer-brand {
    grid-column: 1 / -1;
    max-width: 460px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .kyron-cta,
  .kyron-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Brand occupies the full first row */
  .kyron-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 24px;
    row-gap: 38px;

    padding-top: 36px;
    padding-bottom: 36px;
  }

  .kyron-footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  /* Keep the three navigation columns in a compact grid */
  .kyron-footer-column {
    min-width: 0;
    grid-column: auto;
  }

  .kyron-footer-column h3 {
    margin: 0 0 20px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .kyron-footer-column ul {
    gap: 14px;
  }

  .kyron-footer-column a {
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  /* Logo */
  .kyron-k-logo {
    width: 88px;
  }

  /* Description */
  .kyron-footer-brand > p {
    max-width: 360px;
    margin: 22px 0;
    font-size: 13px;
    line-height: 1.8;
  }

  /* Social icons */
  .kyron-socials {
    gap: 9px;
  }

  .kyron-social-link {
    width: 38px;
    height: 38px;
  }

  /* Copyright and legal links */
  .kyron-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 22px 0;
  }

  .kyron-legal-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .kyron-cta,
  .kyron-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .kyron-footer-main {
    column-gap: 16px;
    row-gap: 32px;
  }

  .kyron-footer-column h3 {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .kyron-footer-column a {
    font-size: 11px;
  }

  .kyron-socials {
    gap: 7px;
  }

  .kyron-social-link {
    width: 35px;
    height: 35px;
  }
}
/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .kyron-cta *,
  .kyron-cta *::before,
  .kyron-cta *::after,
  .kyron-footer *,
  .kyron-footer *::before,
  .kyron-footer *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* =========================================
   KYRON FOOTER — THEME VARIABLES
========================================= */

/* DARK THEME — DEFAULT */
:root {
  --kf-bg: #05070d;
  --kf-text: #f8fafc;
  --kf-secondary: #aab4c5;
  --kf-muted: #8490a3;
  --kf-border: rgba(148, 163, 184, 0.14);
  --kf-sky: #00a8ff;
  --kf-cta: #ef2018;
}

/* LIGHT THEME */
html[data-theme="light"] {
  --kf-bg: #f8fafc;
  --kf-text: #111827;
  --kf-secondary: #475569;
  --kf-muted: #64748b;
  --kf-border: rgba(15, 23, 42, 0.12);
  --kf-sky: #0077cc;
  --kf-cta: #e9231b;
}

/* =========================================
   FOOTER BASE
========================================= */

.kyron-cta,
.kyron-footer {
  color: var(--kf-text);
  background-color: var(--kf-bg);

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

/* Ambient grid */
.kyron-cta,
.kyron-footer {
  background-image:
    linear-gradient(rgba(100, 116, 139, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.035) 1px, transparent 1px);

  background-size: 60px 60px;
}

.kyron-cta {
  background-size: 60px 60px;
}

/* Light ambient grid */
html[data-theme="light"] .kyron-cta,
html[data-theme="light"] .kyron-footer {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
}

/* =========================================
   CTA
========================================= */

.kyron-eyebrow,
.kyron-footer-column h3 {
  color: var(--kf-sky);
}

.kyron-cta-content h2 {
  color: var(--kf-text);
}

.kyron-cta-button {
  color: #ffffff;
  background: var(--kf-cta);
  border-color: var(--kf-cta);
}

.kyron-cta-button:hover {
  color: #ffffff;
  filter: brightness(0.9);
}

/* =========================================
   BRAND
========================================= */

.kyron-footer-brand > p {
  color: var(--kf-secondary);
}

/* Dark logo by default in light mode */
html[data-theme="light"] .kyron-k-shape,
html[data-theme="light"] .kyron-k-swoosh {
  fill: #111827;
}

/* White logo in dark mode */
html[data-theme="dark"] .kyron-k-shape,
html[data-theme="dark"] .kyron-k-swoosh {
  fill: #ffffff;
}

/* Gradient logo hover */
.kyron-footer-logo:hover .kyron-k-shape,
.kyron-footer-logo:hover .kyron-k-swoosh {
  fill: url(#kyron-k-gradient);
}

/* Optional text wordmark */
html[data-theme="light"] .kyron-wordmark {
  color: #111827;
}

html[data-theme="dark"] .kyron-wordmark {
  color: #ffffff;
}

/* =========================================
   SOCIAL ICONS
========================================= */

.kyron-social-link {
  color: var(--kf-muted);
  border-color: var(--kf-border);
}

html[data-theme="light"] .kyron-social-link {
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .kyron-social-link {
  background: rgba(5, 7, 13, 0.55);
}

/* =========================================
   FOOTER LINKS
========================================= */

.kyron-footer-column a {
  color: var(--kf-secondary);
}

.kyron-footer-column a:hover {
  color: var(--kf-sky);
}

.kyron-cta-inner,
.kyron-footer-bottom {
  border-color: var(--kf-border);
}

.kyron-copyright {
  color: var(--kf-muted);
}

.kyron-legal-links a {
  color: var(--kf-secondary);
}

.kyron-legal-links a:hover {
  color: var(--kf-sky);
}


/* ======================================================================
   KYRON FOOTER — LIGHT THEME FIX
   Scoped to light mode only; dark theme and CTA section remain unchanged.
====================================================================== */
html[data-theme="light"] .kyron-footer {
  /* Soft light-grey surface with readable dark text */
  --kf-bg: #f1f4f8;
  --kf-text: #111827;
  --kf-secondary: #475569;
  --kf-muted: #64748b;
  --kf-border: rgba(15, 23, 42, 0.14);
  --kf-sky: #0077cc;

  background-color: #f1f4f8;
  color: #111827;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
}

html[data-theme="light"] .kyron-footer .kyron-k-shape,
html[data-theme="light"] .kyron-footer .kyron-k-swoosh {
  fill: #111827;
}

html[data-theme="light"] .kyron-footer .kyron-footer-brand > p,
html[data-theme="light"] .kyron-footer .kyron-footer-column a,
html[data-theme="light"] .kyron-footer .kyron-legal-links a {
  color: #475569;
}

html[data-theme="light"] .kyron-footer .kyron-copyright {
  color: #64748b;
}

html[data-theme="light"] .kyron-footer .kyron-footer-column a:hover,
html[data-theme="light"] .kyron-footer .kyron-legal-links a:hover {
  color: #0077cc;
}

html[data-theme="light"] .kyron-footer .kyron-cta-inner,
html[data-theme="light"] .kyron-footer .kyron-footer-bottom {
  border-color: rgba(15, 23, 42, 0.14);
}

html[data-theme="light"] .kyron-footer-ambient {
  background-color: #f1f4f8;
}



/* FIX: preserve the original Kyron gradient hover in light mode.
   This selector intentionally matches the light-theme logo rule's specificity. */
html[data-theme="light"] .kyron-footer .kyron-footer-logo:hover .kyron-k-shape,
html[data-theme="light"] .kyron-footer .kyron-footer-logo:hover .kyron-k-swoosh,
html[data-theme="light"] .kyron-footer .kyron-footer-logo:focus-visible .kyron-k-shape,
html[data-theme="light"] .kyron-footer .kyron-footer-logo:focus-visible .kyron-k-swoosh {
  fill: url(#kyron-k-gradient);
}

/* Footer game-link hover colors (PRD game tokens) */
.kyron-footer-column a.game-ff:hover { color: var(--game-freefire, #00f5ff); }
.kyron-footer-column a.game-bgmi:hover { color: var(--game-bgmi-text, #a78bfa); }
.kyron-footer-column a.game-chess:hover { color: var(--game-chess, #f59e0b); }
.kyron-footer-column a.game-valorant:hover { color: var(--game-valorant, #ff4655); }

/* =========================================
   LIGHT THEME — AMBIENT LINE
========================================= */

html[data-theme="light"] .kyron-footer-ambient {
  background-color: #f8fafc;
  background-image:
    radial-gradient(
      ellipse at 25% 0%,
      rgba(0, 119, 204, 0.07),
      transparent 65%
    ),
    radial-gradient(
      ellipse at 75% 0%,
      rgba(130, 30, 200, 0.05),
      transparent 65%
    ),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);

  background-size:
    auto,
    auto,
    60px 60px,
    60px 60px;
}

/* Keep the gradient line in both themes */
.kyron-footer-ambient-line {
  background: linear-gradient(
    90deg,
    #00a8ff 0%,
    #176bff 32%,
    #792be0 63%,
    #e51dce 83%,
    #ff2a1f 100%
  );
}
