/* Base styles */
h1 {
    margin: 0;
    padding: 0;
}

/* Social media menu */
.social-menu {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.social-link {
    display: inline-block;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.social-link:hover .social-icon {
    opacity: 0.8;
}

/* Email section */
.email-container {
    display: flex;
    align-items: center;
    gap: 1px;
    margin: 0 0 5px 0;
}

#email {
    font-size: 1.0em;
    color: #333;
    line-height: 1;
    display: inline-block;
    padding-top: 2px;
}

/* Copy button */
.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 30px;
    margin-top: 0;
}

.copy-button:hover {
    transform: scale(1.01);
}

/* Clipboard icon */
.clipboard-icon {
    width: 12px;
    height: 12px;
    position: relative;
    display: inline-block;
}

.clipboard-icon::before,
.clipboard-icon::after {
    content: '';
    position: absolute;
    border: 1.5px solid #666;
    border-radius: 1px;
    background: white;
}

.clipboard-icon::before {
    width: 8px;
    height: 11px;
    top: 0;
    left: 0;
}

.clipboard-icon::after {
    width: 8px;
    height: 11px;
    top: 2px;
    left: 2px;
    z-index: -1;
}

/* Checkmark icon */
.checkmark-icon {
    width: 12px;
    height: 12px;
    position: relative;
    display: inline-block;
}

.checkmark-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 3px;
    height: 6px;
    border-right: 1.5px solid #666;
    border-bottom: 1.5px solid #666;
}

.about-container {
    margin: 0 0 12px 0;
}

.about-text {
    margin: 0;
    color: #333;
    font-size: 1.0em;
    line-height: 1.4;
    max-width: 800px;
}

/* GIF container */
.container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 10px 0;
}

/* Refresh button */
.refresh-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
    flex: 0 0 34px;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    border: 2px solid rgb(212, 212, 212);
    border-radius: 9999px;
    background-color: #ffffff;
    color: rgb(84, 140, 252);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    font-family: inherit;
    transform-origin: 50% 50%;
    transition: transform 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

.refresh-button:active {
    background-color: #ffffff;
}

.refresh-button:focus {
    outline: none;
}

.refresh-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.refresh-button .refresh-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    max-width: 18px;
    max-height: 18px;
}

.refresh-button.spinning {
    animation: spin 0.5s linear;
}

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

/* Last.fm section */
.lastfm-section {
    margin: 0;
    padding: 0;
    max-width: 800px;
}

.lastfm-button {
    display: inline-block;
    background-color: #f5f5f5;
    color: #333333;
    border: 1px solid #dddddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    margin-bottom: 20px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.lastfm-button:hover {
    background-color: #e5e5e5;
    border-color: #cccccc;
}

.lastfm-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.lastfm-container {
    margin-top: 0px;
}

.lastfm-container h3 {
    color: #333;
    margin: 0;
    padding: 0;
    text-align: left;
}

.track-card {
    text-align: left;
    max-width: 200px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 5px;
}

.track-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.track-card img:hover {
    transform: scale(1.05);
}

.track-info {
    flex-grow: 1;
    min-width: 0;
}

.track-name {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    color: #666;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Remove the old album grid styles since we're not using them anymore */
.album-grid,
.album-card,
.album-info,
.album-name {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .album-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.repo-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0 0 20px 0;
}

.repo-list li {
    margin: 5px 0;
}

.repo-list a {
    color: #0366d6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.repo-list a:hover {
    color: #024ea4;
    text-decoration: underline;
} 