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

body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 11px;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.3;
}

/* Header */
.header {
    background-color: #003399;
    height: 65px;
    position: relative;
}

.header-content {
    width: 800px;
    margin: 0 auto;
    padding-top: 8px;
}

.myspace-logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 8px;
}

.nav-bar {
    background-color: #6698CB;
    height: 23px;
    line-height: 23px;
}

.nav-bar a {
    color: white;
    text-decoration: none;
    padding: 0 8px;
    font-size: 11px;
    border-right: 1px solid #5588BB;
    pointer-events: none;
    cursor: default;
}

.nav-bar a:hover {
    background-color: #5588BB;
}

/* URL Box */
.url-box {
    background-color: #FFFFFF;
    border: 1px solid #6699CC;
    margin-bottom: 15px;
}

.url-content {
    background-color: #FFFFFF;
    padding: 8px;
    font-size: 11px;
}

/* Profile Box Styling */
.profile-box {
    background-color: #FFFFFF;
    border: 1px solid #B5B5B5;
    margin-bottom: 15px;
}

.profile-box-header {
    background-color: #6698CB;
    color: white;
    padding: 2px 5px;
    font-weight: bold;
    font-size: 11px;
}

.profile-content {
    background-color: #F5F5F5;
    padding: 8px;
    text-align: center;
}

.profile-image {
    width: 120px;
    height: auto;
    margin-bottom: 4px;
    display: block;
    float: left;
    margin-right: 15px;
}

/* Contact Box */
.contact-box {
    margin-top: 8px;
    padding: 8px;
    background-color: white;
}

.contact-box a {
    display: block;
    color: #003399;
    text-decoration: none;
    font-size: 11px;
    margin: 4px 0;
}

.contact-box a:hover {
    text-decoration: underline;
}

.contact-box img {
    vertical-align: middle;
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

/* Info Table */
.info-table {
    width: 100%;
    margin-top: 8px;
    border-collapse: collapse;
}

.info-table td {
    padding: 6px 8px;
    font-size: 11px;
    border: none;
    color: #000000;
}

.info-table .label {
    background-color: #C9DDF9;
    font-weight: bold;
    width: 140px;
    color: #003399;
}

/* Blog Post */
.blog-post {
    background-color: #FFFFFF;
    margin-bottom: 15px;
}

.blog-header {
    background-color: #FFCC99;
    color: #FF6600;
    padding: 2px 5px;
    font-size: 11px;
    font-weight: bold;
}

.blog-content {
    background-color: #FFFFFF;
    padding: 8px;
    font-size: 11px;
    line-height: 1.4;
}

/* Friend Space */
.friend-space {
    background-color: #FFFFFF;
    margin-bottom: 15px;
}

.friend-header {
    background-color: #FFCC99;
    color: #FF6600;
    padding: 3px 6px;
    font-weight: bold;
    font-size: 11px;
}

.friend-count {
    background-color: #FFFFFF;
    padding: 8px;
    font-size: 11px;
    margin-bottom: 10px;
}

.friend-number {
    color: #FF0000;
    font-weight: bold;
}

.friend-grid {
    padding: 0 8px;
}

.friend-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 15px;
    margin: 10px 0;
}

.friend-box {
    text-align: center;
}

.friend-box img {
    width: 80px;
    height: 80px;
    border: 1px solid #666666;
    display: block;
    margin: 0 auto 5px;
    background-color: #F5F5F5;
}

.friend-box a {
    color: #003399;
    text-decoration: none;
    font-size: 11px;
    display: block;
    text-align: center;
}

.friend-box a:hover {
    text-decoration: underline;
}

.view-all {
    text-align: right;
    margin: 10px 0;
    padding-bottom: 10px;
    padding-right: 8px;
}

.view-all a {
    color: #FF0000;
    text-decoration: none;
    font-weight: bold;
}

.view-all a:hover {
    text-decoration: underline;
}

.disabled-link {
    pointer-events: none;
    cursor: default;
}

/* Main Container */
.container {
    width: 800px;
    margin: 15px auto;
    background-color: #FFFFFF;
}

/* Two Column Layout */
.profile-container {
    display: table;
    width: 100%;
}

.left-column {
    display: table-cell;
    width: 300px;
    vertical-align: top;
    padding-right: 15px;
}

.right-column {
    display: table-cell;
    vertical-align: top;
}

/* Music Player */
.music-player {
    background-color: #FFFFFF;
    border: 1px solid #B5B5B5;
    margin-bottom: 15px;
}

.music-player-header {
    background-color: #6698CB;
    color: white;
    padding: 2px 5px;
    font-weight: bold;
    font-size: 11px;
}

.music-content {
    background-color: #F5F5F5;
    padding: 8px;
}

/* Comments Section */
.comments-section {
    background-color: #FFFFFF;
    margin-top: 15px;
}

.comments-header {
    background-color: #FFCC99;
    color: #FF6600;
    padding: 3px 6px;
    font-weight: bold;
    font-size: 11px;
}

.comments-display {
    background-color: #FFFFFF;
    padding: 8px;
    font-size: 11px;
    border-bottom: 1px solid #FFB18F;
}

.comment-count {
    color: #FF0000;
    font-weight: bold;
}

.comments-display a {
    color: #003399;
    text-decoration: none;
}

.comments-display a:hover {
    text-decoration: underline;
}

.comment {
    background-color: #FFB18F;
    margin: 1px 0;
    display: flex;
}

.comment-user {
    background-color: #FF9933;
    width: 132px;
    padding: 8px;
    flex-shrink: 0;
    text-align: center;
}

.comment-user a {
    color: #003399;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    display: block;
    margin-bottom: 8px;
}

.comment-user a:hover {
    text-decoration: underline;
}

.comment-image {
    width: 100px;
    display: block;
    margin: 0 auto;
}

.comment-content {
    background-color: #F9D6B4;
    padding: 8px;
    flex-grow: 1;
    font-size: 11px;
    line-height: 1.4;
}

.comment-photo {
    max-width: 500px;
    display: block;
    margin: 8px 0;
    border: 1px solid #666666;
}

.comment-date {
    color: #000000;
    font-size: 11px;
    margin-bottom: 8px;
}

.comment-content p {
    margin-bottom: 8px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* Bandcamp Embed Styling */
.bandcamp-embed {
    width: 100%;
    max-width: 450px;
    margin: 10px auto;
    display: block;
}

.contact-box a[title] {
    position: relative;
}

.contact-box a[title]:hover:after {
    content: attr(title);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    background: #FF6600;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 100;
}

.profile-header {
    margin-bottom: 15px;
    line-height: 1.4;
}

.profile-header h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #000000;
    line-height: 1;
}

.genre {
    color: #006600;
    margin-bottom: 15px;
    font-size: 14px;
}

.profile-image-container {
    margin-bottom: 8px;
}

.view-more-pics {
    float: left;
    clear: left;
    margin-bottom: 15px;
}

.view-more-pics a {
    color: #003399;
    text-decoration: none;
    font-size: 11px;
}

.view-more-pics a:hover {
    text-decoration: underline;
}

.quote, .location, .profile-stats, .last-login {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.4;
}

/* Section Headers */
.section-header {
    background-color: #6699CC;
    background-image: linear-gradient(to bottom, #6699CC, #5588BB);
    color: white;
    padding: 3px 6px;
    font-weight: bold;
    font-size: 11px;
    text-align: left;
    display: block;
    margin: 0;
    border: none;
    float: none;
    clear: both;
}

.contact-section {
    margin: 15px 0;
    background: white;
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    padding: 8px;
    background: white;
}

.contact-table td {
    padding: 4px;
    vertical-align: middle;
    text-align: center;
}

.contact-table img {
    display: block;
    margin: 0 auto;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 4px 0;
    padding: 0;
    line-height: 1;
}

.location {
    margin-top: 4px;
}

.info-section {
    border: 1px solid #6699CC;
    margin: 15px 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #E5EEF9;
    margin-top: 0;
}

.info-table td {
    padding: 6px 8px;
    font-size: 11px;
    border: none;
    color: #000000;
}

.info-table .label {
    background-color: #C9DDF9;
    font-weight: bold;
    width: 140px;
    color: #003399;
}

.info-table a {
    color: #003399;
    text-decoration: none;
}

.info-table a:hover {
    text-decoration: underline;
}

.blog-title {
    margin: 15px 0;
    font-size: 12px;
}

.blog-title a {
    color: #003399;
    text-decoration: none;
}

.blog-title a:hover {
    text-decoration: underline;
}

/* Video Section Styles */
.video-space {
    background-color: white;
    margin: 15px 0;
}

.video-player {
    margin: 10px 0;
}

#current-video {
    margin-bottom: 10px;
}

.video-navigation {
    background-color: #eee;
    padding: 8px;
    text-align: center;
    border: 1px solid #ccc;
}

.video-links {
    font-size: 11px;
    color: #003399;
}

.video-link {
    color: #003399;
    text-decoration: none;
    padding: 0 5px;
}

.video-link:hover {
    text-decoration: underline;
}

.video-link.active {
    font-weight: bold;
    color: #000;
}

/* Ensure iframe is responsive */
#video-frame {
    max-width: 100%;
    border: 1px solid #ccc;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        width: 100%;
        padding: 8px 15px;
    }

    .container {
        width: 100%;
        padding: 15px;
    }

    .left-column,
    .right-column {
        display: block;
        width: 100%;
        padding: 0;
    }

    .friend-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Make embedded content responsive */
    .music-content iframe,
    #video-frame {
        width: 100%;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .nav-bar {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .friend-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .comment {
        flex-direction: column;
    }

    .comment-user {
        width: 100%;
        padding: 10px;
    }

    .comment-image {
        width: 80px;
        margin: 0 auto;
    }

    .comment-content {
        width: 100%;
    }

    .comment-photo {
        max-width: 100%;
        height: auto;
    }

    /* Adjust profile image for mobile */
    .profile-image {
        float: none;
        margin: 0 auto 15px auto;
        display: block;
    }

    .view-more-pics {
        float: none;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Make contact table more compact */
    .contact-table td {
        padding: 3px;
    }

    /* Adjust video navigation */
    .video-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .video-link {
        padding: 3px 8px;
    }
}

/* Fix iframe responsiveness */
.music-content iframe,
#video-frame {
    max-width: 100%;
} 
