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

:root {
    --primary: #00f2ff;
    --secondary: #7000ff;
    --accent: #ff00c8;
    --background: #050505;
    --surface: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #d1d1d1;
    --font-main: 'Outfit', sans-serif;
    --glow: 0 0 20px rgba(0, 242, 255, 0.3);
}

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

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

/* Background Gradients */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* Navigation */
.navbar {
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border) !important;
    padding: 1rem 2rem !important;
    transition: all 0.3s ease;
}

/* Mobile Navigation Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        margin: 0 !important;
        padding: 0.5rem 1rem !important;
    }
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: auto;
}

/* Logo Styling */
.logo-header {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Join Button Animation */
.btn-join {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
    transition: all 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(0, 242, 255, 0.8), 0 0 10px rgba(112, 0, 255, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
    }
}

.btn-join:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.2);
}

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

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Cards & Glassmorphism */
.glass-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 0.8rem 1rem !important;
    transition: all 0.3s ease !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
}

.form-select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 242, 255, 0.1) !important;
    outline: none !important;
}

.file-upload {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
}

/* Footer */
footer {
    background: #050505;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-logo {
    font-weight: 800;
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* Extra Small Mobile Logo (≤375px) */
@media (max-width: 375px) {
    .navbar {
        padding: 0.5rem 0.8rem !important;
    }

    .logo-header {
        height: 32px;
        width: auto;
    }

    .navbar-toggler {
        border: none;
        padding: 0.2rem 0.4rem;
        font-size: 0.9rem;
    }
}

/* Small Mobile Logo (376px-576px) */
@media (min-width: 376px) and (max-width: 576px) {
    .navbar {
        padding: 0.6rem 1rem !important;
    }

    .logo-header {
        height: 38px;
        width: auto;
    }

    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem !important;
    }
}

/* Medium Mobile Logo (577px-767px) */
@media (min-width: 577px) and (max-width: 767px) {
    .navbar {
        padding: 0.7rem 1rem !important;
    }

    .logo-header {
        height: 38px;
        width: auto;
    }
}

/* Tablet Logo (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar {
        padding: 0.8rem 1.5rem !important;
    }

    .logo-header {
        height: 38px;
        width: auto;
    }
}

/* Desktop Logo (≥992px) */
@media (min-width: 992px) {
    .navbar {
        padding: 1rem 2rem !important;
    }

    .logo-header {
        height: 55px;
        width: auto;
    }
}

/* Large Desktop Logo (≥1200px) */
@media (min-width: 1200px) {
    .logo-header {
        height: 55px;
        width: auto;
    }
}

/* Music Player Styles */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    min-width: 280px;
}

.music-player:hover {
    background: rgba(5, 5, 5, 0.98);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 242, 255, 0.2);
}

.music-player.minimized {
    min-width: auto;
    padding: 12px;
}

.music-player.minimized .player-info,
.music-player.minimized .volume-control {
    display: none;
}

.play-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 242, 255, 0.5);
}

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

.song-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 8px 0 4px 0;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
}

.volume-btn:hover {
    color: var(--primary);
}

.volume-slider {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.minimize-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
    margin-left: 5px;
}

.minimize-btn:hover {
    color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .music-player {
        bottom: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        padding: 12px 15px;
        border-radius: 15px;
    }
    
    .music-player.minimized {
        left: auto;
        right: 10px;
        width: auto;
    }
    
    .play-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .song-title {
        font-size: 13px;
    }
    
    .song-artist {
        font-size: 11px;
    }
    
    .volume-slider {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .music-player:not(.minimized) .volume-control {
        display: none;
    }
    
    .music-player {
        gap: 10px;
        padding: 10px 12px;
    }
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.music-player {
    animation: float 3s ease-in-out infinite;
}

.music-player:hover {
    animation: none;
}
/* iOS Tooltip Animation */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Enhanced pulse for iOS */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(0, 242, 255, 0.8), 0 0 15px rgba(112, 0, 255, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
    }
}