/* ============================================
   ENARGEIA — Collections
   Composition book sticker bomb
   ============================================ */

/* --- Composition book marble background --- */

.collections-page {
    min-height: 100vh;
    background-color: #1a1a1a;
    background-image: url('/assets/images/backgrounds/compnotebookbg.jpg');
    background-repeat: repeat;
    background-size: auto;
    overflow-x: hidden;
    position: relative;
}


/* --- Composition book label --- */

.comp-label {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -;
    pointer-events: none;
}

.comp-label-inner {
    background: #f5f0e8;
    border: 2px solid #1a1a1a;
    padding: 10px 40px;
    text-align: center;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Ruled lines on the label */
.comp-label-inner::before {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    height: 0;
    border-top: 1px solid rgba(100, 140, 200, 0.3);
    border-bottom: 1px solid rgba(100, 140, 200, 0.3);
    transform: translateY(-2px);
    pointer-events: none;
}

.comp-label-title {
    font-family: 'Vintage-Erotique';
    font-size: 4rem;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

.comp-label-sub {
    font-family: 'Tory-Gothic-Caps', 'MedievalSharp', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: #666;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* --- Nav --- */

.collections-nav {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
}

.collections-nav .return-link {
    font-family: 'Tory-Gothic-Caps', 'MedievalSharp', cursive;
    font-size: 1.1rem;
    color: #ff7eb3;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(255, 126, 179, 0.3);
    transition: color 0.3s, text-shadow 0.3s;
}

.collections-nav .return-link:hover {
    color: #f472b6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(244, 114, 182, 0.5);
}

/* --- Sticker Surface --- */

.sticker-surface {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
    padding: 100px 20px 60px 20px;
}

/* --- Individual items --- */

.collection-item[src*="placeholder"] {
    visibility: hidden;
}

.collection-item {
    border: none;
    outline: none;
    background: none;
}

.collection-item {
    position: absolute;
    display: block;
    transition: transform 0.2s ease, z-index 0s;
    image-rendering: auto;
    filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.4));
}

.collection-item:hover {
    z-index: 999 !important;
    transform: var(--base-rotation) scale(1.3) !important;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.6));
}

/* Stamps: uniform, slight white border like a real stamp */
.collection-item.item-stamp {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

/* Stickers: variable size, transparent, drop shadow */
.collection-item.item-sticker {
    /* Size set by JS within range */
    width: auto;
    height: auto;
}

/* Gifs: variable size, transparent */
.collection-item.item-gif {
    /* Size set by JS within range */
    width: auto;
    height: auto;
}

.collection-item.item-button {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.collection-item.item-blinkie {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.collection-item.item-userbox {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.collection-item.item-trinket {
    /* Variable size 70-160px, transparent, standard drop shadow */
}