/* CSS Reset / Base Styling for 2006 feel */
body {
    background-color: #FAEAFA;
    /* Light pinkish background */
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    margin: 0;
    padding: 0;
    text-align: center;
    background-image: url('images/bg.JPG');
    /* Background image */
    background-attachment: fixed;
    background-size: cover;
}

a {
    color: #CC00CC;
    /* Dark Fuchsia */
    text-decoration: underline;
    cursor: pointer;
}

a:hover {
    color: #FF00FF;
    /* Hot Pink */
    text-decoration: none;
    background-color: #000000;
    color: #FFFFFF;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    padding: 0;
    font-weight: bold;
}

/* Custom Scrollbar Styles for WebKit Browsers */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
    border-left: 1px solid #CC00CC;
}

::-webkit-scrollbar-thumb {
    background: #FF00FF;
    border: 1px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFCCFF;
}

/* Main Container */
.container {
    width: 800px;
    background-color: #FFFFFF;
    text-align: left;
    margin: 0 auto;
    padding-bottom: 20px;
    border-left: 2px solid #CC00CC;
    border-right: 2px solid #CC00CC;
    border-bottom: 2px solid #CC00CC;
}

/* Top Navigation */
.topnav {
    background-color: #CC00CC;
    /* Dark Fuchsia */
    color: #FFFFFF;
    font-size: 11px;
    padding: 5px 0;
    text-align: center;
    border-bottom: 3px solid #FF00FF;
}

.topnav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    text-transform: uppercase;
}

.topnav a:hover {
    text-decoration: underline;
    background-color: transparent;
    color: #FFCCFF;
}

.topnav .disabled {
    color: #FF99FF;
    /* Greyed out / lighter purple */
    cursor: default;
    text-decoration: none;
    margin: 0 10px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0.6;
}

/* Header / Search */
.header-search {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-image: linear-gradient(#444, #000);
}

.brand-logo {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #FF00FF;
    display: inline;
    letter-spacing: 2px;
    text-shadow: 2px 2px #333;
}

.logo-com {
    font-weight: normal;
    color: #FFFFFF;
}

.logo-area span {
    font-family: Verdana, sans-serif;
    font-size: 10px;
    color: #FFCCFF;
    margin-left: 5px;
    text-transform: lowercase;
    letter-spacing: 3px;
    display: block;
}

/* Content Layout */
.content-body {
    display: flex;
    padding: 10px;
}

.left-col {
    width: 320px;
    padding-right: 15px;
}

.right-col {
    width: 450px;
}

/* Left Column Styles */
.profile-pic-area {
    margin-bottom: 20px;
}

.profile-pic-area h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.personal-msg {
    margin-bottom: 10px;
    font-weight: bold;
}

.online-now {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.online-icon {
    margin-right: 5px;
    border: 1px solid #000;
}

.online-text {
    color: #CC0000;
    font-weight: bold;
    font-size: 11px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.profile-pic {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border: 3px solid #CC00CC;
    margin-bottom: 10px;
    transition: transform 0.2s, border-color 0.2s;
}

.profile-pic:hover {
    border-color: #FF00FF;
    transform: scale(1.02);
}

.profile-details p {
    margin: 2px 0;
}

.last-login {
    margin-top: 10px;
    font-size: 10px;
}

.mood-status {
    margin-top: 5px;
    font-size: 10px;
}

.mood-text {
    color: #CC0000;
    /* Often used for emphasis */
}

.view-my-links {
    margin-top: 5px;
    font-size: 11px;
    font-weight: bold;
}

.contact-box {
    border: 1px solid #CC00CC;
    margin-bottom: 20px;
    background-color: #FFF0F5;
}

.contact-box h3 {
    background-color: #CC00CC;
    color: #FFFFFF;
    font-size: 12px;
    padding: 5px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Stacked links looked more "custom profile" */
    gap: 2px;
    padding: 5px;
}

.contact-grid.multi-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media screen and (max-width: 480px) {
    .contact-grid.multi-column {
        grid-template-columns: 1fr;
    }
}


.contact-item a {
    font-weight: bold;
    font-size: 11px;
    display: block;
    color: #CC00CC;
}

.contact-item a:hover {
    background-color: #FF00FF;
    color: #FFF;
}

.url-box {
    border: 1px dashed #CC00CC;
    padding: 5px;
    margin-bottom: 20px;
    background-color: #FFCCFF;
    font-size: 10px;
    text-align: center;
}

.interests-box {
    border: 1px solid #CC00CC;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table td {
    padding: 5px;
    vertical-align: top;
    font-size: 10px;
    border-bottom: 1px solid #FFCCFF;
}

.details-table .label {
    background-color: #FAEAFA;
    color: #CC00CC;
    width: 100px;
    font-weight: bold;
}

/* Right Column Styles */
.network-banner {
    border: 2px solid #FF00FF;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    background-color: #000;
    color: #FF00FF;
    margin-bottom: 15px;
    font-family: "Courier New", Courier, monospace;
}

.music-player-box {
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #000;
    background-color: #333;
    padding: 5px;
}

.music-player-box h3 {
    color: #FF00FF;
    font-size: 12px;
    margin-bottom: 5px;
    text-align: center;
    text-transform: uppercase;
}

.player-ui {
    border: 1px solid #666;
    background-color: #000;
    color: #0F0;
    /* Retro neon green text on player */
    padding: 5px;
    width: 280px;
    margin: 0 auto;
}

.song-marquee-container {
    background-color: #222;
    border: 1px inset #444;
    color: #FF00FF;
}

.blurbs-section {
    margin-bottom: 20px;
}

.blurbs-section h3 {
    background-color: #FF00FF;
    /* Solid bar style */
    color: #FFFFFF;
    font-size: 14px;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #000;
}

.blurbs-section h4 {
    color: #CC00CC;
    font-size: 12px;
    margin-top: 10px;
}

.friend-space h3 {
    background-color: #FF00FF;
    color: #FFFFFF;
    font-size: 14px;
    padding: 5px;
    margin-bottom: 5px;
}

.friend-count {
    margin-bottom: 10px;
    font-size: 12px;
}

.red {
    color: #CC0000;
    font-weight: bold;
}

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

.friend-cell img {
    border: 0;
    margin-top: 3px;
}

.friend-cell a {
    font-weight: bold;
}

.view-friends-link {
    text-align: right;
    margin-top: 10px;
    font-weight: bold;
    background-color: transparent;
    padding: 3px;
}

.view-friends-link a {
    color: #CC00CC;
    font-size: 12px;
}

.comments-section {
    margin-top: 20px;
}

.comments-section h3 {
    background-color: #FF00FF;
    color: #FFFFFF;
    font-size: 14px;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #000;
}

.comment-row {
    background-color: #FFF0F5;
    /* Alternating or solid background */
    border: 1px solid #FFCCFF;
    display: flex;
    margin-bottom: 5px;
    padding: 5px;
}

.comment-user {
    width: 100px;
    text-align: center;
    font-weight: bold;
}

.comment-body {
    flex: 1;
    padding-left: 10px;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 10px;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #CC00CC;
    line-height: 2;
}

.footer a {
    color: #CC00CC;
}

.visitor-counter {
    margin-top: 10px;
    font-size: 10px;
    color: #FF00FF;
    font-weight: bold;
}

.desktop-only {
    display: block;
}

/* ========== RESPONSIVE STYLES ========== */
@media screen and (max-width: 768px) {

    /* Container - fluid width on mobile */
    .container {
        width: 100%;
        max-width: 100%;
        border-left: none;
        border-right: none;
    }

    /* Header adjustments */
    .header-search {
        flex-direction: column;
        padding: 15px 10px;
        text-align: center;
    }

    .brand-logo {
        font-size: 24px;
    }

    .logo-area span {
        letter-spacing: 1px;
        margin-left: 0;
    }

    /* Navigation - wrap on mobile */
    .topnav {
        padding: 8px 5px;
        line-height: 1.8;
    }

    .topnav a {
        margin: 0 5px;
        font-size: 10px;
    }

    /* Content layout - stack columns */
    .content-body {
        flex-direction: column;
        padding: 10px;
        display: flex;
    }

    .left-col {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
        order: 2;
        /* Move left column (Get in Touch, Interests) below */
    }

    .right-col {
        width: 100%;
        order: 1;
        /* Move right column (About Me) above */
    }

    /* Profile pic area */
    .profile-pic-area {
        text-align: center;
    }

    .profile-pic {
        max-width: 150px;
    }

    /* Contact box */
    .contact-box {
        margin-bottom: 15px;
    }

    /* URL box */
    .url-box {
        word-break: break-all;
    }

    /* Interests table */
    .details-table .label {
        width: 80px;
    }

    /* Network banner */
    .network-banner {
        font-size: 14px;
        padding: 8px;
    }

    /* Music player */
    .player-ui {
        width: 100%;
        max-width: 280px;
    }

    .song-marquee-container {
        font-size: 10px;
    }

    /* Friend grid - 2 columns on mobile */
    .friend-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .friend-cell img {
        max-width: 80px;
        height: auto;
    }

    /* View friends link */
    .view-friends-link {
        text-align: center;
    }

    /* Footer */
    .footer {
        padding: 10px;
        line-height: 1.8;
    }

    /* 404 Responsive */
    .error-code {
        font-size: 48px;
    }

    /* Contact Responsive */
    .desktop-only {
        display: none !important;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .brand-logo {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .topnav a {
        margin: 0 3px;
        font-size: 9px;
    }

    /* Nexus / Contact Page Optimizations */
    .nexus-container {
        padding: 15px 5px;
    }

    .nexus-container .profile-pic {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }

    .nexus-container h2 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .contact-intro {
        font-size: 12px;
        margin-bottom: 10px;
        padding-bottom: 5px;
    }

    .nexus-btn {
        padding: 8px;
        margin-bottom: 8px;
        font-size: 12px;
        border-width: 1.5px;
    }

    .network-banner {
        font-size: 12px;
    }

    .friend-cell img {
        max-width: 70px;
    }

    .details-table td {
        font-size: 9px;
        padding: 4px;
    }

    .details-table .label {
        width: 60px;
    }
}

/* ========== 404 PAGE STYLES ========== */
.error-content {
    text-align: center;
    padding: 50px 20px;
}

.error-code {
    font-size: 72px;
    color: #CC0000;
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
    margin-bottom: 10px;
}

.error-msg {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #CC00CC;
}

/* ========== VIDEO GALLERY STYLES ========== */
.video-gallery-container {
    padding: 20px;
    width: 100%;
}

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

.video-item {
    background-color: #FFF0F5;
    border: 1px solid #CC00CC;
    padding: 10px;
    text-align: center;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
    border: 1px solid #000;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFF;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #FFF;
    margin-left: 4px;
}

.video-item:hover .play-overlay {
    background-color: #CC00CC;
}

.video-title {
    font-weight: bold;
    font-size: 12px;
    margin: 5px 0;
    color: #CC00CC;
}

.video-meta {
    font-size: 10px;
    color: #666;
    margin-bottom: 5px;
}

.star-rating {
    color: #FF00FF;
    font-size: 10px;
}

@media screen and (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.nexus-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px 10px;
    text-align: center;
    transition: max-width 0.3s ease;
}

.nexus-container.wide {
    max-width: 600px;
}

#contact-links-container.multi-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: left;
}

@media screen and (max-width: 360px) {
    #contact-links-container.multi-column {
        grid-template-columns: 1fr;
    }
}

#contact-links-container.multi-column .nexus-btn {
    margin-bottom: 0;
    /* Gap handles spacing */
}


.contact-intro {
    margin-bottom: 20px;
    font-size: 14px;
    color: #CC00CC;
    font-weight: bold;
    border-bottom: 1px dashed #FF00FF;
    padding-bottom: 10px;
}

.nexus-btn {
    display: block;
    background-color: #CC00CC;
    color: #FFFFFF;
    padding: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #FF00FF;
    font-size: 14px;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
}

.nexus-btn:hover {
    background-color: #FF00FF;
    color: #FFFFFF;
    border-color: #000000;
    text-decoration: none;
    cursor: pointer;
}