:root {
    --bg-blue: #7cdcf4;
    --border-green: #79d630;
    --neon-pink: #ff4df0;
    --yellow-bg: #fff851;
    --yellow-content: #ffea00;
    --link-blue: #0000ff;
    --text-black: #000000;
    --red-text: #ff0000;
    --dotted-pink: #ff8df5;
}

@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: url(gifs/62.jpeg);
    background-size: 1600px 2500px;
    background-repeat: no-repeat;  
    background-position: center; 
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    color: var(--text-black);
    position: relative;
    overflow-x: hidden;
}

a {
    color: var(--link-blue);
    text-decoration: underline;
}

/* Main Container */
.main-container {
    max-width: 850px;
    margin: 40px auto;
    background-color: #ffffff;
    border: 2px solid #ff4df0;
    animation: glow 2s ease-in-out infinite;
    border-color: var(--dotted-pink);
    position: relative;
    padding: 20px;
    z-index: 1;
    background-image: url('gifs/63.jpg');
    background-position: 0 0, 10px 10px;
    background-size: 900px 920px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

@keyframes glow {
    0% {
        border-color: #ff4df0;
        box-shadow: 0 0 5px rgba(255, 77, 240, 0.5);
    }
    50% {
        border-color: #ff9f4d;
        box-shadow: 0 0 20px rgba(255, 159, 77, 0.8);
    }
    100% {
        border-color: #ff4df0;
        box-shadow: 0 0 5px rgba(255, 77, 240, 0.5);
    }

/* Header Logo */
.logo-header {
    text-align: center;
    margin-bottom: 20px;
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.logo-text {
    font-family: 'Arial Rounded MT Bold', 'Comic Sans MS', cursive, sans-serif;
    font-size: 6rem;
    color: var(--border-green);
    text-shadow: 3px 3px 0px #fff, -3px -3px 0px #fff, 3px -3px 0px #fff, -3px 3px 0px #fff, 5px 5px 0px rgba(0,0,0,0.2);
    letter-spacing: -3px;
    transform: rotate(-2deg);
}

/* Floating Avatar */
.floating-avatar {
    position: absolute;
    top: 50px;
    left: -150px;
    width: 250px;
    height: 500px;
    z-index: 10;
}

.floating-avatar::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 20px;
    width: 200px;
    height: 300px;
    background: url('gifs/35.gif') no-repeat center center;
    background-size: contain;
    z-index: -1;
    filter: drop-shadow(0 0 10px var(--neon-pink));
}

.avatar-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.5));
}

/* Top Section */
.top-section {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
    margin-left: 110px; /* Make room for the avatar */
}

.welcome-box {
    flex: 2;
    background-color: var(--yellow-bg);
    border: 2px solid var(--border-green);
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
}

.welcome-text {
    flex: 1;
    color: white; /* Actual color is white inside */
    -webkit-text-stroke: 1px var(--neon-pink);
    font-family: 'Arial Black', sans-serif;
    font-size: 2.2rem;
    text-transform: lowercase;
    text-align: center;
    line-height: 1.1;
    text-shadow: 2px 2px 0px var(--neon-pink); /* Pink drop shadow */
}

.welcome-desc {
    flex: 2;
    text-align: center;
    font-size: 0.9rem;
}

.welcome-links {
    margin-top: 15px;
    font-weight: bold;
    font-family: 'Arial Black', sans-serif;
}
.welcome-links a {
    color: var(--link-blue);
    text-decoration: underline;
}

.fridge-box {
    flex: 1;
    border: 2px solid #ffba00;
    border-radius: 10px;
    background: linear-gradient(to bottom, #eeeeee, #cccccc);
    padding: 10px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.fridge-content {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
}
.fridge-content span {
    color: #ff8df5;
}
.fridge-name {
    margin-top: 20px;
    font-weight: bold;
    border-top: 2px dashed #999;
    padding-top: 5px;
}

/* Middle Section */
.middle-section {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    margin-left: 110px;
}

.song-box-wrapper {
    flex: 2.5;
}

.song-header {
    background: radial-gradient(ellipse at center, #ffd1fc 0%, #ffffff 70%);
    border: 2px dotted #8cc8ff;
    border-radius: 100px;
    padding: 15px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.song-title {
    color: var(--link-blue);
    background-color: white;
    font-family: 'Arial Black', sans-serif;
    font-size: 1.2rem;
    padding: 2px 10px;
    border: 1px solid var(--link-blue);
    margin-bottom: 5px;
    text-decoration: underline;
}

.pixel-cat {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--border-green);
    padding: 5px 15px;
    border-radius: 20px;
    border: 2px solid #5aa51f;
    margin-bottom: 10px;
}

.play-btn {
    background: #ff7be5;
    border: none;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.time {
    font-size: 0.8rem;
    font-family: Arial, sans-serif;
    color: #333;
}

.progress-bar {
    width: 150px;
    height: 12px;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #999;
}

.progress-fill {
    width: 30%;
    height: 100%;
    background: var(--yellow-bg);
}

.guestbook-text {
    font-size: 0.9rem;
    margin: 15px 0;
    line-height: 1.5;
    text-align: center;
}

.pixel-icon-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.pixel-icon img {
    border: 1px solid #aaa;
    box-shadow: 2px 2px 0 #ccc;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.pic-log {
    flex: 1;
    border: 2px solid var(--dotted-pink);
    border-style: dotted;
    padding: 5px;
    background-color: white;
    position: relative;
    max-width: 200px;
}

.pic-log-badge {
    position: absolute;
    top: -20px;
    right: -15px;
    background-color: var(--neon-pink);
    color: white;
    font-family: 'Comic Sans MS', cursive;
    padding: 5px 20px;
    border-radius: 25px;
    transform: rotate(15deg);
    border: 3px solid white;
    font-weight: bold;
    z-index: 5;
    font-size: 1.2rem;
}

.pic-log img {
    width: 100%;
    height: auto;
    display: block;
}

.pic-decorations .decor {
    position: absolute;
    width: 40px;
    height: 40px;
}
.pic-decorations .leaf {
    bottom: -15px;
    left: -15px;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}
.pic-decorations .butterfly {
    bottom: -10px;
    right: -20px;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

/* Main Content Area Grid */
.content-area {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
}

/* Sidebar Navigation */
.sidebar {
    position: relative;
}

.navi-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: 2.5rem;
    color: white;
    background-color: var(--border-green);
    display: inline-block;
    padding: 5px 25px;
    border-radius: 30px;
    transform: rotate(-10deg);
    position: absolute;
    top: -30px;
    left: 20px;
    text-shadow: 1px 1px 0 #000;
    z-index: 5;
    border: 2px solid white;
}

.nav-links {
    background: linear-gradient(180deg, #9966ff 0%, #ff99cc 50%, #99ff99 100%);
    padding: 50px 15px 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 15px;
    border: 3px solid #fff;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    /* Pixel pattern overlay */
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.2) 2px, rgba(255,255,255,0.2) 4px);
}

.nav-pill {
    background-color: white;
    border: 2px solid var(--neon-pink);
    color: var(--link-blue);
    text-decoration: none;
    text-align: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    display: block;
    font-family: 'Arial', sans-serif;
}

.nav-pill:hover {
    background-color: var(--yellow-bg);
}

.river-sea {
    border: 2px solid #555;
    border-radius: 0;
    background: #444;
    color: white;
    font-size: 0.7rem;
    padding: 5px;
    display: inline-block;
    width: 80%;
}
.river-sea:hover {
    background: #000;
    color: white;
}

.sidebar-banners {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.sidebar-banners img {
    max-width: 100%;
}

.dotted-border {
    border: 2px dashed #9bc9ff;
    border-radius: 10px;
    padding: 2px;
}

/* Articles Grid */
.articles-grid {
    background-color: var(--yellow-content);
    /* Pattern background */
    background-image: radial-gradient(circle at 10px 10px, transparent 10px, #fff34d 10px);
    background-size: 20px 20px;
    background-position: 0 0;
    padding: 25px;
    border: 2px dotted #ff8df5;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.articles-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: url(gifs/35.gif);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

.review-card {
    background-color: white;
    border: 2px solid red;
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.review-sidebar {
    width: 120px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 2px solid red;
}

.poster {
    width: 90px;
    height: 130px;
    object-fit: cover;
    margin-bottom: 25px;
}

.green-border {
    border: 3px solid var(--border-green);
}

.review-meta {
    font-size: 0.8rem;
    color: var(--link-blue);
    text-align: center;
    font-weight: bold;
}

.review-meta span {
    display: block;
    margin-bottom: 5px;
}

.review-body {
    padding: 15px;
    flex: 1;
}

.review-title {
    color: var(--red-text);
    background-color: yellow;
    display: inline-block;
    padding: 3px 8px;
    margin-bottom: 15px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    text-decoration: underline;
}

.review-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.highlight {
    font-style: italic;
}

.highlight-yellow {
    background-color: yellow;
}

/* Footer Section */
.site-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dotted #aaa;
    text-align: center;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-banners {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-text {
    font-size: 0.9rem;
    font-family: 'Courier New', Courier, monospace;
}

/* Floating Cat */
.floating-cat {
    position: absolute;
    bottom: -20px;
    right: calc(50% - 450px); /* Positioned outside main container */
    z-index: 100;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9));
    animation: float 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-30px) rotate(-5deg); }
    100% { transform: translateY(0px) rotate(5deg); }
}

@media (max-width: 1100px) {
    .floating-avatar { display: none; }
    .top-section, .middle-section { margin-left: 0; }
    .floating-cat { right: 10px; }
}

@media (max-width: 768px) {
    .content-area { grid-template-columns: 1fr; }
    .top-section, .middle-section { flex-direction: column; }
    .review-card { flex-direction: column; }
    .review-sidebar { width: 100%; border-right: none; border-bottom: 2px solid red; flex-direction: row; justify-content: space-around; }
    .poster { margin-bottom: 0; }
    .logo-text { font-size: 4rem; }
}
