/* Registration Form Styles */
body::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    animation: gradientShift 15s ease-in-out infinite;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
}

.container {
    background: rgba(15, 25, 45, 0.9);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    border: 2px solid rgba(76, 175, 80, 0.3);
    animation: slideInUp 0.8s ease-out;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 20px;
    background: linear-gradient(45deg, #4CAF50, #2196F3, #4CAF50);
    z-index: -1;
    opacity: 0.4;
    animation: breathe 4s ease-in-out infinite;
}

.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.form-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(76, 175, 80, 0.6));
    animation: logoFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.form-logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 35px rgba(76, 175, 80, 0.9));
}

.subtitle {
    color: #fff;
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
    opacity: 0.9;
}

.input-group {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.input-group:hover {
    transform: scale(1.02);
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    font-family: 'Mali', Arial, sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.input-group input[type="text"]:focus,
.input-group input[type="email"]:focus,
.input-group input[type="password"]:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Mali', Arial, sans-serif;
}

.submit-btn {
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Mali', Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.4);
    background: linear-gradient(45deg, #5CBF60, #2EA6F4);
}

.submit-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bottom-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.bottom-buttons .btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Mali', Arial, sans-serif;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.bottom-buttons .btn:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-family: 'Mali', Arial, sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

/* Floating Particles */
.particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.particle-1 {
    width: 4px;
    height: 4px;
    background: rgba(76, 175, 80, 0.6);
    animation: float1 8s ease-in-out infinite;
}

.particle-2 {
    width: 6px;
    height: 6px;
    background: rgba(33, 150, 243, 0.5);
    animation: float2 10s ease-in-out infinite;
}

.particle-3 {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    animation: float3 12s ease-in-out infinite;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }

    .container {
        width: 95%;
        padding: 30px 20px;
    }

    h2 {
        font-size: 32px;
    }

    .bottom-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo {
        font-size: 18px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }
}
