/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Music Player Styles */
.music-player {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    background: rgba(32, 34, 37, 0.9);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.music-player:hover {
    background: rgba(32, 34, 37, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff73fa, #5865f2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 115, 250, 0.3);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 115, 250, 0.4);
}

.play-btn.playing {
    background: linear-gradient(135deg, #43b581, #5865f2);
    box-shadow: 0 4px 15px rgba(67, 181, 129, 0.3);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.volume-control i {
    font-size: 1rem;
    color: #a0a0a0;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff73fa, #5865f2);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 115, 250, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff73fa, #5865f2);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 115, 250, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: url('baghdad.png') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    filter: grayscale(60%);
}

/* Background overlay for readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Discord Card Styles */
.discord-card {
    background: rgba(32, 34, 37, 0.8);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff73fa, #5865f2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.discord-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.discord-card:hover::before {
    opacity: 1;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avatar-container {
    position: relative;
    flex-shrink: 0;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #2d3748;
}

.status-indicator.online {
    background: #43b581;
    box-shadow: 0 0 8px rgba(67, 181, 129, 0.5);
}

.user-info {
    flex: 1;
}

.username {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.discriminator {
    font-size: 1rem;
    color: #72767d;
    font-weight: 400;
}

.badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge.verified {
    background: transparent;
}

.badge.nitro {
    background: transparent;
}

.badge.boost {
    background: transparent;
}

.discord-bio {
    margin-bottom: 1.5rem;
}

.discord-bio p {
    color: #dcddde;
    font-size: 0.95rem;
    line-height: 1.5;
}

.discord-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.link-item:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.link-item i {
    font-size: 1rem;
}

/* Projects Section */
.projects-section {
    width: 100%;
    max-width: 800px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ff73fa, #5865f2);
    border-radius: 1px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(32, 34, 37, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff73fa, #5865f2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.project-status.live {
    color: #43b581;
    background: rgba(67, 181, 129, 0.1);
}

.project-status.coming-soon {
    color: #faa61a;
    background: rgba(250, 166, 26, 0.1);
}

.project-status i {
    font-size: 0.6rem;
}

.project-description {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
}

.project-link:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-1px);
}

.project-link.disabled {
    background: rgba(128, 128, 128, 0.1);
    border-color: rgba(128, 128, 128, 0.3);
    color: #72767d;
    cursor: not-allowed;
}

.project-link.disabled:hover {
    background: rgba(128, 128, 128, 0.1);
    border-color: rgba(128, 128, 128, 0.3);
    transform: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Drone Shot Animation */
@keyframes droneShot {
    0% {
        background-size: 100% 100%;
        background-position: center center;
        filter: grayscale(60%) brightness(1);
    }
    15% {
        background-size: 105% 105%;
        background-position: 15% 25%;
        filter: grayscale(60%) brightness(1.05);
    }
    30% {
        background-size: 115% 115%;
        background-position: 35% 35%;
        filter: grayscale(60%) brightness(1.1);
    }
    45% {
        background-size: 125% 125%;
        background-position: 55% 45%;
        filter: grayscale(60%) brightness(1.15);
    }
    60% {
        background-size: 120% 120%;
        background-position: 75% 55%;
        filter: grayscale(60%) brightness(1.1);
    }
    75% {
        background-size: 110% 110%;
        background-position: 85% 65%;
        filter: grayscale(60%) brightness(1.05);
    }
    90% {
        background-size: 105% 105%;
        background-position: 90% 70%;
        filter: grayscale(60%) brightness(1.02);
    }
    100% {
        background-size: 100% 100%;
        background-position: center center;
        filter: grayscale(60%) brightness(1);
    }
}

/* Smooth transition for background changes */
body {
    transition: background-size 0.5s ease, background-position 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        gap: 2rem;
    }
    
    .discord-card {
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .discord-links {
        flex-direction: column;
    }
    
    .link-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1rem;
    }
    
    .discord-card {
        padding: 1rem;
    }
    
    .avatar {
        width: 48px;
        height: 48px;
    }
    
    .name {
        font-size: 1.1rem;
    }
    
    .project-card {
        padding: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(32, 34, 37, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(88, 101, 242, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 101, 242, 0.7);
} 