/* Modern About Modal Styles */
.modal-about {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    border: 1px solid rgba(78, 204, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(78, 204, 255, 0.2);
    transition: all 0.3s ease;
    padding: 35px 30px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    width: 90%;
    max-width: 400px;
    box-sizing: border-box;
    display: none;
}

.modal-about.active {
    display: block;
    animation: fadeInModal 0.4s ease;
}

.modal-about h3 {
    background: linear-gradient(to right, #4eceff, #c054ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-size: 24px;
}

.modal-about p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Desktop styles - larger font for desktop */
@media (min-width: 769px) {
    .modal-about p {
        font-size: 17px;
        line-height: 1.7;
    }
}

.modal-about p:last-of-type {
    margin-bottom: 25px;
}

.modal-about .close-button {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 5px;
}

.modal-about .close-button:hover {
    background: linear-gradient(135deg, #4e95e6, #25e1ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.modal-about .close-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Button hover effect */
.modal-about .close-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: 1;
}

.modal-about .close-button:hover::after {
    left: 100%;
}

/* Ensure text stays on top of the shine effect */
.modal-about .close-button span {
    position: relative;
    z-index: 2;
}

/* Animation */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .modal-about {
        width: 90%;
        max-width: 320px;
        padding: 25px 20px;
    }
    
    .modal-about h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .modal-about p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .modal-about .close-button {
        font-size: 14px;
        padding: 10px 20px;
    }
} 