/*
Theme Name:  Extrawrites
Theme URI:   https://extrawrites.com
Author:      extrawrites
Author URI:  https://extrawrites.com
Description: A Y2K pastel chaos × Serial Experiments Lain personal writing blog theme for extrawrites.com. Features glitch animations, sparkle cursor, pixel borders, and full support for Poetry, Essays, Research, Journal, Reviews, and Contact pages.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: extrawrites
Tags:        blog, custom-colors, custom-menu, featured-images, sticky-post, two-columns, right-sidebar
*/

/* ═══════════════════════════════════════════════
   EXTRAWRITES WORDPRESS THEME — MAIN STYLESHEET
   Aesthetic: Y2K Pastel Chaos × Serial Experiments Lain
   ═══════════════════════════════════════════════ */


/* ── CSS Variables ── */
:root {
  --bg-main:       #f0e6ff;
  --bg-secondary:  #e8d5ff;
  --bg-tertiary:   #fce4ff;
  --purple-deep:   #4a0080;
  --purple-mid:    #7b2fbf;
  --purple-light:  #c084fc;
  --purple-pale:   #ddb6ff;
  --pink-hot:      #ff69e2;
  --pink-pale:     #ffd6f5;
  --cyan-retro:    #00e5ff;
  --yellow-star:   #fff176;
  --green-matrix:  #39ff14;
  --white:         #fff9ff;
  --text-dark:     #1a0030;
  --text-mid:      #3d0070;
  --shadow-chunky: 4px 4px 0px var(--purple-deep);
  --shadow-pink:   4px 4px 0px var(--pink-hot);
  --border-solid:  2px solid var(--purple-deep);
  --border-dotted: 2px dotted var(--purple-mid);
  --font-display:  'VT323', monospace;
  --font-body:     'Josefin Sans', sans-serif;
  --font-serif:    'IM Fell English', serif;
  --font-mono:     'Share Tech Mono', monospace;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(192,132,252,.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255,105,226,.2)  0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237b2fbf' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='4' fill='%237b2fbf'/%3E%3C/svg%3E"), auto;
  overflow-x: hidden;
}

a { color: var(--purple-deep); text-decoration: none; border-bottom: 1px dotted var(--purple-mid); transition: all .15s ease; }
a:hover { color: var(--pink-hot); border-bottom-color: var(--pink-hot); text-shadow: 0 0 8px var(--pink-hot); }
img { max-width: 100%; display: block; }

::-webkit-scrollbar       { width: 10px; }
::-webkit-scrollbar-track { background: var(--purple-pale); }
::-webkit-scrollbar-thumb { background: var(--purple-mid); border: 2px solid var(--purple-pale); }
::-webkit-scrollbar-thumb:hover { background: var(--purple-deep); }

/* ══ MARQUEE BAR ══ */
.marquee-bar {
  background: var(--purple-deep);
  color: var(--yellow-star);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .1em;
  padding: 4px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 3px solid var(--pink-hot);
}

/* ══ SITE TITLE LOCKUP + ORBITAL EYE ══ */
.site-title-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 180px;
  padding: 1.5rem 0 0.5rem;
}

.orbital-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

/* JS sets left/top directly — these are just defaults before JS runs */
.orbital-eye {
  position: absolute;
  width: 72px;
  height: 72px;
  left: calc(50% - 36px);
  top: 18px;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.7));
}

.orbital-eye svg {
  display: block;
  width: 72px;
  height: 72px;
}

/* Title pushed down to clear the orbit path */
.site-title-lockup .site-title {
  margin-top: 100px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .orbital-eye       { width: 52px; height: 52px; }
  .orbital-eye svg   { width: 52px; height: 52px; }
  .site-title-lockup { min-height: 150px; }
  .site-title-lockup .site-title { margin-top: 75px; }
}

/* ══ SITE HEADER ══ */
.site-header {
  padding: 2rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}

.header-deco {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--purple-mid);
  letter-spacing: .3em;
  animation: blink 1.5s step-start infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.site-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6.5rem);
  color: var(--purple-deep);
  line-height: 1;
  text-shadow: 3px 3px 0 var(--pink-hot), 6px 6px 0 var(--purple-light);
  letter-spacing: .05em;
  animation: glitch-title 6s infinite;
}

@keyframes glitch-title {
  0%,90%,100% { text-shadow: 3px 3px 0 var(--pink-hot),6px 6px 0 var(--purple-light); transform: translate(0); }
  91% { text-shadow: -3px 0 var(--cyan-retro),3px 3px var(--pink-hot); transform: translate(-2px,1px); }
  92% { text-shadow: 3px 0 var(--pink-hot),-3px -3px var(--cyan-retro); transform: translate(2px,-1px); }
  93% { text-shadow: 3px 3px 0 var(--pink-hot),6px 6px 0 var(--purple-light); transform: translate(0); }
}

.site-title a { color: inherit; border: none; text-shadow: inherit; }
.site-title a:hover { color: inherit; text-shadow: inherit; border: none; }

.site-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--purple-mid);
}

/* ── Social cluster ── */
.social-cluster {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--white);
  background: var(--purple-deep);
  border: 2px solid var(--purple-deep);
  border-bottom: none;
  padding: 3px 10px 3px 8px;
  box-shadow: var(--shadow-chunky);
  transition: all .15s ease;
  text-decoration: none;
}

.social-pill:hover {
  background: var(--pink-hot);
  border-color: var(--pink-hot);
  box-shadow: var(--shadow-pink);
  color: var(--white);
  border-bottom: none;
  text-shadow: none;
  transform: translate(-2px,-2px);
}

.social-pill svg { width:14px; height:14px; fill:currentColor; flex-shrink:0; }
.social-divider { font-family: var(--font-display); font-size: 1.2rem; color: var(--purple-light); }

.gravatar-link {
  display: inline-block;
  border: 3px solid var(--purple-deep);
  box-shadow: var(--shadow-chunky);
  transition: all .15s ease;
  overflow: hidden;
}
.gravatar-link:hover { box-shadow: var(--shadow-pink); transform: translate(-2px,-2px); border-color: var(--pink-hot); border-bottom: 3px solid var(--pink-hot); }
.gravatar-link img { width:36px; height:36px; display:block; }

/* ══ NAVIGATION ══ */
.site-nav {
  background: var(--purple-deep);
  border-top: 3px solid var(--pink-hot);
  border-bottom: 3px solid var(--pink-hot);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 0 var(--purple-mid);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-inner a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--purple-pale);
  padding: .5rem 1rem;
  border-bottom: none;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all .15s ease;
  position: relative;
}

.nav-inner a::after {
  content: '✦';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .6rem;
  color: var(--purple-light);
  opacity: .5;
}

.nav-inner a:last-child::after { display: none; }
.nav-inner a:hover,
.nav-inner a.current-menu-item,
.nav-inner a.current-page-ancestor { color: var(--yellow-star); text-shadow: 0 0 10px var(--yellow-star); background: rgba(255,105,226,.15); border-bottom: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow-star);
  padding: .4rem 1rem;
  width: 100%;
  text-align: left;
}

/* ══ PAGE LAYOUT ══ */
.site-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.page-content {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  min-height: 60vh;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.home-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

/* ══ PANELS ══ */
.panel {
  background: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-chunky);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.panel::before {
  content: '';
  position: absolute;
  top: -6px; left: -6px; right: 6px; bottom: 6px;
  border: 2px solid var(--purple-light);
  z-index: -1;
  pointer-events: none;
}

.panel-pink   { background: var(--pink-pale); border-color: var(--pink-hot); box-shadow: 4px 4px 0 var(--pink-hot); }
.panel-purple { background: var(--bg-secondary); border-color: var(--purple-mid); }
.panel-dark   { background: var(--purple-deep); border-color: var(--purple-mid); box-shadow: 4px 4px 0 var(--pink-hot); }

/* ══ TYPOGRAPHY ══ */
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: .05em; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem,6vw,3.5rem);
  color: var(--purple-deep);
  text-shadow: 3px 3px 0 var(--purple-light);
  margin-bottom: .5rem;
  line-height: 1.1;
}

.page-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--purple-mid);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--purple-deep);
  border-bottom: var(--border-dotted);
  padding-bottom: .3rem;
  margin-bottom: 1rem;
}

p { margin-bottom: 1rem; color: var(--text-dark); font-size: 1rem; line-height: 1.8; }

.deco-hr { border:none; text-align:center; color:var(--purple-mid); font-family:var(--font-display); font-size:1.2rem; letter-spacing:.5em; margin:2rem 0; }
.deco-hr::before { content:'✦ ✦ ✦ ✦ ✦'; }

/* ══ GLITCH ══ */
.glitch { position: relative; display: inline-block; }
.glitch::before,.glitch::after { content: attr(data-text); position: absolute; top:0; left:0; width:100%; height:100%; }
.glitch::before { color:var(--cyan-retro); animation:glitch-before 3s infinite; clip-path:polygon(0 0,100% 0,100% 35%,0 35%); }
.glitch::after  { color:var(--pink-hot);   animation:glitch-after  3s infinite; clip-path:polygon(0 65%,100% 65%,100% 100%,0 100%); }

@keyframes glitch-before { 0%,85%,100%{transform:translate(0);opacity:0} 86%{transform:translate(-3px,1px);opacity:1} 88%{transform:translate(3px,-1px);opacity:1} 90%{transform:translate(0);opacity:0} }
@keyframes glitch-after  { 0%,85%,100%{transform:translate(0);opacity:0} 87%{transform:translate(3px,2px);opacity:1} 89%{transform:translate(-3px,-2px);opacity:1} 91%{transform:translate(0);opacity:0} }

/* ══ ANIMATED DECO BAR ══ */
.deco-bar {
  width: 100%;
  overflow: hidden;
  background: var(--purple-deep);
  border-top: 2px solid var(--pink-hot);
  border-bottom: 2px solid var(--pink-hot);
  padding: 0.5rem 0;
  margin-bottom: 2rem;
  position: relative;
}

.deco-bar__track {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
  animation: deco-scroll 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.deco-bar__track span:nth-child(odd) {
  color: var(--pink-hot);
  font-size: 0.9rem;
}

.deco-bar__track span:nth-child(even) {
  color: var(--purple-pale);
}

.deco-bar__track span:nth-child(4n) {
  color: var(--yellow-star);
}

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

.deco-bar:hover .deco-bar__track {
  animation-play-state: paused;
}



/* ══ ENTRY CARDS ══ */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.entry-card {
  background: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-chunky);
  padding: 1.2rem;
  transition: all .15s ease;
}

.entry-card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--purple-deep); }

.card-tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  background: var(--purple-deep);
  color: var(--yellow-star);
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: .5rem;
  letter-spacing: .1em;
}

.entry-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--purple-deep); margin-bottom: .3rem; line-height: 1.2; }
.entry-card h3 a { color: inherit; border: none; }
.entry-card h3 a:hover { color: var(--pink-hot); border: none; text-shadow: none; }
.entry-card p { font-size: .88rem; color: var(--text-mid); margin-bottom: .7rem; }
.card-date { font-family: var(--font-mono); font-size: .72rem; color: var(--purple-mid); }

.read-more {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  background: var(--purple-deep);
  padding: 2px 12px;
  border: none;
  box-shadow: 3px 3px 0 var(--pink-hot);
  transition: all .15s ease;
  text-decoration: none;
  cursor: pointer;
  margin-top: .5rem;
}

.read-more:hover { background: var(--pink-hot); box-shadow: 3px 3px 0 var(--purple-deep); transform: translate(-1px,-1px); color: var(--white); border: none; text-shadow: none; }

/* ══ SINGLE POST ══ */
.post-header { margin-bottom: 2rem; }
.post-header .card-tag { margin-bottom: .8rem; }
.post-header h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3rem); color: var(--purple-deep); text-shadow: 2px 2px 0 var(--purple-light); line-height: 1.1; margin-bottom: .5rem; }
.post-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--purple-mid); }
.post-meta a { color: var(--purple-mid); }

.post-content { font-family: var(--font-body); }
.post-content h2 { font-family: var(--font-display); font-size: 2rem; color: var(--purple-deep); margin: 2rem 0 .5rem; }
.post-content h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--purple-mid); margin: 1.5rem 0 .5rem; }
.post-content p  { margin-bottom: 1.2rem; line-height: 1.9; }
.post-content blockquote { border-left: 4px solid var(--purple-light); padding: .5rem 1.5rem; margin: 1.5rem 0; background: var(--bg-secondary); font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-content li { margin-bottom: .3rem; }
.post-content img { border: var(--border-solid); box-shadow: var(--shadow-chunky); margin: 1.5rem auto; }
.post-content a { color: var(--purple-deep); border-bottom: 1px dotted; }
.post-content a:hover { color: var(--pink-hot); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.post-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--purple-deep);
  background: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-chunky);
  padding: .4rem 1rem;
  transition: all .15s ease;
}

.post-nav a:hover { background: var(--purple-deep); color: var(--yellow-star); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--purple-mid); border-bottom: 2px solid var(--purple-deep); text-shadow: none; }

/* ══ SIDEBAR ══ */
.sidebar-widget {
  background: var(--bg-tertiary);
  border: var(--border-solid);
  box-shadow: var(--shadow-chunky);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--purple-deep); border-bottom: 2px dotted var(--purple-light); padding-bottom: .3rem; margin-bottom: .7rem; }

.widget-list { list-style: none; padding: 0; }
.widget-list li { font-size: .88rem; padding: .3rem 0; border-bottom: 1px dotted var(--purple-pale); display: flex; align-items: center; gap: .4rem; }
.widget-list li::before { content: '◆'; color: var(--pink-hot); font-size: .6rem; flex-shrink: 0; }
.widget-list li a { border-bottom: none; }

.status-widget { background: var(--purple-deep); color: var(--purple-pale); font-family: var(--font-mono); font-size: .8rem; padding: 1rem; border: 2px solid var(--purple-light); box-shadow: 4px 4px 0 var(--pink-hot); margin-bottom: 1.5rem; }
.status-widget .status-label { color: var(--yellow-star); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .3rem; }
.status-widget .status-value { color: var(--green-matrix); animation: blink 2s step-start infinite; }

/* ══ ABOUT PAGE ══ */
.about-grid { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; }
.about-avatar-box { text-align: center; }
.about-avatar-box img { border: 4px solid var(--purple-deep); box-shadow: var(--shadow-chunky); width: 180px; height: 180px; object-fit: cover; display: block; margin: 0 auto .5rem; }
.info-table { width:100%; border-collapse:collapse; font-family:var(--font-mono); font-size:.85rem; }
.info-table td { padding:.3rem .5rem; border:1px solid var(--purple-light); vertical-align:top; }
.info-table td:first-child { background:var(--purple-deep); color:var(--yellow-star); white-space:nowrap; }

/* ══ CONTACT / SERVICES ══ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.service-card { background: var(--bg-secondary); border: var(--border-solid); box-shadow: var(--shadow-chunky); padding: 1.2rem; text-align: center; transition: all .15s ease; }
.service-card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--purple-deep); }
.service-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--purple-deep); margin-bottom: .3rem; }
.service-card p { font-size: .82rem; margin-bottom: 0; }

/* ══ CONTACT FORM ══ */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .3rem; }
.form-group label { font-family: var(--font-display); font-size: 1.1rem; color: var(--purple-deep); letter-spacing: .05em; }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-mono); font-size: .9rem; background: var(--white);
  border: var(--border-solid); padding: .5rem .8rem; color: var(--text-dark);
  outline: none; transition: all .15s ease; box-shadow: 3px 3px 0 var(--purple-light);
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--pink-hot); box-shadow: 3px 3px 0 var(--pink-hot); }
.form-group textarea { min-height: 130px; resize: vertical; }

.form-submit {
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .1em;
  color: var(--white); background: var(--purple-deep);
  border: 2px solid var(--purple-deep); padding: .4rem 2rem;
  cursor: pointer; box-shadow: var(--shadow-chunky); transition: all .15s ease; align-self: flex-start;
}
.form-submit:hover { background: var(--pink-hot); border-color: var(--pink-hot); box-shadow: var(--shadow-pink); transform: translate(-2px,-2px); }

/* ══ BADGES / GIF ROW ══ */
.badge-row { display:flex; justify-content:center; flex-wrap:wrap; gap:6px; margin:1.2rem 0; }
.badge-row img,.badge-placeholder { height:31px; width:88px; image-rendering:pixelated; border:1px solid var(--purple-light); }
.badge-placeholder { background:var(--purple-mid); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:.65rem; color:var(--yellow-star); text-align:center; line-height:1.2; }

/* ══ FOOTER ══ */
.site-footer { background:var(--purple-deep); color:var(--purple-pale); text-align:center; padding:2rem 1.5rem; border-top:3px solid var(--pink-hot); font-family:var(--font-mono); font-size:.82rem; margin-top:3rem; }
.footer-inner { max-width:1100px; margin:0 auto; }
.footer-social { display:flex; justify-content:center; gap:1rem; flex-wrap:wrap; margin-bottom:1rem; }
.footer-social a { color:var(--yellow-star); font-family:var(--font-display); font-size:1rem; letter-spacing:.1em; border-bottom:none; transition:all .15s ease; }
.footer-social a:hover { color:var(--pink-hot); text-shadow:0 0 10px var(--pink-hot); border-bottom:none; }
.footer-copy { color:var(--purple-light); font-size:.78rem; }
.footer-copy a { color:var(--purple-pale); border-bottom-color:var(--purple-light); }

/* ══ WP SPECIFIC ══ */
.wp-block-image img { border: var(--border-solid); box-shadow: var(--shadow-chunky); }
.aligncenter { text-align: center; margin: 1.5rem auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }

/* ══ DISCORD WIDGET ══ */
.discord-widget {
  background: var(--purple-deep);
  border: 2px solid var(--purple-mid);
  box-shadow: 4px 4px 0 var(--pink-hot);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.discord-widget::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}

.discord-widget__header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .8rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--yellow-star);
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: .6rem;
}

.discord-widget__logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.discord-widget__desc {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--purple-pale);
  margin-bottom: .8rem;
  line-height: 1.6;
}

.discord-widget__features {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.discord-widget__features li {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--purple-pale);
  padding: .25rem 0;
  border-bottom: 1px dotted rgba(255,255,255,.12);
}

.discord-widget__features li:last-child { border-bottom: none; }

.discord-widget__btn {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .1em;
  color: var(--purple-deep);
  background: var(--pink-hot);
  border: 2px solid var(--pink-hot);
  padding: .3rem 1rem;
  box-shadow: 3px 3px 0 var(--yellow-star);
  transition: all .15s ease;
  text-decoration: none;
  cursor: pointer;
}

.discord-widget__btn:hover {
  background: var(--yellow-star);
  border-color: var(--yellow-star);
  color: var(--purple-deep);
  box-shadow: 3px 3px 0 var(--purple-mid);
  transform: translate(-2px,-2px);
  text-shadow: none;
  border-bottom: 2px solid var(--yellow-star);
}

.discord-widget__btn--soon {
  opacity: .5;
  cursor: default;
  pointer-events: none;
  background: var(--purple-mid);
  border-color: var(--purple-mid);
  color: var(--purple-pale);
  box-shadow: 3px 3px 0 var(--purple-deep);
}

/* ══ PAGINATION ══ */
.pagination { display:flex; justify-content:center; gap:.5rem; margin:2rem 0; flex-wrap:wrap; }
.pagination a,.pagination span { font-family:var(--font-display); font-size:1.2rem; color:var(--purple-deep); background:var(--white); border:var(--border-solid); box-shadow:var(--shadow-chunky); padding:.2rem .8rem; transition:all .15s ease; border-bottom:2px solid var(--purple-deep); }
.pagination a:hover,.pagination .current { background:var(--purple-deep); color:var(--yellow-star); transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--purple-mid); text-shadow:none; border-bottom:2px solid var(--purple-deep); }

/* ══ RESPONSIVE ══ */
@media (max-width:768px) {
  .home-grid { grid-template-columns:1fr; }
  .home-sidebar { order:-1; }
  .about-grid { grid-template-columns:1fr; }
  .about-avatar-box img { width:140px; height:140px; }
  .nav-toggle { display:block; }
  .nav-inner { display:none; flex-direction:column; padding:.5rem 1.5rem; align-items:flex-start; }
  .nav-inner.open { display:flex; }
  .nav-inner a { padding:.3rem 0; font-size:1.5rem; }
  .nav-inner a::after { display:none; }
  .form-two-col { grid-template-columns:1fr !important; }
}
