* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #202020 100%);
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
body {
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #00ff88, #61dafb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.gradient-btn {
    background: linear-gradient(45deg, #00ff88, #61dafb);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: #1a1a1a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: 15px;
}

.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.gradient-btn:active {
    transform: translateY(0);
}

.gradient-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: 0.3s;
    border-radius: 25px;
}

.gradient-btn:hover::before {
    transform: scale(1);
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.sidebar {
    width: 280px;
    height: 100vh;
    top: 70px;
    position: absolute;
    right: 0px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    overflow-y: auto;
    z-index: 999;
}

.sidebar.active {
    right: 0;
}

.nav-item {
    padding: 15px;
    margin: 8px 0;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #00ff88, #61dafb);
    transform: scaleY(0);
    transition: transform 0.2s ease;
    border-radius: 2px;
}

.nav-item:hover::before {
    transform: scaleY(1);
}

.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding-left: 20px;
}

.dropdown-menu.active {
    max-height: 1000px;
}

.content {
    flex: 1;
    padding: 2rem 4rem;
    margin-top: 80px;
    margin-right: 280px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 18px;
    margin: 1.5rem 0;
    backdrop-filter: blur(15px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    transition: all 0.4s ease;
    opacity: 0;
}

.card:hover::before {
    top: -30%;
    left: -30%;
    opacity: 1;
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .sidebar {
        width: 100%;
        right: -100%;
    }
    .sidebar.active {
        right: 0;
    }
    .content {
        margin-right: 0;
    }
    
    .container {
        margin-top: 60px;
    }

    .gradient-btn {
        width: 100%;
        margin: 0.5rem 0;
        padding: 14px;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

.module-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.module-open .module-arrow {
    transform: rotate(180deg);
}

html {
    scroll-behavior: smooth;
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.ripple:active::before {
    transform: scale(2);
    opacity: 0;
}

@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




.learn-content {
    padding: 2rem 4rem;
    margin-top: 80px;
}
.steps {
    max-width: 800px;
    margin: 0 auto;
}
.step {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    margin: 1.5rem 0;
}
.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}
.code-block {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}
.navigation {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.navigation a {
    color: aqua;
    margin-right: 1rem;
    text-decoration: none;
}
a {
    color: aqua;
}
.warning {
    background: rgba(255, 165, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}