/* Contact Section & Modal Styles */

/* Modal Backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.modal-content {
    background: var(--card2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
    text-align: center;
}

.modal-backdrop.active .modal-content {
    transform: translateY(0);
}

/* Modal Header */
.modal-header h3 {
    margin: 0;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 24px;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
    padding: 5px;
}

.modal-close:hover {
    color: var(--text);
}

/* Modal Actions */
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.modal-btn.primary {
    background: rgba(200, 212, 0, 0.15);
    border-color: rgba(200, 212, 0, 0.3);
    color: #fff;
}

.modal-btn.primary:hover {
    background: rgba(200, 212, 0, 0.25);
}

/* Toast Notification (Copied to clipboard) */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--accent);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

