/* =================================
   PIXEL PLAY BLOG GLOBAL STYLES
================================= */

body{
  margin:0;
  font-family:"Montserrat", sans-serif;
  color:#fff;
  background: linear-gradient(
    180deg,
    #6d3ed6 0%,
    #5a33c0 40%,
    #1a1033 100%
  );
}

/* ===============================
   TOP BAR
=============================== */

.blog-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 40px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.blog-brand{
  font-family:"Press Start 2P", sans-serif;
  font-size:14px;
  letter-spacing:0.08em;
}

.home-btn{
  background:#ffb04a;
  color:#000;
  padding:10px 18px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  font-size:12px;
  transition:0.2s ease;
}

.home-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

/* ===============================
   SECTION LAYOUT
=============================== */

.blog-section{
  padding:120px 20px 100px;
}

.container{
  max-width:1100px;
  margin:auto;
}

.blog-header{
  text-align:center;
  margin-bottom:50px;
}

.blog-title{
  font-family:"Press Start 2P", sans-serif;
  font-size:34px;
  margin-bottom:14px;
}

.blog-sub{
  font-weight:700;
  opacity:0.9;
  font-size:15px;
}

/* ===============================
   SEARCH
=============================== */

.blog-search-wrap{
  margin:40px auto 60px;
  max-width:700px;
}

#blogSearch{
  width:100%;
  padding:16px 20px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.15);
  background:rgba(0,0,0,0.35);
  color:#fff;
  font-weight:700;
  font-size:14px;
  outline:none;
  backdrop-filter:blur(10px);
}

#blogSearch::placeholder{
  color:rgba(255,255,255,0.6);
}

/* ===============================
   BLOG GRID
=============================== */

.blog-grid{
  display:grid;
  gap:40px;
}

/* ===============================
   BLOG CARD
=============================== */

.blog-card{
  background:rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:24px;
  padding:32px;
  backdrop-filter:blur(16px);
  transition:0.25s ease;
}

.blog-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,0.25);
}

/* Date */

.blog-date{
  font-size:12px;
  font-weight:700;
  letter-spacing:0.08em;
  opacity:0.7;
  margin-bottom:10px;
}

/* Title */

.blog-content h3{
  font-size:20px;
  font-weight:900;
  margin:0 0 14px;
}

/* Excerpt */

.blog-content p{
  font-size:15px;
  line-height:1.7;
  opacity:0.85;
  margin-bottom:24px;
}

/* Button */

.blog-btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:16px;
  background:#ffb04a;
  color:#0b0b12;
  font-weight:900;
  font-size:13px;
  text-decoration:none;
  letter-spacing:0.05em;
  transition:0.2s ease;
}

.blog-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(0,0,0,0.4);
}

/* ===============================
   SINGLE POST PAGE
=============================== */

.blog-hero{
  text-align:center;
  padding:120px 20px 60px;
}

.blog-hero h1{
  font-family:"Press Start 2P", sans-serif;
  font-size:26px;
  margin-bottom:18px;
}

.blog-post-section{
  padding:60px 20px 120px;
}

.blog-post-container{
  max-width:800px;
  margin:auto;
  background:rgba(0,0,0,0.4);
  padding:40px;
  border-radius:24px;
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,0.1);
}

.blog-post-container img{
  width:100%;
  border-radius:18px;
  margin:30px 0;
}

.blog-post-container p{
  line-height:1.8;
  margin-bottom:18px;
  opacity:0.9;
}

/* ===============================
   EMPTY STATE
=============================== */

.empty{
  text-align:center;
  opacity:0.8;
  margin-top:40px;
}

/* ===============================
   FOOTER
=============================== */

footer{
  padding:40px 20px;
  background:#0b0b12;
}

.footer-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  opacity:0.8;
  font-weight:700;
  font-size:13px;
}

/* ===============================
   ADMIN (unchanged)
=============================== */

.admin-page{
  background:#0b0b0f;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
}

.admin-card{
  width:100%;
  max-width:420px;
  padding:50px 40px;
  border-radius:28px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  backdrop-filter:blur(12px);
  box-shadow:0 30px 80px rgba(0,0,0,0.5);
  text-align:center;
}

.admin-title{
  font-family:"Press Start 2P",sans-serif;
  font-size:18px;
  color:#7a46d6;
  margin-bottom:10px;
}

.admin-input{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:2px solid rgba(255,255,255,0.12);
  background:#111;
  color:#fff;
  font-weight:700;
  margin-bottom:18px;
  outline:none;
}

.admin-input:focus{
  border-color:#7a46d6;
  box-shadow:0 0 0 3px rgba(122,70,214,0.2);
}

.admin-btn{
  width:100%;
  padding:14px;
  border-radius:14px;
  border:none;
  background:#7a46d6;
  color:#fff;
  font-weight:900;
  letter-spacing:0.06em;
  cursor:pointer;
}

.admin-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(122,70,214,0.4);
}

.blog-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===============================
   SINGLE POST STYLE
=============================== */

.blog-single {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  padding: 50px;
  border-radius: 24px;
}

.blog-single h1 {
  font-family: "Press Start 2P";
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-single .blog-date {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 30px;
}

.blog-single img.blog-featured {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 40px;
}

.blog-single .blog-content {
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.95;
}

/* ===============================
   SUBSCRIBE SECTION
=============================== */

.subscribe-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(122,70,214,0.18), rgba(255,176,74,0.08));
  border-top: 1px solid rgba(255,255,255,0.08);
}

.subscribe-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-icon {
  font-size: 38px;
  margin-bottom: 16px;
}

.subscribe-title {
  font-family: "Press Start 2P", sans-serif;
  font-size: 18px;
  margin: 0 0 14px;
  color: #fff;
}

.subscribe-sub {
  font-size: 15px;
  opacity: 0.75;
  margin: 0 0 32px;
  line-height: 1.6;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sub-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.sub-input:focus {
  border-color: #7a46d6;
}

.sub-input::placeholder {
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}

.sub-btn {
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: #ffb04a;
  color: #0b0b12;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sub-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,176,74,0.35);
}

.subscribe-msg {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}
