/*
Theme Name: Cosplay Magazine
Author: Cosplay Indonesia
Description: Tema WordPress dinamis untuk portal artikel costume, makeup, wig, props, tutorial, event, dan komunitas cosplay.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cosplay-magazine
Tags: blog, entertainment, photography, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --nc-bg: #07060d;
  --nc-surface: #100e1a;
  --nc-surface-2: #171326;
  --nc-surface-3: #201a33;
  --nc-text: #f8f7fc;
  --nc-muted: #aaa5ba;
  --nc-primary: #9b5cff;
  --nc-primary-2: #6c31d8;
  --nc-cyan: #35d9ff;
  --nc-pink: #ff4da6;
  --nc-line: rgba(255, 255, 255, .1);
  --nc-shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --nc-radius: 24px;
  --nc-radius-sm: 16px;
  --nc-container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(155, 92, 255, .13), transparent 31rem),
    radial-gradient(circle at 95% 26%, rgba(53, 217, 255, .07), transparent 25rem),
    var(--nc-bg);
  color: var(--nc-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--nc-cyan); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

::selection { background: var(--nc-primary); color: #fff; }

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

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 10px;
  background: #fff;
  color: #111;
  z-index: 99999;
}

.site-container { width: min(calc(100% - 40px), var(--nc-container)); margin-inline: auto; }
.site-main { min-height: 60vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 6, 13, .88);
  border-color: var(--nc-line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-branding { display: flex; align-items: center; min-width: max-content; }
.custom-logo { max-height: 48px; width: auto; }
.brand-text { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nc-primary), var(--nc-pink));
  box-shadow: 0 0 28px rgba(155, 92, 255, .35);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text strong span { color: var(--nc-cyan); }

.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-navigation a { color: var(--nc-muted); font-size: 14px; font-weight: 700; }
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button,
.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--nc-line);
  border-radius: 14px;
}
.icon-button:hover,
.menu-toggle:hover { background: var(--nc-surface-3); color: var(--nc-cyan); }
.icon-button svg,
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nc-primary), var(--nc-primary-2));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 14px 32px rgba(108, 49, 216, .26);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.header-cta:hover,
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(108, 49, 216, .38); }
.button svg { width: 18px; height: 18px; }
.button-secondary { background: rgba(255,255,255,.05); border-color: var(--nc-line); box-shadow: none; }
.button-secondary:hover { border-color: rgba(53,217,255,.45); box-shadow: none; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: start center;
  padding-top: 18vh;
  background: rgba(5, 4, 9, .94);
  backdrop-filter: blur(18px);
}
.search-overlay.is-open { display: grid; }
.search-overlay-inner { width: min(calc(100% - 40px), 760px); }
.search-overlay-close { float: right; margin-bottom: 28px; }
.search-form { display: flex; gap: 10px; }
.search-field {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  color: #fff;
  background: var(--nc-surface-2);
  border: 1px solid var(--nc-line);
  border-radius: 15px;
  outline: none;
}
.search-field:focus { border-color: var(--nc-primary); box-shadow: 0 0 0 4px rgba(155,92,255,.12); }
.search-submit { border: 0; }

.hero { position: relative; padding: 76px 0 80px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(155,92,255,.14);
  border-radius: 50%;
  box-shadow: inset 0 0 100px rgba(155,92,255,.06);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--nc-cyan); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.hero-title { margin: 0; font-size: clamp(46px, 6.3vw, 84px); line-height: .99; letter-spacing: -.065em; }
.hero-title .gradient-text { color: transparent; background: linear-gradient(110deg, #fff 15%, #b994ff 54%, var(--nc-cyan)); background-clip: text; -webkit-background-clip: text; }
.hero-description { max-width: 630px; margin: 25px 0 0; color: var(--nc-muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; color: var(--nc-muted); font-size: 13px; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--nc-cyan); }

.hero-visual { position: relative; min-height: 550px; }
.hero-orbit { position: absolute; inset: 4% 1% 3% 1%; border: 1px solid rgba(155,92,255,.18); border-radius: 50%; transform: rotate(-14deg); }
.hero-orbit::before,
.hero-orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--nc-cyan); box-shadow: 0 0 18px var(--nc-cyan); }
.hero-orbit::before { top: 8%; left: 25%; }
.hero-orbit::after { right: 10%; bottom: 25%; background: var(--nc-pink); box-shadow: 0 0 18px var(--nc-pink); }
.hero-card-main {
  position: absolute;
  inset: 5% 12% 5% 12%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 42px 42px 150px 42px;
  background:
    linear-gradient(to top, rgba(7,6,13,.94), transparent 62%),
    radial-gradient(circle at 54% 30%, rgba(255,255,255,.25), transparent 8%),
    radial-gradient(circle at 45% 34%, #6f55a4 0 7%, transparent 8%),
    linear-gradient(142deg, #3b225e 2%, #8a4f88 38%, #192847 74%, #10121e);
  box-shadow: var(--nc-shadow), 0 0 80px rgba(155,92,255,.17);
}
.hero-card-main::before {
  content: "";
  position: absolute;
  width: 66%;
  height: 76%;
  top: 10%;
  left: 17%;
  border-radius: 50% 50% 32% 32%;
  background:
    radial-gradient(circle at 38% 33%, #fff 0 1.5%, transparent 2%),
    radial-gradient(circle at 62% 33%, #fff 0 1.5%, transparent 2%),
    radial-gradient(ellipse at 50% 45%, rgba(255,255,255,.35) 0 2%, transparent 3%),
    linear-gradient(154deg, #cda3bf 0 37%, #6d406b 38% 52%, #251f43 53% 100%);
  filter: drop-shadow(0 24px 22px rgba(0,0,0,.32));
  opacity: .76;
}
.hero-card-content { position: relative; z-index: 2; }
.hero-card-label { display: inline-block; padding: 7px 11px; border-radius: 999px; background: rgba(53,217,255,.14); color: var(--nc-cyan); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-card-content h2 { margin: 12px 0 3px; font-size: 24px; line-height: 1.15; }
.hero-card-content p { margin: 0; color: #cbc6d9; font-size: 13px; }
.floating-card {
  position: absolute;
  z-index: 5;
  padding: 15px 18px;
  background: rgba(23,19,38,.9);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 17px;
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
}
.floating-card strong { display: block; font-size: 19px; }
.floating-card span { color: var(--nc-muted); font-size: 11px; font-weight: 700; }
.floating-card-one { top: 18%; left: 0; }
.floating-card-two { right: 0; bottom: 17%; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #55e89b; box-shadow: 0 0 0 6px rgba(85,232,155,.1); }

.stats-bar { position: relative; z-index: 3; margin-top: -28px; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px; border: 1px solid var(--nc-line); border-radius: 22px; background: rgba(16,14,26,.85); box-shadow: var(--nc-shadow); backdrop-filter: blur(18px); }
.stat { padding: 20px 24px; border-right: 1px solid var(--nc-line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 26px; line-height: 1.2; }
.stat span { color: var(--nc-muted); font-size: 12px; font-weight: 700; }

.section { padding: 100px 0; }
.section-compact { padding: 70px 0; }
.section-alt { background: rgba(255,255,255,.018); border-block: 1px solid rgba(255,255,255,.05); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading-copy { max-width: 670px; }
.section-title { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -.045em; }
.section-description { margin: 14px 0 0; color: var(--nc-muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-width: max-content; color: var(--nc-cyan); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.text-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--nc-line);
  border-radius: var(--nc-radius);
  background: var(--nc-surface);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.category-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -40px; bottom: -70px; border-radius: 50%; background: var(--card-color, var(--nc-primary)); opacity: .15; filter: blur(1px); }
.category-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--card-color, var(--nc-primary)) 45%, transparent); background: var(--nc-surface-2); color: #fff; }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: color-mix(in srgb, var(--card-color, var(--nc-primary)) 18%, transparent); color: var(--card-color, var(--nc-primary)); }
.category-icon svg { width: 23px; height: 23px; }
.category-card h3 { margin: 43px 0 3px; font-size: 20px; }
.category-card p { margin: 0; color: var(--nc-muted); font-size: 13px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { overflow: hidden; border: 1px solid var(--nc-line); border-radius: var(--nc-radius); background: var(--nc-surface); transition: transform .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-5px); border-color: rgba(155,92,255,.38); }
.post-thumbnail { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #28203f, #101622); }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumbnail img { transform: scale(1.05); }
.post-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 25%, rgba(53,217,255,.18), transparent 34%), linear-gradient(135deg, #2d1c4b, #11131d); }
.post-placeholder svg { width: 58px; height: 58px; color: rgba(255,255,255,.32); }
.post-category { position: absolute; top: 15px; left: 15px; padding: 6px 11px; border-radius: 999px; background: rgba(7,6,13,.76); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.post-content { padding: 23px; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; color: var(--nc-muted); font-size: 11px; font-weight: 700; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta svg { width: 14px; height: 14px; }
.post-title { margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.post-title a:hover { color: var(--nc-cyan); }
.post-excerpt { margin: 12px 0 0; color: var(--nc-muted); font-size: 14px; }

.showcase-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: repeat(2, 255px); gap: 16px; }
.showcase-card { position: relative; overflow: hidden; border: 1px solid var(--nc-line); border-radius: var(--nc-radius); background: var(--nc-surface-2); }
.showcase-card:first-child { grid-row: 1 / 3; }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.showcase-card:hover img { transform: scale(1.05); }
.showcase-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,6,13,.92), transparent 64%); }
.showcase-fallback { position: absolute; inset: 0; background: var(--showcase-bg, linear-gradient(145deg,#3a215f,#12203c)); }
.showcase-fallback::before { content: ""; position: absolute; width: 55%; height: 72%; left: 23%; top: 12%; border-radius: 48% 48% 28% 28%; background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.03)); filter: drop-shadow(0 24px 30px rgba(0,0,0,.3)); }
.showcase-content { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 21px; }
.showcase-content span { color: var(--nc-cyan); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.showcase-content h3 { margin: 5px 0 0; font-size: 20px; line-height: 1.2; }
.showcase-card:first-child .showcase-content h3 { font-size: 30px; }

.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; padding: 58px; border: 1px solid rgba(155,92,255,.25); border-radius: 34px; background: linear-gradient(125deg, rgba(155,92,255,.17), rgba(53,217,255,.06) 55%, rgba(255,77,166,.08)); box-shadow: var(--nc-shadow); }
.cta-panel::before { content: ""; position: absolute; width: 320px; height: 320px; right: -100px; top: -120px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 44px rgba(255,255,255,.025), 0 0 0 88px rgba(255,255,255,.02); }
.cta-copy { position: relative; z-index: 2; }
.cta-copy h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.045em; }
.cta-copy p { margin: 17px 0 0; color: #c3bdcf; }
.cta-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

.ad-slot { margin: 0 auto; text-align: center; }
.ad-slot .widget { margin: 0; padding: 20px; border: 1px dashed rgba(255,255,255,.16); border-radius: 16px; }
.ad-slot .widget-title { margin: 0 0 10px; color: var(--nc-muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 70px 0 100px; }
.archive-header { padding: 62px 0 10px; }
.archive-header h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.05em; line-height: 1.05; }
.archive-description { max-width: 720px; margin-top: 16px; color: var(--nc-muted); }
.archive-description p { margin: 0; }
.content-list { display: grid; gap: 20px; }
.content-list .post-card { display: grid; grid-template-columns: 260px 1fr; }
.content-list .post-thumbnail { aspect-ratio: auto; min-height: 220px; }

.sidebar { display: grid; align-content: start; gap: 20px; }
.widget { padding: 24px; border: 1px solid var(--nc-line); border-radius: 20px; background: var(--nc-surface); }
.widget-title { margin: 0 0 18px; font-size: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--nc-line); color: var(--nc-muted); font-size: 14px; }
.widget li:last-child { border-bottom: 0; }

.entry-single { max-width: 820px; margin-inline: auto; padding: 65px 0 100px; }
.entry-header { text-align: center; margin-bottom: 36px; }
.entry-categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.entry-categories a { padding: 6px 10px; border-radius: 999px; background: rgba(155,92,255,.12); color: #cbb0ff; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.entry-title { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.05em; }
.entry-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 19px; color: var(--nc-muted); font-size: 13px; }
.entry-featured { overflow: hidden; margin: 0 0 38px; border-radius: var(--nc-radius); }
.entry-content { color: #d6d2df; font-size: 17px; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2em; color: #fff; line-height: 1.25; }
.entry-content h2 { font-size: 32px; }
.entry-content h3 { font-size: 25px; }
.entry-content a { color: var(--nc-cyan); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 2em 0; padding: 24px 28px; border-left: 3px solid var(--nc-primary); border-radius: 0 16px 16px 0; background: var(--nc-surface); color: #fff; font-size: 20px; }
.entry-content pre { overflow-x: auto; padding: 20px; border-radius: 14px; background: #020204; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--nc-line); text-align: left; }
.entry-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--nc-line); }
.tag-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-links a { padding: 6px 10px; border: 1px solid var(--nc-line); border-radius: 999px; color: var(--nc-muted); font-size: 12px; }

.comments-area { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--nc-line); }
.comments-title { font-size: 26px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { margin: 20px 0; padding: 22px; border: 1px solid var(--nc-line); border-radius: 16px; background: var(--nc-surface); }
.comment-meta { font-size: 13px; }
.comment-content { color: var(--nc-muted); }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 13px 15px; color: #fff; background: var(--nc-surface); border: 1px solid var(--nc-line); border-radius: 12px; }
.form-submit .submit { padding: 13px 18px; border: 0; border-radius: 12px; background: var(--nc-primary); color: #fff; font-weight: 800; }

.pagination { margin-top: 38px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--nc-line); border-radius: 11px; background: var(--nc-surface); color: var(--nc-muted); font-weight: 700; }
.page-numbers.current, .page-numbers:hover { background: var(--nc-primary); border-color: var(--nc-primary); color: #fff; }

.empty-state { padding: 50px; border: 1px solid var(--nc-line); border-radius: var(--nc-radius); background: var(--nc-surface); text-align: center; }
.empty-state h2 { margin: 0; font-size: 30px; }
.empty-state p { color: var(--nc-muted); }
.error-404 { min-height: 65vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.error-code { margin: 0; color: transparent; background: linear-gradient(110deg, var(--nc-primary), var(--nc-cyan)); background-clip: text; -webkit-background-clip: text; font-size: clamp(100px, 19vw, 220px); line-height: .8; letter-spacing: -.08em; }
.error-404 h1 { margin: 28px 0 8px; font-size: 34px; }
.error-404 p { max-width: 580px; margin: 0 auto 26px; color: var(--nc-muted); }

.site-footer { border-top: 1px solid var(--nc-line); background: #050409; }
.footer-main { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 50px; padding: 72px 0 55px; }
.footer-brand p { max-width: 350px; margin: 17px 0 22px; color: var(--nc-muted); font-size: 14px; }
.social-links { display: flex; gap: 9px; }
.social-links a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--nc-line); border-radius: 12px; background: var(--nc-surface); }
.social-links a:hover { color: #fff; background: var(--nc-primary); border-color: var(--nc-primary); }
.social-links svg { width: 18px; height: 18px; }
.footer-column h2 { margin: 0 0 17px; font-size: 14px; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin: 9px 0; }
.footer-column a { color: var(--nc-muted); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--nc-line); color: #777283; font-size: 12px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .main-navigation { position: fixed; inset: 82px 0 0; display: none; padding: 26px 20px; background: rgba(7,6,13,.98); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { width: min(100%, var(--nc-container)); margin-inline: auto; flex-direction: column; align-items: stretch; gap: 0; }
  .main-navigation li { border-bottom: 1px solid var(--nc-line); }
  .main-navigation a { display: block; padding: 17px 4px; font-size: 17px; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .hero-grid { gap: 30px; }
  .hero-visual { min-height: 470px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid .post-card:last-child { display: none; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
  .footer-main { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-column:last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  .site-container { width: min(calc(100% - 28px), var(--nc-container)); }
  .header-inner { min-height: 72px; }
  .main-navigation { inset-block-start: 72px; }
  .hero { padding: 45px 0 65px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(44px, 14vw, 66px); }
  .hero-description { font-size: 16px; }
  .hero-visual { min-height: 450px; margin-top: 15px; }
  .hero-card-main { inset: 4% 8%; }
  .floating-card-one { left: 1%; }
  .floating-card-two { right: 1%; }
  .stats-bar { margin-top: 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--nc-line); }
  .section { padding: 72px 0; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .category-grid, .post-grid { grid-template-columns: 1fr; }
  .post-grid .post-card:last-child { display: block; }
  .showcase-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 370px repeat(2, 220px); }
  .showcase-card:first-child { grid-column: 1 / 3; grid-row: auto; }
  .cta-panel { grid-template-columns: 1fr; padding: 38px 28px; }
  .cta-actions { justify-content: flex-start; }
  .content-layout { grid-template-columns: 1fr; padding-top: 45px; }
  .content-list .post-card { grid-template-columns: 1fr; }
  .content-list .post-thumbnail { min-height: auto; aspect-ratio: 16/10; }
  .entry-single { padding-top: 45px; }
  .entry-title { font-size: 39px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

/* Content stays visible when optimization plugins delay or block JavaScript. */
.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Article portal homepage */
.article-hero {
  padding: 126px 0 38px;
  background:
    radial-gradient(circle at 82% 18%, rgba(139,92,246,.2), transparent 30rem),
    radial-gradient(circle at 18% 34%, rgba(255,77,166,.08), transparent 22rem),
    linear-gradient(#050505, #080808);
}

.lead-story {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(139,92,246,.35);
  border-radius: 6px;
  background: #111;
  box-shadow: 0 32px 100px rgba(0,0,0,.62);
}

.lead-story-media {
  position: absolute;
  inset: 0;
  display: block;
}

.lead-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,3,3,.97) 0%, rgba(3,3,3,.84) 38%, rgba(3,3,3,.15) 78%), linear-gradient(0deg, rgba(3,3,3,.92), transparent 55%);
}

.lead-story-media img { width: 100%; height: 100%; object-fit: cover; }
.cinema-backdrop { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 76% 35%, rgba(255,77,166,.28), transparent 10rem), linear-gradient(135deg, #4b2792 0%, #21182f 48%, #08090d 100%); }
.cinema-backdrop::before { content: ""; position: absolute; width: 380px; height: 500px; right: 11%; top: 8%; border-radius: 48% 48% 8% 8%; background: linear-gradient(155deg, rgba(255,119,191,.46) 0 20%, rgba(65,37,91,.9) 21% 48%, #0d0d12 49% 100%); filter: drop-shadow(0 35px 50px #000); }
.cinema-backdrop-number { position: absolute; right: 4%; top: 2%; color: rgba(255,255,255,.1); font-family: Impact, sans-serif; font-size: 180px; line-height: 1; }
.lead-story-content { position: relative; z-index: 2; width: min(660px, 60%); padding: 120px 62px 58px; }
.story-kicker { display: inline-block; margin-bottom: 17px; color: var(--nc-cyan); font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.lead-story h1 { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(50px, 5.3vw, 76px); font-weight: 900; line-height: .99; letter-spacing: .015em; text-transform: uppercase; }
.lead-story h1 a:hover { color: #fff; }
.story-meta { display: flex; gap: 18px; margin-top: 17px; color: #99958d; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lead-excerpt { max-width: 560px; margin: 18px 0 28px; color: #bbb7af; font-size: 15px; }
.lead-excerpt p { margin: 0; }

.headline-strip { border-block: 1px solid rgba(139,92,246,.2); background: #090909; }
.headline-strip-inner { min-height: 66px; display: flex; align-items: center; gap: 26px; }
.headline-strip-inner > strong { min-width: max-content; display: flex; align-items: center; gap: 9px; color: var(--nc-primary); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.headline-strip-inner > strong i { width: 7px; height: 7px; border-radius: 50%; background: var(--nc-primary); box-shadow: 0 0 0 6px rgba(139,92,246,.12); }
.headline-items { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
.headline-items a { overflow: hidden; padding: 0 22px; border-left: 1px solid var(--nc-line); color: #c6c2ba; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.headline-items a:hover { color: var(--nc-cyan); }

.topic-nav { background: #050505; }
.topic-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--nc-line); }
.topic-nav-grid a { position: relative; display: grid; gap: 2px; padding: 32px 27px; border-right: 1px solid var(--nc-line); }
.topic-nav-grid a:last-child { border-right: 0; }
.topic-nav-grid a > span { position: absolute; right: 20px; top: 17px; color: rgba(255,255,255,.09); font-family: Impact, sans-serif; font-size: 43px; }
.topic-nav-grid strong { font-family: Impact, sans-serif; font-size: 24px; letter-spacing: .05em; text-transform: uppercase; }
.topic-nav-grid small { color: var(--nc-muted); font-size: 10px; }
.topic-nav-grid a:hover { color: var(--nc-cyan); background: #0c0c0c; }

.article-feed-section { padding-top: 92px; }
.article-feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.article-post-grid { grid-template-columns: repeat(2, 1fr); }
.article-post-grid .post-card:last-child { display: block; }
.article-post-grid .post-thumbnail { aspect-ratio: 16/9; }
.fallback-poster { background: radial-gradient(circle at 68% 24%, rgba(255,77,166,.18), transparent 8rem), linear-gradient(145deg,#3d2473,#17171c 62%,#080808); }
.fallback-poster::before { content: ""; position: absolute; width: 44%; height: 82%; right: 13%; bottom: -8%; border-radius: 45% 45% 5% 5%; background: linear-gradient(150deg, rgba(255,119,191,.38), rgba(48,29,66,.8) 45%, #0a0a0e 46%); }
.fallback-poster-2 { background: linear-gradient(145deg,#4b1f43,#11131b); }
.fallback-poster-3 { background: linear-gradient(145deg,#174557,#15131e); }
.fallback-poster-4 { background: linear-gradient(145deg,#3d2b68,#171418); }
.fallback-poster-5 { background: linear-gradient(145deg,#283d69,#111218); }
.fallback-poster-6 { background: linear-gradient(145deg,#5b2457,#171317); }

.popular-sidebar { position: sticky; top: 112px; border: 1px solid rgba(139,92,246,.28); border-radius: 5px; background: #090909; }
.popular-heading { padding: 25px 25px 19px; border-bottom: 1px solid var(--nc-line); }
.popular-heading span { color: var(--nc-cyan); font-size: 9px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.popular-heading h2 { margin: 3px 0 0; font-family: Impact, sans-serif; font-size: 29px; letter-spacing: .04em; text-transform: uppercase; }
.popular-list { list-style: none; counter-reset: popular; margin: 0; padding: 0 24px; }
.popular-list li { counter-increment: popular; position: relative; padding: 22px 0 22px 42px; border-bottom: 1px solid var(--nc-line); }
.popular-list li:last-child { border-bottom: 0; }
.popular-list li::before { content: counter(popular, decimal-leading-zero); position: absolute; left: 0; top: 18px; color: rgba(155,114,222,.75); font-family: Impact, sans-serif; font-size: 24px; }
.popular-list a { display: grid; gap: 4px; }
.popular-list a > span { color: var(--nc-primary); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.popular-list strong { font-size: 13px; line-height: 1.4; }
.popular-list small { color: var(--nc-muted); font-size: 9px; }
.editorial-cta { grid-template-columns: 1.35fr .65fr; }
.headline-items { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.topic-nav-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.article-feed-layout.no-sidebar { grid-template-columns: 1fr; }
.article-post-grid .post-card:only-child { grid-column: 1 / -1; }

@media (max-width: 1024px) {
  .lead-story-content { width: 68%; padding-left: 40px; }
  .article-feed-layout { grid-template-columns: 1fr; }
  .popular-sidebar { position: static; }
  .popular-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
}

@media (max-width: 760px) {
  .article-hero { padding-top: 98px; }
  .lead-story { min-height: 690px; }
  .lead-story-media::after { background: linear-gradient(0deg, rgba(3,3,3,.98) 12%, rgba(3,3,3,.72) 63%, rgba(3,3,3,.15)); }
  .cinema-backdrop::before { width: 260px; height: 390px; right: 4%; }
  .lead-story-content { position: absolute; left: 0; right: 0; bottom: 0; width: auto; padding: 35px 25px; }
  .lead-story h1 { font-size: 46px; }
  .headline-strip-inner { align-items: flex-start; flex-direction: column; padding-block: 18px; gap: 13px; }
  .headline-items { grid-template-columns: 1fr; gap: 9px; }
  .headline-items a { padding: 0; border: 0; }
  .topic-nav-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .article-post-grid { grid-template-columns: 1fr; }
  .popular-list { grid-template-columns: 1fr; }
  .editorial-cta { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand-text strong { font-size: 18px; }
  .header-actions { gap: 6px; }
  .icon-button, .menu-toggle { width: 40px; height: 40px; }
  .hero-trust { gap: 12px; }
  .hero-visual { min-height: 390px; }
  .hero-card-main { inset: 5% 5%; border-radius: 32px 32px 110px 32px; }
  .floating-card { padding: 11px 13px; }
  .floating-card strong { font-size: 15px; }
  .stats-inner { padding: 8px; }
  .stat { padding: 16px 12px; }
  .stat strong { font-size: 22px; }
  .category-card { min-height: 210px; }
  .showcase-grid { grid-template-columns: 1fr; grid-template-rows: 340px repeat(3, 220px); }
  .showcase-card:first-child { grid-column: auto; }
  .cta-panel { padding: 31px 22px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-column:last-child { grid-column: auto; }
  .search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Cosplay magazine finishing */
:root {
  --nc-bg: #050505;
  --nc-surface: #0d0d0d;
  --nc-surface-2: #141414;
  --nc-surface-3: #1c1c1c;
  --nc-text: #f4f1e9;
  --nc-muted: #999791;
  --nc-primary: #8b5cf6;
  --nc-primary-2: #6d28d9;
  --nc-cyan: #38d9ff;
  --nc-pink: #ff4da6;
  --nc-line: rgba(255, 255, 255, .13);
  --nc-radius: 9px;
  --nc-radius-sm: 5px;
  --nc-shadow: 0 34px 100px rgba(0, 0, 0, .7);
  --nc-container: 1240px;
}

body {
  background: #050505;
  color: var(--nc-text);
  font-family: "Arial", "Helvetica Neue", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  pointer-events: none;
}

.site-header { position: absolute; width: 100%; }
.site-header.is-scrolled { position: fixed; background: rgba(4, 4, 4, .94); }
.header-inner { min-height: 92px; }
.brand-text { gap: 13px; color: #fff; }
.brand-mark { width: 39px; height: 39px; border-radius: 50%; background: linear-gradient(135deg, var(--nc-primary), var(--nc-pink)); box-shadow: 0 0 36px rgba(139, 92, 246, .42); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 21px; line-height: 1; letter-spacing: .16em; }
.brand-copy small { color: var(--nc-muted); font-size: 7px; font-weight: 800; letter-spacing: .27em; }
.main-navigation a { color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.header-cta, .button { min-height: 47px; border-radius: 3px; background: linear-gradient(135deg, var(--nc-primary), var(--nc-primary-2)); box-shadow: 0 12px 32px rgba(139,92,246,.28); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.button:hover, .header-cta:hover { background: linear-gradient(135deg, #9f7aea, #7c3aed); box-shadow: 0 18px 42px rgba(139,92,246,.38); }
.button-secondary { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); backdrop-filter: blur(10px); box-shadow: none; }
.button-secondary:hover { background: rgba(255,255,255,.17); border-color: #fff; }
.icon-button, .menu-toggle { border-radius: 50%; background: rgba(0,0,0,.24); }

.hero {
  min-height: 790px;
  display: grid;
  align-items: center;
  padding: 125px 0 82px;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5,5,5,.94) 35%, rgba(5,5,5,.28) 69%, #050505 100%),
    linear-gradient(0deg, #050505 0%, transparent 35%),
    radial-gradient(circle at 76% 38%, rgba(139, 92, 246, .32), transparent 18rem),
    radial-gradient(circle at 75% 46%, #39284f 0 7rem, #15151a 18rem, #050505 36rem);
}
.hero::before { right: 6%; top: 11%; width: 570px; height: 570px; border-color: rgba(232,188,97,.12); box-shadow: 0 0 0 38px rgba(255,255,255,.018), 0 0 0 76px rgba(255,255,255,.012); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, #050505); pointer-events: none; }
.hero-grid { grid-template-columns: 1.12fr .88fr; gap: 35px; }
.hero-copy { position: relative; z-index: 5; }
.eyebrow { color: var(--nc-cyan); font-size: 10px; letter-spacing: .3em; }
.eyebrow::before { width: 42px; height: 1px; }
.hero-title { max-width: 780px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(70px, 8.3vw, 122px); font-weight: 900; line-height: .84; letter-spacing: -.025em; text-transform: uppercase; }
.hero-title .gradient-text { background: linear-gradient(180deg, #fff 0%, #e9e5dc 62%, #8e8a82 100%); background-clip: text; -webkit-background-clip: text; }
.hero-description { max-width: 600px; color: #bab7b0; font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 30px; }
.hero-trust { gap: 19px; color: #d0cdc6; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hero-trust svg { color: var(--nc-cyan); }
.hero-visual { min-height: 560px; }
.hero-orbit { inset: 2% -1%; border-color: rgba(232,188,97,.2); }
.hero-card-main {
  inset: 2% 4% 2% 8%;
  padding: 32px;
  border-radius: 7px;
  border-color: rgba(232,188,97,.26);
  background:
    linear-gradient(to top, rgba(3,3,3,.98), rgba(3,3,3,.06) 66%),
    radial-gradient(circle at 50% 28%, rgba(239,201,145,.34), transparent 12%),
    linear-gradient(145deg, #592118 0%, #1f1d24 48%, #08090d 100%);
  box-shadow: 0 40px 100px rgba(0,0,0,.8), 0 0 90px rgba(139,92,246,.16);
}
.hero-card-main::before { width: 76%; height: 83%; left: 12%; top: 7%; border-radius: 45% 45% 10% 10%; background: linear-gradient(155deg, #b78d74 0 18%, #4b2630 19% 47%, #101015 48% 100%); opacity: .72; filter: drop-shadow(0 30px 35px #000); }
.hero-card-main::after { content: "01"; position: absolute; right: 24px; top: 18px; color: rgba(255,255,255,.17); font-family: Impact, sans-serif; font-size: 76px; line-height: 1; }
.hero-card-label { border: 1px solid rgba(232,188,97,.45); border-radius: 2px; background: rgba(0,0,0,.52); color: var(--nc-cyan); letter-spacing: .16em; }
.hero-card-content h2 { font-family: Impact, "Arial Narrow", sans-serif; font-size: 34px; letter-spacing: .035em; text-transform: uppercase; }
.floating-card { border-radius: 4px; background: rgba(8,8,8,.88); border-color: rgba(232,188,97,.25); }
.floating-card-one { left: -2%; top: 18%; }
.floating-card-two { right: -1%; }
.pulse-dot { background: var(--nc-primary); box-shadow: 0 0 0 6px rgba(139,92,246,.14); }

.stats-bar { margin-top: -52px; }
.stats-inner { border-radius: 5px; background: rgba(10,10,10,.92); border-color: rgba(232,188,97,.18); }
.stat strong { color: var(--nc-cyan); font-family: Impact, "Arial Narrow", sans-serif; font-size: 27px; letter-spacing: .05em; }
.stat span { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }

.section { padding: 112px 0; }
.section-alt { background: #090909; }
.section-title, .cta-copy h2 { font-family: Impact, "Arial Narrow", sans-serif; font-weight: 800; letter-spacing: .015em; text-transform: uppercase; }
.section-title { font-size: clamp(42px, 5vw, 66px); }
.text-link { color: var(--nc-cyan); }
.category-grid { gap: 12px; }
.category-card { min-height: 370px; display: flex; flex-direction: column; justify-content: flex-end; padding: 27px; border-radius: 5px; background: linear-gradient(to top, #070707 0 20%, transparent 62%), linear-gradient(145deg, color-mix(in srgb, var(--card-color) 42%, #111), #080808 75%); }
.category-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.96), transparent 70%); }
.category-card::after { width: 260px; height: 260px; right: -90px; bottom: 25%; opacity: .1; }
.category-card:hover { border-color: var(--nc-cyan); transform: translateY(-8px) scale(1.01); }
.category-icon, .category-card h3, .category-card p { position: relative; z-index: 2; }
.category-icon { margin-bottom: auto; border-radius: 50%; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2); }
.category-card h3 { margin: 0 0 4px; font-family: Impact, sans-serif; font-size: 25px; letter-spacing: .04em; text-transform: uppercase; }
.post-card, .showcase-card, .cta-panel, .widget, .entry-featured { border-radius: 5px; }
.post-card { background: #0b0b0b; }
.post-category { border-radius: 2px; background: var(--nc-primary); letter-spacing: .12em; }
.post-title { font-size: 19px; }
.showcase-grid { gap: 10px; }
.showcase-content span { color: var(--nc-cyan); }
.showcase-content h3 { font-family: Impact, sans-serif; letter-spacing: .035em; text-transform: uppercase; }
.showcase-fallback::before { border-radius: 45% 45% 9% 9%; }
.cta-panel { border-color: rgba(139,92,246,.3); background: linear-gradient(115deg, rgba(139,92,246,.22), rgba(15,15,15,.96) 48%, rgba(56,217,255,.08)); }
.cta-panel::before { border-color: rgba(139,92,246,.2); }
.site-footer { background: #030303; }

@media (max-width: 1024px) {
  .site-header { position: fixed; background: rgba(4,4,4,.88); backdrop-filter: blur(14px); }
  .category-card { min-height: 300px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 72px; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-title { font-size: clamp(68px, 20vw, 96px); }
  .hero-visual { min-height: 500px; }
  .hero-card-main { inset: 4% 6%; }
  .category-card { min-height: 330px; }
  .section { padding: 82px 0; }
}
