/*
Theme Name: RoboMag - Films & Roblox Magazine
Theme URI: https://yoursite.com
Author: RoboMag Team
Description: Tema Magazine moderno para sites sobre Filmes e Scripts Roblox, com design otimizado para SEO, hero chamativo e visual editorial.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: magazine, entertainment, gaming, movies, roblox, two-columns, custom-menu, featured-images, post-formats, sticky-post, threaded-comments
Text Domain: robomag
*/

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --accent:       #F49682;
  --accent-dark:  #e07a63;
  --accent-light: #ffd5c9;
  --bg:           #0d0d0d;
  --bg-card:      #161616;
  --bg-card2:     #1e1e1e;
  --surface:      #242424;
  --border:       #2e2e2e;
  --text:         #f0f0f0;
  --text-muted:   #888;
  --text-dim:     #555;
  --white:        #ffffff;

  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Source Sans 3', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 4px 24px rgba(0,0,0,.5);
  --shadow-accent:0 8px 32px rgba(244,150,130,.25);

  --container:    1200px;
  --gap:          24px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-light); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: .08em;
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-ticker {
  display: flex;
  gap: 24px;
  overflow: hidden;
}

.top-bar-ticker span::before {
  content: "▶ ";
  opacity: .7;
}

.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a { color: #000; font-size: 13px; }
.top-bar-social a:hover { opacity: .6; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(13,13,13,.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.site-branding { display: flex; align-items: center; gap: 12px; }

.site-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  color: #000;
  font-weight: 900;
  flex-shrink: 0;
}

.site-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.site-name span { color: var(--accent); }

.site-tagline {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-navigation ul li a {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all .2s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
  color: var(--accent);
  background: rgba(244,150,130,.1);
}

/* Search */
.header-search {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}

.header-search:focus-within { border-color: var(--accent); }

.header-search input {
  background: none;
  border: none;
  color: var(--text);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  width: 200px;
  outline: none;
}

.header-search input::placeholder { color: var(--text-dim); }

.header-search button {
  background: var(--accent);
  border: none;
  color: #000;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s;
}

.header-search button:hover { background: var(--accent-dark); }

/* =========================================
   HERO
   ========================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 60px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(244,150,130,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(244,150,130,.03) 60px,
      rgba(244,150,130,.03) 61px
    );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Main hero post */
.hero-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-card);
}

.hero-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.hero-featured:hover img { transform: scale(1.03); }

.hero-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.5) 50%,
    transparent 100%
  );
}

.hero-featured-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.hero-meta-author { color: var(--accent); }

/* Hero sidebar posts */
.hero-side { display: flex; flex-direction: column; gap: 16px; }

.hero-side-post {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.hero-side-post:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.hero-side-post-thumb {
  width: 110px;
  height: 90px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-side-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.hero-side-post:hover .hero-side-post-thumb img { transform: scale(1.08); }

.hero-side-post-info {
  padding: 12px 14px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hero-side-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-side-title {
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
}

.hero-side-date { font-size: 11px; color: var(--text-muted); }

/* =========================================
   SECTION HEADER
   ========================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.section-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--white);
  text-transform: uppercase;
}

.section-title span { color: var(--accent); }

.section-link {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all .2s;
}

.section-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(244,150,130,.08);
}

/* =========================================
   ARTICLE CARDS
   ========================================= */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.post-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.post-card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

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

.post-card:hover .post-card-thumb img { transform: scale(1.06); }

.post-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
}

.post-card-body { padding: 18px; }

.post-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text);
  transition: color .2s;
}

.post-card:hover .post-card-title { color: var(--accent); }

.post-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}

.post-card-author { display: flex; align-items: center; gap: 6px; color: var(--accent); }

.post-card-read {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--text-muted);
}

/* Horizontal card */
.post-card-h {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.post-card-h:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.post-card-h .post-card-thumb {
  width: 140px;
  aspect-ratio: unset;
  height: 100%;
}

/* =========================================
   ROBLOX SCRIPTS SECTION
   ========================================= */
.scripts-section { padding: 60px 0; }

.script-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.script-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.script-card-header {
  padding: 16px 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.script-icon {
  width: 40px;
  height: 40px;
  background: rgba(244,150,130,.15);
  border: 1px solid rgba(244,150,130,.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.script-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(244,150,130,.15);
  color: var(--accent);
  border: 1px solid rgba(244,150,130,.3);
}

.script-badge.free { background: rgba(60,200,100,.1); color: #4cde7a; border-color: rgba(60,200,100,.3); }
.script-badge.premium { background: rgba(255,200,50,.1); color: #ffc93c; border-color: rgba(255,200,50,.3); }

.script-card-body { padding: 14px 18px; }

.script-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.script-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.script-code-preview {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a8d8a8;
  overflow: hidden;
  max-height: 70px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.script-code-preview .kw  { color: var(--accent); }
.script-code-preview .fn  { color: #7ec8e3; }
.script-code-preview .str { color: #f5c89a; }
.script-code-preview .cm  { color: #555; }

.script-card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.script-stats {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-dim);
}

.script-stats span::before { margin-right: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(244,150,130,.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(244,150,130,.1);
}

/* =========================================
   MOVIES SECTION
   ========================================= */
.movies-section { padding: 60px 0; }

.movie-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.movie-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-accent);
}

.movie-poster {
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.movie-card:hover .movie-poster img { transform: scale(1.05); }

.movie-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.movie-card:hover .movie-overlay { opacity: 1; }

.movie-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie-info { padding: 14px; }

.movie-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.movie-genre {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar { position: sticky; top: 80px; }

.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 14px 18px;
  background: var(--bg-card2);
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: '';
  width: 4px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
  display: block;
}

.widget-body { padding: 14px 18px; }

/* Popular posts widget */
.popular-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.popular-post:last-child { border-bottom: none; }

.popular-post-num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  opacity: .4;
  min-width: 28px;
  line-height: 1;
}

.popular-post-title {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  transition: color .2s;
}

.popular-post:hover .popular-post-title { color: var(--accent); }

/* Tags widget */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-cloud a {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: var(--radius);
  transition: all .2s;
}

.tag-cloud a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(244,150,130,.08);
}

/* =========================================
   BREAKING NEWS TICKER
   ========================================= */
.news-ticker {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.ticker-label {
  background: var(--accent);
  color: #000;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-right: 20px;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
}

.ticker-content {
  display: flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-content a {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-content a::before {
  content: "◆ ";
  color: var(--accent);
  font-size: 8px;
  margin-right: 8px;
}

.ticker-content a:hover { color: var(--accent); }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   MAIN PAGE SECTIONS
   ========================================= */
.page-main { padding: 48px 0 80px; }

/* =========================================
   SINGLE POST
   ========================================= */
.single-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  margin-bottom: 48px;
}

.single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,1) 0%, rgba(13,13,13,.4) 60%, transparent 100%);
}

.single-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px;
}

.post-content {
  max-width: 780px;
}

.post-content h2,
.post-content h3 {
  color: var(--white);
  margin: 32px 0 16px;
}

.post-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.post-content pre {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #a8d8a8;
  overflow-x: auto;
  margin: 24px 0;
  line-height: 1.6;
}

.post-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--accent);
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  color: var(--text);
  font-style: italic;
  font-size: 17px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-about .site-name { font-size: 22px; margin-bottom: 16px; }

.footer-about p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: all .2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 30px; height: 1px;
  background: var(--accent);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before { content: "›"; color: var(--accent); }

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-dim); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--accent); }

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-numbers {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all .2s;
  background: var(--bg-card);
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* =========================================
   COMMENTS
   ========================================= */
.comments-area {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 22px;
  margin-bottom: 28px;
  color: var(--white);
}

.comment {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.comment-avatar img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.comment-author { font-weight: 700; color: var(--accent); font-size: 14px; }
.comment-date   { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.comment-text   { font-size: 14px; color: var(--text-muted); }

.comment-form input,
.comment-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--accent); }

.comment-form textarea { min-height: 120px; resize: vertical; }

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--text-dim); }
.breadcrumbs .current { color: var(--accent); }

/* =========================================
   UTILITIES
   ========================================= */
.section-gap { padding: 60px 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }

.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-grid     { grid-template-columns: 1fr; }
  .hero-side     { display: grid; grid-template-columns: 1fr 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar       { position: static; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .movies-section .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .main-navigation { order: 3; width: 100%; }
  .main-navigation ul { flex-wrap: wrap; gap: 2px; }
  .header-search input { width: 150px; }
  .hero-side     { grid-template-columns: 1fr; }
  .grid-2,
  .grid-3,
  .grid-4        { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .top-bar .container { flex-direction: column; gap: 6px; }
  .post-card-h   { grid-template-columns: 100px 1fr; }
}
