
/* ========================================
   ACCESS GATE SYSTEM STYLES
   ======================================== */

/* Access Gate Modal */
.access-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.access-gate-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #ff1744;
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 50px rgba(255, 23, 68, 0.3);
    animation: slideUp 0.4s ease;
}

.activation-success {
    border-color: #4caf50;
    box-shadow: 0 10px 50px rgba(76, 175, 80, 0.3);
}

.lock-icon, .success-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

.success-icon {
    animation: bounceIn 0.6s ease;
}

.access-gate-content h2 {
    color: #ff1744;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 23, 68, 0.5);
}

.activation-success h2 {
    color: #4caf50;
}

.access-gate-content p {
    color: #ddd;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.access-steps {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 1rem 0;
    text-align: center;
    color: #ddd;
    font-size: 0.85rem;
    line-height: 1.4;
}

.access-steps strong {
    color: #ff1744;
    display: block;
    margin-bottom: 0.25rem;
}

.access-gate-btn {
    background: linear-gradient(135deg, #ff1744, #ff6b6b);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    width: 100%;
    margin: 0.4rem 0;
    box-shadow: 0 3px 12px rgba(255, 23, 68, 0.3);
}

.access-gate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 23, 68, 0.5);
}

.cancel-btn {
    background: linear-gradient(135deg, #666, #888);
    color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.cancel-btn:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.tutorial-btn {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    box-shadow: 0 3px 12px rgba(255, 0, 0, 0.3);
}

.tutorial-btn:hover {
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
}

.access-note {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* Timer Display */
.timer-display {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #4caf50;
    border-radius: 15px;
    padding: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: #4caf50;
    margin: 1.5rem 0;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
    animation: glow 2s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInGate {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulseGate {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(76, 175, 80, 0.8);
    }
}

/* ========================================
   COOLDOWN MODAL STYLES
   ======================================== */

.cooldown-modal {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #ff3b30;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 50px rgba(255, 59, 48, 0.3);
    animation: slideUp 0.3s ease;
}

.cooldown-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 1s infinite;
}

.cooldown-modal h2 {
    color: #ff3b30;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
}

.cooldown-message {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cooldown-timer {
    font-size: 4rem;
    font-weight: bold;
    color: #ff3b30;
    text-shadow: 0 0 20px rgba(255, 59, 48, 0.8);
    margin: 1rem 0;
    animation: pulse 1s infinite;
}

.cooldown-hint {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    font-style: italic;
}

/* ========================================
   SERVER RESTART MODAL STYLES
   ======================================== */

.restart-modal {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #2196f3;
    border-radius: 20px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 50px rgba(33, 150, 243, 0.3);
    animation: slideUp 0.3s ease;
}

.restart-icon {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.restart-modal h2 {
    color: #2196f3;
    font-size: 1.9rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.restart-message {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.restart-timer {
    font-size: 4.5rem;
    font-weight: bold;
    color: #2196f3;
    text-shadow: 0 0 20px rgba(33, 150, 243, 0.8);
    margin: 1.5rem 0;
    animation: pulse 1s infinite;
}

.restart-hint {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .access-gate-content {
        padding: 2rem 1.5rem;
    }

    .access-gate-content h2 {
        font-size: 1.5rem;
    }

    .lock-icon, .success-icon {
        font-size: 3rem;
    }

    .timer-display {
        font-size: 2.5rem;
        padding: 1rem;
    }

    .access-gate-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }

    .access-steps {
        padding: 1rem;
    }

    .access-steps li {
        font-size: 0.9rem;
    }

    .cooldown-modal {
        padding: 1.5rem;
    }

    .cooldown-modal h2 {
        font-size: 1.5rem;
    }

    .cooldown-timer {
        font-size: 3rem;
    }

    .restart-modal {
        padding: 1.5rem;
    }

    .restart-modal h2 {
        font-size: 1.5rem;
    }

    .restart-icon {
        font-size: 3.5rem;
    }

    .restart-timer {
        font-size: 3.5rem;
    }
}
