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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

:root {

    --bg-primary: #060816;
    --bg-secondary: #0f172a;

    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);

    --glass-border: rgba(255, 255, 255, 0.08);

    --text-primary: #ffffff;
    --text-secondary: #9ca3af;

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;

    --success: #22c55e;
    --danger: #ef4444;

    --shadow-primary:
        0 20px 50px rgba(0, 0, 0, 0.45);

    --shadow-hover:
        0 25px 60px rgba(0, 0, 0, 0.55);

    --blur: blur(24px);

    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 14px;

    --transition-fast: 0.25s ease;
    --transition-normal: 0.35s ease;

}

/* ===================================================== */
/* BODY */
/* ===================================================== */

body {

    font-family: 'Inter', sans-serif;

    background: var(--bg-primary);

    color: var(--text-primary);

    min-height: 100vh;

    position: relative;

    line-height: 1.5;

    text-rendering: optimizeLegibility;

    -webkit-font-smoothing: antialiased;

}

body::before {

    content: "";

    position: fixed;

    inset: 0;

    background:
        radial-gradient(circle at top left,
            rgba(99, 102, 241, 0.22),
            transparent 30%),

        radial-gradient(circle at bottom right,
            rgba(139, 92, 246, 0.22),
            transparent 30%);

    z-index: -3;

}

body::after {

    content: "";

    position: fixed;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(99, 102, 241, 0.04),
            transparent 60%
        );

    pointer-events: none;

    z-index: -1;

}

/* ===================================================== */
/* GRID */
/* ===================================================== */

.bg-grid {

    position: fixed;

    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

    background-size: 50px 50px;

    z-index: -2;

    mask-image:
        radial-gradient(circle at center, black 30%, transparent 90%);

}

/* ===================================================== */
/* BLURS */
/* ===================================================== */

.bg-blur {

    position: fixed;

    width: 400px;

    height: 400px;

    border-radius: 50%;

    filter: blur(120px);

    z-index: -1;

    opacity: 0.45;

}

.blur-1 {

    background: #6366f1;

    top: -120px;

    left: -120px;

}

.blur-2 {

    background: #8b5cf6;

    bottom: -120px;

    right: -120px;

}

/* ===================================================== */
/* MAIN LAYOUT */
/* ===================================================== */

.main-container {

    width: 100%;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: clamp(12px, 3vw, 40px);

}

.support-wrapper {

    width: 100%;

    max-width: 1200px;

    display: flex;

    gap: clamp(16px, 2vw, 32px);

    align-items: stretch;

    justify-content: center;

    flex-wrap: wrap;

    animation: wrapperFade 1s ease;

}

/* ===================================================== */
/* GLASS CARD */
/* ===================================================== */

.glass-card {

    background: var(--glass-bg);

    border: 1px solid var(--glass-border);

    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-primary);

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal),
        background var(--transition-normal);

}

.glass-card:hover {

    transform: translateY(-6px);

    border-color: rgba(99,102,241,0.18);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.45),
        0 0 40px rgba(99,102,241,0.08);

}

/* ===================================================== */
/* PROFILE CARD */
/* ===================================================== */

.profile-card {

    width: 340px;

    padding: 32px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

    overflow: hidden;

    height: fit-content;

}

.profile-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.08),
            transparent
        );

    pointer-events: none;

}

.profile-card::after {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    background: rgba(99,102,241,0.15);

    border-radius: 50%;

    top: -100px;

    right: -100px;

    filter: blur(40px);

    z-index: -1;

}

.profile-top {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

}

.profile-avatar {

    width: 140px;

    height: 140px;

    border-radius: 50%;

    overflow: hidden;

    margin-bottom: 24px;

    position: relative;

    border: 4px solid rgba(255,255,255,0.08);

    box-shadow: 0 10px 40px rgba(99,102,241,0.35);

}

.profile-avatar::before {

    content: "";

    position: absolute;

    inset: -8px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(99,102,241,0.5),
            rgba(139,92,246,0.5)
        );

    z-index: -1;

    filter: blur(18px);

}

.profile-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

}

.profile-avatar:hover img {

    transform: scale(1.08);

}

.profile-name {

    font-size: clamp(1.4rem, 2vw, 2rem);

    font-weight: 700;

    margin-bottom: 8px;

}

.profile-description {

    margin-top: 32px;

}

.profile-description p {

    color: var(--text-secondary);

    line-height: 1.8;

    text-align: center;

    font-size: 0.98rem;

}

/* ===================================================== */
/* SOCIAL LINKS */
/* ===================================================== */

.social-links {

    display: flex;

    justify-content: center;

    gap: 16px;

    margin-top: 42px;

}

.social-btn {

    width: 52px;

    height: 52px;

    border-radius: 16px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.06);

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: white;

    font-size: 1.25rem;

    overflow: hidden;

    position: relative;

    transition: all var(--transition-fast);

}

.social-btn:hover {

    transform: translateY(-4px);

    background: rgba(99,102,241,0.15);

    border-color: rgba(99,102,241,0.3);

    box-shadow: 0 10px 25px rgba(99,102,241,0.15);

}

.social-btn i {

    transition: 0.3s ease;

}

.social-btn:hover i {

    transform: scale(1.15);

}

/* ===================================================== */
/* SUPPORT PANEL */
/* ===================================================== */

.support-panel {

    flex: 1;

    padding: 42px;

    position: relative;

    overflow: hidden;

}

.panel-header {

    margin-bottom: 32px;

}

.panel-badge {

    display: inline-flex;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(99,102,241,0.12);

    color: #c7d2fe;

    font-size: 0.9rem;

    font-weight: 500;

    margin-bottom: 20px;

}

.panel-title {

    font-size: clamp(1.8rem, 3vw, 3rem);

    line-height: 1.1;

    margin-bottom: 18px;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 10px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #c7d2fe,
            #a5b4fc
        );

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}

.coffee-icon {

    -webkit-text-fill-color: initial;

}

.panel-subtitle {

    color: var(--text-secondary);

    line-height: 1.8;

    max-width: 680px;

}

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

.currency-toggle,
.quick-amounts {

    display: flex;

    gap: 16px;

    flex-wrap: wrap;

}

.currency-toggle {

    margin-bottom: 28px;

}

.quick-amounts {

    margin-top: 12px;

    margin-bottom: 32px;

}

.currency-btn,
.amount-btn {

    border: none;

    outline: none;

    background: rgba(255,255,255,0.05);

    color: white;

    cursor: pointer;

    position: relative;

    overflow: hidden;

    transition: all var(--transition-fast);

}

.currency-btn {

    padding: 14px 26px;

    border-radius: 16px;

}

.amount-btn {

    padding: 16px 28px;

    border-radius: 18px;

    font-weight: 600;

}

.currency-btn.active,
.amount-btn.active {

    background:
        linear-gradient(
            135deg,
            var(--accent-primary),
            var(--accent-secondary)
        );

    box-shadow:
        0 10px 30px rgba(99,102,241,0.35);

}

.currency-btn:hover,
.amount-btn:hover {

    transform: translateY(-3px);

}

/* ===================================================== */
/* FORM */
/* ===================================================== */

.support-form {

    display: flex;

    flex-direction: column;

    gap: 26px;

}

.input-group {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.input-group label {

    font-size: 0.95rem;

    font-weight: 500;

}

.input-wrapper,
.textarea-wrapper {

    width: 100%;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 20px;

    display: flex;

    align-items: center;

    transition: all var(--transition-fast);

}

.input-wrapper:focus-within,
.textarea-wrapper:focus-within {

    transform: scale(1.01);

    border-color: rgba(99,102,241,0.5);

    box-shadow:
        0 0 0 4px rgba(99,102,241,0.1);

}

.input-icon {

    padding-left: 20px;

    color: var(--text-secondary);

}

.input-wrapper input,
.textarea-wrapper textarea {

    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: white;

    padding: 18px 20px;

    font-size: 1rem;

    font-family: 'Inter', sans-serif;

}

.textarea-wrapper textarea {

    min-height: 140px;

    resize: none;

    line-height: 1.7;

}

input::placeholder,
textarea::placeholder {

    color: #6b7280;

}

/* ===================================================== */
/* SUPPORT BUTTON */
/* ===================================================== */

.support-btn {

    margin-top: 10px;

    border: none;

    outline: none;

    padding: 20px 28px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            var(--accent-primary),
            var(--accent-secondary)
        );

    color: white;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    position: relative;

    overflow: hidden;

    transition: all var(--transition-fast);

    box-shadow:
        0 20px 40px rgba(99,102,241,0.3);

}

.support-btn:hover {

    transform: translateY(-4px);

    box-shadow:
        0 25px 50px rgba(99,102,241,0.45);

}

.support-btn:active {

    transform: scale(0.97);

}

.support-btn::after {

    content: "";

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );

    transition: 0.6s;

}

.support-btn:hover::after {

    left: 100%;

}

/* ===================================================== */
/* PAYMENT METHODS */
/* ===================================================== */

.payment-methods {

    margin-top: 40px;

}

.payment-title {

    color: var(--text-secondary);

    margin-bottom: 20px;

}

.payment-icons {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;

}

.payment-item {

    min-width: 150px;

    justify-content: center;

    padding: 16px 22px;

    border-radius: 18px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.05);

    display: flex;

    align-items: center;

    gap: 10px;

    transition: all var(--transition-fast);

}

.payment-item:hover {

    transform: translateY(-3px);

    border-color: rgba(99,102,241,0.25);

}

.payment-item span {

    color: var(--text-secondary);

}

/* ===================================================== */
/* TOAST */
/* ===================================================== */

.toast {

    position: fixed;

    bottom: 30px;

    right: 30px;

    background: rgba(15,23,42,0.92);

    border: 1px solid rgba(99,102,241,0.25);

    color: white;

    padding: 18px 24px;

    border-radius: 18px;

    z-index: 9999;

    opacity: 0;

    transform: translateY(30px);

    transition: 0.35s ease;

}

.toast.show {

    opacity: 1;

    transform: translateY(0);

}

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

.loader {

    position: fixed;

    inset: 0;

    background: #060816;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 99999;

    transition: 0.6s ease;

}

.loader.hide {

    opacity: 0;

    pointer-events: none;

}

.loader-circle {

    width: 80px;

    height: 80px;

    border-radius: 50%;

    border: 4px solid rgba(255,255,255,0.08);

    border-top-color: #6366f1;

    animation: loaderSpin 1s linear infinite;

}

/* ===================================================== */
/* CURSOR GLOW */
/* ===================================================== */

.cursor-glow {

    position: fixed;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(99,102,241,0.18),
            transparent 70%
        );

    pointer-events: none;

    transform: translate(-50%, -50%);

    z-index: -1;

    transition:
        left 0.08s linear,
        top 0.08s linear;

}

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

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #0b1120;

}

::-webkit-scrollbar-thumb {

    background:
        linear-gradient(
            180deg,
            #6366f1,
            #8b5cf6
        );

    border-radius: 999px;

}

/* ===================================================== */
/* SELECTION */
/* ===================================================== */

::selection {

    background: rgba(99,102,241,0.35);

    color: white;

}

/* ===================================================== */
/* ANIMATIONS */
/* ===================================================== */

@keyframes wrapperFade {

    from {

        opacity: 0;

        transform: scale(0.96);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}

@keyframes loaderSpin {

    to {

        transform: rotate(360deg);

    }

}

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

@media (max-width: 768px) {

    .support-panel {

        padding: 28px;

    }

    .profile-card {

        width: 100%;

        padding: 28px;

    }

    .panel-title {

        font-size: 2.2rem;

    }

    .payment-item {

        min-width: unset;

        width: 100%;

    }

    .support-btn {

        width: 100%;

    }

}
/* ===================================================== */
/* PREMIUM COFFEE SECTION */
/* ===================================================== */

.coffee-section {

    margin-top: 8px;

    margin-bottom: 28px;

}

.amount-section-title {

    display: block;

    font-size: 1.15rem;

    font-weight: 700;

    margin-bottom: 10px;

}

.coffee-price-text {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--text-secondary);

    font-size: 0.95rem;

    margin-bottom: 22px;

}

.coffee-flex-box {

    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;

    padding: 18px 22px;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.03)
        );

    border: 1px solid rgba(255,255,255,0.06);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    overflow: hidden;

}

.coffee-flex-box::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.03),
            transparent
        );

    animation: coffeeShine 5s linear infinite;

}

.coffee-flex-box::after {

    content: "";

    position: absolute;

    left: 52%;

    top: 50%;

    transform: translateY(-50%);

    width: 1px;

    height: 58px;

    background: rgba(255,255,255,0.08);

}

.coffee-quantity-box {

    display: flex;

    align-items: center;

    gap: 14px;

    flex: 1;

    z-index: 2;

}

.quantity-btn {

    width: 50px;

    height: 50px;

    border: none;

    outline: none;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--accent-primary),
            var(--accent-secondary)
        );

    color: white;

    font-size: 1.4rem;

    font-weight: 700;

    cursor: pointer;

    transition: all var(--transition-fast);

    box-shadow:
        0 10px 25px rgba(99,102,241,0.28);

}

.quantity-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 16px 35px rgba(99,102,241,0.38);

}

.quantity-btn:active {

    transform: scale(0.94);

}

#coffeeQuantity {

    width: 95px;

    height: 50px;

    border: 1px solid rgba(255,255,255,0.06);

    outline: none;

    border-radius: 16px;

    background: rgba(255,255,255,0.04);

    color: white;

    text-align: center;

    font-size: 1.05rem;

    font-weight: 700;

    transition: all var(--transition-fast);

}

#coffeeQuantity:focus {

    border-color: rgba(99,102,241,0.4);

    box-shadow:
        0 0 0 4px rgba(99,102,241,0.1);

}

#coffeeQuantity::-webkit-inner-spin-button,
#coffeeQuantity::-webkit-outer-spin-button {

    -webkit-appearance: none;

    margin: 0;

}

.coffee-total {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    justify-content: center;

    min-width: 190px;

    z-index: 2;

}

.coffee-total span {

    color: var(--text-secondary);

    font-size: 0.85rem;

    margin-bottom: 4px;

}

#totalAmount {

    font-size: 2.4rem;

    font-weight: 800;

    line-height: 1;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #d8b4fe,
            #a5b4fc
        );

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 25px rgba(139,92,246,0.22);

}

@keyframes coffeeShine {

    0% {

        transform: translateX(-100%);

    }

    100% {

        transform: translateX(100%);

    }

}

@media (max-width: 768px) {

    .coffee-flex-box {

        flex-direction: column;

        align-items: center;

        gap: 20px;

        padding: 20px;

    }

    .coffee-flex-box::after {

        display: none;

    }

    .coffee-quantity-box {

        width: 100%;

        justify-content: center;

    }

    .coffee-total {

        align-items: center;

        min-width: unset;

    }

    #totalAmount {

        font-size: 2rem;

    }

}