/* ═══════════════════════════════════════════════════════
   DCR BUTTON — Premium Casino CTA Button v3.0
   Glassmorphism + Neon Glow + Pulse Animation
   AMP uyumlu fallback stilleri dahil
   ═══════════════════════════════════════════════════════ */

/* ─── Google Fonts ─────────────────────────────────── */

@import url(
    'https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap'
);

/* ─── Wrapper ──────────────────────────────────────── */

.dcr-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    position: relative;
}

/* ─── Ana Buton ────────────────────────────────────── */

.dcr-glossy-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    padding: 22px 50px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    text-decoration: none !important;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

    background:
        linear-gradient(
            145deg,
            var(--btn-lighter) 0%,
            var(--btn-color) 40%,
            var(--btn-darker) 100%
        );

    box-shadow:
        0 4px 15px var(--btn-glow),
        0 8px 30px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);

    filter: drop-shadow(0 0 8px var(--btn-glow));
}

/* ─── Buton Metni ──────────────────────────────────── */

.dcr-btn-text {
    position: relative;
    z-index: 3;
    font-family:
        'Montserrat',
        'Segoe UI',
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--btn-text);
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    transition: all 0.4s ease;
}

/* ─── Üst Cam Parlaklık (Shine) ────────────────────── */

.dcr-btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    border-radius: 60px 60px 0 0;
    z-index: 2;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.12) 40%,
            rgba(255, 255, 255, 0) 100%
        );

    transition: opacity 0.4s ease;
}

/* ─── Hover ────────────────────────────────────────── */

.dcr-glossy-btn:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 6px 25px var(--btn-glow),
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 0 40px var(--btn-glow),
        inset 0 2px 4px rgba(255, 255, 255, 0.25),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);

    filter: drop-shadow(0 0 15px var(--btn-glow))
            brightness(1.1);
}

.dcr-glossy-btn:hover .dcr-btn-text {
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: 2.5px;
}

.dcr-glossy-btn:hover .dcr-btn-shine {
    opacity: 0.8;
}

/* ─── Active ───────────────────────────────────────── */

.dcr-glossy-btn:active {
    transform: translateY(1px) scale(0.98);

    box-shadow:
        0 2px 10px var(--btn-glow),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 3px 8px rgba(0, 0, 0, 0.2);

    filter: drop-shadow(0 0 5px var(--btn-glow))
            brightness(0.95);
}

/* ─── Pulse Animasyonu ─────────────────────────────── */

.dcr-glossy-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 64px;
    z-index: -1;
    opacity: 0;
    background:
        linear-gradient(
            145deg,
            var(--btn-lighter),
            var(--btn-color),
            var(--btn-darker)
        );
    animation: dcr-pulse-ring 2.5s ease-out infinite;
}

@keyframes dcr-pulse-ring {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

/* ─── Sweep Shine Animasyonu ───────────────────────── */

.dcr-glossy-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;

    background:
        linear-gradient(
            105deg,
            transparent 20%,
            rgba(255, 255, 255, 0.3) 45%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.3) 55%,
            transparent 80%
        );

    transform: skewX(-20deg);
    animation: dcr-sweep 4s ease-in-out infinite;
}

@keyframes dcr-sweep {
    0% {
        left: -60%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 130%;
        opacity: 0;
    }
    100% {
        left: 130%;
        opacity: 0;
    }
}

/* ─── Ripple Efekti ────────────────────────────────── */

.dcr-glossy-btn .dcr-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: dcr-ripple-effect 0.6s ease-out;
    pointer-events: none;
    z-index: 4;
}

@keyframes dcr-ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════
   AMP FALLBACK STİLLERİ
   AMP sayfalarında inline style kullanılır ancak
   bazı AMP temaları bu sınıfı da destekler
   ═══════════════════════════════════════════════════════ */

.dcr-amp-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    padding: 20px 45px;
    border: none;
    border-radius: 60px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    font-family:
        'Montserrat',
        'Segoe UI',
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.15);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* AMP buton visited/hover renk koruması */
.dcr-amp-btn:visited,
.dcr-amp-btn:hover,
.dcr-amp-btn:active,
.dcr-amp-btn:focus {
    text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media screen and (max-width: 768px) {
    .dcr-glossy-btn {
        min-width: 260px;
        padding: 18px 35px;
    }

    .dcr-btn-text {
        font-size: 17px;
        letter-spacing: 1px;
    }

    .dcr-glossy-btn:hover .dcr-btn-text {
        letter-spacing: 1.5px;
    }

    .dcr-amp-btn {
        min-width: 260px;
        padding: 18px 35px;
        font-size: 17px;
        letter-spacing: 1px;
    }
}

@media screen and (max-width: 480px) {
    .dcr-glossy-btn {
        min-width: 220px;
        padding: 16px 28px;
        border-radius: 50px;
    }

    .dcr-btn-text {
        font-size: 15px;
        letter-spacing: 0.8px;
    }

    .dcr-amp-btn {
        min-width: 220px;
        padding: 16px 28px;
        font-size: 15px;
        letter-spacing: 0.8px;
        border-radius: 50px;
    }
}

@media screen and (max-width: 360px) {
    .dcr-glossy-btn {
        min-width: 180px;
        padding: 14px 22px;
    }

    .dcr-btn-text {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .dcr-amp-btn {
        min-width: 180px;
        padding: 14px 22px;
        font-size: 13px;
        letter-spacing: 0.5px;
    }
}

/* ═══════════════════════════════════════════════════════
   ERİŞİLEBİLİRLİK
   ═══════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .dcr-glossy-btn::before,
    .dcr-glossy-btn::after {
        animation: none;
    }

    .dcr-glossy-btn {
        transition: none;
    }

    .dcr-glossy-btn:hover {
        transform: none;
    }
}

.dcr-glossy-btn:focus-visible {
    outline: 3px solid var(--btn-lighter);
    outline-offset: 4px;
}

.dcr-amp-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}