  *{ box-sizing: border-box; }


body {
  font-family: rainyhearts;
  font-size: 1rem;
  cursor: url('assets/cursors/pulsingheart.gif'), auto;
  background-image: url('assets/backgrounds/girly.gif');
  margin: 0;
  color: indigo;
  display: flex;
  min-height: 100vh;
  }


  @font-face {
font-family: pretty;
src: url(assets/fonts/prettyontheinside.ttf);
}

@font-face {
font-family: rainyhearts;
src: url(assets/fonts/rainyhearts.ttf);
}

  main{
    flex:1;
    padding: 20px 30px;
  }

  .page-title {
    text-align:center;
    color:indigo;
    margin: 4px 0 0 0;
    font-size: 2em;
  }

   .gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
  }
 
  .art-card{
    background: var(--white);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 14px rgba(255, 158, 199, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid var(--pink-mid);
    position: relative;
  }

 .art-card .new-badge{
    position: absolute;
    top: 4px;
    left: 4px;
    width: 40px;
    z-index: 2;
    pointer-events: none;
  }
  
  .art-card:hover{
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 10px 20px rgba(255, 158, 199, 0.4);
  }
 
  .art-card img{
    width:100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    display:block;
  }
 
  .art-card .caption{
    text-align:center;
    font-weight:600;
    font-size: 0.9em;
    padding: 8px 4px 4px 4px;
  }
 
  .under-construction{
    text-align:center;
    margin-top: 20px;
    color: indigo;
    font-size: 2em;
  }

  .lightbox-overlay{
    display:none;
    position: fixed;
    inset:0;
    background: rgba(255, 161, 224, 0.85);
    z-index: 1000;
    align-items:center;
    justify-content:center;
    padding: 20px;
  }
 
  .lightbox-overlay.open{ display:flex; }
 
  .lightbox-window{
    background: #c0c0c0;
    border: 3px outset #eee;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.6);
  }
 
  .fake-titlebar{
    background: linear-gradient(90deg, #000080, #1084d0);
    color:white;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    font-weight:bold;
    padding: 4px 6px;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
 
  .fake-titlebar button{
    background:#c0c0c0;
    border: 2px outset #eee;
    color:#000;
    font-weight:bold;
    font-size: 0.8em;
    width: 20px;
    height:20px;
    cursor:pointer;
    line-height:1;
  }
 
  .lightbox-body{
    padding: 16px;
    display:flex;
    flex-direction:column;
    align-items:center;
    background: #dedede;
  }
 
  .lightbox-body img{
    max-width: 75vw;
    max-height: 60vh;
    object-fit: contain;
    border: 2px inset #888;
    background:#fff;
  }
 
  .lightbox-body h3{
    margin: 12px 0 2px 0;
    color: #000066;
    font-size: 1.1em;
  }
 
  .lightbox-body p{
    margin:0;
    font-size: 0.85em;
    color:#333;
    text-align:center;
    max-width: 50ch;
  }
 
  .lightbox-controls{
    display:flex;
    gap: 10px;
    margin-top: 12px;
  }
 
  .lightbox-controls button{
    background:#c0c0c0;
    border: 2px outset #eee;
    padding: 4px 12px;
    font-family: rainyhearts;
    font-weight:bold;
    cursor:pointer;
  }
 
  .lightbox-controls button:active{
    border-style: inset;
  }

  :root{
    --pink-bg: #fff2f6;
    --pink-mid: #ffd6e6;
    --pink-deep: #ff9ec7;
    --pink-text: #7a3b52;
    --white: #fffafc;
  }

   .sidebar{
    width: 230px;
    flex-shrink:0;
    background: var(--white);
    border-right: 3px dashed var(--pink-mid);
    padding: 30px 20px;
    position: sticky;
    top:0;
    height:100vh;
    overflow-y: auto;
  }
 
  .sidebar h1{
    font-family:pretty;
    font-size: 6em;
    color: var(--pink-deep);
    margin: 0 0 4px 0;
    text-align:center;
  }
 
  .sidebar .tagline{
    text-align:center;
    font-size: 0.8em;
    color: var(--pink-text);
    opacity:0.7;
    margin-bottom: 30px;
  }
 
  .sidebar nav ul{
    list-style:none;
    padding:0;
    margin:0;
  }
 
  .sidebar nav li{ margin-bottom: 12px; }
 
  .sidebar nav a{
    display:block;
    text-decoration:none;
    color: var(--pink-text);
    background: var(--pink-bg);
    padding: 10px 14px;
    border-radius: 16px;
    font-weight:600;
    font-size: 0.95em;
    border: 2px solid transparent;
    transition: all 0.2s ease;
  }
 
  .sidebar nav a:hover,
  .sidebar nav a.active{
    background: var(--pink-mid);
    border-color: var(--pink-deep);
    transform: translateX(4px);
  }
 
  .sidebar .heart-divider{
    text-align:center;
    color: var(--pink-deep);
    margin: 25px 0;
    letter-spacing: 8px;
  }

  .corner-decoration {
  position: fixed;
  bottom: 0;
  left: 230px; 
  width: 300px; 
  pointer-events: none; 
  z-index: 1;
}