@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700&display=swap');

/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{
  font-family:'Exo 2',system-ui,sans-serif;
  font-size:1rem;
  line-height:1.7;
  color:#000;
  background:#fff;
  overflow-x:hidden;
}
a{color:#000;text-decoration:none;font-weight:600}
a:hover{color:#ff5252}
img{max-width:100%;height:auto;display:block}
ul,menu{list-style:none}

/* ===== Site Wrap ===== */
.site-wrap{min-height:100vh;display:flex;flex-direction:column}

/* ===== Header ===== */
.site-header{
  background:#fff;
  border-bottom:3px solid #000;
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 4px 0 #000;
}
.brand-row{
  padding:12px 24px;
  border-bottom:3px solid #000;
  background:#3bb1ff;
}
.brand-name{
  font-family:'Orbitron',sans-serif;
  font-size:clamp(1rem,2.5vw,1.5rem);
  font-weight:700;
  color:#000;
  letter-spacing:0.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
.brand-name:hover{color:#ff5252}

/* ===== Nav ===== */
.main-nav{background:#000;padding:0 24px}
.nav-details{display:flex;align-items:stretch}
.nav-toggle{
  display:none;
  padding:12px 16px;
  font-family:'Orbitron',sans-serif;
  font-weight:700;
  font-size:.85rem;
  color:#fff;
  cursor:pointer;
  list-style:none;
  min-height:44px;
  align-items:center;
}
.nav-toggle::-webkit-details-marker{display:none}
.nav-menu{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  width:100%;
}
.nav-menu li a{
  display:flex;
  align-items:center;
  padding:0 16px;
  min-height:44px;
  font-family:'Exo 2',sans-serif;
  font-weight:600;
  font-size:.9rem;
  color:#fff;
  border-right:2px solid #333;
  transition:background .15s,color .15s;
  white-space:nowrap;
}
.nav-menu li a:hover{background:#3bb1ff;color:#000}

/* ===== Hero ===== */
.hero{
  position:relative;
  min-height:100vh;
  background:#000;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-end;
  padding:80px 40px 60px;
  overflow:hidden;
  border-bottom:3px solid #000;
}
.hero-text-block{
  position:relative;
  z-index:2;
  text-align:right;
  max-width:600px;
}
.hero-eyebrow{
  display:inline-block;
  background:#ff5252;
  color:#fff;
  font-family:'Orbitron',sans-serif;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  padding:4px 12px;
  border:2px solid #000;
  box-shadow:3px 3px 0 #000;
  margin-bottom:16px;
}
.hero-h1{
  font-family:'Orbitron',sans-serif;
  font-size:clamp(1.6rem,4vw,3rem);
  font-weight:700;
  color:#fff;
  line-height:1.2;
  margin-bottom:16px;
  text-shadow:4px 4px 0 #ff5252;
}
.hero-desc{
  color:#ccc;
  font-size:1rem;
  margin-bottom:24px;
  line-height:1.6;
}
.hero-cta{
  display:inline-block;
  background:#3bb1ff;
  color:#000;
  font-family:'Orbitron',sans-serif;
  font-weight:700;
  font-size:.9rem;
  padding:12px 28px;
  border:3px solid #000;
  box-shadow:5px 5px 0 #ff5252;
  text-transform:uppercase;
  letter-spacing:.05em;
  transition:box-shadow .15s,transform .15s;
}
.hero-cta:hover{
  box-shadow:2px 2px 0 #ff5252;
  transform:translate(3px,3px);
  color:#000;
}
.hero-bg-text{
  position:absolute;
  bottom:-40px;
  left:-20px;
  font-family:'Orbitron',sans-serif;
  font-size:clamp(6rem,18vw,15rem);
  font-weight:700;
  color:rgba(59,177,255,.08);
  line-height:1;
  pointer-events:none;
  user-select:none;
  white-space:nowrap;
}
.hero-media{
  position:absolute;
  bottom:0;
  left:0;
  width:45%;
  height:100%;
  overflow:hidden;
  opacity:.35;
}
.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ===== Page Hero (non-home) ===== */
.page-hero{
  position:relative;
  background:#000;
  padding:60px 40px 50px;
  border-bottom:3px solid #000;
  overflow:hidden;
}
.page-hero-inner{position:relative;z-index:2;max-width:800px}
.page-hero h1{
  font-family:'Orbitron',sans-serif;
  font-size:clamp(1.4rem,3vw,2.2rem);
  font-weight:700;
  color:#fff;
  margin-top:12px;
  text-shadow:3px 3px 0 #3bb1ff;
}
.page-hero .hero-bg-text{
  font-size:clamp(4rem,12vw,10rem);
  bottom:-20px;
  right:-20px;
  left:auto;
}

/* ===== Main Layout ===== */
main{
  flex:1;
  display:grid;
  grid-template-columns:1fr 280px;
  gap:0;
  max-width:1200px;
  margin:0 auto;
  width:100%;
  padding:0 24px;
  padding-top:40px;
  padding-bottom:60px;
  align-items:start;
}
.entry-main{
  display:grid;
  grid-template-columns:1fr 280px;
  gap:0;
  max-width:1200px;
  margin:0 auto;
  width:100%;
  padding:40px 24px 60px;
  align-items:start;
}

/* ===== Content Wrap ===== */
.wrap{grid-column:1;padding-right:32px}
.page-section{}
.page-article{}

/* ===== Page Meta ===== */
.page-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  font-size:.85rem;
  color:#555;
  margin-bottom:20px;
  padding:10px 16px;
  border:2px solid #000;
  box-shadow:3px 3px 0 #3bb1ff;
  background:#f5f5f5;
}
.meta-label{font-weight:700;color:#000}

/* ===== Page Content ===== */
.page-content{margin-top:20px}
.page-content h2{
  font-family:'Orbitron',sans-serif;
  font-size:1.25rem;
  font-weight:700;
  margin:32px 0 12px;
  padding-left:12px;
  border-left:5px solid #3bb1ff;
}
.page-content h2>span{display:inline}
.page-content h3{
  font-size:1.05rem;
  font-weight:700;
  margin:24px 0 8px;
  color:#000;
}
.page-content h3>span{display:inline}
.page-content p{margin-bottom:16px;line-height:1.75}
.page-content ul,.page-content ol{margin:12px 0 16px 20px}
.page-content li{margin-bottom:6px;line-height:1.6}
.page-content a{
  color:#3bb1ff;
  text-decoration:underline;
  font-weight:600;
}
.page-content a:hover{color:#ff5252}
.page-content img{
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  margin:20px 0;
  border-radius:4px;
}
.page-content blockquote{
  border-left:4px solid #ff5252;
  padding:12px 20px;
  background:#fff8f8;
  margin:16px 0;
  font-style:italic;
}

/* ===== Sidebar ===== */
.sidebar{
  grid-column:2;
  position:sticky;
  top:120px;
}
.home-aside{
  grid-column:1 / -1;
  display:none;
}
.sidebar-inner{
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  padding:20px;
  background:#fff;
  border-radius:4px;
}
.sidebar-title{
  font-family:'Orbitron',sans-serif;
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:12px;
  margin-top:20px;
  padding-bottom:6px;
  border-bottom:2px solid #000;
}
.sidebar-title:first-child{margin-top:0}
.sidebar-title>span{display:inline}
.sidebar-links{display:flex;flex-direction:column;gap:4px}
.sidebar-links li a{
  display:block;
  padding:8px 10px;
  font-size:.9rem;
  font-weight:600;
  color:#000;
  border:2px solid transparent;
  transition:all .15s;
}
.sidebar-links li a:hover{
  border-color:#000;
  background:#3bb1ff;
  box-shadow:3px 3px 0 #000;
}
.sidebar-links li a.active{
  background:#ff5252;
  color:#fff;
  border-color:#000;
  box-shadow:3px 3px 0 #000;
}
.tag-cloud-list li a{
  display:inline-block;
  margin:3px;
  padding:5px 10px;
  background:#f0f0f0;
  border:2px solid #000;
  font-size:.8rem;
}
.tag-cloud-list li a:hover,.tag-cloud-list li a.active{
  background:#3bb1ff;
  box-shadow:3px 3px 0 #000;
}

/* ===== Section Header ===== */
.section-header{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px 16px;
}
.section-header h2{
  font-family:'Orbitron',sans-serif;
  font-size:1.3rem;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding-bottom:8px;
  border-bottom:3px solid #000;
}
.section-header h2>span{display:inline}

/* ===== Cat Grid (home) ===== */
.home-cats,.home-entries{
  max-width:1200px;
  margin:40px auto;
  padding:0 24px;
}
.cat-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:20px;
}
.cat-grid li{list-style:none}
.cat-card{
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  padding:24px;
  border-radius:28px;
  background:#fff;
  transition:transform .15s,box-shadow .15s;
  position:relative;
  overflow:hidden;
}
.cat-card:hover{
  transform:translate(-3px,-3px);
  box-shadow:8px 8px 0 #000;
}
.cat-num{
  font-family:'Orbitron',sans-serif;
  font-size:2.5rem;
  font-weight:700;
  color:#f0f0f0;
  position:absolute;
  top:12px;
  right:16px;
  line-height:1;
}
.cat-card h3{
  font-family:'Exo 2',sans-serif;
  font-size:1.05rem;
  font-weight:700;
  margin-bottom:8px;
  position:relative;
}
.cat-card h3>span{display:inline}
.cat-card h3 a{color:#000}
.cat-card h3 a:hover{color:#ff5252}
.cat-card p{font-size:.875rem;color:#444;margin-bottom:16px;line-height:1.5}
.cat-link{
  display:inline-block;
  background:#3bb1ff;
  color:#000;
  font-weight:700;
  font-size:.8rem;
  padding:6px 14px;
  border:2px solid #000;
  box-shadow:3px 3px 0 #000;
  transition:all .12s;
}
.cat-link:hover{
  background:#ff5252;
  color:#fff;
  box-shadow:1px 1px 0 #000;
  transform:translate(2px,2px);
}

/* ===== Entry Grid (home) ===== */
.entry-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:20px;
}
.entry-card{
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  padding:20px;
  border-radius:28px;
  background:#fff;
  transition:transform .15s,box-shadow .15s;
}
.entry-card:hover{
  transform:translate(-2px,-2px);
  box-shadow:7px 7px 0 #000;
}
.entry-card h3{font-size:.95rem;font-weight:700;margin-bottom:8px}
.entry-card h3>span{display:inline}
.entry-card h3 a{color:#000}
.entry-card h3 a:hover{color:#ff5252}
.entry-date{font-size:.8rem;color:#777;margin-bottom:8px}
.entry-card p{font-size:.85rem;color:#444;margin-bottom:12px;line-height:1.5}
.entry-link{
  display:inline-block;
  background:#ff5252;
  color:#fff;
  font-weight:700;
  font-size:.8rem;
  padding:5px 12px;
  border:2px solid #000;
  box-shadow:3px 3px 0 #000;
  transition:all .12s;
}
.entry-link:hover{
  box-shadow:1px 1px 0 #000;
  transform:translate(2px,2px);
}

/* ===== Sub List (category) ===== */
.sub-section,.tag-items-section{
  max-width:1200px;
  margin:32px auto;
  padding:0 24px;
}
.sub-section-body{grid-column:1}
.sub-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:20px;
}
.sub-list li{list-style:none}
.sub-item{
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  padding:24px;
  border-radius:28px;
  background:#fff;
  transition:transform .15s,box-shadow .15s;
  position:relative;
}
.sub-item:hover{
  transform:translate(-2px,-2px);
  box-shadow:7px 7px 0 #000;
}
.sub-num{
  font-family:'Orbitron',sans-serif;
  font-size:2rem;
  font-weight:700;
  color:rgba(59,177,255,.2);
  position:absolute;
  top:12px;
  right:16px;
  line-height:1;
}
.sub-item h3{font-size:1rem;font-weight:700;margin-bottom:8px}
.sub-item h3>span{display:inline}
.sub-item h3 a{color:#000}
.sub-item h3 a:hover{color:#ff5252}
.sub-item p{font-size:.875rem;color:#444;margin-bottom:12px;line-height:1.5}
.sub-date{font-size:.8rem;color:#777;margin-bottom:8px}
.sub-link{
  display:inline-block;
  background:#3bb1ff;
  color:#000;
  font-weight:700;
  font-size:.8rem;
  padding:6px 14px;
  border:2px solid #000;
  box-shadow:3px 3px 0 #000;
  transition:all .12s;
}
.sub-link:hover{
  background:#ff5252;
  color:#fff;
  box-shadow:1px 1px 0 #000;
  transform:translate(2px,2px);
}

/* ===== Tag Grid ===== */
.tag-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:20px;
}
.tag-item{
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  padding:20px;
  border-radius:28px;
  background:#fff;
  transition:transform .15s,box-shadow .15s;
}
.tag-item:hover{
  transform:translate(-2px,-2px);
  box-shadow:7px 7px 0 #000;
}
.tag-item h3{font-size:.95rem;font-weight:700;margin-bottom:8px}
.tag-item h3>span{display:inline}
.tag-item h3 a{color:#000}
.tag-item h3 a:hover{color:#ff5252}
.tag-item-date{font-size:.8rem;color:#777;margin-bottom:8px}
.tag-item p{font-size:.85rem;color:#444;margin-bottom:12px;line-height:1.5}
.tag-item-link{
  display:inline-block;
  background:#ff5252;
  color:#fff;
  font-weight:700;
  font-size:.8rem;
  padding:5px 12px;
  border:2px solid #000;
  box-shadow:3px 3px 0 #000;
  transition:all .12s;
}
.tag-item-link:hover{
  box-shadow:1px 1px 0 #000;
  transform:translate(2px,2px);
}

/* ===== Entry Layout ===== */
.entry-breadcrumb{
  font-size:.85rem;
  color:#666;
  margin-bottom:16px;
}
.entry-breadcrumb a{color:#3bb1ff;font-weight:600}
.entry-breadcrumb a:hover{color:#ff5252}
.entry-header{margin-bottom:24px}
.entry-hero-wrap{
  margin-bottom:24px;
  border:3px solid #000;
  box-shadow:5px 5px 0 #000;
  overflow:hidden;
  border-radius:4px;
}
.entry-hero-img{width:100%;height:auto}

/* ===== Home content article ===== */
.home-content-section{
  padding-bottom:0;
}
.home-article{
  background:#f8f8f8;
  border:3px solid #000;
  box-shadow:5px 5px 0 #3bb1ff;
  padding:28px;
  border-radius:4px;
}

/* ===== Footer ===== */
.site-footer{
  background:#000;
  border-top:3px solid #000;
  padding:60px 24px 40px;
  text-align:center;
}
.footer-brand{
  font-family:'Orbitron',sans-serif;
  font-size:clamp(1.8rem,5vw,3.5rem);
  font-weight:700;
  color:#3bb1ff;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:20px;
  text-shadow:4px 4px 0 #ff5252;
}
.footer-copy{
  display:block;
  font-size:.85rem;
  color:#888;
  line-height:1.8;
}
.footer-copy a{color:#3bb1ff;font-weight:600}
.footer-copy a:hover{color:#ff5252}

/* ===== Breadcrumb / Meta shared ===== */
.about-hero .page-hero-inner h1,
.privacy-hero .page-hero-inner h1,
.tag-hero .page-hero-inner h1,
.cat-hero .page-hero-inner h1{
  color:#fff;
}

/* ===== Scroll Reveal ===== */
@media (prefers-reduced-motion:no-preference){
  .reveal-item{
    opacity:0;
    transform:translateY(24px);
    transition:opacity .5s calc(var(--i,0)*0.08s),transform .5s calc(var(--i,0)*0.08s);
  }
  .reveal-item.visible{
    opacity:1;
    transform:none;
  }
  .cat-card,.entry-card,.sub-item,.tag-item{
    opacity:0;
    transform:translateY(20px);
    transition:opacity .45s ease,transform .45s ease,box-shadow .15s,border-shadow .15s;
  }
  .cat-card.visible,.entry-card.visible,.sub-item.visible,.tag-item.visible{
    opacity:1;
    transform:none;
  }
}

/* ===== Responsive ===== */
@media (max-width:900px){
  main,.entry-main{
    grid-template-columns:1fr;
    padding-top:28px;
  }
  .wrap{padding-right:0}
  .sidebar{
    grid-column:1;
    position:static;
    margin-top:32px;
  }
  .home-aside{display:block}
}

@media (max-width:640px){
  .nav-toggle{display:flex}
  .nav-details:not([open]) .nav-menu{display:none}
  .nav-details[open] .nav-menu{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#000;
    border-top:2px solid #333;
    z-index:200;
  }
  .nav-details{position:relative}
  .main-nav{padding:0}
  .nav-menu li a{
    border-right:none;
    border-bottom:1px solid #333;
    padding:0 20px;
    min-height:48px;
  }
  .hero{
    padding:60px 20px 40px;
    align-items:flex-start;
    min-height:auto;
    padding-top:80px;
  }
  .hero-text-block{text-align:left;max-width:100%}
  .hero-media{display:none}
  .page-hero{padding:40px 20px 32px}
  main,.entry-main{padding:24px 16px 40px}
  .section-header,.home-cats,.home-entries,.sub-section,.tag-items-section{padding-left:16px;padding-right:16px}
  .cat-grid,.entry-grid,.sub-list,.tag-grid{grid-template-columns:1fr}
  .brand-row{padding:10px 16px}
  .brand-name{font-size:.95rem}
  .footer-brand{font-size:1.8rem}
}

@media (max-width:375px){
  .hero-h1{font-size:1.4rem}
  .page-hero h1{font-size:1.3rem}
}
