/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    position: relative;
}

.logo::before {
    content: '>';
    color: #22c55e;
    font-weight: bold;
    margin-right: 0.5rem;
}

#main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

#main-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

#main-nav ul li a:hover {
    color: #22c55e;
}

#main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: width 0.3s ease;
}

#main-nav ul li a:hover::after {
    width: 100%;
}

/* Theme Menu */
.theme-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.theme-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-menu ul {
    list-style: none;
}

.theme-menu ul li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.theme-menu ul li:hover,
.theme-menu ul li.active {
    background: rgba(34, 197, 94, 0.1);
}

.theme-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #22c55e;
    font-size: 1.25rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero h1 span {
    color: #22c55e;
    background: linear-gradient(45deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #888888;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-btn {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.secondary-btn {
    background: transparent;
    color: #22c55e;
    border: 2px solid #22c55e;
}

.secondary-btn:hover {
    background: #22c55e;
    color: white;
    transform: translateY(-2px);
}

/* Spotify Widget */
.spotify-widget {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: #1a1a1a;
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    padding: 1rem;
    min-width: 300px;
    max-width: 350px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

#spotify-status {
    color: #cccccc;
    font-size: 0.9rem;
}

.spotify-logo {
    color: #22c55e;
    font-size: 1.25rem;
}

.widget-content {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.album-art {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

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

.song-title,
.song-artist,
.song-album {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.song-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.song-artist,
.song-album {
    color: #888888;
    font-size: 0.8rem;
}

.song-title:hover,
.song-artist:hover,
.song-album:hover {
    color: #22c55e;
}

.progress-container {
    margin-top: 0.75rem;
}

.progress-bar {
    height: 4px;
    background: #2a2a2a;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #22c55e, #16a34a);
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888888;
}

/* Animations */
.reveal-text,
.reveal-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-item {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    #main-nav {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .spotify-widget {
        bottom: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        min-width: auto;
        max-width: none;
    }
    
    .widget-content {
        flex-direction: column;
        text-align: center;
    }
    
    .song-info {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .spotify-widget {
        padding: 0.75rem;
    }
}