/* =========================================================
   SMPlag Shop — Neon 2.0 (Fixed & Animated)
   EasyDonate / Neon theme
   Dark blue + cyan / animations / glassmorphism
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@600;700;800&display=swap');

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --cyan: #22d3ee;
    --cyan-light: #67e8f9;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-deep: #1e40af;

    --bg: #030712;
    --bg-2: #060d1c;
    --panel: rgba(9, 20, 40, .78);
    --panel-solid: #091428;
    --panel-light: rgba(17, 32, 60, .72);

    --border: rgba(34, 211, 238, .18);
    --border-hover: rgba(34, 211, 238, .65);

    --glow: rgba(34, 211, 238, .25);
    --blue-glow: rgba(37, 99, 235, .35);

    --text: #f8fafc;
    --text-muted: #94a3b8;

    --radius: 16px;
    --radius-small: 12px;

    --transition: .25s cubic-bezier(.2, .8, .2, 1);
}

/* =========================================================
   GLOBAL
   ========================================================= */

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at 15% 10%, rgba(37, 99, 235, .10), transparent 30%),
        radial-gradient(circle at 85% 25%, rgba(34, 211, 238, .07), transparent 30%),
        var(--bg) !important;
    color: var(--text);
    overflow-x: hidden;
}

::selection {
    background: var(--cyan);
    color: #001018;
}

a {
    transition:
        color var(--transition),
        opacity var(--transition),
        transform var(--transition);
}

button,
.btn,
input,
.shop {
    -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

html::-webkit-scrollbar {
    width: 9px;
}

html::-webkit-scrollbar-track {
    background: #020611;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    border-radius: 20px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-light);
}

/* =========================================================
   BACKGROUND
   ========================================================= */

main.bg-elegant {
    background:
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, .12), transparent 35%),
        var(--bg) !important;
}

.bg-pattern {
    background-color: var(--bg) !important;
}

/* =========================================================
   HERO & ANIMATIONS
   ========================================================= */

#welcome-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
}

#welcome-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(circle at 50% 45%, rgba(34, 211, 238, .13), transparent 28%),
        linear-gradient(180deg, rgba(3, 7, 18, .20), rgba(3, 7, 18, .96));

    pointer-events: none;
}

.overlay::before {
    background:
        linear-gradient(180deg, rgba(3, 7, 18, .25) 0%, rgba(3, 7, 18, .55) 45%, rgba(3, 7, 18, .98) 100%) !important;
}

#welcome-section .shop-name {
    position: relative;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    color: transparent !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--cyan-light) 35%, var(--cyan) 65%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: -.045em;
    text-shadow:
        0 0 25px rgba(34, 211, 238, .25),
        0 0 70px rgba(37, 99, 235, .20);
    animation:
        heroTitle 4s ease-in-out infinite alternate,
        heroAppear .8s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes heroTitle {
    from {
        filter: brightness(.95);
        transform: translateY(0);
    }
    to {
        filter: brightness(1.12);
        transform: translateY(-3px);
    }
}

@keyframes heroAppear {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.97);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

#welcome-section .shop-description {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, .82) !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    line-height: 1.45;
    animation: descriptionAppear 1s .15s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes descriptionAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    background: rgba(3, 7, 18, .22) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.navbar-brand img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 1px solid rgba(34, 211, 238, .25) !important;
    box-shadow: 0 0 0 rgba(34, 211, 238, 0);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.navbar-brand:hover img {
    transform: rotate(-3deg) scale(1.06);
    border-color: var(--cyan) !important;
    box-shadow: 0 0 18px rgba(34, 211, 238, .35);
}

.navbar .nav-link {
    position: relative;
    color: rgba(255, 255, 255, .78) !important;
    font-weight: 700;
    transition: color var(--transition), transform var(--transition);
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: translateX(-50%);
    transition: width var(--transition);
}

.navbar .nav-link:hover {
    color: var(--cyan) !important;
    transform: translateY(-1px);
}

.navbar .nav-link:hover::after {
    width: 65%;
}

/* =========================================================
   SHOP SECTION
   ========================================================= */

#shop-section {
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
}

#shop-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 600px;
    height: 250px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(37, 99, 235, .10), transparent 70%);
    pointer-events: none;
}

#shop-section h1 {
    position: relative;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -.035em;
}

#shop-section h1 .text-info {
    color: var(--cyan) !important;
    text-shadow: 0 0 20px rgba(34, 211, 238, .30);
}

/* =========================================================
   INPUTS & BUTTONS
   ========================================================= */

.form-control,
.input-username,
.shop-button {
    position: relative;
    min-height: 54px;
    background: linear-gradient(145deg, rgba(12, 27, 52, .90), rgba(6, 15, 31, .90)) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-small) !important;
    color: #fff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025),
        0 8px 25px rgba(0, 0, 0, .18) !important;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition),
        background var(--transition);
}

.form-control:hover,
.input-username:hover,
.shop-button:hover {
    border-color: rgba(34, 211, 238, .35) !important;
}

.form-control:focus,
.input-username:focus {
    border-color: var(--cyan) !important;
    background: linear-gradient(145deg, rgba(13, 32, 62, .98), rgba(6, 17, 35, .98)) !important;
    box-shadow:
        0 0 0 3px rgba(34, 211, 238, .09),
        0 0 28px rgba(34, 211, 238, .10),
        inset 0 1px 0 rgba(255, 255, 255, .04) !important;
    transform: translateY(-1px);
    outline: none !important;
}

.form-control::placeholder {
    color: rgba(203, 213, 225, .42) !important;
}

.shop-button {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    width: 100%;
}

.shop-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .25),
        0 0 25px rgba(34, 211, 238, .08) !important;
}

.shop-button:active {
    transform: translateY(0) scale(.99);
}

.shop-button .btn-inner-icon {
    color: var(--cyan);
    transition: transform var(--transition);
}

.shop-button:hover .btn-inner-icon,
.shop-button.active .btn-inner-icon {
    transform: rotate(180deg);
}

/* =========================================================
   PRODUCT DROPDOWN (FIXED)
   ========================================================= */

.shop {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    margin-top: 8px;
    max-height: 380px;
    overflow-y: auto;
    background: linear-gradient(145deg, rgba(9, 20, 40, .97), rgba(4, 12, 26, .97)) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, .60),
        0 0 35px rgba(37, 99, 235, .10) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: dropdownIn .22s cubic-bezier(.2, .8, .2, 1) forwards;
}

.shop.d-none {
    display: none !important;
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.shop .bg-light {
    background: rgba(34, 211, 238, .055) !important;
}

.shop .bg-medium {
    background: rgba(37, 99, 235, .16) !important;
}

.shop > *,
.shop .product,
.shop .shop-product {
    transition:
        background var(--transition),
        transform var(--transition),
        border-color var(--transition);
    cursor: pointer;
}

.shop > *:hover,
.shop .product:hover,
.shop .shop-product:hover {
    background: rgba(34, 211, 238, .12) !important;
}

.shop::-webkit-scrollbar {
    width: 7px;
}

.shop::-webkit-scrollbar-track {
    background: transparent;
}

.shop::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cyan), var(--blue)) !important;
    border-radius: 20px;
}

.shop::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-light) !important;
}

/* =========================================================
   CART / PRODUCT CARDS
   ========================================================= */

.cart .card,
.cart-products .card {
    background: linear-gradient(145deg, rgba(10, 24, 47, .90), rgba(5, 14, 29, .90)) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .20) !important;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.cart .card:hover,
.cart-products .card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, .38) !important;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, .30),
        0 0 25px rgba(34, 211, 238, .06) !important;
}

.cart .border-bottom,
.cart .border-top,
.cart-products .border-bottom,
.cart-products .border-top {
    border-color: var(--border) !important;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary,
.btn-info,
.btn-success,
.btn-secondary:not(.shop-button) {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue) 0%, #3182f6 45%, var(--cyan) 100%) !important;
    border: 0 !important;
    border-radius: var(--radius-small) !important;
    color: #02101d !important;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(37, 99, 235, .25) !important;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        filter var(--transition);
}

.btn-primary::before,
.btn-info::before,
.btn-success::before,
.btn-secondary:not(.shop-button)::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}

.btn-primary:hover::before,
.btn-info:hover::before,
.btn-success:hover::before,
.btn-secondary:not(.shop-button):hover::before {
    left: 140%;
}

.btn-primary:hover,
.btn-info:hover,
.btn-success:hover,
.btn-secondary:not(.shop-button):hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
        0 12px 35px rgba(37, 99, 235, .35),
        0 0 25px rgba(34, 211, 238, .12) !important;
}

.btn-primary:active,
.btn-info:active,
.btn-success:active,
.btn-secondary:not(.shop-button):active {
    transform: translateY(0) scale(.98);
}

/* =========================================================
   OUTLINE BUTTONS
   ========================================================= */

.btn-outline-primary,
.btn-outline-info {
    border: 1px solid rgba(34, 211, 238, .55) !important;
    color: var(--cyan) !important;
    background: rgba(34, 211, 238, .025) !important;
    border-radius: var(--radius-small) !important;
    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.btn-outline-primary:hover,
.btn-outline-info:hover {
    background: rgba(34, 211, 238, .10) !important;
    border-color: var(--cyan) !important;
    box-shadow: 0 0 22px rgba(34, 211, 238, .10);
    transform: translateY(-2px);
}

/* =========================================================
   PAYMENT MODALS (FIXED)
   ========================================================= */

.modal-backdrop.show {
    opacity: .82;
    background: #02040a;
    backdrop-filter: blur(4px);
}

.modal-content {
    border: 1px solid rgba(34, 211, 238, .18) !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #07101f !important;
    box-shadow:
        0 30px 100px rgba(0, 0, 0, .70),
        0 0 50px rgba(37, 99, 235, .10) !important;
    animation: modalIn .3s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-body {
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, .07), transparent 30%),
        #07101f !important;
}

.modal-header h1,
#payment-type h1,
#payment-type h4 {
    font-family: 'Unbounded', sans-serif;
    color: #fff !important;
}

.modal-header p,
#payment-type p,
#payment-type h5 {
    color: #e2e8f0 !important;
}

/* =========================================================
   PAYMENT CARDS
   ========================================================= */

#payment-type a {
    display: block;
    text-decoration: none !important;
    cursor: pointer;
}

#payment-type a .card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15, 30, 56, .88), rgba(7, 17, 34, .88)) !important;
    border: 1px solid rgba(255, 255, 255, .055) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .18) !important;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

#payment-type a .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(34, 211, 238, .08) 50%, transparent 80%);
    transform: translateX(-100%);
    transition: transform .55s ease;
}

#payment-type a:hover .card {
    transform: translateY(-4px);
    background: linear-gradient(145deg, rgba(17, 39, 72, .95), rgba(7, 20, 40, .95)) !important;
    border-color: rgba(34, 211, 238, .45) !important;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, .30),
        0 0 25px rgba(34, 211, 238, .10) !important;
}

#payment-type a:hover .card::before {
    transform: translateX(100%);
}

#payment-type a:active .card {
    transform: translateY(-1px) scale(.99);
}

#payment-type .card img {
    transition: transform var(--transition), filter var(--transition);
}

#payment-type a:hover .card img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, .18));
}

/* =========================================================
   INSTRUCTION
   ========================================================= */

.main-instruction {
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(6, 15, 30, .45));
}

.main-instruction .col-md-6 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(10, 25, 48, .86), rgba(5, 14, 29, .86));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.main-instruction .col-md-6::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    box-shadow: 0 0 20px rgba(34, 211, 238, .30);
}

.main-instruction .col-md-6:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, .30);
    box-shadow:
        0 22px 60px rgba(0, 0, 0, .28),
        0 0 30px rgba(37, 99, 235, .06);
}

.main-instruction h2 {
    margin-bottom: 24px;
    font-family: 'Unbounded', sans-serif;
    font-size: 1.45rem;
    color: var(--cyan) !important;
    text-shadow: 0 0 20px rgba(34, 211, 238, .20);
}

.main-instruction p {
    color: rgba(226, 232, 240, .72);
}

.main-instruction p.font-weight-bolder {
    margin-top: 20px;
    color: #fff;
    font-weight: 800 !important;
}

.main-instruction p.font-weight-bolder::first-letter {
    color: var(--cyan);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    position: relative;
    background: linear-gradient(180deg, #040a15, #02050c) !important;
    border-top: 1px solid rgba(34, 211, 238, .10);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -100px;
    width: 500px;
    height: 200px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(37, 99, 235, .08), transparent 70%);
    pointer-events: none;
}

.footer-brand img {
    border: 1px solid rgba(34, 211, 238, .18);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.footer-brand:hover img {
    transform: scale(1.04);
    border-color: rgba(34, 211, 238, .55);
    box-shadow: 0 0 20px rgba(34, 211, 238, .15);
}

.footer p {
    color: rgba(203, 213, 225, .55);
}

.footer a.text-info {
    color: var(--cyan) !important;
}

.footer a.text-info:hover {
    color: var(--cyan-light) !important;
}

/* =========================================================
   SOCIAL BUTTONS
   ========================================================= */

#footer-social-links .btn {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .65) !important;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

#footer-social-links .btn:hover {
    color: var(--cyan) !important;
    background: rgba(34, 211, 238, .07);
    border-color: rgba(34, 211, 238, .25);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(34, 211, 238, .10);
}

/* =========================================================
   TEXT / INFO
   ========================================================= */

.text-info {
    color: var(--cyan) !important;
}

.text-shadow-info {
    text-shadow: 0 0 20px rgba(34, 211, 238, .22) !important;
}

/* =========================================================
   SKELETON LOADER
   ========================================================= */

.skeleton-box {
    background: rgba(15, 31, 55, .75) !important;
    border-radius: 10px;
    overflow: hidden;
}

.skeleton-box::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(34, 211, 238, .12),
        rgba(34, 211, 238, .24),
        rgba(34, 211, 238, .12),
        transparent
    ) !important;
    animation: shimmer 1.5s infinite !important;
}

@keyframes shimmer {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.navbar-collapse {
    background: rgba(3, 9, 20, .96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-toggler {
    border: 1px solid rgba(34, 211, 238, .18);
    border-radius: 10px;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.navbar-toggler:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(34, 211, 238, .10);
}

/* =========================================================
   AUTUMN EFFECT OFF
   ========================================================= */

#autumn,
#autumn + script,
.dot {
    display: none !important;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   RESPONSIVE (MOBILE)
   ========================================================= */

@media (max-width: 991px) {
    #welcome-section {
        min-height: 560px;
    }

    #welcome-section .shop-name {
        font-size: 4rem;
    }

    #shop-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}

@media (max-width: 575px) {
    #welcome-section {
        min-height: 500px;
    }

    #welcome-section .shop-name {
        font-size: 3rem;
        letter-spacing: -.05em;
    }

    #welcome-section .shop-description {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    #shop-section h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .main-instruction .col-md-6 {
        padding: 24px;
    }

    .modal-content {
        border-radius: 16px !important;
    }
}