body {
    background: #0a0a1a;
}

.auth-section {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.cyber-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-family: 'Share Tech Mono', monospace;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button-icon {
    font-size: 14px;
}

.signup-button {
    background: linear-gradient(45deg, #ff0066, #00ccff);
    color: #fff;
    box-shadow: 0 0 10px #ff0066;
}

.signup-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ccff;
}

.login-button {
    background: linear-gradient(45deg, #00ccff, #ff0066);
    color: #fff;
    box-shadow: 0 0 10px #00ccff;
}

.login-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff0066;
}

.robotic-section {
    position: relative;
    z-index: 5;
    padding: 100px 50px;
    text-align: center;
    background: rgba(10, 10, 26, 0.8);
}

.section-title {
    font-size: 40px;
    color: #ff0066;
    text-shadow: 0 0 10px #ff0066, 0 0 20px #00ccff;
    margin-bottom: 40px;
    animation: fadeIn 2s ease-in-out;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(10, 10, 26, 0.9);
    border: 1px solid #00ccff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 204, 255, 0.1), rgba(255, 0, 102, 0.1));
    z-index: -1;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff0066, 0 0 40px #00ccff;
}

.project-card h3 {
    font-size: 24px;
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff;
    margin-bottom: 10px;
}

.project-card p {
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    color: #b3b3cc;
    margin-bottom: 15px;
}

.project-status {
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    color: #ff0066;
    text-shadow: 0 0 5px #ff0066;
    margin-bottom: 15px;
}

.project-status.free {
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff;
}

.project-media video {
    width: 100%;
    max-height: 200px;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.project-media video:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #00ccff;
}

.media-files {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.media-link {
    display: inline-block;
    padding: 8px 16px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    text-decoration: none;
    background: linear-gradient(45deg, #ff0066, #00ccff);
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.media-link:hover {
    background: linear-gradient(45deg, #00ccff, #ff0066);
    box-shadow: 0 0 15px #00ccff;
}

.pay-button {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    background: linear-gradient(45deg, #ff0066, #00ccff);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pay-button:hover {
    background: linear-gradient(45deg, #00ccff, #ff0066);
    box-shadow: 0 0 15px #00ccff;
}

.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.9);
    z-index: 20;
    justify-content: center;
    align-items: center;
}

.payment-content {
    background: rgba(10, 10, 26, 0.8);
    border: 1px solid #00ccff;
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 20px #00ccff;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #ff0066;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #00ccff;
}

.payment-content h3 {
    font-size: 24px;
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff;
    margin-bottom: 10px;
}

.payment-content p {
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    color: #b3b3cc;
    margin-bottom: 20px;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-form input {
    padding: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #00ccff;
    border-radius: 5px;
    color: #fff;
}

.payment-form input:focus {
    outline: none;
    border-color: #ff0066;
    box-shadow: 0 0 10px #ff0066;
}

.submit-payment {
    padding: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    background: linear-gradient(45deg, #ff0066, #00ccff);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-payment:hover {
    background: linear-gradient(45deg, #00ccff, #ff0066);
    box-shadow: 0 0 15px #00ccff;
}

/* استایل برای لینک فعال در هدر و فوتر */
.nav-links a, .footer-links a {
    color: #b3b3cc;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    transition: color 0.3s ease;
}

.nav-links a:hover, .footer-links a:hover {
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff;
}

.nav-links a.active, .footer-links a.active {
    color: #ff0066;
    text-shadow: 0 0 5px #ff0066;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .robotic-section {
        padding: 80px 20px;
    }
    .section-title {
        font-size: 30px;
    }
    .project-card h3 {
        font-size: 20px;
    }
    .project-card p {
        font-size: 14px;
    }
}