body {
    margin: 0;
    font-family: "Verdana", Geneva, sans-serif;
    background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
    background-color: #010123;
    color: white;
}

.wrapper {
    width: 900px;
    margin: 60px auto;
    background-color: #000000;
    border: 6px double #ff00cc;
    box-shadow: 0 0 25px #ff0080;
}

.site-header {
    text-align: center;
    padding: 20px;
    border-bottom: 4px solid #ff00cc;
}

.site-header h1 {
    color: cyan;
    text-shadow: 2px 2px magenta;
    margin: 0;
}

.tagline {
    font-size: 14px;
    color: hotpink;
    margin-top: 5px;
}

.main-section {
    display: flex;
}

.sidebar {
    width: 220px;
    background-color: #000000;
    padding: 20px;
    border-right: 4px solid #ff00cc;
}

.sidebar h2 {
    text-align: center;
    font-size: 16px;
    margin-top: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin: 12px 0;
}

.sidebar a {
    color: rgb(0, 213, 255);
    text-decoration: none;
    font-weight: bold;
}

.sidebar a:hover {
    color: hotpink;
    text-decoration: underline;
}

.content {
    flex: 1;
    padding: 25px;
}

.content-box {
    border: 3px groove #ff00ee;
    padding: 20px;
    box-shadow: 0 0 15px #ff0080 inset;
}

.content-box section {
    border: 3px double hotpink;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px #ff00cc inset;
    background-color: #0a001a;
    position: relative;
    overflow: hidden;
}

.content-box section h2 {
    position: absolute;
    top: 10px;
    white-space: nowrap;
    color: cyan;
    text-shadow: 2px 2px magenta;
    animation: floatHeader 10s linear infinite;
    margin: 0;
    left: 100%;
}

.blinkys h2 { animation-duration: 5s; }
.stamps h2 { animation-duration: 9s; }
.buttons h2 { animation-duration: 11s; }
.favorite-links h2 { animation-duration: 14s; }

@keyframes floatHeader {
    0% { left: 100%; }
    100% { left: -100%; }
}

.blinky-grid, .stamp-grid, .button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 50px;
}

.blinky-grid img, .stamp-grid img, .button-grid img {
    width: 80px;
    height: 31px;
    object-fit: contain;
    image-rendering: pixelated;
    transition: transform 0.3s, filter 0.3s;
}

.blinky-grid img:hover, .stamp-grid img:hover, .button-grid img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px hotpink);
}

.favorite-links ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 50px;
}

.favorite-links li a {
    color: cyan;
    font-weight: bold;
    text-decoration: none;
    padding: 6px 12px;
    border: 2px solid hotpink;
    border-radius: 8px;
    transition: all 0.3s;
}

.favorite-links li a:hover {
    color: hotpink;
    border-color: cyan;
    background-color: rgba(255,0,255,0.2);
}

footer {
    width: 100%;
    background: linear-gradient(90deg, #1c0335, #780e35, #260248);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
    position: fixed;
}

.divider {
    text-align: center;
    margin: 20px 0;
}

.aboutme {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.aboutme li::before {
    content: "✮ ";
    color: hotpink;
    margin-right: 6px;
}

.aboutme li {
    margin: 6px 0;
    line-height: 1.5;
}
.sparkle {
    position: fixed;
    pointer-events: none;
    font-size: 18px;
    color: hotpink;
    mix-blend-mode: screen;
    animation: sparkle-fade 0.8s forwards;
    z-index: 9999;
}

@keyframes sparkle-fade {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(10px, -10px) scale(1.5);
    }
}
.pics {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    grid-template-rows: repeat(6, 120px); /* 6 rows with fixed height */
    gap: 10px; /* space between images */
    justify-items: center; /* center images in each cell */
    padding: 20px;
}

.pics img {
    width: 100%; /* fill grid cell */
    height: 100%; /* fill the row height */
    object-fit: cover; /* crop or scale nicely */
    border: 2px solid hotpink;
    box-shadow: 0 0 10px magenta;
    image-rendering: pixelated; /* if using pixel art GIFs */
}
