body {
    background-color: #F8D7E5;
    font-family: Verdana, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #3B2635;
}

.website {
    width: 800px;
    margin: 20px auto;
    background-color: #FFF8F2;
    border: 6px solid #5A2458;
    box-shadow: 5px 5px 15px #999;
}

.header {
    background: linear-gradient(#EFA9C5, #7A3E6D);
    color: white;
    text-align: center;
    padding: 20px;
    text-shadow: 2px 2px 3px #5A2458;
}

.header h1 {
    font-size: 42px;
    margin: 5px;
    font-family: "Comic Sans MS", cursive;
}

.header h2 {
    font-size: 22px;
}

.nav {
    background-color: #5A2458;
    text-align: center;
    padding: 10px;
}

.nav a {
    display: inline-block;
    background: linear-gradient(#F8D7E5, #EFA9C5);
    color: #5A2458;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    margin: 3px;
    border: 2px solid #FFF8F2;
    border-radius: 5px;
}

.nav a:hover {
    background-color: white;
}

.content {
    padding: 25px;
    text-align: center;
}

.content h2 {
    color: #7A3E6D;
    font-size: 28px;
}

.announcement {
    margin: 30px auto;
    padding: 20px;
    width: 60%;
    background-color: #F8D7E5;
    border: 3px dashed #7A3E6D;
    font-size: 20px;
    font-weight: bold;
}

.footer {
    background-color: #5A2458;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 12px;
}


.album-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.album {
    width: 190px;
    background: linear-gradient(#fffdfb, #f9dceb);
    border: 4px solid #7A3E6D;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    box-shadow: 6px 6px 12px rgba(0,0,0,.25);
    cursor: pointer;
    transition: all .25s ease;
}


.album:hover {
    transform: translateY(-8px) rotate(-2deg) scale(1.04);
    box-shadow: 10px 12px 20px rgba(0,0,0,.35);
}

.album h3 {
    margin: 15px 0 10px;
    color: #5A2458;
    font-size: 20px;
}

.album p {
    font-size: 14px;
    color: #555;
}

.photo-placeholder {
    width: 120px;
    height: 90px;
    margin: 0 auto 15px;
    background: red;
    border: 10px solid lime;

}

.photo-placeholder::after {
    content: "Photo";
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #888;
    font-size: 14px;
}


.album-photo {
    width: 120px;
    height: 90px;
    object-fit: cover;
    background: white;
    padding: 8px 8px 22px 8px;
    border: 1px solid #ddd;
    box-shadow: 4px 4px 10px rgba(0,0,0,.25);
    margin-bottom: 18px;
    transform: rotate(-4deg);
    transition: transform .25s ease;
}

.album:hover {
    transform: translateY(-10px) scale(1.04) rotate(0deg);
    box-shadow: 12px 14px 24px rgba(0,0,0,.35);
}
.album-label {
    display: inline-block;
    background: #7A3E6D;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.album-story {
    font-style: italic;
    font-size: 13px;
    color: #7A3E6D;
    margin-top: 8px;
    margin-bottom: 12px;
}
.album:nth-child(1) {
    transform: rotate(-2deg);
}

.album:nth-child(2) {
    transform: rotate(1deg);
}

.album:nth-child(3) {
    transform: rotate(-1deg);
}
.visitor-counter {
    display: inline-block;
    margin: 25px auto;
    padding: 10px 18px;
    background: black;
    color: #00ff00;
    font-family: "Courier New", monospace;
    font-size: 20px;
    border: 3px inset #999;
    letter-spacing: 2px;
}
/* ---------- Music Player ---------- */

.music-player {
    margin: 35px auto;
    width: 340px;
    padding: 15px;
    text-align: center;
    background: #efe7ff;
    border: 3px ridge #b18be8;
    box-shadow: 3px 3px 0px #8c65c9;
}

.now-playing {
    margin-bottom: 12px;
    color: #5c3399;
    font-weight: bold;
    font-size: 15px;
}

#music-button {
    background: linear-gradient(#ffffff, #d7c6ff);
    border: 2px solid #7d5bbd;
    color: #4a267f;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: all .2s ease;
}

#music-button:hover {
    transform: scale(1.05);
    background: linear-gradient(#fff, #c6a7ff);
}

.music-playing {
    background: linear-gradient(#ffd4f2, #d6a4ff) !important;
}
/* ---------------------------------
   Homepage entrance
---------------------------------- */

/* ---------------------------------
   Anniversary hero
---------------------------------- */

.hero-section {
    position: relative;
    margin: 10px auto 28px;
    padding: 22px 18px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(
        135deg,
        #fff7ff,
        #eee5ff,
        #ffeafa
    );
    border: 4px double #9b65c9;
    box-shadow:
        4px 4px 0 #c4a5e8,
        inset 0 0 18px rgba(255, 255, 255, 0.9);
}

.hero-kicker {
    margin-bottom: 8px;
    color: #7944a4;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    margin: 8px 0;
    color: #5a2789;
    text-shadow:
        1px 1px 0 #ffffff,
        2px 2px 0 #d4b7f2;
    transition:
        transform 0.5s ease,
        text-shadow 0.5s ease;
}

.hero-subtitle {
    color: #965a8e;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero-section.hero-active .hero-title {
    animation: hero-glow 1.3s ease;
}

@keyframes hero-glow {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.06);
        text-shadow:
            0 0 5px #ffffff,
            0 0 12px #dc95ff,
            0 0 20px #ff9bdc;
    }

    100% {
        transform: scale(1);
    }
}


/* ---------------------------------
   Retro messenger popup
---------------------------------- */

.retro-popup {
    position: fixed;
    right: 24px;
    bottom: 24px;

.retro-popup.show {
    bottom: 24px;
}

.retro-popup-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 7px 6px 10px;
    color: #ffffff;
    background: linear-gradient(
        to right,
        #174793,
        #5685db
    );
    font-size: 13px;
    font-weight: bold;
}

.popup-x {
    width: 22px;
    height: 22px;
    padding: 0;
    color: #ffffff;
    background: #d94c4c;
    border: 1px solid #ffffff;
    font-size: 17px;
    font-weight: bold;
    line-height: 18px;
    cursor: pointer;
}

.retro-popup-body {
    padding: 12px;
    background: #edf3ff;
}

.buddy-status {
    margin-bottom: 9px;
    padding: 7px;
    color: #29416a;
    background: #ffffff;
    border: 1px solid #9cb3d9;
    font-size: 12px;
    font-weight: bold;
}

.online-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 5px;
    background: #38b54a;
    border: 1px solid #21782d;
    border-radius: 50%;
}

.instant-message {
    padding: 12px;
    color: #222222;
    background: #ffffff;
    border: 1px solid #9cb3d9;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.instant-message p {
    margin: 8px 0;
}

.popup-reminder {
    color: #7d379b;
    font-weight: bold;
}

#close-popup-button {
    display: block;
    margin: 12px auto 0;
    padding: 7px 20px;
    color: #ffffff;
    background: linear-gradient(
        #668ed7,
        #315da9
    );
    border: 2px outset #93abe0;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
}

#close-popup-button:active {
    border-style: inset;
}


/* ---------------------------------
   Pixel sparkle burst
---------------------------------- */

#sparkle-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 9998;
}

.pixel-sparkle {
    position: absolute;
    color: #9c52c7;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    text-shadow:
        0 0 4px #ffffff,
        0 0 8px #f0b7ff;
    animation: pixel-sparkle-animation 1.8s ease-out forwards;
}

@keyframes pixel-sparkle-animation {

    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.3) rotate(0deg);
    }

    35% {
        opacity: 1;
        transform: translateY(0) scale(1.2) rotate(90deg);
    }

    100% {
        opacity: 0;
        transform: translateY(-45px) scale(0.6) rotate(220deg);
    }
}


/* ---------------------------------
   Mobile popup adjustment
---------------------------------- */

@media screen and (max-width: 600px) {

    .retro-popup {
        right: 12px;
        width: calc(100% - 24px);
        max-width: none;
    }

    .retro-popup.show {
        bottom: 12px;
    }

    .hero-title {
        font-size: 21px;
    }
}
/* ---------------------------------
   AOL connection screen
---------------------------------- */

#connection-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 26, 54, 0.72);
    z-index: 10000;
    transition: opacity 0.4s ease;
}

#connection-screen.connection-complete {
    opacity: 0;
    pointer-events: none;
}

.connection-box {
    width: 330px;
    max-width: calc(100% - 40px);
    padding: 5px;
    background: #d4d0c8;
    border: 3px outset #ffffff;
    box-shadow: 7px 7px 18px rgba(0, 0, 0, 0.45);
    font-family: Tahoma, Arial, sans-serif;
}

.connection-title {
    padding: 6px 8px;
    color: white;
    background: linear-gradient(
        to right,
        #173b87,
        #628bd2
    );
    font-size: 13px;
    font-weight: bold;
}

.connection-message {
    padding: 20px 12px 12px;
    color: #222222;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.connection-progress {
    height: 20px;
    margin: 4px 14px 12px;
    padding: 2px;
    overflow: hidden;
    background: white;
    border: 2px inset #eeeeee;
}

#connection-progress-bar {
    width: 0;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        #244fa3 0,
        #244fa3 12px,
        #5f87d7 12px,
        #5f87d7 15px
    );
    transition: width 1.2s linear;
}

.connection-status {
    padding: 0 12px 14px;
    color: #555555;
    font-size: 11px;
    text-align: center;
}