* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Comic Sans MS', cursive;
    background-color: #fff4fb;
    color: #4d4d4d;
    overflow-x: hidden;
  }
  
  /* Lace border wrapper */
  .lace-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    border: 8px double #ffb6c1; /* cute pink double border */
    border-radius: 24px;
    background-color: white;
    box-shadow: 5px 5px 15px rgba(255, 182, 193, 0.3);
  }
  
  /* Slide-out edge navbar */
  .side-navbar {
    position: fixed;
    top: 0;
    left: -140px;
    width: 140px;
    height: 100%;
    background-color: #ffd9ec;
    transition: left 0.3s ease;
    z-index: 10;
  }
  
  .side-navbar:hover {
    left: 0;
  }
  
  .side-navbar ul {
    list-style: none;
    padding: 20px;
  }
  
  .side-navbar ul li a {
    text-decoration: none;
    color: #ff69b4;
    display: block;
    margin: 10px 0;
  }
  
  /* Header */
  .image-header img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #ffb6c1;
  }
  
  /* Divider with scrolling text and spinning gifs */
  .divider {
    background-color: #ffe0f0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px dashed #ff69b4;
    border-bottom: 2px dashed #ff69b4;
  }
  
  .scrolling-text {
    animation: scrollText 12s linear infinite;
    white-space: nowrap;
    flex-grow: 1;
    text-align: center;
    font-size: 1.2rem;
    color: #ff69b4;
  }
  
  @keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }
  
  .spin {
    width: 24px;
    height: 24px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Layout grid */
  .main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .site-log, .about, .chatbox, .music {
    background-color: #ffffff;
    border: 2px solid #ffd6e7;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 2px 2px 5px #ffdaf0;
  }
  
  /* Music section */
  .music .carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .music .album {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    margin: 0 10px;
  }
  
  .music button {
    background-color: #ffcbe2;
    border: none;
    font-size: 1.5rem;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .song-info {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
  }
  
  /* Footer */
  .bottom-box {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff0f8;
    border-top: 2px solid #ffc0db;
  }
  
  /* Sidebar box */
  .sidebar-box {
    position: fixed;
    top: 100px;
    left: 20px;
    width: 160px;
    background-color: #fff0f8;
    border: 2px solid #ffc0db;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 3px 3px 6px #ffddee;
    z-index: 100;
  }
  
  .sidebar-box h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ff69b4;
    text-align: center;
  }
  
  .sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .sidebar-box li {
    margin-bottom: 8px;
  }
  
  .sidebar-box a {
    text-decoration: none;
    color: #d63384;
    font-weight: bold;
    transition: color 0.2s;
  }
  
  .sidebar-box a:hover {
    color: #a31563;
  }
  
  /* Blog and posts */
  .blog-title {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 2rem;
    color: #ff69b4;
  }
  
  .blog-posts {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .post {
    background-color: #fff0f8;
    border: 2px solid #ffcbe2;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 5px #ffe3ef;
  }
  
  .post h2 {
    color: #ff88bb;
  }
  
  .date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
  }
  
  /* Main content inside lace wrapper */
  main {
    padding: 1rem;
  }