/* --- UNIVERSAL PREMIUM BUTTONS --- */

/* 1. The Primary Glowing Button */
.btn-modern {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(0, 210, 255, 0.02));
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Added inset shadow for the "Glass Edge" highlight */
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-modern:hover {
    /* Slightly brighter glass, but keeps it mostly transparent */
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(0, 210, 255, 0.05));
    
    /* Keep the text blue and make the letters glow */
    color: var(--primary);
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.8), 0 0 25px rgba(0, 210, 255, 0.4);
    
    /* Keep the border so the button doesn't lose its shape */
    border-color: var(--primary);
    
    /* Huge outer and inner cyan glow */
    box-shadow: 
        0 10px 30px rgba(0, 210, 255, 0.5), 
        0 0 20px rgba(0, 210, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 0 15px rgba(0, 210, 255, 0.2);
        
    transform: translateY(-3px) scale(1.02);
}

/* Added Active State (The Click Physics) */
.btn-modern:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.3);
}

/* 2. The Danger (Red) Variant */
.btn-danger {
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.1), rgba(255, 77, 77, 0.02));
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Added inset shadow for the "Glass Edge" highlight */
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-danger:hover {
    background: #ff4d4d;
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    border-color: transparent;
}

/* Added Active State (The Click Physics) */
.btn-danger:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(255, 77, 77, 0.3);
}

/* The universal "Shine" effect */
.btn-modern::after, .btn-danger::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

.btn-modern:hover::after, .btn-danger:hover::after {
    left: 200%;
}

/* Smooth Icon Transition */
.btn-modern i, .btn-danger i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* The Icon Nudge on Hover */
.btn-modern:hover i, .btn-danger:hover i {
    transform: translateX(3px);
}

/* Mobile responsive full-width rules */
@media (max-width: 768px) {
    .btn-mobile-full {
        width: 100%;
    }
}