/* Welcome Installation Modal - Her Sayfa Yenilemesinde */
.welcome-install-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.welcome-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    max-width: 550px;
    width: 90%;
    margin: 20px;
    position: relative;
    box-shadow: 0 25px 70px rgba(255, 107, 53, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease-out;
    overflow: hidden;
    border: 3px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.welcome-modal-content:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(255, 107, 53, 0.5), 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 107, 53, 0.6);
}

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

.welcome-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 107, 53, 0.1);
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.welcome-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.welcome-modal-body {
    padding: 40px 30px 30px;
    text-align: center;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    }
}

.welcome-modal-body h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-dark);
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: titlePulse 2s ease-in-out infinite;
}

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

.welcome-modal-body p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 500;
}

.welcome-modal-body p strong {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 53, 0.3);
    text-decoration-thickness: 2px;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 12px 30px rgba(0, 136, 204, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

.telegram-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.telegram-btn:hover::before {
    width: 300px;
    height: 300px;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #00a0e9 0%, #0088cc 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.6), 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.telegram-btn svg {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    animation: iconBounce 2s ease-in-out infinite;
}

.telegram-btn span,
.telegram-btn::after {
    position: relative;
    z-index: 2;
}

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

/* Mobile Responsive */
@media screen and (max-width: 600px) {
    .welcome-modal-content {
        width: 95%;
        margin: 10px;
        border-width: 2px;
    }
    
    .welcome-modal-body {
        padding: 35px 20px 25px;
    }
    
    .welcome-modal-body h2 {
        font-size: 1.6rem;
    }
    
    .welcome-modal-body p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .telegram-btn {
        padding: 16px 28px;
        font-size: 1rem;
        gap: 12px;
    }
    
    .telegram-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .welcome-icon {
        width: 70px;
        height: 70px;
    }
    
    .welcome-icon svg {
        width: 56px;
        height: 56px;
    }
}

@media screen and (max-width: 400px) {
    .welcome-modal-body h2 {
        font-size: 1.4rem;
    }
    
    .welcome-modal-body p {
        font-size: 0.95rem;
    }
    
    .telegram-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}
