body {
  background-color: #0f1220;
  color: #f0f0f0;
  font-family: monospace;
  max-width: 800px;
  margin: auto;
  padding: 24px;
}

.full-line {
  width: 100vw;                 /* full screen width */
  height: 5px;
  background-color: #646464;
  margin-left: calc(-50vw + 50%);
}
.half-line{
    width: 27vw; 
    height: 5px;
  background-color: #acbafa;
  padding:0 auto;
  margin: auto;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 30px;
  font-size: 30px;
    transition: color 0.3s ease;
      transition: font-size 0.3s ease;
}

nav a:hover{
  color: #40c55d;
  font-size: 35px;
}

.site-header {
  text-align: center;
  margin-bottom: 48px;
}

.site-header h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  margin-bottom: 10px;
}

.tagline {
  opacity: 0.7;
  font-size: 20px;
}

.devlog {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.devlog p{
  font-size: 17px;
}

.devlog h2 {
  margin-bottom: 6px;
}

.date {
  font-size: 0.85rem;
  opacity: 0.6;
}

a {
  color: #7dd3fc;
  text-decoration: none;
  font-size: 15px;
  transition: font-size 0.3s ease;
}

a:hover {
  text-decoration: underline;
  font-size: 18px;
}

.post-title {
  margin-top: 20px;
}

.post-content {
  line-height: 1.7;
  margin-top: 20px;
  font-size: 18px;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
}

footer {
  text-align: center;
  margin-top: 60px;
  opacity: 0.5;
}
.support-me {
  text-align: center;
}

.support-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #29abe0;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.support-btn:hover {
  opacity: 0.85;
}
.comment-note {
  opacity: 0.6;
  font-size: 0.9rem;
}
 .Privacy-Policy{
  font-size: 15px;
  color: white;
  transition: color 0.2s ease;
      transition: font-size 0.2s ease;
 }
  .Privacy-Policy:hover{
  font-size: 16px;
  color:#7dd3fc;
}
 .Socials img{
  width: 30px;
  height: auto;
}

/* Giscus comment box spacing */
.giscus {
  margin-top: 30px;
}

/* Highlight maintainer (YOU) replies */
.giscus .gsc-comment-box,
.giscus .gsc-comment {
  border-radius: 8px;
}

/* Dev replies (repo owner / maintainer) */
.giscus .gsc-comment[data-author-association="OWNER"],
.giscus .gsc-comment[data-author-association="MEMBER"] {
  background-color: rgba(125, 211, 252, 0.08);
  border-left: 4px solid #7dd3fc;
  padding-left: 12px;
}
.tags {
  margin: 8px 0 12px;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tag colors */
.tag.feature {
  background-color: rgba(125, 211, 252, 0.15);
  color: #7dd3fc;
}

.tag.update {
  background-color: rgba(134, 239, 172, 0.15);
  color: #86efac;
}

.tag.bug {
  background-color: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.tags-btn button{
 background-color: rgba(255,255,255,0.1);
 color: white;
 border: none;
 padding: 10px 20px;
 cursor: pointer;
 border-radius: 5px;
 margin: 5px;
 font-size: 15px;
 transition: font-size 0.3s ease;
 transition: color 0.1s ease;
}

.tags-btn button:hover{
  font-size: 16px;
  color:#7dd3fc;
}
.Preview-Images{
  width: 200px;
  height: auto;
}
.Display-Images{
  width: 600px;
  height: auto;
}
body {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.loaded {
  opacity: 1;
  transform: translateY(0);
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 640px; /* optional max width */
  margin: 20px auto; /* center the video and add spacing */
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}
/* MOBILE NAV STACK */
@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;  /* stack links vertically */
    align-items: center;     /* center horizontally */
    gap: 12px;               /* vertical spacing between links */
  }

  nav a {
    margin: 0;               /* remove horizontal margin */
    font-size: 18px;         /* optional: smaller font on mobile */
  }
}
/* Make lines longer on mobile */
@media (max-width: 768px) {


  .half-line {
    width: 50vw;  /* wider than before */
  }
}

@media (max-width: 480px) {


  .half-line {
    width: 70vw;  /* make half-line wider for tiny screens */
  }
}
/* ===========================
   GENERAL MOBILE ADJUSTMENTS
=========================== */

/* Small devices: tablets and mobile */
@media (max-width: 768px) {

  body {
    padding: 16px; /* smaller padding */
    max-width: 100%; /* full width on mobile */
  }

  .post-title {
    font-size: 1.6rem; /* slightly smaller title */
  }

  .post-content {
    font-size: 16px; /* smaller text */
    line-height: 1.6;
  }

  .Display-Images {
    width: 100%; /* scale image to container width */
    max-width: 400px; /* optional max-width */
    height: auto;
    margin: 20px auto; /* center image */
    display: block;
  }

  .back-link {
    font-size: 14px; /* smaller back link */
  }

  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* smaller gap for tags */
  }

  .tag {
    font-size: 0.65rem; /* smaller tag font */
    padding: 3px 6px;
  }

  .half-line {
    width: 50vw; /* wider on mobile */
  }
}

/* Extra small devices: phones */
@media (max-width: 480px) {

  body {
    padding: 12px; /* extra small padding */
  }

  .post-title {
    font-size: 1.4rem;
  }

  .post-content {
    font-size: 15px;
    line-height: 1.5;
  }

  .Display-Images {
    max-width: 300px; /* smaller image on tiny screens */
  }

  .back-link {
    font-size: 13px;
  }

  .half-line {
    width: 70vw; /* even wider for very small screens */
  }
}

/* ===========================
   NAVIGATION MOBILE STACK
=========================== */
@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column; /* vertical stack */
    align-items: center;
    gap: 12px;
  }

  nav a {
    margin: 0;
    font-size: 18px;
  }
}

/* ===========================
   IMAGE AND CONTENT CENTERING
=========================== */
.post-content img {
  display: block;
  margin: 20px auto;
}

/* ===========================
   FOOTER MOBILE
=========================== */
footer {
  font-size: 13px;
  margin-top: 40px;
}
