@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Press+Start+2P&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --panel:rgba(235,242,255,.90);
  --panel-soft:rgba(245,248,255,.82);
  --border:#a7b8d4;
  --text:#32445e;
  --title:#5677aa;
  --accent:#7ea3e8;
}

body{
  padding:18px;
  font-family:"JetBrains Mono", monospace;
  background:
    linear-gradient(rgba(20,30,45,.82), rgba(20,30,45,.82)),
    url("https://i.pinimg.com/originals/1e/7d/0f/1e7d0fb4f86f7cb5f59f9c0e4d8f31f6.gif");
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  color:var(--text);
  overflow-x:hidden;
}

.container{
  max-width:1450px;
  margin:auto;
  display:grid;
  grid-template-columns:250px 1fr 250px;
  gap:14px;
  align-items:start;
}

.left-sidebar,
.main-content,
.right-sidebar{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.box{
  background:var(--panel);
  border:1px solid var(--border);
  padding:14px;
  backdrop-filter:blur(8px);
  box-shadow:
    0 0 14px rgba(0,0,0,.16),
    inset 0 0 2px rgba(255,255,255,.45);
}

.mini-box{
  background:var(--panel-soft);
  border:1px solid #bcc9dd;
  padding:14px;
}

h1,h2,h3{
  color:var(--title);
  letter-spacing:1px;
}

h2,h3{
  margin-bottom:10px;
}

h1{
  font-family:"Press Start 2P", cursive;
  font-size:40px;
  line-height:1.5;
  text-align:center;
  margin-bottom:20px;
  color:#5c81be;
  text-shadow:
    2px 2px 0 rgba(255,255,255,.55),
    0 0 12px rgba(126,163,232,.30);
  padding-bottom:16px;
  border-bottom:1px solid rgba(120,140,180,.25);
}

p,a,span,li{
  font-size:14px;
  line-height:1.7;
  color:var(--text);
}

a{
  text-decoration:none;
  transition:.2s ease;
}

a:hover{
  color:var(--accent);
  transform:translateX(2px);
}

.left-sidebar a{
  display:block;
  text-align:center;
  padding:6px 0;
  border-bottom:1px solid rgba(100,120,160,.15);
}

img{
  display:block;
  max-width:100%;
}

.profile{
  width:100%;
  height:220px;
  object-fit:cover;
  border:1px solid #b0c0da;
}

.banner{
  width:100%;
  height:320px;
  object-fit:cover;
  border:1px solid #b0c0da;
}

.mood{
  width:100%;
  height:170px;
  object-fit:cover;
  border:1px solid #b0c0da;
  margin-bottom:10px;
}

.blogpost{
  background:rgba(255,255,255,.35);
  border-left:3px solid #7f9ed1;
  padding:12px;
  margin-bottom:14px;
  transition:.2s ease;
}

.blogpost:hover{
  background:rgba(255,255,255,.50);
  transform:translateY(-2px);
}

.favorites-grid{
  padding:18px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.favorites-grid p{
  padding:14px 16px;
  background:rgba(255,255,255,.25);
  border:1px solid rgba(170,185,215,.4);
  border-radius:10px;
  line-height:1.8;
}

.stamps-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px;
}

.stamp{
  width:88px;
  height:31px;
  object-fit:cover;
  image-rendering:pixelated;
  border-radius:3px;
  transition:.2s ease;
}

.stamp:hover{
  transform:scale(1.05);
}

.music-player{
  background:linear-gradient(180deg, rgba(255,255,255,.58), rgba(225,235,255,.82));
  border:1px solid #aab8d1;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:12px;
  overflow:hidden;
}

.music-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.track-wrapper{
  flex:1;
  overflow:hidden;
  position:relative;
  height:14px;
}

.track-name{
  display:flex;
  width:max-content;
  gap:40px;
  white-space:nowrap;
  animation:marquee 12s linear infinite;
}

.track-name span{
  font-size:11px;
  color:#4d6691;
}

@keyframes marquee{
  from{transform:translateX(0);}
  to{transform:translateX(calc(-50% - 20px));}
}

.music-controls{
  display:flex;
  gap:6px;
}

.player-btn{
  width:30px;
  height:30px;
  border:none;
  border-radius:7px;
  background:#dce7ff;
  color:#35527d;
  cursor:pointer;
  transition:.2s ease;
}

.player-btn:hover{
  background:#bfd4ff;
}

.progress-container,
.volume-container{
  display:flex;
  align-items:center;
  gap:8px;
}

.time{
  width:34px;
  font-size:10px;
  color:#64799d;
}

#progress-bar,
#volume-slider{
  appearance:none;
  width:100%;
  height:6px;
  border-radius:999px;
  background:linear-gradient(to right, #7ea3e8 0%, #7ea3e8 50%, rgba(170,185,215,.35) 50%, rgba(170,185,215,.35) 100%);
  cursor:pointer;
}

#progress-bar::-webkit-slider-thumb,
#volume-slider::-webkit-slider-thumb{
  appearance:none;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#edf4ff;
  border:2px solid #6f92ce;
  box-shadow:0 0 8px rgba(126,163,232,.45);
  cursor:pointer;
}

.guestbook-box{
  background:rgba(235,242,255,.78);
  border:1px solid rgba(167,184,212,.9);
  padding:14px;
  margin-top:30px;
  border-radius:14px;

  box-shadow:
    inset 0 0 10px rgba(255,255,255,.25),
    0 8px 20px rgba(0,0,0,.08);

  backdrop-filter: blur(6px);

  transition:.3s ease;
  position:relative;
  overflow:hidden;
}

.guestbook-box:hover{
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 12px rgba(255,255,255,.35),
    0 12px 25px rgba(126,163,232,.18);
}

.guestbook-box h2{
  margin-bottom:10px;
  font-size:16px;
  letter-spacing:2px;
  color:var(--title);
  position:relative;
}

.guestbook-box h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:40px;
  height:2px;
  background:var(--accent);
  box-shadow:0 0 8px var(--accent);
}

iframe[src*="cbox"]{
  width:100% !important;
  height:240px !important;
  min-height:240px !important;

  border-radius:12px;
  border:1px solid rgba(170,184,209,.6) !important;

  background:rgba(240,245,255,.65) !important;

  box-shadow:
    inset 0 0 12px rgba(255,255,255,.25),
    0 6px 14px rgba(0,0,0,.06);

  transition:.3s ease;
}

iframe[src*="cbox"]:hover{
  transform: scale(1.01);
  box-shadow:
    inset 0 0 14px rgba(255,255,255,.35),
    0 10px 20px rgba(126,163,232,.15);
}

.guestbook-box::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle, rgba(126,163,232,.12), transparent 60%);
  animation: floatGlow 8s ease-in-out infinite;
  pointer-events:none;
}

@keyframes floatGlow{
  0%,100%{ transform:translateY(0); opacity:.6; }
  50%{ transform:translateY(-10px); opacity:1; }
}

iframe[src*="cbox"]::-webkit-scrollbar{
  width:8px;
}

iframe[src*="cbox"]::-webkit-scrollbar-track{
  background:rgba(210,220,235,.4);
}

iframe[src*="cbox"]::-webkit-scrollbar-thumb{
  background:rgba(126,163,232,.6);
  border-radius:10px;
}

.star{
  position:absolute;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#dce8ff;
  pointer-events:none;
  animation:fade .6s linear forwards;
}

@keyframes fade{
  from{opacity:1; transform:scale(1);}
  to{opacity:0; transform:translateY(-10px) scale(0);}
}

::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-track{
  background:#d4ddec;
}

::-webkit-scrollbar-thumb{
  background:#7e95bb;
}

@media(max-width:1000px){
  .container{
    grid-template-columns:1fr;
  }

  body{
    padding:10px;
  }

  h1{
    font-size:28px;
  }

  .banner{
    height:240px;
  }
}

.quote{
  width:100%;
  text-align:center;
  display:flex;
  justify-content:center;
  align-items:center;
}

ul{
  padding:16px 18px;
  margin-top:10px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(170,185,215,.35);
  border-radius:10px;
}

li{
  padding:8px 12px;
  margin-bottom:6px;
  line-height:1.8;
  color:var(--text);
  transition:.2s ease;
}

li:hover{
  transform:translateX(3px);
  border-left:2px solid var(--accent);
}

.favorites-grid{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.favorites-grid img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid var(--border);
  filter:saturate(0.9) contrast(1.05);
  transition:.2s ease;
}

.favorites-grid img:hover{
  transform:scale(1.06);
  filter:saturate(1.2) contrast(1.1);
}

.post-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:10px 0 14px 0;
  flex-wrap:wrap;
  gap:10px;
}

.tags{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.tag{
  font-size:10px;
  padding:3px 8px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.35);
  border-radius:999px;
  color:var(--text);
  transition:.2s ease;
}

.tag:hover{
  transform:translateY(-1px);
  border-color:var(--accent);
  color:var(--accent);
}

.rating{
  font-size:11px;
  color:var(--text);
  opacity:.9;
}

.tag-filter{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}

.tag-btn{
  font-family:"JetBrains Mono", monospace;
  font-size:11px;
  padding:4px 10px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.35);
  cursor:pointer;
  transition:.2s ease;
  border-radius:999px;
}

.tag-btn:hover{
  border-color:var(--accent);
  color:var(--accent);
  transform:translateY(-1px);
}

.tag-btn.active{
  background:var(--accent);
  color:white;
  border-color:var(--accent);
}
.favorites-grid{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-grid{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.pair{
  display:flex;
  gap:14px;
  align-items:stretch;
}

.pair p{
  flex:1;
  padding:12px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(170,185,215,.35);
  border-radius:10px;
}

.pair img{
  width:180px;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid var(--border);
  flex-shrink:0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.social-btn {
    width: 90px;
    height: 90px;
    border: 2px solid #a8bce8;
    background: rgba(168, 188, 232, 0.15);
    color: #a8bce8;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 0.2s;
    font-size: 14px;
}

.social-btn:hover {
    background: #a8bce8;
    color: #ffffff;
    box-shadow: 0 0 15px #a8bce8;
}