* { margin: 0; padding: 0; box-sizing: border-box; }
:root{
  --pink: #ff1493;
  --hotpink: #ff69b4;
  --light: #ffb6da;
  --magenta: #cc1177;
  --white: #ffffff;
}

body.home-v2 {
  background: var(--light);
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
body.home-v2::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('/images/playboyy.jpg');
  background-repeat: repeat;
  background-size: 60px 60px;
  opacity: 0.35;
  z-index: -1;
}

.user-info{
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 50;
}
.user-button{
  background: var(--white);
  border: 2px outset var(--pink);
  padding: 8px 15px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  color: var(--magenta);
  box-shadow: 1px 1px 4px rgba(204,17,119,0.3);
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.user-button:hover{
  background: var(--light);
  border-color: var(--magenta);
  transform: translateY(-1px);
}
.user-button:active{
  border: 2px inset var(--magenta);
  transform: translateY(0);
}

.header{
  background: linear-gradient(135deg, var(--pink), var(--hotpink));
  padding: 20px;
  text-align: center;
  margin: 20px auto;
  max-width: 800px;
  border: 3px outset var(--pink);
  box-shadow: 2px 2px 8px rgba(204, 17, 119, 0.4);
  border-radius: 8px;
}
.header h1{
  font-size: 2.5em;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(204,17,119,0.8);
  font-weight: bold;
  letter-spacing: 2px;
}

.main-container{
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.sidebar{
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-section{
  background: rgba(255, 182, 218, 0.8);
  border: 2px solid var(--pink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(204, 17, 119, 0.3);
}
.sidebar-header{
  background: linear-gradient(135deg, var(--pink), var(--magenta));
  color: var(--white);
  font-weight: bold;
  font-size: 14px;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.sidebar-content{ padding: 12px; background: rgba(255,255,255,0.9); }
.sidebar-text{ font-size: 11px; color: #666; margin-bottom: 10px; line-height: 1.3; }
.sidebar-tags{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sidebar-tag{
  background: linear-gradient(135deg, var(--pink), var(--hotpink));
  color: var(--white);
  font-size: 10px; font-weight: bold;
  padding: 4px 8px; border-radius: 12px;
  border: 1px solid var(--magenta);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  box-shadow: 1px 1px 3px rgba(204, 17, 119, 0.3);
  cursor: pointer; transition: all .2s ease;
}
.sidebar-tag:hover{
  background: linear-gradient(135deg, var(--magenta), var(--pink));
  transform: translateY(-1px);
  box-shadow: 1px 2px 4px rgba(204, 17, 119, 0.4);
}
.sidebar-list{ list-style: none; padding: 0; margin: 0; }
.sidebar-list li{
  font-size: 11px; color: #333;
  padding: 4px 0; border-bottom: 1px dotted var(--hotpink);
  display: flex; align-items: center;
}
.sidebar-list li:last-child{ border-bottom: none; }
.sidebar-list li::before{ content: '✨'; margin-right: 6px; font-size: 10px; }

.image-column{
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.image-item{
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
  border: 3px solid var(--pink);
  box-shadow: 0 3px 10px rgba(204, 17, 119, 0.3);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.image-item:hover{
  border-color: var(--magenta);
  box-shadow: 0 5px 15px rgba(204, 17, 119, 0.5);
  transform: scale(1.02);
}
.loading{
  text-align: center;
  padding: 20px;
  color: var(--magenta);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
  font-size: 1.2em;
}

@media (max-width: 768px){
  .main-container{ flex-direction: column; align-items: center; gap: 16px; }
  .sidebar{ width: 100%; max-width: 420px; flex-direction: row; flex-wrap: wrap; }
  .image-column{ width: 100%; }
}
