
/* =========================================================
   SolarCube — Gold / Sun Theme
   Custom CSS for the provided EasyDonate HTML
   Minecraft-inspired, clean, premium, responsive
   ========================================================= */

:root {
    --sc-gold: #ffd21a;
    --sc-gold-light: #ffe66b;
    --sc-gold-dark: #d89b00;
    --sc-orange: #ffae00;
    --sc-bg: #0d0b07;
    --sc-bg-2: #171207;
    --sc-card: rgba(35, 27, 12, .78);
    --sc-card-hover: rgba(48, 37, 14, .92);
    --sc-border: rgba(255, 210, 26, .22);
    --sc-text: #fff8df;
    --sc-muted: #c9bd9b;
    --sc-shadow: 0 18px 50px rgba(0, 0, 0, .38);
    --sc-radius: 18px;

    --accent-color: var(--sc-gold) !important;
    --accent-muted: rgba(255, 210, 26, .46) !important;
    --accent-neutral: rgba(255, 210, 26, .30) !important;
}

/* ---------- Base ---------- */

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

body {
    margin: 0;
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 210, 26, .13), transparent 35%),
        radial-gradient(circle at 0% 55%, rgba(255, 174, 0, .07), transparent 30%),
        linear-gradient(135deg, #0a0906 0%, #151107 48%, #090806 100%) !important;
    color: var(--sc-text) !important;
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    min-height: 100vh;
}

::selection {
    background: rgba(255, 210, 26, .35);
    color: #fff;
}

a {
    color: var(--sc-gold);
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

a:hover {
    color: var(--sc-gold-light);
    text-decoration: none;
}

/* ---------- Navbar ---------- */

.navbar-main {
    position: relative !important;
    background: rgba(10, 8, 4, .72) !important;
    border-bottom: 1px solid rgba(255, 210, 26, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, .18);
}

.navbar-brand img,
.navbar-brand-dark {
    max-height: 52px;
    filter: drop-shadow(0 0 12px rgba(255, 210, 26, .18));
}

.navbar-nav .nav-link {
    color: #f9efd0 !important;
    font-weight: 700;
    letter-spacing: .2px;
    border-radius: 12px;
    padding: 10px 14px !important;
    transition: all .22s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--sc-gold-light) !important;
    background: rgba(255, 210, 26, .09);
    transform: translateY(-2px);
}

.navbar-nav .nav-link i {
    color: var(--sc-gold);
    margin-right: 7px;
}

.navbar-toggler {
    border: 1px solid rgba(255, 210, 26, .35) !important;
    border-radius: 12px;
    background: rgba(255, 210, 26, .08);
}

/* ---------- Hero ---------- */

#welcome-section {
    min-height: 610px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 48%, rgba(255, 210, 26, .18), transparent 26%),
        radial-gradient(circle at 25% 35%, rgba(255, 174, 0, .08), transparent 28%),
        linear-gradient(135deg, #171207 0%, #241b08 48%, #0c0a06 100%) !important;
    position: relative;
}

#welcome-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .7;
    background:
        linear-gradient(115deg, transparent 0 35%, rgba(255, 210, 26, .035) 35.2%, transparent 35.5%),
        linear-gradient(65deg, transparent 0 65%, rgba(255, 210, 26, .025) 65.2%, transparent 65.5%);
}

#welcome-section::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 210, 26, .12);
    box-shadow:
        0 0 0 25px rgba(255, 210, 26, .018),
        0 0 0 60px rgba(255, 210, 26, .012),
        0 0 100px rgba(255, 174, 0, .12);
    pointer-events: none;
}

.shop-title,
#welcome-section .container {
    position: relative;
    z-index: 2;
}

.shop-name {
    color: #fff5c7 !important;
    font-size: clamp(56px, 7vw, 104px) !important;
    line-height: .9 !important;
    letter-spacing: -3px;
    text-shadow:
        0 4px 0 rgba(125, 82, 0, .55),
        0 0 24px rgba(255, 210, 26, .16);
}

.general-online span {
    display: inline-block;
    border: 1px solid rgba(255, 210, 26, .25);
    background: rgba(20, 15, 6, .72) !important;
    color: #ffe999;
    border-radius: 999px;
    padding: 8px 15px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
}

/* ---------- Global sections ---------- */

.bg-elegant-dark,
#sections {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 210, 26, .055), transparent 28%),
        linear-gradient(180deg, #100d07 0%, #0b0906 100%) !important;
}

.bg-elegant-night {
    background: #070604 !important;
}

.section {
    position: relative;
}

.section h1,
.section h2,
.section h3,
.section h4,
.section h5 {
    color: #fff6d7 !important;
    text-shadow: 0 2px 15px rgba(255, 210, 26, .06);
}

/* ---------- Search ---------- */

.form-control,
.input-group-text {
    color: #fff6d7 !important;
    background: rgba(255, 255, 255, .045) !important;
    border: 1px solid rgba(255, 210, 26, .13) !important;
}

.form-control {
    border-radius: 13px 0 0 13px !important;
}

.input-group-text {
    border-radius: 0 13px 13px 0 !important;
    color: var(--sc-gold) !important;
}

.form-control::placeholder {
    color: #9f957d !important;
}

.form-control:focus {
    border-color: rgba(255, 210, 26, .55) !important;
    box-shadow: 0 0 0 4px rgba(255, 210, 26, .08) !important;
}

/* ---------- Cards / products / server blocks ---------- */

.card,
.shop .card,
.server-modal,
.modal-content {
    background:
        linear-gradient(145deg, rgba(43, 33, 13, .94), rgba(19, 15, 8, .96)) !important;
    border: 1px solid var(--sc-border) !important;
    border-radius: var(--sc-radius) !important;
    box-shadow: var(--sc-shadow);
}

.card {
    overflow: hidden;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 210, 26, .42) !important;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .42),
        0 0 30px rgba(255, 174, 0, .07);
}

.card-body {
    color: #f8efd5 !important;
}

.text-muted,
.text-small {
    color: var(--sc-muted) !important;
}

/* ---------- Buttons ---------- */

.btn,
button {
    border-radius: 12px !important;
    font-weight: 800 !important;
    transition: all .22s ease !important;
}

.btn-danger,
.btn-primary,
.btn-warning {
    color: #211500 !important;
    background: linear-gradient(135deg, #ffe45c 0%, #ffc400 48%, #e89b00 100%) !important;
    border: 1px solid rgba(255, 235, 140, .55) !important;
    box-shadow:
        0 8px 22px rgba(255, 174, 0, .18),
        inset 0 1px 0 rgba(255, 255, 255, .38);
}

.btn-danger:hover,
.btn-primary:hover,
.btn-warning:hover {
    color: #160e00 !important;
    transform: translateY(-2px);
    box-shadow:
        0 13px 30px rgba(255, 174, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}

.text-danger {
    color: var(--sc-gold) !important;
}

/* ---------- Basket ---------- */

.fixed-bottom-right .basket-button {
    background: linear-gradient(135deg, #ffe45c, #e99f00) !important;
    color: #211500 !important;
    border: 1px solid rgba(255, 239, 153, .55);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .35),
        0 0 25px rgba(255, 190, 0, .17);
    transition: all .25s ease;
}

.fixed-bottom-right .basket-button:hover {
    transform: translateY(-4px) scale(1.03);
}

.cart-counter,
.badge-primary {
    background: #fff0a1 !important;
    color: #4d3100 !important;
    border: 1px solid rgba(255, 210, 26, .4);
}

/* ---------- Forms ---------- */

input[type="checkbox"] {
    accent-color: var(--sc-gold);
}

.form-check-sign {
    border-color: rgba(255, 210, 26, .35) !important;
}

.alert-warning {
    color: #4d3400 !important;
    background: linear-gradient(135deg, #ffe999, #ffc928) !important;
    border: 0 !important;
    border-radius: 13px;
    box-shadow: 0 10px 25px rgba(255, 174, 0, .10);
}

/* ---------- Modal / cart ---------- */

.modal-content {
    color: #fff6d7 !important;
}

.modal-backdrop {
    background: #000 !important;
}

.modal-backdrop.show {
    opacity: .78 !important;
}

.cart-content {
    overflow: hidden;
}

.cart-content input.form-control {
    background: rgba(255, 255, 255, .04) !important;
    color: #fff !important;
}

.cart-content .input-group-text {
    background: rgba(255, 210, 26, .08) !important;
    color: var(--sc-gold) !important;
}

/* ---------- Footer ---------- */

footer.footer {
    border-top: 1px solid rgba(255, 210, 26, .12);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 210, 26, .055), transparent 30%),
        #070604 !important;
}

footer.footer a {
    color: var(--sc-gold) !important;
}

footer.footer a:hover {
    color: var(--sc-gold-light) !important;
}

/* ---------- Icons ---------- */

.fas,
.far,
.fab {
    transition: color .2s ease, transform .2s ease;
}

.nav-link:hover i,
.card:hover .fas,
a:hover .fas {
    color: var(--sc-gold-light) !important;
}

/* ---------- Loading stripe ---------- */

.stripe-loading-indicator .stripe,
.stripe-loading-indicator .stripe-loaded {
    background: linear-gradient(90deg, #d98f00, #ffe45c, #ffb300) !important;
}

/* ---------- Hero bottom wave ---------- */

.pattern.bottom svg path {
    fill: #100d07 !important;
}

/* ---------- Scrollbar ---------- */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #090806;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#9b6800, #ffd21a, #9b6800);
    border-radius: 10px;
    border: 2px solid #090806;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#bd8200, #ffe45c, #bd8200);
}

/* ---------- Responsive ---------- */

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

    #welcome-section::after {
        width: 330px;
        height: 330px;
        right: -80px;
        opacity: .7;
    }

    .shop-name {
        letter-spacing: -2px;
    }

    .navbar-main {
        background: rgba(10, 8, 4, .92) !important;
    }
}

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

    .shop-name {
        font-size: 52px !important;
    }

    #welcome-section::after {
        width: 250px;
        height: 250px;
        right: -110px;
    }

    .section {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ---------- Accessibility ---------- */

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


/* =========================================================
   SolarCube — Visual Polish v2
   Более насыщенный золотой стиль + мягкое свечение
   ========================================================= */

:root {
    --sc-gold: #ffd42a;
    --sc-gold-light: #fff0a0;
    --sc-gold-dark: #b87900;
    --sc-orange: #ffad00;
    --sc-glow: rgba(255, 194, 20, .20);
}

/* Тонкий солнечный свет по всей странице */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 70, .08), transparent 22%),
        radial-gradient(circle at 85% 35%, rgba(255, 174, 0, .045), transparent 25%),
        radial-gradient(circle at 10% 75%, rgba(255, 204, 45, .035), transparent 22%);
}

/* Навигация стала более "премиальной" */
.navbar-main {
    border-bottom-color: rgba(255, 212, 42, .18) !important;
    box-shadow:
        0 1px 0 rgba(255, 230, 120, .035),
        0 12px 40px rgba(0, 0, 0, .25) !important;
}

.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, var(--sc-gold), transparent);
    transform: scaleX(0);
    opacity: 0;
    transition: .25s ease;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    opacity: .8;
}

/* Hero — больше глубины */
#welcome-section {
    overflow: hidden;
    box-shadow: inset 0 -1px 0 rgba(255, 212, 42, .08);
}

#welcome-section::before {
    background:
        radial-gradient(circle at 72% 48%, rgba(255, 208, 40, .11) 0 2px, transparent 3px),
        radial-gradient(circle at 75% 48%, rgba(255, 208, 40, .05) 0 90px, transparent 91px),
        linear-gradient(115deg, transparent 0 35%, rgba(255, 210, 26, .035) 35.2%, transparent 35.5%),
        linear-gradient(65deg, transparent 0 65%, rgba(255, 210, 26, .025) 65.2%, transparent 65.5%);
}

.shop-name {
    position: relative;
    display: inline-block;
    background: linear-gradient(
        180deg,
        #fffbdc 0%,
        #ffe96a 45%,
        #ffc21a 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 18px rgba(255, 180, 0, .14));
}

.general-online span {
    border-color: rgba(255, 212, 42, .32) !important;
    box-shadow:
        0 0 0 1px rgba(255, 212, 42, .025),
        0 8px 30px rgba(0, 0, 0, .24),
        inset 0 1px 0 rgba(255, 238, 150, .06);
}

/* Заголовки секций */
.section h1::after,
.section h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin: 13px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, var(--sc-gold), transparent);
    box-shadow: 0 0 14px rgba(255, 195, 20, .24);
}

/* Карточки — эффект золотого стекла */
.card,
.shop .card,
.server-modal,
.modal-content {
    position: relative;
    background:
        linear-gradient(145deg,
            rgba(49, 38, 15, .88),
            rgba(18, 14, 7, .96)
        ) !important;
    border-color: rgba(255, 212, 42, .17) !important;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, .34),
        inset 0 1px 0 rgba(255, 231, 130, .045);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
        125deg,
        rgba(255, 235, 140, .045),
        transparent 28%,
        transparent 72%,
        rgba(255, 190, 0, .025)
    );
}

.card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 212, 42, .38) !important;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, .45),
        0 0 34px rgba(255, 184, 0, .085),
        inset 0 1px 0 rgba(255, 238, 145, .07);
}

/* Золотая кнопка с более дорогим видом */
.btn-danger,
.btn-primary,
.btn-warning {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #fff08a 0%,
            #ffd52a 35%,
            #ffb300 72%,
            #d88b00 100%
        ) !important;
    box-shadow:
        0 9px 24px rgba(255, 169, 0, .20),
        inset 0 1px 0 rgba(255, 255, 255, .55),
        inset 0 -1px 0 rgba(133, 77, 0, .20);
}

.btn-danger::before,
.btn-primary::before,
.btn-warning::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    transform: skewX(-22deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .28),
        transparent
    );
    transition: left .55s ease;
}

.btn-danger:hover::before,
.btn-primary:hover::before,
.btn-warning:hover::before {
    left: 150%;
}

/* Поля ввода */
.form-control {
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, .12) !important;
}

.form-control:focus {
    background: rgba(255, 212, 42, .045) !important;
    border-color: rgba(255, 212, 42, .62) !important;
    box-shadow:
        0 0 0 4px rgba(255, 212, 42, .07),
        0 0 22px rgba(255, 174, 0, .06) !important;
}

/* Корзина */
.fixed-bottom-right .basket-button {
    border-radius: 15px !important;
    box-shadow:
        0 15px 36px rgba(0, 0, 0, .40),
        0 0 35px rgba(255, 184, 0, .14),
        inset 0 1px 0 rgba(255, 255, 255, .38);
}

.fixed-bottom-right .basket-button:hover {
    box-shadow:
        0 18px 45px rgba(0, 0, 0, .48),
        0 0 45px rgba(255, 184, 0, .23),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}

/* Небольшие золотые разделители */
hr {
    border: 0 !important;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 212, 42, .22),
        transparent
    ) !important;
}

/* Ссылки */
a:not(.btn):hover {
    text-shadow: 0 0 13px rgba(255, 212, 42, .18);
}

/* Акцентные badge */
.badge,
.badge-primary {
    box-shadow: 0 4px 14px rgba(255, 184, 0, .12);
}

/* Плавное появление крупных элементов */
.card,
.btn,
.nav-link,
.basket-button {
    will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
    .shop-name {
        animation: solarTitleGlow 4s ease-in-out infinite alternate;
    }

    @keyframes solarTitleGlow {
        from {
            filter: drop-shadow(0 8px 18px rgba(255, 180, 0, .10));
        }
        to {
            filter: drop-shadow(0 8px 28px rgba(255, 180, 0, .23));
        }
    }
}
