/* Lyriel Bot Website - Clean Animated Stylesheet */

:root {
    --pastel-pink: #FFB6D9;
    --pastel-purple: #D4BBFF;
    --white: #FFFFFF;
    --black: #000000;
    --dark-bg: #0a0a0a;
    --gradient-pink: linear-gradient(135deg, #FFB6D9 0%, #D4BBFF 100%);
}

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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: var(--white);
    overflow-x: hidden;
    position: relative;
    cursor: url('/assets/cursor-arrow.svg') 3 3, auto;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 182, 217, 0.2);
    border-top-color: var(--pastel-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Animated Background - Clean black with particles only */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000000;
}

/* Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.4;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Lightning effect */
.lightning {
    position: absolute;
    width: 2px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, var(--pastel-pink), transparent);
    opacity: 0;
    animation: lightning 8s ease-in-out infinite;
}

@keyframes lightning {
    0%, 90%, 100% {
        opacity: 0;
    }
    92%, 94%, 96% {
        opacity: 0.6;
        box-shadow: 0 0 20px var(--pastel-pink), 0 0 40px var(--pastel-purple);
    }
}

/* Gradient text effect */
.gradient-text {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    /* backdrop-filter: blur(10px); */
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 182, 217, 0.2);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 182, 217, 0.5);
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 182, 217, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 182, 217, 0.8), 0 0 40px rgba(212, 187, 255, 0.6);
    }
}

.nav-logo-text {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--pastel-pink);
    text-shadow: 0 0 10px rgba(255, 182, 217, 0.5);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-pink);
    color: var(--black) !important;
    box-shadow: 0 4px 15px rgba(255, 182, 217, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 182, 217, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--pastel-pink);
    color: var(--pastel-pink);
}

.btn-secondary:hover {
    background: rgba(255, 182, 217, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 182, 217, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--pastel-pink);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(255, 182, 217, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-bg) 100%);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 30px rgba(255, 182, 217, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 182, 217, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 182, 217, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--pastel-pink);
    box-shadow: 0 15px 40px rgba(255, 182, 217, 0.3);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--pastel-pink);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 182, 217, 0.5);
}

.feature-card h3 {
    color: var(--pastel-pink);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Command Section */
.commands {
    padding: 5rem 2rem;
}

.commands-container {
    max-width: 1200px;
    margin: 0 auto;
}

.command-category {
    margin-bottom: 3rem;
}

.command-category h3 {
    color: var(--pastel-purple);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(212, 187, 255, 0.3);
}

.command-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

.command-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--pastel-pink);
    transition: all 0.3s ease;
}

.command-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 182, 217, 0.2);
}

.command-item code {
    background: rgba(255, 182, 217, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    color: var(--pastel-pink);
    font-weight: 600;
}

.command-item p {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 182, 217, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--pastel-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--pastel-pink);
    text-shadow: 0 0 10px rgba(255, 182, 217, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .command-list {
        grid-template-columns: 1fr;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cursor trail effect */
.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--pastel-pink);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    z-index: 9998;
    animation: trailFade 0.5s ease-out forwards;
}

@keyframes trailFade {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Footer with animated background */
.footer {
    background: var(--dark-bg);
    padding: 0;
    text-align: center;
    border-top: 1px solid rgba(255, 182, 217, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    /* backdrop-filter: blur(10px); */
}

.footer-overlay {
    position: relative;
    z-index: 1;
}
