/* =============================================================================
   
   SCENE/EMO MYSPACE THEME - STYLE.CSS
   
   HOW TO CUSTOMIZE:
   1. Look for "CUSTOMIZE:" comments throughout this file
   2. The main colors and fonts are in the :root section below
   3. Change the values there to update the whole site at once!
   
============================================================================= */

/* =============================================================================
   COLOR & FONT CONFIGURATION
   
   CUSTOMIZE: Change these values to customize your entire site's look!
   All colors and fonts are controlled from here.
============================================================================= */

:root {
    /* =========================================
       MAIN COLORS
       Tip: Use a color picker site to find hex codes!
    ========================================= */
    
    /* Background colors */
    --bg-color: #a9a9a9;              /* Main page background (dark) */
    --bg-secondary: #1a1a1a;          /* Secondary background (boxes) */
    --bg-box: #111111;                /* Inside of boxes */
    
    /* Accent colors - these are your "pop" colors */
    --accent-primary: #ff00aa;        /* Main accent (hot pink) */
    --accent-secondary: #00ff00;      /* Secondary accent (green) */
    --accent-tertiary: #ff6600;       /* Third accent (orange) */
    
    /* Text colors */
    --text-primary: #ffffff;          /* Main text color */
    --text-secondary: #cccccc;        /* Secondary/muted text */
    --text-accent: #ff00aa;           /* Accent text (links, etc) */
    
    /* Border colors */
    --border-color: #ff00aa;          /* Main border color */
    --border-glow: #00bfff;           /* Glow effect color */
    
    /* Status colors */
    --online-color: #00ff00;          /* Online status */
    --offline-color: #666666;         /* Offline status */
    --away-color: #ffaa00;            /* Away status */
    
    /* =========================================
       FONTS
       Tip: Google Fonts has lots of free fonts!
    ========================================= */
    
    --font-main: 'Verdana', 'Arial', sans-serif;
    --font-header: 'Georgia', 'Times New Roman', serif;
    --font-accent: 'Comic Sans MS', 'Chalkboard', cursive;
    
    /* =========================================
       SIZES
    ========================================= */
    
    --border-radius: 0px;             /* 0 for sharp corners, higher for rounded */
    --border-width: 2px;              /* Border thickness */
    --box-shadow-blur: 10px;          /* Glow intensity */
    
    /* =========================================
       LAYOUT
    ========================================= */
    
    --page-width: 950px;              /* Max width of the page */
    --left-column-width: 280px;       /* Width of the left sidebar */
    --gap: 15px;                      /* Space between elements */
}

/* =============================================================================
   ALTERNATIVE COLOR SCHEMES
   
   To use one of these, just copy its colors into the :root section above!
============================================================================= */

/*
   --- SCHEME: Classic Emo (Black & Red) ---
   --accent-primary: #cc0000;
   --accent-secondary: #ff0000;
   --border-color: #cc0000;
   --border-glow: #ff0000;
   
   --- SCHEME: Scene Queen (Pink & Blue) ---
   --accent-primary: #ff69b4;
   --accent-secondary: #00bfff;
   --border-color: #ff69b4;
   --border-glow: #00bfff;
   
   --- SCHEME: Cyber Goth (Green & Purple) ---
   --accent-primary: #00ff00;
   --accent-secondary: #9900ff;
   --border-color: #00ff00;
   --border-glow: #9900ff;
   
   --- SCHEME: Vampy (Purple & Black) ---
   --accent-primary: #8b00ff;
   --accent-secondary: #ff0066;
   --border-color: #8b00ff;
   --border-glow: #8b00ff;
   
   --- SCHEME: Pastel Goth (Pink & Purple) ---
   --bg-color: #1a1a2e;
   --accent-primary: #ffb6c1;
   --accent-secondary: #dda0dd;
   --border-color: #ffb6c1;
*/

/* =============================================================================
   RESET & BASE STYLES
============================================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 13px;
    line-height: 1.6;
    min-height: 100vh;
    
    /* CUSTOMIZE: Background pattern */
    /* Option 1: Solid color (default) */
    background-image: none;
    
    /* Option 2: Checkered pattern - uncomment to use */
    /*
    background-image: 
        linear-gradient(45deg, #111 25%, transparent 25%), 
        linear-gradient(-45deg, #111 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #111 75%), 
        linear-gradient(-45deg, transparent 75%, #111 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    */
    
    /* Option 3: Stars background - uncomment to use */
    /*
    background-image: url('https://web.archive.org/web/20091027080248im_/https://www.geocities.com/SoHo/7373/stars.gif');
    */
}

/* =============================================================================
   SCROLLBAR STYLING
   CUSTOMIZE: Colors defined in :root section
============================================================================= */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Firefox scrollbar */
html {
    scrollbar-color: var(--accent-primary) var(--bg-color);
    scrollbar-width: thin;
}

/* =============================================================================
   TEXT SELECTION
============================================================================= */

::selection {
    background: var(--accent-primary);
    color: var(--bg-color);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--bg-color);
}

/* =============================================================================
   MAIN WRAPPER
============================================================================= */

#wrapper {
    max-width: var(--page-width);
    margin: 20px auto;
    padding: 0 10px;
}

/* =============================================================================
   HEADER
============================================================================= */

#header {
    background: var(--bg-secondary);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: var(--gap);
    text-align: center;
    
    /* Glow effect */
    box-shadow: 0 0 var(--box-shadow-blur) var(--border-glow);
}

#display-name {
    font-family: var(--font-header);
    font-size: 36px;
    color: var(--accent-primary);
    text-shadow: 
        0 0 10px var(--accent-primary),
        0 0 20px var(--accent-primary),
        0 0 30px var(--accent-primary);
    margin-bottom: 10px;
    
    /* CUSTOMIZE: Animated rainbow text - uncomment to enable */
    /*
    animation: rainbow-text 3s linear infinite;
    */
}

/* Rainbow text animation */
@keyframes rainbow-text {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

#tagline {
    font-family: var(--font-accent);
    font-size: 14px;
    color: var(--accent-secondary);
    margin-bottom: 10px;
}

.header-decor {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* =============================================================================
   NAVIGATION BAR
============================================================================= */

#navbar {
    background: var(--bg-secondary);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 10px;
    margin-bottom: var(--gap);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    
    box-shadow: 0 0 var(--box-shadow-blur) var(--border-glow);
}

.nav-link {
    background: var(--bg-box);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 15px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--accent-primary);
    color: var(--bg-color);
    text-shadow: none;
    box-shadow: 0 0 10px var(--accent-primary);
}

/* =============================================================================
   MAIN CONTENT LAYOUT
============================================================================= */

#main-content {
    display: flex;
    gap: var(--gap);
}

/* Left sidebar */
#left-column {
    width: var(--left-column-width);
    flex-shrink: 0;
}

/* Right main content */
#right-column {
    flex-grow: 1;
    min-width: 0; /* Prevents overflow issues */
}

/* =============================================================================
   BOXES (Universal styling for all content boxes)
============================================================================= */

.box {
    background: var(--bg-secondary);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: var(--gap);
    overflow: hidden;
    
    box-shadow: 0 0 var(--box-shadow-blur) var(--border-glow);
}

.box-header {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-color);
    font-weight: bold;
    font-size: 12px;
    padding: 8px 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.box-content {
    background: var(--bg-box);
    padding: 15px;
}

/* =============================================================================
   PROFILE BOX
============================================================================= */

#profile-pic {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 0 auto 15px auto;
    border: 3px solid var(--accent-primary);
    
    /* CUSTOMIZE: Add animation - uncomment one */
    /* Option 1: Glow pulse */
    animation: glow-pulse 2s ease-in-out infinite;
    
    /* Option 2: None */
    /* animation: none; */
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 5px var(--accent-primary); }
    50% { box-shadow: 0 0 20px var(--accent-primary), 0 0 30px var(--accent-secondary); }
}

#online-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--online-color);
    box-shadow: 0 0 10px var(--online-color);
    animation: pulse 1.5s ease-in-out infinite;
}

.status-dot.offline {
    background: var(--offline-color);
}

.status-dot.away {
    background: var(--away-color);
    box-shadow: 0 0 10px var(--away-color);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#basic-info {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}

#basic-info p {
    margin-bottom: 3px;
}

#mood,
#status-message {
    font-size: 11px;
    margin-bottom: 8px;
}

#mood .label,
#status-message .label {
    color: var(--accent-primary);
    font-weight: bold;
}

#mood .value,
#status-message .value {
    color: var(--text-secondary);
}

/* =============================================================================
   LAST.FM / NOW PLAYING BOX
============================================================================= */

#lastfm-container {
    text-align: center;
}

#lastfm-status {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

#lastfm-status.playing {
    color: var(--online-color);
}

#lastfm-albumart {
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent-primary);
    margin: 0 auto 10px auto;
    display: block;
    object-fit: cover;
}

#lastfm-albumart.spinning {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#lastfm-track {
    font-size: 12px;
    font-weight: bold;
    color: var(--accent-primary);
    margin-bottom: 3px;
    word-wrap: break-word;
}

#lastfm-artist {
    font-size: 11px;
    color: var(--accent-secondary);
    margin-bottom: 10px;
    word-wrap: break-word;
}

#lastfm-link {
    display: inline-block;
    font-size: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    transition: all 0.2s;
}

#lastfm-link:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
}

/* Playing indicator animation */
.playing-indicator {
    display: inline-flex;
    gap: 2px;
    height: 12px;
    align-items: flex-end;
    margin-right: 5px;
}

.playing-indicator span {
    width: 3px;
    background: var(--online-color);
    animation: soundbar 0.5s ease-in-out infinite;
}

.playing-indicator span:nth-child(1) { height: 4px; animation-delay: 0s; }
.playing-indicator span:nth-child(2) { height: 8px; animation-delay: 0.1s; }
.playing-indicator span:nth-child(3) { height: 6px; animation-delay: 0.2s; }
.playing-indicator span:nth-child(4) { height: 10px; animation-delay: 0.3s; }

@keyframes soundbar {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/* =============================================================================
   SOCIAL / CONTACT BOX
============================================================================= */

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.social-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    padding: 5px 12px;
    font-size: 11px;
    transition: all 0.2s;
}

.social-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--accent-primary);
}

/* =============================================================================
   BLINKIES & BADGES
============================================================================= */

.blinkies,
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.blinkies img {
    height: 20px;
    image-rendering: pixelated;
}

.badges img {
    width: 88px;
    height: 31px;
    image-rendering: pixelated;
    border: 1px solid var(--bg-color);
}

/* =============================================================================
   TOP FRIENDS BOX
============================================================================= */

.friends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.friend-item {
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s;
}

.friend-item:hover {
    transform: scale(1.05);
}

.friend-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    margin-bottom: 5px;
}

.friend-item span {
    display: block;
    font-size: 10px;
    color: var(--accent-secondary);
}

/* =============================================================================
   BIO BOX
============================================================================= */

.bio-content p {
    margin-bottom: 12px;
}

.bio-content ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.bio-content li {
    margin-bottom: 5px;
    list-style-type: "★ ";
    color: var(--text-secondary);
}

.bio-content li::marker {
    color: var(--accent-primary);
}

.sparkle {
    color: var(--accent-secondary);
}

/* =============================================================================
   FAVORITES / TAGS
============================================================================= */

.favorites-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 5px 12px;
    font-size: 11px;
    transition: all 0.2s;
}

.tag:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
}

/* =============================================================================
   BLOG / UPDATES BOX
============================================================================= */

.blog-entry {
    margin-bottom: 15px;
}

.blog-date {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.blog-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.blog-text p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.read-more-btn {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--bg-color);
    text-decoration: none;
    padding: 8px 20px;
    font-size: 12px;
    border: none;
    transition: all 0.2s;
}

.read-more-btn:hover {
    background: var(--accent-secondary);
    box-shadow: 0 0 15px var(--accent-secondary);
}

/* =============================================================================
   INTERESTS BOX
============================================================================= */

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.interest-category h4 {
    color: var(--accent-primary);
    margin-bottom: 5px;
    font-size: 13px;
}

.interest-category p {
    font-size: 11px;
    color: var(--text-secondary);
}

/* =============================================================================
   LYRICS / QUOTE BOX
============================================================================= */

.lyrics {
    font-family: var(--font-header);
    font-style: italic;
    font-size: 16px;
    color: var(--accent-secondary);
    text-align: center;
    padding: 10px;
    border-left: 3px solid var(--accent-primary);
    background: rgba(255, 0, 170, 0.1);
}

.lyrics cite {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    font-style: normal;
}

/* =============================================================================
   FOOTER
============================================================================= */

#footer {
    background: var(--bg-secondary);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: var(--gap);
    text-align: center;
    
    box-shadow: 0 0 var(--box-shadow-blur) var(--border-glow);
}

.footer-decor {
    font-size: 14px;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.copyright {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-badges img {
    width: 88px;
    height: 31px;
    image-rendering: pixelated;
}

/* =============================================================================
   FALLING EFFECTS (Stars/Hearts)
============================================================================= */

#falling-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.falling-item {
    position: absolute;
    top: -20px;
    color: var(--accent-primary);
    font-size: 16px;
    animation: fall linear forwards;
    opacity: 0.7;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* =============================================================================
   LINKS (General styling)
============================================================================= */

a {
    color: var(--text-accent);
    text-decoration: underline;
    transition: all 0.2s;
}

a:hover {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--accent-secondary);
}

/* =============================================================================
   UTILITY CLASSES
   Use these in your HTML to add effects!
============================================================================= */

/* Blinking text */
.blink {
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    to { visibility: hidden; }
}

/* Glowing text */
.glow {
    text-shadow: 
        0 0 5px var(--accent-primary),
        0 0 10px var(--accent-primary),
        0 0 20px var(--accent-primary);
}

/* Rainbow animated text */
.rainbow {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-shift 2s linear infinite;
}

@keyframes rainbow-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Shake on hover */
.shake:hover {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* =============================================================================
   RESPONSIVE DESIGN
============================================================================= */

@media screen and (max-width: 800px) {
    #main-content {
        flex-direction: column;
    }
    
    #left-column {
        width: 100%;
    }
    
    .friends-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    #display-name {
        font-size: 28px;
    }
}

@media screen and (max-width: 500px) {
    .friends-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #navbar {
        gap: 3px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 11px;
    }
}