/**
 * Deejing Animation - Button Styles
 * 
 * @author    Deejing Solution
 * @copyright 2026 Deejing Solution. All rights reserved.
 * @link      https://deejing.asia
 * @version   1.0.0
 */

/* ═══════════════════════════════════════════
   HERO CONTAINER
   ═══════════════════════════════════════════ */
.deejing-hero {
    position: relative;
    overflow: hidden;
}

.deejing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 120% 80% at 15% 10%, rgba(120, 200, 255, .25) 0%, transparent 50%),
        radial-gradient(ellipse 100% 100% at 85% 20%, rgba(255, 150, 200, .2) 0%, transparent 45%),
        radial-gradient(ellipse 140% 90% at 70% 90%, rgba(100, 80, 200, .25) 0%, transparent 50%),
        linear-gradient(180deg, rgba(5, 8, 16, 0.9) 0%, rgba(10, 15, 26, 0.85) 100%);
    pointer-events: none;
}

.deejing-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   BASE BUTTON
   ═══════════════════════════════════════════ */
.deejing-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .05));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

/* Gradient border */
.deejing-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .1));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Hover glow */
.deejing-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}

.deejing-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.deejing-btn:hover::after {
    width: 250px;
    height: 250px;
}

.deejing-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ═══════════════════════════════════════════
   COLOR PRESETS
   ═══════════════════════════════════════════ */

/* Heart - Pink/Rose */
.deejing-btn--heart {
    background: linear-gradient(135deg, rgba(255, 100, 150, .2), rgba(255, 150, 200, .1));
}

.deejing-btn--heart::before {
    background: linear-gradient(135deg, rgba(255, 150, 200, .5), rgba(255, 100, 150, .2));
}

.deejing-btn--heart:hover {
    box-shadow: 0 12px 30px rgba(255, 100, 150, .25), 0 0 40px rgba(255, 150, 200, .15);
}

/* Supernova - Gold/Yellow */
.deejing-btn--supernova {
    background: linear-gradient(135deg, rgba(255, 220, 100, .2), rgba(255, 180, 50, .1));
}

.deejing-btn--supernova::before {
    background: linear-gradient(135deg, rgba(255, 220, 100, .5), rgba(255, 180, 50, .2));
}

.deejing-btn--supernova:hover {
    box-shadow: 0 12px 30px rgba(255, 180, 50, .25), 0 0 40px rgba(255, 220, 100, .15);
}

/* Cosmic - Blue/Purple */
.deejing-btn--cosmic {
    background: linear-gradient(135deg, rgba(100, 180, 255, .2), rgba(140, 100, 255, .1));
}

.deejing-btn--cosmic::before {
    background: linear-gradient(135deg, rgba(100, 180, 255, .5), rgba(140, 100, 255, .2));
}

.deejing-btn--cosmic:hover {
    box-shadow: 0 12px 30px rgba(100, 180, 255, .25), 0 0 40px rgba(140, 100, 255, .15);
}

/* Dust - Warm White */
.deejing-btn--dust {
    background: linear-gradient(135deg, rgba(255, 235, 200, .15), rgba(200, 180, 150, .1));
}

.deejing-btn--dust::before {
    background: linear-gradient(135deg, rgba(255, 235, 200, .4), rgba(200, 180, 150, .2));
}

.deejing-btn--dust:hover {
    box-shadow: 0 12px 30px rgba(200, 180, 150, .2), 0 0 40px rgba(255, 235, 200, .1);
}

/* ═══════════════════════════════════════════
   RIPPLE ANIMATION
   ═══════════════════════════════════════════ */
.deejing-ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .3);
    pointer-events: none;
    animation: deejingRipple 0.8s ease-out forwards;
}

@keyframes deejingRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════
   BUTTON GROUP
   ═══════════════════════════════════════════ */
.deejing-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 600px) {
    .deejing-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .deejing-btn-group {
        flex-direction: column;
        align-items: center;
    }
}

/* ═══════════════════════════════════════════
   TEXT UTILITIES
   ═══════════════════════════════════════════ */
.benefit-highlight {
    color: var(--accent-warm-clay);
    font-weight: 600;
    font-style: italic;
    display: inline-block;
    margin-top: 4px;
}