@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Orbitron:wght@400;700;900&display=swap');

:root {
    --bg-color: #030308;
    --card-bg: rgba(10, 10, 18, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --cyan: #00f3ff;
    --magenta: #ff007f;
    --purple: #8a2be2;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --glow-shadow-cyan: 0 0 15px rgba(0, 243, 255, 0.4);
    --glow-shadow-magenta: 0 0 15px rgba(255, 0, 127, 0.4);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background animated glow orbs */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 40vw;
    height: 40vw;
    background: var(--cyan);
    top: -10vw;
    left: -10vw;
    animation-delay: 0s;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: var(--purple);
    bottom: -15vw;
    right: -10vw;
    animation-delay: -5s;
}

.orb-3 {
    width: 30vw;
    height: 30vw;
    background: var(--magenta);
    top: 30vh;
    left: 50vw;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(5vw, 5vh) scale(1.1);
    }
    66% {
        transform: translate(-3vw, 8vh) scale(0.9);
    }
}

/* Glassmorphism containers */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Typography & Titles */
h1, h2, h3, .font-orbitron {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--cyan) 70%, var(--magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neon-text-cyan {
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.neon-text-magenta {
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.6);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(3, 3, 8, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--cyan);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    z-index: 10;
}

.tagline {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 20px;
    color: var(--cyan);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
        border-color: rgba(0, 243, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
        border-color: rgba(0, 243, 255, 0.8);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 540px;
}

.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #000;
    border: none;
    box-shadow: var(--glow-shadow-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: var(--glow-shadow-cyan);
    transform: translateY(-2px);
}

/* Hero Visualizer */
.hero-visualizer-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visualizer-circle {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 2px dashed rgba(0, 243, 255, 0.2);
    animation: rotate 30s linear infinite;
}

.visualizer-circle-inner {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 2px dotted rgba(255, 0, 127, 0.25);
    animation: rotate-reverse 20s linear infinite;
}

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

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

#canvas-visualizer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Music Player Section */
.music-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.player-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.player-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.now-playing-info {
    text-align: center;
    margin-bottom: 30px;
}

.album-art-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.album-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(45deg, #120c1f, #051622);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.album-art-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 40%, rgba(0, 243, 255, 0.2) 100%);
    pointer-events: none;
}

.track-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.track-artist {
    color: var(--cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.player-controls {
    margin-top: auto;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 8px var(--cyan);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.ctrl-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.ctrl-btn:hover {
    color: var(--cyan);
    text-shadow: var(--glow-shadow-cyan);
}

.ctrl-btn.btn-play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-shadow-cyan);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ctrl-btn.btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.8);
    color: #000;
}

/* Track List */
.tracklist-card {
    padding: 30px;
    height: 100%;
}

.tracklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
}

.tracklist::-webkit-scrollbar {
    width: 6px;
}

.tracklist::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
}

.tracklist::-webkit-scrollbar-thumb {
    background: rgba(0, 243, 255, 0.3);
    border-radius: 3px;
}

.tracklist::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 243, 255, 0.6);
}

.track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 243, 255, 0.15);
}

.track-item.active {
    background: rgba(0, 243, 255, 0.08);
    border-color: rgba(0, 243, 255, 0.4);
}

.track-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.track-number {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 24px;
}

.track-item.active .track-number {
    color: var(--cyan);
}

.track-meta h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.track-meta span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.track-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
}

/* About / AI Tech Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tech-card {
    padding: 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--magenta);
    box-shadow: var(--glow-shadow-magenta);
}

.tech-icon {
    font-size: 2rem;
    color: var(--magenta);
    margin-bottom: 12px;
}

.tech-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.tech-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Contact Footer Section */
footer {
    padding: 100px 0 60px 0;
    position: relative;
    border-top: 1px solid var(--border-color);
    background: rgba(3, 3, 8, 0.95);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.email-box {
    margin: 40px 0;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
}

.email-address {
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-primary);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--cyan);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: var(--cyan);
    color: #000;
    box-shadow: var(--glow-shadow-cyan);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-icon:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: var(--glow-shadow-cyan);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Notification banner styling */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0d0d1e;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--glow-shadow-cyan);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 992px) {
    .hero-grid, .player-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-visualizer-container {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .email-address {
        font-size: 1.1rem;
    }
    
    nav ul {
        display: none; /* simple hidden for mobile for simplicity unless needed */
    }
}
