/* Base Styles */
:root {
    --primary: #6a5acd;
    --secondary: #ff7f50;
    --dark: #2d2d44;
    --light: #f0f0f5;
    --shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

html {
    scroll-behavior: smooth;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body {
    background-color: #e0e0e8;
    color: var(--dark);
    line-height: 1.6;
    padding: 20px;
}

/* Pixel Container with Rounded Corners */
.pixel-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 4px solid var(--dark);
}

/* Pixel Header */
.pixel-header {
    background-color: var(--primary);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border-bottom: 4px solid var(--dark);
}

.pixel-avatar {
    width: 100px;
    height: 100px;
    background-color: var(--secondary);
    border-radius: 18px;
    border: 4px solid var(--dark);
    position: relative;
    overflow: hidden;
}

.pixel-avatar::before,
.pixel-avatar::after {
    display: none;
}

.pixel-title {
    color: white;
    font-size: 2.5rem;
    text-shadow: 3px 3px 0 var(--dark);
    letter-spacing: 2px;
}

.pixel-title span {
    color: var(--secondary);
}

/* Pixel Navigation */
.pixel-nav {
    display: flex;
    gap: 15px;
}

.pixel-button {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    border: 3px solid var(--dark);
    box-shadow: 3px 3px 0 var(--dark);
    transition: all 0.2s ease;
}

.pixel-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--dark);
    background-color: #ff9a76;
}

/* Sections */
.pixel-section {
    padding: 30px;
    border-bottom: 4px dashed var(--dark);
}

.pixel-section:last-child {
    border-bottom: none;
}

.pixel-subtitle {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.pixel-text-box {
    background-color: var(--light);
    padding: 20px;
    border-radius: 10px;
    border: 3px solid var(--dark);
    box-shadow: 3px 3px 0 var(--dark);
    margin-bottom: 20px;
}

/* Gallery */
.pixel-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.pixel-project {
    background-color: white;
    border: 3px solid var(--dark);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 4px 4px 0 var(--dark);
    transition: all 0.3s ease;
}

.pixel-project:hover {
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 var(--dark);
}

.project-thumbnail {
    height: 180px;
    background-color: #ddd;
    border-radius: 8px;
    border: 3px solid var(--dark);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.project-thumbnail::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
}

/* Music Player */
.pixel-player {
    background-color: var(--light);
    border: 3px solid var(--dark);
    border-radius: 10px;
    box-shadow: 4px 4px 0 var(--dark);
    overflow: hidden;
}

.player-display {
    display: flex;
    padding: 20px;
    gap: 20px;
    align-items: center;
    background-color: var(--primary);
    color: white;
}

.album-art {
    width: 120px;
    height: 120px;
    background-color: #ddd;
    border-radius: 10px;
    border: 3px solid var(--dark);
    background-size: cover;
    background-position: center;
}

.song-info {
    flex: 1;
}

.song-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.song-info p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.progress-container {
    width: 100%;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin: 10px 0;
    border: 2px solid var(--dark);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--secondary);
    width: 0%;
    border-radius: 3px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.playlist {
    max-height: 300px;
    overflow-y: auto;
}

.playlist-item {
    padding: 12px 20px;
    border-bottom: 2px dashed var(--dark);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.playlist-item:hover {
    background-color: rgba(106, 90, 205, 0.1);
}

.playlist-item.active {
    background-color: rgba(106, 90, 205, 0.2);
    font-weight: bold;
}

.playlist-item img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid var(--dark);
}

.playlist-item-info {
    flex: 1;
}

.playlist-item-info h4 {
    font-size: 1rem;
}

.playlist-item-info p {
    font-size: 0.8rem;
    opacity: 0.7;
}

.playlist-item-duration {
    font-size: 0.9rem;
}

/* Social Buttons */
.pixel-social {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.pixel-social-button {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    border: 3px solid var(--dark);
    box-shadow: 3px 3px 0 var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.pixel-social-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--dark);
    background-color: #7d6be0;
}

/* Footer */
.pixel-footer {
    background-color: var(--dark);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .player-display {
        flex-direction: column;
        text-align: center;
    }
    
    .pixel-gallery {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    border: 2px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
    background: #7d6be0;
}

/* Hilangkan efek biru klik di semua tombol dan link */
button,
a {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

button:focus,
a:focus {
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: none;
}