/* MySpace-style nostalgic CSS */

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

img {
    max-width: 190px;
    max-height: 190px;
    width: auto;
    height: auto;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #003a7a 0%, #6cabde 50%, #87ceeb 100%);
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pb/my-etihad-photo-2021.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    pointer-events: none;
    z-index: -1;
}

.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}


.container {
    width: 90%;
    margin: 5vh auto;
    background: #fff;
    border: 3px solid #003a7a;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3), inset 0 0 0 1px #6cabde;
}

/* Header */
.header {
    background: linear-gradient(135deg, #003a7a 0%, #6cabde 100%);
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: 3px dashed #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header h1 {
    font-size: 2.5em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main wrapper */
.main-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
}

/* Left Sidebar */
.left-sidebar {
    flex: 0 0 200px;
}

.profile-box {
    background: linear-gradient(135deg, #e0f0ff 0%, #d0e8ff 100%);
    border: 2px solid #003a7a;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 5px 5px 0px rgba(0, 58, 122, 0.3);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border: 3px solid #003a7a;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profile-box h2 {
    color: #003a7a;
    font-size: 1.3em;
    margin: 10px 0;
    text-decoration: underline;
}

.status {
    font-size: 0.9em;
}

.status-online {
    background: #00ff00;
    color: #000;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
    box-shadow: 0 0 10px #00ff00;
}

.status-dnd {
    background: #fd6464;
    color: #000;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
    box-shadow: 0 0 10px #fd6464;
}

/* Boxes */
.box {
    background: linear-gradient(to bottom, #f0f8ff 0%, #e0f0ff 100%);
    border: 2px solid #003a7a;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.box h3 {
    color: #003a7a;
    text-transform: uppercase;
    border-bottom: 2px dashed #003a7a;
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.box p {
    font-size: 0.95em;
    line-height: 1.6;
}

/* Right Content */
.right-content {
    flex: 1;
}

/* Comments */
.comment {
    background: #fff;
    border-left: 4px solid #6cabde;
    padding: 10px;
    margin: 8px 0;
    font-size: 0.9em;
}

.comment strong {
    color: #003a7a;
}

/* Track */
.track {
    background: #fff;
    border-left: 4px solid #6cabde;
    padding: 10px;
    margin: 8px 0;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.track strong {
    color: #003a7a;
}

.timestamp {
    font-size: 0.8em;
    color: #6cabde;
    white-space: nowrap;
    margin-left: 10px;
}

.timestamp.now-playing {
    animation: ellipsis 1.4s infinite;
    font-weight: bold;
    color: #00aaff;
}

@keyframes ellipsis {
    0% {
        content: 'now playing';
    }
    25% {
        content: 'now playing.';
    }
    50% {
        content: 'now playing..';
    }
    75% {
        content: 'now playing...';
    }
    100% {
        content: 'now playing';
    }
}

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

.friend-box {
    text-align: center;
    background: #fff;
    border: 2px solid #6cabde;
    padding: 8px;
}

.friend-box img {
    width: 100%;
    height: auto;
    border: 1px solid #6cabde;
    margin-bottom: 5px;
}

.friend-box p {
    font-size: 0.85em;
    color: #003a7a;
    font-weight: bold;
}

a, a > p {
    text-decoration: none !important;
    color: #e7a38f;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #003a7a 0%, #6cabde 100%);
    color: white;
    text-align: center;
    padding: 15px;
    border-top: 3px dashed #fff;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 600px) {
    .main-wrapper {
        flex-direction: column;
    }

    .left-sidebar {
        flex: 1;
    }

    .friends-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header h1 {
        font-size: 1.8em;
    }
}
