/* =========================================
   RAFI CEYLAN CASE OVERLAY SYSTEM
   Blocks Ceylan-specific pages while keeping
   them intact for later access
   ========================================= */

.ceylan-case-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 20px;
    box-sizing: border-box;
}

.ceylan-case-overlay.hidden {
    display: none;
}

.ceylan-overlay-badge {
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.ceylan-overlay-icon {
    font-size: 80px;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ceylan-overlay-title {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(90deg, #ffd700, #ffaa00, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ceylan-overlay-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    margin-bottom: 30px;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
}

.ceylan-overlay-info-box {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px 40px;
    margin-bottom: 30px;
    max-width: 700px;
    text-align: center;
}

.ceylan-overlay-info-box h4 {
    color: #ffd700;
    font-size: 1.2em;
    margin-bottom: 12px;
}

.ceylan-overlay-info-box p {
    opacity: 0.85;
    line-height: 1.7;
    margin: 0;
}

.ceylan-overlay-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.ceylan-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ceylan-btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
}

.ceylan-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.ceylan-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ceylan-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffd700;
    color: #ffd700;
}

.ceylan-btn-proceed {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
}

.ceylan-btn-proceed:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
}

.ceylan-overlay-footer {
    position: absolute;
    bottom: 30px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.85em;
}

.ceylan-case-badge {
    position: fixed;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85em;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ceylan-case-badge::before {
    content: "⚠️";
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ceylan-overlay-title {
        font-size: 1.8em;
    }
    
    .ceylan-overlay-subtitle {
        font-size: 1.1em;
    }
    
    .ceylan-overlay-info-box {
        padding: 20px;
    }
    
    .ceylan-overlay-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .ceylan-btn {
        width: 100%;
        justify-content: center;
    }
}
