/*!
 * Frostreach — main stylesheet
 * Dark / "frost" blue gaming theme for MMORPG blogging.
 */

/* ==========================================================================
   1. Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #101c2e 0%, var(--fr-bg) 55%) fixed;
  color: var(--fr-text);
  font-family: var(--fr-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--fr-frost-400);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus {
  color: var(--fr-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fr-font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1.2em;
}

ul, ol {
  padding-left: 1.3em;
}

blockquote {
  margin: 1.5em 0;
  padding: 1em 1.4em;
  border-left: 3px solid var(--fr-frost-500);
  background: var(--fr-bg-elevated);
  border-radius: 0 var(--fr-radius-sm) var(--fr-radius-sm) 0;
  color: var(--fr-text-muted);
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid var(--fr-border);
  margin: 2em 0;
}

code, pre {
  font-family: "SFMono-Regular", Consolas, monospace;
  background: var(--fr-bg-elevated);
  border-radius: 4px;
}

code {
  padding: 0.15em 0.4em;
  font-size: 0.9em;
}

pre {
  padding: 1em;
  overflow-x: auto;
  border: 1px solid var(--fr-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

th, td {
  padding: 0.6em 0.8em;
  border: 1px solid var(--fr-border);
  text-align: left;
}

th {
  background: var(--fr-bg-elevated);
  color: #fff;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.fr-skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--fr-frost-500);
  color: #04121f;
  padding: 0.6em 1em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  transition: top 0.15s ease;
}

.fr-skip-link:focus {
  top: 0;
}

.fr-container {
  max-width: var(--fr-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   2. Header
   ========================================================================== */

.fr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fr-border-soft);
}

.fr-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 14px 24px;
  position: relative;
}

.fr-branding {
  flex: 0 0 auto;
  position: relative;
}

.fr-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* -- Logo centered, menu split to both sides -------------------------- */

.fr-header--logo-center .fr-header-inner {
  flex-wrap: nowrap;
  justify-content: center;
}

.fr-header--logo-center .fr-branding {
  text-align: center;
}

.fr-header--logo-center .fr-header-actions {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* -- Logo left, full menu right next to it ----------------------------- */

.fr-header--logo-left .fr-branding {
  order: 1;
}

.fr-header--logo-left .fr-primary-nav {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
}

.fr-header--logo-left .fr-header-actions {
  order: 3;
  margin-left: auto;
}

.fr-site-title {
  margin: 0;
  font-size: 1.4rem;
  font-family: var(--fr-font-display);
  white-space: nowrap;
}

.fr-site-title a {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fr-site-title a:hover {
  color: var(--fr-frost-400);
}

.fr-site-description {
  margin: 0;
  font-size: 0.8rem;
  color: var(--fr-text-faint);
}

.fr-logo {
  position: relative;
}

.fr-logo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132%;
  height: 132%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(58, 160, 224, 0.22), transparent 70%);
  z-index: -1;
}

.fr-logo img {
  max-height: 104px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.fr-primary-nav {
  display: flex;
  align-items: center;
  flex: 1 1 0;
}

.fr-primary-nav--left {
  justify-content: space-between;
}

.fr-header-brandtag {
  font-family: var(--fr-font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fr-text-faint);
  white-space: nowrap;
}

.fr-primary-nav--right {
  justify-content: flex-start;
}

.fr-mobile-menu {
  display: none;
  border-top: 1px solid var(--fr-border-soft);
  background: var(--fr-bg-elevated);
  padding: 6px 16px 14px;
}

.fr-mobile-menu.is-open {
  display: block;
}

.fr-mobile-menu .fr-menu {
  flex-direction: column;
  gap: 0;
}

.fr-mobile-menu .fr-menu ul {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: transparent;
  padding-left: 14px;
  display: none;
}

.fr-mobile-menu .fr-menu li.is-submenu-open > ul {
  display: block;
}

.fr-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px 2px;
  margin: 0;
  padding: 0;
}

.fr-menu li {
  position: relative;
}

.fr-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--fr-text);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border-radius: var(--fr-radius-sm);
}

.fr-menu a:hover {
  color: #fff;
  background: var(--fr-bg-elevated);
}

.fr-menu .current-menu-item > a {
  color: var(--fr-frost-400);
}

.fr-menu ul {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-sm);
  padding: 6px;
  box-shadow: var(--fr-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
  z-index: 50;
}

.fr-menu li:hover > ul,
.fr-menu li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fr-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--fr-border);
  background: var(--fr-bg-elevated);
  color: var(--fr-text-muted);
  cursor: pointer;
}

.fr-search-toggle:hover {
  color: #fff;
  border-color: var(--fr-frost-500);
}

.fr-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.fr-nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.fr-search-form-wrap {
  border-top: 1px solid var(--fr-border-soft);
  padding: 16px 0;
  background: var(--fr-bg-elevated);
}

.fr-search-form-wrap[hidden] {
  display: none;
}

/* ==========================================================================
   3. Social icons
   ========================================================================== */

.fr-social-icons {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.fr-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fr-bg-elevated);
  border: 1px solid var(--fr-border);
  color: var(--fr-text-muted);
}

.fr-social-icon:hover {
  color: #04121f;
  background: var(--fr-frost-500);
  border-color: var(--fr-frost-500);
}

.fr-social-icons--footer {
  margin: 18px 0;
  justify-content: center;
}

.fr-social-icons--header {
  padding-left: 10px;
  margin-left: 4px;
  border-left: 1px solid var(--fr-border);
}

.fr-social-icons--header .fr-social-icon {
  width: 28px;
  height: 28px;
}

.fr-social-icons--header .fr-social-icon svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.fr-main {
  padding: 40px 24px 64px;
}

.fr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.fr-layout--page,
.fr-no-sidebar .fr-layout {
  grid-template-columns: minmax(0, 1fr);
}

.fr-no-sidebar .fr-sidebar {
  display: none;
}

.fr-archive-header {
  margin-bottom: 32px;
}

.fr-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--fr-frost-400);
  font-weight: 700;
  margin: 0 0 6px;
}

.fr-page-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  border-bottom: 2px solid var(--fr-border);
  padding-bottom: 16px;
}

.fr-archive-desc {
  color: var(--fr-text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   5. Post cards / grid
   ========================================================================== */

.fr-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.fr-card {
  background: linear-gradient(180deg, var(--fr-bg-card), var(--fr-bg-elevated));
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.fr-card:hover {
  transform: translateY(-4px);
  border-color: var(--fr-frost-600);
  box-shadow: var(--fr-shadow);
}

.fr-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--fr-bg-elevated);
}

.fr-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.fr-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 20, 0.25);
}

.fr-card-play svg {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(10, 16, 26, 0.75);
  color: var(--fr-frost-200);
  backdrop-filter: blur(2px);
}

.fr-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.fr-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fr-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}

.fr-badge-category {
  background: rgba(58, 160, 224, 0.15);
  color: var(--fr-frost-400);
  border: 1px solid rgba(58, 160, 224, 0.35);
}

.fr-badge-category:hover {
  color: #fff;
  background: var(--fr-frost-600);
}

.fr-badge-format {
  background: rgba(124, 240, 214, 0.12);
  color: var(--fr-accent);
  border: 1px solid rgba(124, 240, 214, 0.3);
}

.fr-card-title {
  font-size: 1.2rem;
  margin: 0;
}

.fr-card-title a {
  color: #fff;
}

.fr-card-title a:hover {
  color: var(--fr-frost-400);
}

.fr-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.78rem;
  color: var(--fr-text-faint);
}

.fr-meta-author a {
  color: var(--fr-text-muted);
}

.fr-card-excerpt {
  color: var(--fr-text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.fr-card-excerpt p {
  margin: 0;
}

.fr-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--fr-frost-400);
  margin-top: 4px;
}

.fr-read-more:hover {
  gap: 10px;
  color: var(--fr-accent);
}

/* ==========================================================================
   6. Single post
   ========================================================================== */

.fr-single-header {
  margin-bottom: 22px;
}

.fr-single-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 10px 0 14px;
}

.fr-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fr-meta-views svg {
  flex: none;
  color: var(--fr-frost-400);
}

.fr-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.85rem;
  color: var(--fr-text-faint);
  border-bottom: 1px solid var(--fr-border);
  padding-bottom: 16px;
}

.fr-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--fr-radius);
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--fr-border);
  box-shadow: var(--fr-shadow);
  background: #000;
}

.fr-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fr-single-thumb {
  margin: 24px 0;
  border-radius: var(--fr-radius);
  overflow: hidden;
  border: 1px solid var(--fr-border);
}

.fr-single-content {
  font-size: 1.05rem;
}

.fr-single-content h2 {
  font-size: 1.5rem;
  margin-top: 1.8em;
}

.fr-single-content h3 {
  font-size: 1.25rem;
  margin-top: 1.5em;
}

.fr-single-content strong,
.fr-single-content b {
  color: var(--fr-frost-400);
}

.fr-single-content figure {
  margin: 1.5em 0;
}

.fr-single-content figcaption {
  color: var(--fr-text-faint);
  font-size: 0.85rem;
  margin-top: 6px;
  text-align: center;
}

.fr-page-links {
  margin-top: 2em;
  font-weight: 700;
}

.fr-single-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--fr-border);
}

.fr-single-tags a {
  display: inline-block;
  background: var(--fr-bg-elevated);
  border: 1px solid var(--fr-border);
  color: var(--fr-text-muted);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  margin: 0 6px 6px 0;
}

.fr-single-tags a:hover {
  color: #fff;
  border-color: var(--fr-frost-500);
}

/* ==========================================================================
   9b. Single post — share buttons
   ========================================================================== */

.fr-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.fr-share--top {
  margin: 16px 0 0;
}

.fr-share-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fr-text-faint);
}

.fr-share-buttons {
  display: flex;
  gap: 8px;
}

.fr-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fr-bg-elevated);
  border: 1px solid var(--fr-border);
  color: var(--fr-text-muted);
  cursor: pointer;
  padding: 0;
  font: inherit;
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.fr-share-btn:hover,
.fr-share-btn:focus-visible {
  transform: translateY(-2px);
}

.fr-share-btn--twitter:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.fr-share-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.fr-share-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #04121f;
}

.fr-share-btn--telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
  color: #fff;
}

.fr-share-btn--copy:hover {
  background: var(--fr-frost-500);
  border-color: var(--fr-frost-500);
  color: #04121f;
}

.fr-share-btn--copy.is-copied {
  background: var(--fr-accent);
  border-color: var(--fr-accent);
  color: #04121f;
}

.fr-share-btn-icon {
  display: inline-flex;
}

.fr-share-btn-icon--copied {
  display: none;
}

.fr-share-btn--copy.is-copied .fr-share-btn-icon--default {
  display: none;
}

.fr-share-btn--copy.is-copied .fr-share-btn-icon--copied {
  display: inline-flex;
}

.fr-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0;
  padding: 18px 0;
  border-top: 1px solid var(--fr-border);
  border-bottom: 1px solid var(--fr-border);
  font-weight: 600;
}

.fr-post-nav-next {
  text-align: right;
  margin-left: auto;
}

/* ==========================================================================
   7. Sidebar & widgets
   ========================================================================== */

.fr-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fr-widget {
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  padding: 20px;
}

.fr-widget-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fr-frost-400);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fr-border);
}

.fr-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fr-widget li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--fr-border-soft);
}

.fr-widget li:last-child {
  border-bottom: none;
}

.fr-widget a {
  color: var(--fr-text);
}

.fr-widget a:hover {
  color: var(--fr-frost-400);
}

/* ==========================================================================
   8. Search form / pagination
   ========================================================================== */

.fr-search-form {
  display: flex;
  gap: 10px;
}

.fr-search-field {
  flex: 1;
  background: var(--fr-bg-elevated);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-sm);
  padding: 10px 14px;
  color: var(--fr-text);
  font-size: 0.95rem;
}

.fr-search-field:focus {
  outline: none;
  border-color: var(--fr-frost-500);
}

.fr-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  border-radius: var(--fr-radius-sm);
  border: 1px solid var(--fr-frost-600);
  background: var(--fr-frost-600);
  color: #04121f;
  cursor: pointer;
}

.fr-search-submit:hover {
  background: var(--fr-frost-500);
}

.fr-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 0;
}

.fr-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--fr-radius-sm);
  background: var(--fr-bg-elevated);
  border: 1px solid var(--fr-border);
  color: var(--fr-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.fr-pagination .page-numbers.current,
.fr-pagination .page-numbers:hover {
  color: #04121f;
  background: var(--fr-frost-500);
  border-color: var(--fr-frost-500);
}

/* ==========================================================================
   9. Comments
   ========================================================================== */

.fr-comments {
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--fr-border);
}

.fr-comments-title {
  font-size: 1.3rem;
}

.fr-comment-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.fr-comment-list .comment-body {
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.fr-comment-list .children {
  list-style: none;
  padding-left: 28px;
}

.comment-reply-title {
  font-size: 1.2rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--fr-bg-elevated);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-sm);
  padding: 10px 14px;
  color: var(--fr-text);
  font-family: var(--fr-font-body);
  margin-bottom: 14px;
}

.comment-form textarea {
  min-height: 140px;
}

.fr-button,
.comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fr-frost-500);
  color: #04121f;
  border: none;
  border-radius: var(--fr-radius-sm);
  padding: 11px 22px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}

.fr-button:hover,
.comment-form input[type="submit"]:hover {
  background: var(--fr-accent);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.fr-footer {
  margin-top: 64px;
  padding: 48px 0 32px;
  background: var(--fr-bg-elevated);
  border-top: 1px solid var(--fr-border-soft);
}

.fr-footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.fr-footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--fr-border-soft);
}

.fr-footer-title {
  font-family: var(--fr-font-display);
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 14px 0 0;
  margin: 0;
  flex-wrap: wrap;
}

#footer-menu a {
  color: var(--fr-text-muted);
  font-size: 0.85rem;
}

.fr-footer-credits {
  color: var(--fr-text-faint);
  font-size: 0.8rem;
  margin: 10px 0 0;
}

/* ==========================================================================
   11. 404 / no-results
   ========================================================================== */

.fr-404 {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
}

.fr-404-code {
  font-family: var(--fr-font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--fr-frost-600);
  margin: 0;
}

.fr-404-back {
  margin-top: 24px;
}

.fr-no-results {
  padding: 40px 0;
}

/* ==========================================================================
   12. WordPress core alignment helpers
   ========================================================================== */

.alignwide {
  width: 100%;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: 100vw;
}

.alignleft {
  float: left;
  margin: 0.4em 1.4em 1em 0;
}

.alignright {
  float: right;
  margin: 0.4em 0 1em 1.4em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption,
.wp-block-image {
  max-width: 100%;
}

.wp-block-quote {
  border-left: 3px solid var(--fr-frost-500);
  padding-left: 1.2em;
}

/* ==========================================================================
   14. Buttons
   ========================================================================== */

.fr-button-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fr-frost-400);
  border: 1px solid var(--fr-frost-600);
  border-radius: var(--fr-radius-sm);
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.9rem;
}

.fr-button-outline:hover {
  color: #04121f;
  background: var(--fr-frost-500);
  border-color: var(--fr-frost-500);
}

.fr-load-more-wrap {
  text-align: center;
  margin: 28px 0 0;
}

/* ==========================================================================
   15. Badge color cycle (solid pills for hero / featured cards)
   ========================================================================== */

.fr-badge-solid {
  border: none;
  color: #04121f;
  font-weight: 800;
}

.fr-hue-frost {
  background: var(--fr-frost-500);
}

.fr-hue-ice {
  background: var(--fr-frost-200);
}

.fr-hue-teal {
  background: var(--fr-accent);
}

.fr-hue-deep {
  background: var(--fr-frost-400);
}

/* ==========================================================================
   16. Homepage — hero
   ========================================================================== */

.fr-home {
  padding-top: 32px;
}

.fr-hero-section {
  margin-bottom: 48px;
}

.fr-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.fr-hero-grid-main {
  height: 100%;
}

.fr-hero-grid-side {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fr-hero-main,
.fr-hero-side {
  position: relative;
  border-radius: var(--fr-radius);
  overflow: hidden;
  border: 1px solid var(--fr-border);
  background: var(--fr-bg-card);
  height: 100%;
}

.fr-hero-side {
  flex: 1 1 0;
  min-height: 0;
}

.fr-hero-link {
  display: block;
  position: relative;
  color: var(--fr-text);
  height: 100%;
}

.fr-hero-main .fr-hero-media {
  aspect-ratio: 16 / 10;
}

.fr-hero-side .fr-hero-media {
  height: 100%;
}

.fr-hero-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #14233a, #0c1420);
}

.fr-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fr-hero-media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #16283f, #0a121e);
}

.fr-hero-link:hover .fr-hero-media img {
  transform: scale(1.06);
}

.fr-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  background: linear-gradient(0deg, rgba(4, 9, 16, 0.92) 0%, rgba(4, 9, 16, 0.35) 55%, rgba(4, 9, 16, 0) 100%);
}

.fr-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.25;
}

.fr-hero-title--sm {
  font-size: 1.05rem;
}

.fr-hero-overlay .fr-card-meta {
  font-size: 0.78rem;
  color: rgba(231, 238, 247, 0.75);
}

/* ==========================================================================
   17. Homepage — section layout
   ========================================================================== */

.fr-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.fr-home-layout--lower {
  padding-top: 40px;
  border-top: 1px solid var(--fr-border-soft);
}

.fr-section-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--fr-border);
  position: relative;
}

.fr-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--fr-frost-500);
}

.fr-home-news-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.fr-home-news-list .fr-card {
  flex-direction: row;
}

.fr-home-news-list .fr-card-thumb {
  width: 320px;
  flex: 0 0 320px;
  aspect-ratio: auto;
}

.fr-home-news-list .fr-card-body {
  flex: 1;
}

.fr-home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ==========================================================================
   18. Homepage — event countdown box
   ========================================================================== */

.fr-event-box {
  display: block;
  padding: 22px;
  background: linear-gradient(160deg, rgba(58, 160, 224, 0.16), var(--fr-bg-card) 60%);
  border: 1px solid var(--fr-frost-700);
  color: var(--fr-text);
}

.fr-event-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fr-frost-400);
  margin: 0 0 8px;
}

.fr-event-title {
  font-size: 1.2rem;
  margin: 0 0 6px;
  color: #fff;
}

.fr-event-subtitle {
  color: var(--fr-text-muted);
  font-size: 0.85rem;
  margin: 0 0 18px;
}

.fr-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.fr-countdown-unit {
  background: rgba(4, 10, 18, 0.55);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-sm);
  padding: 10px 4px;
}

.fr-countdown-value {
  display: block;
  font-family: var(--fr-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fr-frost-200);
}

.fr-countdown-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fr-text-faint);
  margin-top: 2px;
}

/* ==========================================================================
   19. Homepage — popular posts widget
   ========================================================================== */

.fr-popular-posts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fr-popular-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--fr-border-soft);
}

.fr-popular-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fr-popular-item:first-child {
  padding-top: 0;
}

.fr-popular-thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: var(--fr-radius-sm);
  overflow: hidden;
  background: var(--fr-bg-elevated);
}

.fr-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fr-popular-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fr-popular-title {
  color: var(--fr-text);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.3;
}

.fr-popular-title:hover {
  color: var(--fr-frost-400);
}

.fr-popular-body .fr-post-date {
  font-size: 0.75rem;
  color: var(--fr-text-faint);
}

/* ==========================================================================
   19b. Homepage — "Ver en YouTube" call-to-action box
   ========================================================================== */

.fr-youtube-cta {
  text-align: center;
  background: linear-gradient(165deg, rgba(58, 160, 224, 0.14), var(--fr-bg-card) 65%);
}

.fr-youtube-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(58, 160, 224, 0.16);
  border: 1px solid var(--fr-frost-600);
  color: var(--fr-frost-200);
  margin-bottom: 12px;
}

.fr-youtube-cta-title {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: #fff;
}

.fr-youtube-cta-text {
  color: var(--fr-text-muted);
  font-size: 0.85rem;
  margin: 0 0 16px;
}

.fr-youtube-cta-button {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   19c. Sidebar — profile card widget
   ========================================================================== */

.fr-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(165deg, rgba(58, 160, 224, 0.14), var(--fr-bg-card) 65%);
}

.fr-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--fr-frost-500);
  box-shadow: 0 0 0 4px rgba(58, 160, 224, 0.14);
  margin-bottom: 14px;
}

.fr-profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fr-profile-handle {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.fr-profile-role {
  color: var(--fr-text-muted);
  font-size: 0.85rem;
  margin: 0 0 18px;
}

.fr-profile-follow {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   20. Homepage — Twitch panel (below "Ver todas las entradas")
   ========================================================================== */

.fr-twitch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  margin-top: 28px;
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  overflow: hidden;
  box-shadow: var(--fr-shadow-sm);
}

.fr-live-embed.fr-twitch-panel-embed {
  margin-top: 0;
  aspect-ratio: auto;
  min-height: 260px;
  border: none;
  border-radius: 0;
}

.fr-twitch-panel-info {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-left: 1px solid var(--fr-border);
  background: linear-gradient(160deg, rgba(58, 160, 224, 0.14), transparent 65%);
}

.fr-twitch-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(124, 240, 214, 0.12);
  border: 1px solid rgba(124, 240, 214, 0.4);
  color: var(--fr-accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.fr-twitch-panel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fr-accent);
  animation: fr-twitch-pulse 1.8s ease-in-out infinite;
}

@keyframes fr-twitch-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

.fr-twitch-panel-name {
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: #fff;
}

.fr-twitch-panel-text {
  color: var(--fr-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.fr-twitch-panel-schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fr-frost-200);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 20px;
}

.fr-twitch-panel-schedule svg {
  flex: none;
  color: var(--fr-frost-400);
}

.fr-twitch-panel-button {
  margin-top: auto;
  justify-content: center;
}

.fr-live-embed {
  margin-top: 14px;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--fr-radius-sm);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--fr-border);
}

.fr-live-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fr-live-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--fr-frost-200);
  background: radial-gradient(circle at center, rgba(58, 160, 224, 0.18), transparent 70%);
  font-weight: 700;
  font-size: 0.85rem;
}

.fr-live-fallback svg {
  padding: 12px;
  border-radius: 50%;
  background: rgba(58, 160, 224, 0.18);
  border: 1px solid var(--fr-frost-600);
}

/* ==========================================================================
   21. Homepage — recomendados / tienda
   ========================================================================== */

.fr-store-section {
  margin-bottom: 56px;
}

.fr-section-title--eyebrow {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 24px;
}

.fr-section-title--eyebrow::after {
  display: none;
}

.fr-store-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

.fr-promo-box {
  border-radius: var(--fr-radius);
  padding: 28px 24px;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, var(--fr-frost-700), #0c2338 65%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--fr-frost-600);
}

.fr-promo-title {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.fr-promo-text {
  color: rgba(231, 238, 247, 0.85);
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.fr-promo-button {
  align-self: flex-start;
}

.fr-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.fr-store-item {
  padding: 16px;
  text-align: center;
}

.fr-store-item img {
  border-radius: var(--fr-radius-sm);
  margin-bottom: 12px;
}

.fr-store-item .fr-widget-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--fr-text);
  text-transform: none;
  letter-spacing: normal;
}

/* ==========================================================================
   22. Homepage — horizontal cards (lower section)
   ========================================================================== */

.fr-home-h-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fr-h-card {
  display: flex;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--fr-border-soft);
}

.fr-h-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fr-h-card-thumb {
  flex: 0 0 160px;
  width: 160px;
  aspect-ratio: 16 / 10;
  border-radius: var(--fr-radius-sm);
  overflow: hidden;
  background: var(--fr-bg-elevated);
}

.fr-h-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fr-h-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fr-h-card-title {
  margin: 0;
  font-size: 1.1rem;
}

.fr-h-card-title a {
  color: #fff;
}

.fr-h-card-title a:hover {
  color: var(--fr-frost-400);
}

.fr-h-card-excerpt {
  color: var(--fr-text-muted);
  font-size: 0.88rem;
}

.fr-h-card-excerpt p {
  margin: 0;
}

/* ==========================================================================
   23. Footer social band
   ========================================================================== */

.fr-footer-social-band {
  margin-top: 24px;
  padding: 40px 0 32px;
  background: radial-gradient(600px 200px at 50% 0%, rgba(58, 160, 224, 0.1), transparent), var(--fr-bg);
  border-top: 1px solid var(--fr-border-soft);
  text-align: center;
}

.fr-footer-social-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fr-footer-logo img {
  max-height: 84px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.fr-footer-tagline {
  color: var(--fr-text-faint);
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.fr-footer-about {
  margin: 0 0 4px;
}

.fr-footer-about a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--fr-frost-400);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fr-footer-about a:hover {
  color: var(--fr-accent);
}

.fr-footer-social-inner .fr-social-icons {
  margin: 14px 0 6px;
  gap: 16px;
}

.fr-footer-social-inner .fr-social-icon {
  width: 48px;
  height: 48px;
}

.fr-footer-social-inner .fr-social-icon svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   24b. Game hub page (grid of clickable logo cards)
   ========================================================================== */

.fr-hub-page {
  padding-top: 40px;
  padding-bottom: 64px;
}

.fr-hub-header {
  text-align: center;
  border-bottom: none;
  margin-bottom: 8px;
}

.fr-hub-header .fr-single-title {
  margin-bottom: 0;
}

.fr-hub-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--fr-text-muted);
}

.fr-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.fr-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 36px 28px 32px;
  border-radius: var(--fr-radius);
  border: 1px solid var(--fr-border);
  background: linear-gradient(180deg, var(--fr-bg-card), var(--fr-bg-elevated));
  color: var(--fr-text);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fr-hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(58, 160, 224, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

a.fr-hub-card:hover,
a.fr-hub-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--fr-frost-500);
  box-shadow: var(--fr-shadow);
  color: var(--fr-text);
}

a.fr-hub-card:hover::before,
a.fr-hub-card:focus-visible::before {
  opacity: 1;
}

.fr-hub-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  margin-bottom: 18px;
}

.fr-hub-card-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

a.fr-hub-card:hover .fr-hub-card-media img {
  transform: scale(1.07);
}

.fr-hub-card-media-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 160, 224, 0.18), var(--fr-bg-elevated) 70%);
  border: 1px dashed var(--fr-border);
}

.fr-hub-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fr-hub-card-title {
  font-family: var(--fr-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.fr-hub-card-subtitle {
  font-size: 0.85rem;
  color: var(--fr-text-faint);
}

.fr-hub-card-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 14px;
  border-radius: 50%;
  border: 1px solid var(--fr-border);
  color: var(--fr-frost-400);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

a.fr-hub-card:hover .fr-hub-card-arrow,
a.fr-hub-card:focus-visible .fr-hub-card-arrow {
  transform: translateX(4px);
  background: var(--fr-frost-500);
  border-color: var(--fr-frost-500);
  color: #04121f;
}

/* ==========================================================================
   24b. "Sigue el blog" banner (site-wide, just above the footer)
   ========================================================================== */

.fr-follow-banner {
  position: relative;
  margin-top: 56px;
  padding: 40px 0;
  background: linear-gradient(120deg, rgba(58, 160, 224, 0.14), var(--fr-bg-elevated) 55%, rgba(124, 240, 214, 0.08));
  border-top: 1px solid var(--fr-border);
  border-bottom: 1px solid var(--fr-border-soft);
  overflow: hidden;
}

.fr-follow-banner::before,
.fr-follow-banner::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid var(--fr-accent);
  opacity: 0.55;
  pointer-events: none;
}

.fr-follow-banner::before {
  top: 14px;
  left: 14px;
  border-right: none;
  border-bottom: none;
}

.fr-follow-banner::after {
  bottom: 14px;
  right: 14px;
  border-left: none;
  border-top: none;
}

.fr-follow-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.fr-follow-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(124, 240, 214, 0.1);
  border: 1px solid var(--fr-accent);
  color: var(--fr-accent);
}

.fr-follow-content {
  flex: 1 1 380px;
  min-width: 0;
}

.fr-follow-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fr-accent);
  margin: 0 0 8px;
}

.fr-follow-title {
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: #fff;
}

.fr-follow-text {
  color: var(--fr-text-muted);
  font-size: 0.92rem;
  max-width: 60ch;
  margin: 0;
}

.fr-follow-actions {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fr-follow-button {
  background: var(--fr-accent);
  color: #04121f;
}

.fr-follow-button:hover {
  background: var(--fr-frost-200);
}

.fr-follow-x-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fr-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.fr-follow-x-link:hover {
  color: var(--fr-frost-400);
}

/* ==========================================================================
   25. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .fr-home-news-list .fr-card {
    flex-direction: column;
  }

  .fr-home-news-list .fr-card-thumb {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 960px) {
  .fr-layout,
  .fr-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .fr-store-layout {
    grid-template-columns: 1fr;
  }

  .fr-twitch-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .fr-live-embed.fr-twitch-panel-embed {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .fr-twitch-panel-info {
    border-left: none;
    border-top: 1px solid var(--fr-border);
  }

  .fr-follow-inner {
    flex-direction: column;
    text-align: center;
  }

  .fr-follow-content {
    flex: none;
  }

  .fr-follow-actions {
    align-items: center;
    width: 100%;
  }

  .fr-follow-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1320px) {
  .fr-header--logo-left .fr-primary-nav {
    display: none;
  }

  .fr-header--logo-left .fr-nav-toggle {
    display: flex;
  }
}

@media (max-width: 782px) {
  .fr-header--logo-center .fr-primary-nav--left,
  .fr-header--logo-center .fr-primary-nav--right {
    display: none;
  }

  .fr-header--logo-center .fr-header-inner {
    justify-content: center;
  }

  .fr-header--logo-center .fr-nav-toggle {
    display: flex;
  }

  .fr-header--logo-center .fr-header-actions {
    right: 16px;
  }

  .fr-social-icons--header {
    display: none;
  }

  .fr-logo img {
    max-height: 72px;
  }

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

  .fr-main {
    padding: 28px 16px 48px;
  }

  .fr-container {
    padding: 0 16px;
  }

  .fr-countdown {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .fr-countdown-value {
    font-size: 1.15rem;
  }

  .fr-h-card {
    flex-direction: column;
  }

  .fr-h-card-thumb {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ---------------------------------------------------------------------
 * YouTube channel cards (homepage, below the Twitch panel)
 * --------------------------------------------------------------------- */
.fr-yt-channels-section {
  margin-bottom: 56px;
}

.fr-yt-channels-intro {
  color: var(--fr-text-muted);
  font-size: 0.95rem;
  margin: -10px 0 26px;
  max-width: 62ch;
}

.fr-yt-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fr-yt-channel-card {
  display: flex;
  flex-direction: column;
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius);
  overflow: hidden;
}

.fr-yt-channel-media {
  position: relative;
  height: 190px;
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid;
}

.fr-yt-channel-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 20, 0.15), rgba(6, 12, 20, 0.55));
}

.fr-yt-channel-card--lore .fr-yt-channel-media {
  background-color: #0d2a26;
  border-bottom-color: var(--fr-accent);
}

.fr-yt-channel-card--minutes .fr-yt-channel-media {
  background-color: #0d2038;
  border-bottom-color: var(--fr-frost-500);
}

.fr-yt-channel-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 12, 20, 0.65);
  backdrop-filter: blur(2px);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.fr-yt-channel-tag svg {
  flex: none;
}

.fr-yt-channel-card--lore .fr-yt-channel-tag svg {
  color: var(--fr-accent);
}

.fr-yt-channel-card--minutes .fr-yt-channel-tag svg {
  color: var(--fr-frost-400);
}

.fr-yt-channel-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fr-yt-channel-title {
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: #fff;
}

.fr-yt-channel-handle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.fr-yt-channel-card--lore .fr-yt-channel-handle {
  color: var(--fr-accent);
}

.fr-yt-channel-card--minutes .fr-yt-channel-handle {
  color: var(--fr-frost-400);
}

.fr-yt-channel-text {
  color: var(--fr-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}

.fr-yt-channel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  background: transparent;
  border: 1px solid;
  border-radius: var(--fr-radius-sm);
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.88rem;
}

.fr-yt-channel-card--lore .fr-yt-channel-button {
  border-color: var(--fr-accent);
  color: var(--fr-accent);
}

.fr-yt-channel-card--lore .fr-yt-channel-button:hover {
  background: var(--fr-accent);
  color: #04121f;
}

.fr-yt-channel-card--minutes .fr-yt-channel-button {
  border-color: var(--fr-frost-500);
  color: var(--fr-frost-400);
}

.fr-yt-channel-card--minutes .fr-yt-channel-button:hover {
  background: var(--fr-frost-500);
  color: #04121f;
}

@media (max-width: 640px) {
  .fr-yt-channels-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------
 * "Volver arriba" floating button (site-wide)
 * --------------------------------------------------------------------- */
.fr-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(10, 14, 20, 0.9);
  border: 1px solid var(--fr-border);
  border-radius: 999px;
  color: var(--fr-frost-50);
  font-family: var(--fr-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--fr-shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fr-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fr-back-to-top:hover,
.fr-back-to-top:focus-visible {
  border-color: var(--fr-frost-500);
  color: var(--fr-frost-400);
}

.fr-back-to-top svg {
  flex: none;
}

@media (max-width: 640px) {
  .fr-back-to-top {
    right: 14px;
    bottom: 14px;
    padding: 9px 14px;
    font-size: 0.78rem;
  }
}
