/**
 * Fake Settings Modal CSS
 * Eternal Illusion - "Fejlesztői csintevés" beállítások modal stílusok
 * 2025. október 27.
 */

/* ===== FAKE SETTINGS MAIN CONTAINER ===== */

.fake-settings-content {
    min-height: 400px;
    position: relative;
}

.settings-phase {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* ===== PHASE 1: PASSWORD INPUT ===== */

.settings-header {
    text-align: center;
    margin-bottom: 30px;
}

.settings-header i {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 10px;
    display: block;
}

.spinning-gear {
    animation: spin 3s linear infinite;
}

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

.settings-header h3 {
    color: #ffd700;
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.security-warning {
    background: rgba(255, 69, 0, 0.1);
    border: 2px solid rgba(255, 69, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    color: #ff6b35;
    line-height: 1.6;
}

.security-warning i {
    color: #ffd700;
    margin-right: 8px;
}

.password-container {
    margin: 30px 0;
}

.password-container label {
    display: block;
    color: #e0e6ed;
    margin-bottom: 8px;
    font-weight: 600;
}

.security-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(30, 30, 50, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #e0e6ed;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.security-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    background: rgba(30, 30, 50, 0.9);
}

.password-strength {
    margin-top: 8px;
    text-align: right;
    color: #888;
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:enabled:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.submit-btn:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
}

/* ===== PHASE 2: HACKING ANIMATION ===== */

.hacking-container {
    text-align: center;
    padding: 40px 20px;
}

.hacking-gif {
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hacking-text h3 {
    color: #00ff41;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.typing-effect {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: #00ff41;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor {
    animation: blink 1s infinite;
    color: #00ff41;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== PHASE 3: WARNING & COUNTDOWN ===== */

.warning-container {
    text-align: center;
    padding: 30px 20px;
}

.warning-header {
    margin-bottom: 30px;
}

.danger-icon {
    font-size: 3rem;
    color: #ff0000;
    animation: pulse 1s infinite;
    margin-bottom: 15px;
    display: block;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.warning-header h3 {
    color: #ff0000;
    margin: 0;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.danger-text {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #ff6b6b;
    line-height: 1.6;
    font-size: 1.1rem;
}

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-text {
    color: #e0e6ed;
    font-size: 1.2rem;
    font-weight: 600;
}

.countdown-number {
    font-size: 4rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    animation: countdownPulse 1s infinite;
    min-width: 80px;
}

@keyframes countdownPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.mouse-warning {
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid rgba(255, 165, 0, 0.4);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: #ffb347;
    font-size: 1.1rem;
    font-weight: 600;
}

.mouse-warning i {
    margin-right: 10px;
    animation: wiggle 0.5s infinite alternate;
}

@keyframes wiggle {
    0% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

/* ===== PHASE 4: DELETION COMPLETE ===== */

.deletion-container {
    text-align: center;
    padding: 30px 20px;
}

.deletion-title {
    color: #ff0000;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    animation: explosionPulse 2s infinite;
}

@keyframes explosionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.deletion-gif {
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.deletion-message {
    margin: 30px 0;
}

.deletion-message p {
    margin: 10px 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.troll-reveal {
    color: #00ff41;
    font-style: italic;
    animation: fadeInTroll 3s ease-in-out;
}

@keyframes fadeInTroll {
    0% { opacity: 0; transform: translateY(10px); }
    70% { opacity: 0; }
    100% { opacity: 1; transform: translateY(0); }
}

.reset-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.reset-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .countdown-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .countdown-number {
        font-size: 3rem;
    }
    
    .hacking-gif,
    .deletion-gif {
        max-width: 200px;
    }
}