:root {
    --nexus-bg: #050510;
    --nexus-primary: #8c52ff;
    --nexus-secondary: #00f2ea;
    --nexus-accent: #ff0055;
    --nexus-text: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--nexus-primary);
    }

    50% {
        box-shadow: 0 0 20px var(--nexus-primary), 0 0 10px var(--nexus-secondary);
    }

    100% {
        box-shadow: 0 0 5px var(--nexus-primary);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background-color: var(--nexus-bg);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(140, 82, 255, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 234, 0.15) 0%, transparent 25%);
    color: var(--nexus-text);
    font-family: 'Rajdhani', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

/* Navbar */
.nexus-nav {
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nexus-brand {
    background: linear-gradient(to right, var(--nexus-primary), var(--nexus-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--nexus-secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--nexus-text) !important;
}

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

/* Cards / Glassmorphism */
.nexus-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: slideIn 0.5s ease-out forwards;
}

.nexus-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(140, 82, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn-nexus {
    background: linear-gradient(135deg, var(--nexus-primary), #6c35de);
    border: none;
    color: white;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    padding: 12px 30px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-nexus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--nexus-secondary), var(--nexus-primary));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-nexus:hover::before {
    opacity: 1;
}

.btn-nexus:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(140, 82, 255, 0.4);
    color: white;
}

/* Form Elements */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--nexus-secondary);
    color: white;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0 50px;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--nexus-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

/* Badges */
.badge-nexus {
    background: rgba(140, 82, 255, 0.2);
    border: 1px solid var(--nexus-primary);
    color: var(--nexus-primary);
    padding: 5px 12px;
    border-radius: 20px;
}