*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

/*  TG STYLES  */
body,
html.theme_dark body.bg_light {
    --text-color: #000;
    --second-text-color: #7d7f81;
    --desc-text-color: #333;
    --accent-btn-color: #2481cc;
    --accent-color-hover: #1a8ad5;
    --body-bg: #fff;
    --box-bg: #fff;
    --box-bg-blured: rgba(255, 255, 255, .84);
    --box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
    --tme-logo-color: #363b40;
    --accent-link-color: #2481cc;
    --pattern-url: url(../images/pattern.svg);
    --pattern-intensity: 0.3;
}

html.theme_dark body,
html body.bg_dark {
    --text-color: #fff;
    --second-text-color: #8e9093;
    --desc-text-color: #ccc;
    --accent-btn-color: #1c93e3;
    --accent-color-hover: #1a8ad5;
    --body-bg: #000;
    --box-bg: #1e1e1e;
    --box-bg-blured: rgba(34, 34, 34, .84);
    --box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    --tme-logo-color: #fff;
    --accent-link-color: #3ca1eb;
    --pattern-url: url(../images/pattern.svg);
    --pattern-intensity: 0.3;
}

body {
    background: var(--body-bg);
}

.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: url(../images/pattern.svg) center repeat;
    background-size: 420px auto;
    mix-blend-mode: overlay;
    opacity: 0.3;
}

html.theme_dark .pattern-overlay {
    filter: invert(1);
    opacity: 0.15;
}


.page_background_wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: var(--body-bg);
}
.page_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.page_background.default {
}
.page_background.motion {
    left: -10px;
    top: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    animation: bg-motion 10s linear infinite;
}
.page_background_pattern {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: overlay;
    background: center repeat;
    background-size: 420px auto;
    background-image: var(--pattern-url, none);
    opacity: var(--pattern-intensity, 1);
}
.page_background_pattern.default {
    opacity: 0.3;
    background-image: url(../images/pattern.svg);
}
html.theme_dark .page_background,
body.bg_dark .page_background {
    -webkit-mask: center repeat;
    -webkit-mask-size: 420px auto;
    -webkit-mask-image: var(--pattern-url, none);
    opacity: var(--pattern-intensity, 1);
}
html.theme_dark .page_background.default,
body.bg_dark .page_background.default {
    opacity: 0.3;
    -webkit-mask-image: url(../images/pattern.svg);
}
body.bg_light .page_background,
body.bg_light .page_background.default {
    -webkit-mask: none;
    opacity: 1;
}
html.theme_dark .page_background_pattern,
body.bg_dark .page_background_pattern {
    display: block;
    mix-blend-mode: normal;
    opacity: 0.15;
}
body.bg_light .page_background_pattern {
    display: block;
}

@-webkit-keyframes bg-motion {
    20% { transform: translateX(0px); }
    25% { transform: translateX(-10px); }
    35% { transform: translateX(10px); }
    40% { transform: translateX(0px); }
}
@keyframes bg-motion {
    20% { transform: translateX(0px); }
    25% { transform: translateX(-10px); }
    35% { transform: translateX(10px); }
    40% { transform: translateX(0px); }
}






/* PAGE STYLES */
/* PAGE STYLES */
/* PAGE STYLES */
/* PAGE STYLES */
/* PAGE STYLES */
/* PAGE STYLES */
/* PAGE STYLES */
/* PAGE STYLES */



header {
    min-width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--box-bg-blured);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    z-index: 1;
}

header > .container{
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
}

header > .container > img{
    max-height: 34px;
    height: 34px;
}

header > .container > button{
    display: inline-block;
    font-size: 14px;
    line-height: 17px;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    text-transform: uppercase;
    color: #fff;
    background: #2481cc;
    padding: 9px 16px;
    height: 34px;
    border-radius: 17px;
    text-align: center;
    transition: all .15s ease .15s;
    border: 0;
}

main{
    padding: 20px 16px 40px;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 110px);
    align-items: flex-start;
}

main > .banner{
    position: relative;
    margin: 16px auto;
    padding: 36px 24px 28px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ffffff 0%, #f0faf6 50%, #e8f5ee 100%);
    box-shadow: 0 2px 20px rgba(38, 161, 123, 0.12), 0 1px 6px rgba(0,0,0,0.06);
    border-radius: 20px;
    border: 1px solid rgba(38, 161, 123, 0.15);
    transition: all .15s ease .15s;
}

main > .banner > .text > .redir{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

main > .banner > .text > .redir > img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.verified-badge {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-left: 2px;
    flex-shrink: 0;
    display: inline-block;
}

main > .banner > .text > .title{
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    text-align: center;
    max-width: 340px;
    padding: 0 10px;
    margin: 0 auto;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

main > .banner > .text > .members{
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    padding: 6px 16px 0;
    color: var(--second-text-color);
}

main > .banner > .text > .description{
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    margin: 16px 12px 0;
    padding: 0;
    color: var(--desc-text-color);
}

@-webkit-keyframes bg-move {
    0%   { background-position: -500px 0; }
    100% { background-position: 1000px 0; }
}
@keyframes bg-move {
    0%   { background-position: -500px 0; }
    100% { background-position: 1000px 0; }
}

main > .banner > .buttons > .blue {
    background-image: linear-gradient(270deg, rgba(100, 181, 239, 0) 48.44%, #64b5ef 75.52%, rgba(100, 181, 239, 0) 100%);
    background-repeat: no-repeat;
    animation: bg-move linear 5s infinite;
    background-color: #2481cc;
    font-size: 14px;
    line-height: 17px;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    color: #FFF;
    border-radius: 22px;
    overflow: hidden;
    display: inline-block;
    padding: 13px 24px;
    text-transform: uppercase;
    vertical-align: top;
    z-index: 99999;
    position: relative;
    text-decoration: none;
}

.button_shine {
    background-image: linear-gradient(270deg, rgba(100, 181, 239, 0) 48.44%, #64b5ef 75.52%, rgba(100, 181, 239, 0) 100%);
    background-repeat: no-repeat;
    animation: bg-move linear 5s infinite;
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased;
    color: #FFF;
    background-color: var(--accent-btn-color);
    border-radius: 24px;
    overflow: hidden;
    display: inline-block;
    padding: 14px 32px;
    text-transform: uppercase;
    vertical-align: top;
    text-decoration: none;
    transition: opacity .15s ease;
}

.button_shine:hover {
    opacity: 0.88;
}

@keyframes neon-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(36, 129, 204, 0.4), 0 0 20px rgba(36, 129, 204, 0.15); }
    50% { box-shadow: 0 0 14px rgba(36, 129, 204, 0.7), 0 0 30px rgba(36, 129, 204, 0.3); }
}

.banner .button_shine {
    animation: neon-pulse 2s ease-in-out infinite;
}

.tether-badge {
    background: var(--box-bg);
    border: 1px solid rgba(38, 161, 123, 0.5);
    border-radius: 22px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: 0 0 8px rgba(38, 161, 123, 0.4), 0 0 20px rgba(38, 161, 123, 0.15), inset 0 0 8px rgba(38, 161, 123, 0.1);
}

.tether-highlight {
    color: #f0b90b;
    font-weight: 700;
}

.banner > .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
}

.delivery-info {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-color);
}

main > .banner > .buttons > .blue-bordered {
    border: 2px solid #2481cc;

    font-size: 14px;
    line-height: 17px;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    color: #2481cc;
    border-radius: 22px;
    overflow: hidden;
    display: inline-block;
    padding: 11px 22px;
    text-transform: uppercase;
    vertical-align: top;
    z-index: 99999;
    position: relative;
    text-decoration: none;
}

.banner > .text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Calculator */
.calculator {
    width: 100%;
    margin-top: 18px;
    padding: 0 4px;
    box-sizing: border-box;
}

.calc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 14px;
    text-align: left;
}

.calc-label {
    font-size: 13px;
    color: var(--second-text-color);
    display: block;
    margin-bottom: 6px;
    text-align: left;
}

.calc-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(38, 161, 123, 0.4);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: transparent;
}

.calc-currency-icon {
    font-size: 20px;
    font-weight: 700;
    color: #26a17b;
    background: rgba(38, 161, 123, 0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calc-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    width: 100%;
    font-family: 'Roboto', sans-serif;
    -moz-appearance: textfield;
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-results {
    display: flex;
    gap: 10px;
}

.calc-result-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: transparent;
    border: 2px solid rgba(38, 161, 123, 0.3);
}

.calc-result-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-btn-color);
    white-space: nowrap;
}

.calc-result-currency {
    font-size: 12px;
    color: var(--second-text-color);
    margin-top: 2px;
}















/* Force white theme */
body {
    background: #fff !important;
}
.page_background_wrap {
    display: none !important;
}
.pattern-overlay {
    display: none !important;
}


/* Floating background */
.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    pointer-events: none;
    background-image: radial-gradient(circle, #e0e0e0 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.floating-icons {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    color: rgba(38, 161, 123, 0.15);
    font-weight: 700;
    animation: float-bob 8s ease-in-out infinite;
    will-change: transform;
}

@keyframes float-bob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.08); }
}


.legal-info {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 11px;
    line-height: 18px;
    color: #999;
    text-align: center;
}

.legal-title {
    font-weight: 600;
    color: #777;
    margin-bottom: 4px;
    font-size: 12px;
}


/* Green theme overrides */
.banner .button_shine {
    background-color: #26a17b !important;
    background-image: linear-gradient(270deg, rgba(56,200,150,0) 48.44%, rgba(56,200,150,0.4) 75.52%, rgba(56,200,150,0) 100%) !important;
}

@keyframes neon-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(38, 161, 123, 0.4), 0 0 20px rgba(38, 161, 123, 0.15); }
    50% { box-shadow: 0 0 14px rgba(38, 161, 123, 0.7), 0 0 30px rgba(38, 161, 123, 0.3); }
}

.calc-title {
    color: #1a9e6e !important;
}

.tether-badge {
    background: rgba(38, 161, 123, 0.06) !important;
    border-color: rgba(38, 161, 123, 0.3) !important;
}

.legal-info {
    border-top: 1px solid rgba(38, 161, 123, 0.15) !important;
}


@media (max-width: 768px) {
    main {
        padding-top: 8px !important;
        padding-bottom: 20px !important;
    }
    main > .banner {
        margin: 4px auto !important;
    }
}


/* legal-info +25% */
.legal-info {
    font-size: 14px !important;
    line-height: 22px !important;
}
.legal-title {
    font-size: 15px !important;
}

/* independence disclaimer */
.independence-disclaimer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-color);
}
.independence-disclaimer .disc-block {
    margin-bottom: 12px;
}
.independence-disclaimer .disc-block:last-child {
    margin-bottom: 0;
}
.independence-disclaimer .disc-title {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

/* markup badge */
.markup-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(38, 161, 123, 0.08);
    border: 1px solid rgba(38, 161, 123, 0.3);
    color: #1a9e6e;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}
.markup-badge .star {
    color: #26a17b;
    font-size: 16px;
    flex-shrink: 0;
}

/* footer */
.site-footer {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto 28px;
    padding: 0 24px;
    text-align: center;
}
.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}
.footer-link {
    background: none;
    border: none;
    padding: 0 0 2px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a9e6e;
    border-bottom: 1px dashed rgba(38, 161, 123, 0.6);
    transition: color .15s ease;
}
.footer-link:hover {
    color: #0f7a52;
}

/* modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
    box-sizing: border-box;
}
.modal-overlay.open {
    display: flex;
}
.modal-card {
    background: #fff;
    border-radius: 18px;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(38, 161, 123, 0.15);
    overflow: hidden;
}
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(38, 161, 123, 0.15);
}
.modal-head h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a9e6e;
}
.modal-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    flex-shrink: 0;
}
.modal-close:hover {
    color: #555;
}
.modal-body {
    padding: 18px 20px 22px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 20px;
    color: #333;
}
.modal-body h4 {
    font-size: 14px;
    color: #1a9e6e;
    margin: 16px 0 6px;
}
.modal-body h4:first-child {
    margin-top: 0;
}
.modal-body p {
    margin-bottom: 8px;
}
.modal-body ul {
    margin: 0 0 8px 18px;
}
.modal-body li {
    margin-bottom: 4px;
}
.modal-body .modal-meta {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(38, 161, 123, 0.15);
    font-size: 12px;
    color: #777;
}

/* cookie bar */
.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(38, 161, 123, 0.25);
    border-radius: 16px;
    box-shadow: 0 6px 28px rgba(38, 161, 123, 0.18), 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transform: translateY(180%);
    transition: transform .4s ease;
}
.cookie-bar.show {
    transform: translateY(0);
}
.cookie-text {
    flex: 1;
    min-width: 240px;
    font-size: 13px;
    line-height: 19px;
    color: #444;
}
.cookie-text .cookie-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}
.cookie-text .cookie-link {
    color: #1a9e6e;
    text-decoration: underline;
    cursor: pointer;
}
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    padding: 11px 22px;
    cursor: pointer;
    border: none;
    transition: opacity .15s ease, background .15s ease;
}
.cookie-btn.accept {
    background: #26a17b;
    color: #fff;
}
.cookie-btn.accept:hover {
    opacity: .9;
}
.cookie-btn.decline {
    background: rgba(38, 161, 123, 0.1);
    color: #1a9e6e;
}
.cookie-btn.decline:hover {
    background: rgba(38, 161, 123, 0.18);
}

@media (max-width: 600px) {
    .cookie-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
    .cookie-actions {
        justify-content: stretch;
    }
    .cookie-btn {
        flex: 1;
    }
}
