@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

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

body, input, button, select, textarea, p, span, div, a {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    line-height: 1.5;
}

/* Keep headings using Playfair for a refined contrast */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --swarovski-black: #000000;
    --swarovski-white: #ffffff;
    --swarovski-pink: #C5A059; /* Luxury Gold Accent */
    --swarovski-gray: #F5F5F5;
    --swarovski-dark-gray: #444444;
    --swarovski-border: #E5E5E5;
    --border-radius: 0px;
}

body {
    background-color: #E0E0E0;
    color: var(--swarovski-black);
    min-height: 100vh;
}

#app {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--swarovski-white);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.page {
    display: none;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.page.active {
    display: flex;
}

.top-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--swarovski-white), transparent);
}

.content {
    flex: 1;
    padding: 25px;
    position: relative;
    z-index: 1;
    margin-top: -30px;
    background-color: var(--swarovski-white);
    border-radius: 20px 20px 0 0; /* Slight curve for mobile feel */
}

.logo {
    text-align: center;
    margin-bottom: 25px;
}

.logo img {
    width: 100px;
    height: auto;
}

h1 {
    text-align: center;
    color: var(--swarovski-black);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.6px;
    font-size: 1.6rem;
}

h2, h3, h4 {
    margin: 0 0 8px 0;
    font-weight: 600;
}

h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--swarovski-black);
}

p {
    text-align: center;
    color: var(--swarovski-dark-gray);
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.6;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--swarovski-border);
}

.input-group i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--swarovski-black);
    font-size: 14px;
}

input {
    width: 100%;
    padding: 15px 15px 15px 30px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: var(--swarovski-black);
}

input::placeholder {
    color: #999;
}

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

.btn.primary {
    background-color: var(--swarovski-black);
    color: var(--swarovski-white);
}

.btn.secondary {
    background-color: var(--swarovski-gray);
    color: var(--swarovski-black);
    border: 1px solid var(--swarovski-border);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.form-footer a {
    color: var(--swarovski-dark-gray);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Home page specific styles */
.balance-section {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.balance-card {
    flex: 1;
    background-color: var(--swarovski-black);
    color: var(--swarovski-white);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    transform: rotate(45deg);
}

.balance-card h3 {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-card h2 {
    font-size: 22px;
    color: var(--swarovski-white);
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.profit-rate {
    color: var(--swarovski-pink);
    font-size: 11px;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.news-ticker {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.95));
    padding: 12px 0;
    margin: -25px -25px 25px -25px;
    overflow: hidden;
    position: relative;
}

.ticker-icon {
    position: sticky;
    left: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, transparent 100%);
    padding: 0 20px 0 25px;
    display: flex;
    align-items: center;
}

.ticker-icon i {
    color: var(--swarovski-pink);
    font-size: 16px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
    color: var(--swarovski-white);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.ticker-text span {
    display: inline;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.actions-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 30px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197,160,89,0.2), transparent);
    transition: left 0.5s ease;
}

.action-button:hover::before {
    left: 100%;
}

.action-button:hover {
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    border-color: rgba(197,160,89,0.3);
    transform: translateY(-3px);
}

.octagon-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--swarovski-pink), #A8884A);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197,160,89,0.3);
    flex-shrink: 0;
}

.action-button:hover .octagon-icon {
    transform: rotate(45deg);
    box-shadow: 0 6px 20px rgba(197,160,89,0.5);
}

.action-button i {
    font-size: 16px;
    color: var(--swarovski-black);
}

.action-button span {
    font-size: 10px;
    font-weight: 500;
    color: var(--swarovski-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: 6px;
}

.products-section {
    padding-bottom: 80px;
}

.products-section h2 {
    font-size: 22px;
    margin-bottom: 5px;
    text-align: left;
}

.products-section > p {
    text-align: left;
    margin-bottom: 25px;
    font-size: 13px;
    color: #666;
}

.product-cards {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none;
}

.product-cards::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 220px;
    background-color: var(--swarovski-white);
    border: 1px solid var(--swarovski-gray);
    padding: 15px;
    position: relative;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.product-card p {
    font-size: 12px;
    margin-bottom: 5px;
    text-align: left;
    color: #666;
}

.product-card button {
    margin-top: 10px;
    font-size: 12px;
    padding: 12px;
}

.nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--swarovski-white);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid var(--swarovski-gray);
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px;
}

.nav-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 6px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: var(--swarovski-black);
    font-weight: 600;
}

.nav-item.active .nav-icon {
    opacity: 1;
}

/* Common components for inner pages */
.pix-info, .withdrawal-form, .affiliate-stats, .transaction-filters, .checkin-card {
    margin-bottom: 30px;
}

.qrcode-container {
    background-color: var(--swarovski-gray);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.key-container, .link-container {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--swarovski-border);
    padding: 15px 0;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--swarovski-black);
    cursor: pointer;
}

.balance-info {
    background-color: var(--swarovski-black);
    color: white;
    padding: 20px;
    margin-bottom: 25px;
}

.balance-info h2 {
    color: white;
}

.balance-info h3 {
    color: rgba(255,255,255,0.7);
}

.affiliate-stats {
    display: flex;
    gap: 15px;
}

.stat-card {
    flex: 1;
    background-color: var(--swarovski-gray);
    padding: 20px;
    text-align: center;
}

.level, .affiliate-item, .history-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--swarovski-gray);
}

.filter-buttons, .category-buttons {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.filter-btn, .category-btn {
    background-color: transparent;
    border: 1px solid var(--swarovski-border);
    padding: 8px 20px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    text-transform: uppercase;
}

.filter-btn.active, .category-btn.active {
    background-color: var(--swarovski-black);
    color: var(--swarovski-white);
    border-color: var(--swarovski-black);
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--swarovski-gray);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    background-color: var(--swarovski-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 50%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 80px;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--swarovski-pink);
    color: var(--swarovski-black);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.wallet-summary {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.summary-card {
    flex: 1;
    border: 1px solid var(--swarovski-border);
    padding: 15px;
}

.investment-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--swarovski-border);
}

.investment-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
    border: 1px solid var(--swarovski-border);
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 1px solid var(--swarovski-border);
    margin-bottom: 15px;
    padding: 5px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-field {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--swarovski-gray);
}

.checkin-card {
    background-color: var(--swarovski-pink);
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 25px;
    color: var(--swarovski-black);
    position: relative;
    overflow: hidden;
}

.checkin-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
}

.coin-icon {
    width: 60px;
    height: 60px;
    background-color: var(--swarovski-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.status-circle {
    width: 50px;
    height: 50px;
    border: 1px solid var(--swarovski-black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

/* Modal styles */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: var(--swarovski-white);
    padding: 20px 18px 18px;
    width: 88%;
    max-width: 360px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.modal-content h2 {
    font-size: 18px;
    margin-bottom: 6px;
    text-align: left;
}

.modal-line {
    height: 1px;
    background: var(--swarovski-border);
    margin-bottom: 12px;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.modal-label {
    font-size: 12px;
    color: #666;
}

.modal-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--swarovski-black);
}

.modal-value.highlight {
    color: var(--swarovski-pink);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
}

.modal-close i {
    font-size: 16px;
}

/* Chat styles */

.chat-container {
    background-color: var(--swarovski-gray);
    height: 400px;
    margin-bottom: 15px;
}

.message-content {
    background-color: var(--swarovski-white);
    padding: 12px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.message.my-message .message-content {
    background-color: var(--swarovski-pink);
    color: var(--swarovski-black);
}

.chat-input-wrapper {
    background-color: var(--swarovski-white);
    border: 1px solid var(--swarovski-border);
}

.send-btn {
    background-color: var(--swarovski-black);
    color: var(--swarovski-white);
}

/* Additional utility */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 20px; }

/* LINNI LINNI INVEST VISUAL REFRESH 20261001 */
:root {
    --swarovski-black: #15251b;
    --swarovski-white: #fbfaf6;
    --swarovski-pink: #c8a45d;
    --swarovski-gray: #f2eee6;
    --swarovski-dark-gray: #5b635b;
    --swarovski-border: #e3ded3;
    --brand-green: #15251b;
    --brand-green-deep: #0c1710;
    --brand-red: #9f3a39;
    --brand-gold: #c8a45d;
    --brand-cream: #f7f3eb;
    --brand-ink: #172119;
    --border-radius: 18px;
}
html { background: #0d1711; }
body {
    background:
        radial-gradient(circle at 20% 0%, rgba(200,164,93,.10), transparent 34%),
        #0d1711;
    color: var(--brand-ink);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
body, input, button, select, textarea, p, span, div, a {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -.01em;
}
#app {
    background: var(--brand-cream);
    border-left: 1px solid rgba(255,255,255,.12);
    border-right: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 0 45px rgba(0,0,0,.24);
}
.page { background: var(--brand-cream); }
.top-image {
    height: 228px;
    border-radius: 0 0 26px 26px;
    box-shadow: 0 12px 28px rgba(21,37,27,.14);
}
.top-image::after {
    height: 82px;
    background: linear-gradient(to top, var(--brand-cream), rgba(247,243,235,0));
}
.content {
    padding: 20px 18px 28px;
    margin-top: -28px;
    background: var(--brand-cream);
    border-radius: 26px 26px 0 0;
}
.news-ticker {
    margin: -20px -18px 22px;
    padding: 10px 0;
    background: linear-gradient(90deg, var(--brand-green-deep), var(--brand-green));
    border-bottom: 1px solid rgba(200,164,93,.30);
}
.ticker-icon { padding-left: 18px; padding-right: 14px; }
.ticker-icon i { color: var(--brand-gold); }
.ticker-text { color: #f7f1e4; font-size: 11px; font-weight: 600; }
.balance-section {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: 10px;
    margin-bottom: 22px;
}
.balance-card {
    min-width: 0;
    min-height: 148px;
    padding: 16px;
    border: 1px solid rgba(200,164,93,.30);
    border-radius: 20px;
    background: linear-gradient(145deg, #1b3425 0%, #0f2016 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(21,37,27,.17);
    isolation: isolate;
}
.balance-card::before {
    top: -42px;
    right: -30px;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(200,164,93,.22);
    border-radius: 50%;
    background: transparent;
    transform: none;
    z-index: -1;
}
.balance-card::after {
    content: '';
    position: absolute;
    right: 15px;
    bottom: 14px;
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-gold));
    opacity: .95;
}
.balance-card:nth-child(2) {
    background: linear-gradient(145deg, #fffdf8 0%, #eee6d8 100%);
    color: var(--brand-ink);
    border-color: #d9caa9;
    box-shadow: 0 10px 22px rgba(82,63,30,.10);
}
.balance-card:nth-child(2)::before { border-color: rgba(159,58,57,.14); }
.balance-card:nth-child(2)::after { background: linear-gradient(90deg, var(--brand-green), var(--brand-red)); }
.balance-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}
.balance-card-brand {
    color: var(--brand-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.balance-card:nth-child(2) .balance-card-brand { color: var(--brand-red); }
.balance-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(200,164,93,.38);
    border-radius: 9px;
    color: var(--brand-gold);
    font-size: 12px;
}
.balance-card:nth-child(2) .balance-card-icon { color: var(--brand-green); border-color: rgba(21,37,27,.16); }
.balance-card h3 {
    margin: 0 0 6px;
    color: rgba(255,255,255,.68);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.25;
    text-transform: uppercase;
}
.balance-card:nth-child(2) h3 { color: #6e716c; }
.balance-card h2 {
    margin: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(20px, 6vw, 27px);
    font-variant-numeric: tabular-nums lining-nums;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.05;
    white-space: nowrap;
}
.balance-card:nth-child(2) h2 { color: var(--brand-ink); }
.balance-card-note {
    max-width: 90%;
    margin: 8px 0 0;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    line-height: 1.25;
    text-align: left;
}
.balance-card:nth-child(2) .balance-card-note { color: #77766f; }
.profit-rate {
    display: inline-block;
    margin-top: 8px;
    color: var(--brand-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}
.actions-section { gap: 9px; margin-bottom: 28px; }
.action-button {
    min-height: 86px;
    padding: 10px 6px;
    border: 1px solid rgba(21,37,27,.11);
    border-radius: 16px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 7px 16px rgba(21,37,27,.06);
}
.action-button:hover { background: #fffdf9; border-color: rgba(200,164,93,.52); }
.action-button::before { background: linear-gradient(90deg, transparent, rgba(200,164,93,.15), transparent); }
.octagon-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 7px;
    background: linear-gradient(135deg, var(--brand-gold), #e3c681);
    box-shadow: 0 5px 15px rgba(200,164,93,.26);
}
.action-button i { color: var(--brand-green); }
.action-button span {
    color: var(--brand-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: none;
}
.products-section { padding-bottom: 86px; }
.products-section h2 { color: var(--brand-green); font-size: 23px; }
.products-section > p { color: #70776f; font-size: 12px; margin-bottom: 18px; }
.product-cards { gap: 12px; padding: 5px 0 12px; }
.product-card {
    min-width: 216px;
    border: 1px solid rgba(21,37,27,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 9px 20px rgba(21,37,27,.07);
}
.product-card img { height: 154px; }
.product-card h3 { color: var(--brand-green); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 800; }
.product-card p { color: #6f756e; font-size: 11px; }
.nav-bar {
    padding: 10px 4px 11px;
    border-top: 1px solid rgba(200,164,93,.27);
    background: rgba(251,250,246,.96);
    box-shadow: 0 -8px 22px rgba(21,37,27,.08);
    backdrop-filter: blur(14px);
}
.nav-item { color: #90978f; font-size: 9px; font-weight: 700; letter-spacing: .02em; text-transform: none; }
.nav-item.active { color: var(--brand-green); }
.nav-icon { width: 24px; height: 24px; margin-bottom: 4px; }
@media (max-width: 360px) {
    .content { padding-left: 14px; padding-right: 14px; }
    .news-ticker { margin-left: -14px; margin-right: -14px; }
    .balance-section { gap: 8px; }
    .balance-card { padding: 13px; min-height: 140px; }
    .balance-card h2 { font-size: 19px; }
    .balance-card-brand { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* LINNI LINNI INVEST — ALL PAGES POLISH 20261001 */
.page > .content > h1 {
    color: var(--brand-green);
    margin: 0 0 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.15;
}
.page > .content > h1 + p {
    margin: 0 0 22px;
    color: #737970;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}
.content > h2, .content > h3, .content h3 {
    color: var(--brand-green);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -.02em;
}
.content > h2 { font-size: 21px; }
.content > h3 { font-size: 15px; }
.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    margin-bottom: 12px;
    padding: 0 14px;
    border: 1px solid rgba(21,37,27,.12);
    border-radius: 15px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 5px 14px rgba(21,37,27,.04);
}
.input-group:focus-within {
    border-color: rgba(200,164,93,.76);
    box-shadow: 0 0 0 3px rgba(200,164,93,.13);
}
.input-group i {
    position: static;
    flex: 0 0 17px;
    transform: none;
    color: var(--brand-gold);
    font-size: 14px;
    text-align: center;
}
.input-group input {
    min-width: 0;
    padding: 13px 0;
    color: var(--brand-ink);
    font-size: 14px;
    font-weight: 500;
}
input, select, textarea {
    border: 1px solid rgba(21,37,27,.13);
    border-radius: 13px;
    background: rgba(255,255,255,.80);
    color: var(--brand-ink);
}
input:focus, select:focus, textarea:focus {
    border-color: rgba(200,164,93,.78);
    box-shadow: 0 0 0 3px rgba(200,164,93,.12);
}
.input-group input { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.btn {
    min-height: 48px;
    border-radius: 14px;
    padding: 13px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: none;
}
.btn.primary {
    background: linear-gradient(135deg, var(--brand-green), #274a34);
    color: #fffaf0;
    box-shadow: 0 8px 18px rgba(21,37,27,.18);
}
.btn.secondary {
    border: 1px solid rgba(200,164,93,.48);
    background: rgba(255,255,255,.66);
    color: var(--brand-green);
}
.btn:hover { opacity: 1; transform: translateY(-1px); filter: brightness(1.04); }
.form-footer { margin-top: 17px; }
.form-footer a { color: var(--brand-green); font-size: 11px; font-weight: 700; text-transform: none; }
.pix-info, .withdrawal-form, .affiliate-stats, .transaction-filters, .checkin-card { margin-bottom: 22px; }
.pix-info, .withdrawal-form {
    padding: 17px;
    border: 1px solid rgba(21,37,27,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.64);
    box-shadow: 0 8px 20px rgba(21,37,27,.05);
}
.pix-info h3, .withdrawal-form h3 { margin-bottom: 12px; font-size: 15px; }
.qrcode-container {
    min-height: 170px;
    margin: 14px 0;
    border: 1px dashed rgba(200,164,93,.56);
    border-radius: 16px;
    background: #fffdf8;
    color: var(--brand-green);
}
.key-container, .link-container {
    gap: 10px;
    min-height: 50px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(21,37,27,.10);
}
.key-container span, .link-container span { min-width: 0; color: #5d675f; font-size: 12px; overflow-wrap: anywhere; }
.btn-copy {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(200,164,93,.50);
    border-radius: 10px;
    background: rgba(200,164,93,.12);
    color: var(--brand-green);
    font-size: 10px;
    font-weight: 800;
}
.balance-info {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid rgba(200,164,93,.34);
    border-radius: 21px;
    background: linear-gradient(145deg, #1b3425, #0d1b12);
    box-shadow: 0 12px 24px rgba(21,37,27,.16);
}
.balance-info::after {
    content: '';
    position: absolute;
    right: -22px;
    top: -28px;
    width: 105px;
    height: 105px;
    border: 1px solid rgba(200,164,93,.23);
    border-radius: 50%;
}
.balance-info h3 { position: relative; z-index: 1; color: rgba(255,255,255,.68); font-family: 'Inter', sans-serif; font-size: 10px; text-transform: uppercase; }
.balance-info h2 { position: relative; z-index: 1; color: #fff; font-family: 'Inter', sans-serif; font-size: 29px; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.045em; }
.wallet-summary, .affiliate-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}
.summary-card, .stat-card {
    min-width: 0;
    border: 1px solid rgba(200,164,93,.28);
    border-radius: 17px;
    background: rgba(255,255,255,.70);
    box-shadow: 0 7px 16px rgba(21,37,27,.05);
    padding: 15px;
    text-align: left;
}
.summary-card h3, .stat-card h3 { margin-bottom: 7px; color: #737970; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.summary-card h2, .stat-card h2 { color: var(--brand-green); font-family: 'Inter', sans-serif; font-size: 21px; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.04em; }
.investment-item, .affiliate-item, .history-item, .level, .profile-field, .transaction-item {
    border-bottom: 1px solid rgba(21,37,27,.10);
}
.investment-item { gap: 12px; padding: 14px 0; }
.investment-image { width: 56px; height: 56px; margin-right: 0; border: 1px solid rgba(200,164,93,.35); border-radius: 14px; object-fit: cover; }
.profile-header { margin-bottom: 25px; }
.profile-avatar { width: 92px; height: 92px; border: 2px solid var(--brand-gold); border-radius: 24px; background: #fffdf8; box-shadow: 0 10px 20px rgba(21,37,27,.10); }
.profile-header h2 { color: var(--brand-green); font-family: 'Inter', sans-serif; font-size: 21px; font-weight: 800; }
.profile-header p { margin-bottom: 0; color: #777d76; font-size: 12px; }
.profile-section {
    margin-top: 14px !important;
    padding: 15px;
    border: 1px solid rgba(21,37,27,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.64);
}
.profile-section h3 { margin-bottom: 4px; font-size: 14px; }
.profile-field { padding: 12px 0; color: #59645b; font-size: 12px; }
.checkin-card {
    padding: 25px 18px;
    border: 1px solid rgba(200,164,93,.46);
    border-radius: 22px;
    background: linear-gradient(145deg, #d4b26a, #b98c3f);
    box-shadow: 0 13px 26px rgba(128,89,23,.18);
}
.checkin-card h2 { font-family: 'Inter', sans-serif; font-size: 31px; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.05em; }
.coin-icon { border-radius: 18px; background: #fffdf7; }
.status-circle { border-color: var(--brand-green); border-radius: 50%; }
.products-grid { gap: 11px; }
.products-grid .product-card { min-width: 0; padding: 11px; border-radius: 17px; }
.products-grid .product-card img { height: 120px; }
.products-grid .product-card h3 { font-size: 13px; }
.products-grid .product-card p { font-size: 10px; }
.filter-buttons, .category-buttons { gap: 8px; margin-bottom: 18px; }
.filter-btn, .category-btn {
    border-color: rgba(21,37,27,.14);
    border-radius: 99px;
    padding: 9px 14px;
    color: #626c63;
    font-size: 10px;
    font-weight: 800;
    text-transform: none;
}
.filter-btn.active, .category-btn.active { border-color: var(--brand-green); background: var(--brand-green); color: #fffaf0; }
.transaction-item { gap: 10px; padding: 14px 0; }
.transaction-icon { flex: 0 0 40px; margin-right: 0; border-radius: 13px; background: rgba(200,164,93,.14); color: var(--brand-green); }
.modal-overlay { background: rgba(12,23,16,.72); backdrop-filter: blur(4px); }
.modal-content {
    width: min(90%, 370px);
    border: 1px solid rgba(200,164,93,.44);
    border-radius: 22px;
    background: #fffdf8;
    box-shadow: 0 22px 50px rgba(12,23,16,.28);
}
.modal-content h2 { color: var(--brand-green); font-family: 'Inter', sans-serif; font-weight: 800; }
.modal-value { color: var(--brand-green); font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; font-weight: 800; }
.modal-value.highlight { color: var(--brand-red); }
.chat-container { border: 1px solid rgba(21,37,27,.10); border-radius: 20px; background: #eee9df; }
.message-content { border: 1px solid rgba(21,37,27,.06); border-radius: 14px; }
.message.my-message .message-content { background: var(--brand-green); color: #fff; }
.chat-input-wrapper { border: 1px solid rgba(21,37,27,.13); border-radius: 14px; overflow: hidden; }
.send-btn { background: var(--brand-green); color: #fff; }
@media (max-width: 390px) {
    .page > .content > h1 { font-size: 22px; }
    .wallet-summary, .affiliate-stats { gap: 8px; }
    .summary-card, .stat-card { padding: 12px; }
    .summary-card h2, .stat-card h2 { font-size: 18px; }
}

/* LINNI LINNI INVEST — PRIORITY PAGES POLISH 20261002 */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    margin-bottom: 14px;
}
.logo img {
    width: 150px;
    max-width: 72%;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}
#login-page .content, #register-page .content, #recovery-page .content {
    padding-top: 16px;
}
#login-page .content > p, #register-page .content > p, #recovery-page .content > p {
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#login-page h1 { font-size: 27px; text-align: center; }
#login-page form, #register-page form, #recovery-page form { margin-top: 19px; }
#login-page .top-image, #register-page .top-image, #recovery-page .top-image { height: 248px; }
#register-page h1, #recovery-page h1 { text-align: center; }
#register-page .form-footer { justify-content: center; }
#register-page .form-footer a { font-size: 12px; }
.wallet-summary { margin-top: 18px; }
.wallet-summary .summary-card { min-height: 102px; display: flex; flex-direction: column; justify-content: center; }
.wallet-summary .summary-card h2 { font-size: 22px !important; margin-top: 2px; }
.wallet-summary .summary-card span { display: inline-block; margin-top: 7px; font-weight: 800; }
.investments-list {
    margin-top: 22px;
    padding: 17px;
    border: 1px solid rgba(21,37,27,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.50);
}
.investments-list > h3 { margin-bottom: 4px; font-size: 15px; }
.investments-list .investment-item:last-child { border-bottom: 0; padding-bottom: 0; }
.investment-details h4 { color: var(--brand-green); font-family: 'Inter', sans-serif; font-size: 12px !important; font-weight: 800; }
.investment-details p { color: #879087; }
.investment-value { text-align: right; }
.investment-value p { margin: 0; color: var(--brand-green); font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
.investment-value p + p { color: var(--brand-red) !important; font-size: 11px !important; margin-top: 4px; }
.affiliate-link, .commission-info, .affiliate-list {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(21,37,27,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.58);
    box-shadow: 0 8px 18px rgba(21,37,27,.04);
}
.affiliate-link h3, .commission-info h3, .affiliate-list h3 { margin-bottom: 10px; font-size: 14px; }
.affiliate-link .link-container {
    min-height: 48px;
    padding: 7px 9px;
    border: 1px solid rgba(200,164,93,.35);
    border-radius: 12px;
    background: #fffdf7;
}
.affiliate-link .link-value {
    min-width: 0;
    flex: 1;
    margin: 0;
    color: var(--brand-green);
    font-size: 11px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-align: left;
}
.affiliate-link .btn-copy { min-width: 36px; padding: 8px; }
.commission-levels, .affiliate-table { border-top: 1px solid rgba(21,37,27,.08); }
.commission-info .level {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 0;
}
.commission-info .level:last-child { border-bottom: 0; }
.level-name { flex: 1; color: #5c675e; font-size: 11px; font-weight: 700; }
.level-rate { color: var(--brand-red); font-size: 13px; font-weight: 900; }
.affiliate-list .affiliate-item {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 9px;
    align-items: center;
    padding: 12px 0;
}
.affiliate-list .affiliate-item:last-child { border-bottom: 0; }
.affiliate-name { color: var(--brand-green); font-size: 12px; font-weight: 800; }
.affiliate-date { color: #8a928b; font-size: 10px; }
.affiliate-earnings { color: var(--brand-red); font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 800; }
#back-from-affiliates { width: 100%; margin-top: 18px !important; }
.profile-header {
    position: relative;
    padding: 17px 17px 16px;
    border: 1px solid rgba(200,164,93,.30);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.83), rgba(239,231,214,.74));
    box-shadow: 0 9px 20px rgba(21,37,27,.06);
}
.profile-header::after {
    content: 'LINNI INVEST';
    position: absolute;
    top: 13px;
    right: 14px;
    color: var(--brand-red);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}
.profile-header h2 { margin-bottom: 3px; }
.profile-sections { margin-top: 16px; }
.profile-section .profile-field:last-child { border-bottom: 0; }
.profile-field .field-value { color: #667067 !important; font-size: 11px; font-weight: 700; text-align: right; }
.profile-field .fa-toggle-on { color: var(--brand-green) !important; font-size: 21px; }
#logout-btn { width: 100%; margin-top: 18px !important; }
@media (max-width: 360px) {
    .logo img { width: 132px; }
    .affiliate-list .affiliate-item { grid-template-columns: minmax(0,1fr) auto; }
    .affiliate-date { display: none; }
    .affiliate-earnings { justify-self: end; }
}

/* LINNI LINNI INVEST — PAYMENT PAGES POLISH 20261002 */
#deposit-page .content > p, #withdrawal-page .content > p { margin-bottom: 18px; }
#deposit-page .top-image, #withdrawal-page .top-image { height: 218px; }
#deposit-page .pix-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(200,164,93,.34);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.80), rgba(239,231,214,.64));
}
#deposit-page .pix-info > div {
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(21,37,27,.09);
    border-radius: 17px;
    background: rgba(255,255,255,.63);
}
#deposit-page .pix-info h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--brand-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}
#deposit-page .pix-info h3::before {
    content: '';
    width: 5px;
    height: 16px;
    border-radius: 99px;
    background: linear-gradient(var(--brand-red), var(--brand-gold));
}
#deposit-page .pix-amount .input-group { margin: 0; background: #fffdf8; }
#deposit-page .pix-amount input { font-size: 16px; font-variant-numeric: tabular-nums; font-weight: 800; }
#deposit-page .qrcode-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 164px;
    margin: 0;
    border: 1px dashed rgba(200,164,93,.68);
    background: radial-gradient(circle, rgba(200,164,93,.09), rgba(255,253,248,.98) 68%);
}
#deposit-page .qrcode-placeholder { text-align: center; }
#deposit-page .qrcode-placeholder i { display: block; color: var(--brand-green) !important; font-size: 42px !important; opacity: .78; }
#deposit-page .qrcode-placeholder span { color: #7c857d !important; font-size: 11px !important; }
#deposit-page .pix-key .key-container {
    min-height: 48px;
    padding: 7px 9px;
    border: 1px solid rgba(200,164,93,.34);
    border-radius: 12px;
    background: #fffdf8;
}
#deposit-page .pix-key-value {
    min-width: 0;
    margin: 0;
    color: var(--brand-green);
    font-size: 11px !important;
    font-weight: 700;
    overflow-wrap: anywhere;
}
#generate-pix, #confirm-withdrawal { width: 100%; margin-top: 16px; }
#back-from-deposit, #back-from-withdrawal { width: 100%; margin-top: 9px; }
#withdrawal-page .withdrawal-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 14px;
    border: 1px solid rgba(200,164,93,.34);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.80), rgba(239,231,214,.64));
}
#withdrawal-page .balance-info { margin: 0 0 3px; padding: 18px; border-radius: 18px; }
#withdrawal-page .balance-info h2 { font-size: 28px; }
#withdrawal-page .withdrawal-form .input-group { margin: 0; background: rgba(255,255,255,.82); }
#withdrawal-page .withdrawal-form .input-group input { font-size: 13px; }
#withdrawal-page .withdrawal-form::after {
    content: 'PIX seguro • confira os dados antes de confirmar';
    display: block;
    margin: 1px 2px 0;
    color: #7d867d;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}
#withdrawal-page .withdrawal-disabled-state {
    margin: 8px 0 22px;
    padding: 28px 20px 30px;
    border: 1px solid rgba(200,164,93,.34);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(239,231,214,.72));
    box-shadow: 0 12px 28px rgba(21,37,27,.08);
    text-align: center;
}
#withdrawal-page .withdrawal-disabled-state[hidden], #withdrawal-page .withdrawal-form[hidden], #withdrawal-page #confirm-withdrawal[hidden] { display: none !important; }
#withdrawal-page .withdrawal-disabled-state h2 { margin: 12px 0 7px; color: var(--brand-green); font-family: 'Playfair Display', serif; font-size: 23px; }
#withdrawal-page .withdrawal-disabled-state p { margin: 0; color: #788078; font-size: 13px; line-height: 1.55; }
#withdrawal-page .withdrawal-sleeping-cloud { position: relative; width: 112px; height: 70px; margin: 0 auto; color: #b9c6c1; }
#withdrawal-page .withdrawal-sleeping-cloud > .fa-cloud { position: absolute; left: 11px; bottom: 1px; color: #d4ded9; font-size: 68px; filter: drop-shadow(0 5px 5px rgba(21,37,27,.10)); }
#withdrawal-page .withdrawal-sleeping-cloud > .fa-moon { position: absolute; top: 0; right: 9px; color: #c8a45d; font-size: 21px; transform: rotate(-18deg); }
#withdrawal-page .withdrawal-sleeping-cloud > span { position: absolute; color: #a99467; font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
#withdrawal-page .withdrawal-sleeping-cloud > span:nth-of-type(1) { top: 4px; right: 40px; }
#withdrawal-page .withdrawal-sleeping-cloud > span:nth-of-type(2) { top: 22px; right: 27px; font-size: 13px; }
@media (max-width: 360px) {
    #deposit-page .pix-info, #withdrawal-page .withdrawal-form { padding: 11px; }
    #deposit-page .pix-info > div { padding: 12px; }
    #withdrawal-page .balance-info h2 { font-size: 24px; }
}

/* REAL APP LAYER 20261002 */
#linni-toast{position:fixed;left:50%;bottom:88px;z-index:9999;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1d1811;color:#f5deb0;border:1px solid #b79450;border-radius:10px;padding:12px 16px;max-width:calc(100vw - 30px);text-align:center;transition:.25s;font-size:13px;box-shadow:0 8px 30px #0006}#linni-toast.show{opacity:1;transform:translate(-50%,0)}#linni-toast[data-kind=error]{border-color:#c66c62;color:#ffc5bc}.linni-modal{position:fixed;inset:0;z-index:9998;background:#080705c9;display:flex;align-items:center;justify-content:center;padding:16px}.linni-modal-card{width:min(420px,100%);background:#f6f0e5;color:#241d14;border-radius:18px;padding:20px;text-align:center;box-shadow:0 20px 70px #000b}.linni-modal-card h2{margin-top:0}.linni-modal-close{float:right;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#5e4a2e}.linni-pix-image{display:block;width:min(250px,80vw);height:auto;margin:12px auto;border-radius:8px;background:white}.linni-pix-code{display:block;width:100%;min-height:78px;box-sizing:border-box;font-size:11px;resize:none;margin:10px 0;padding:9px}.linni-modal-note{font-size:12px;color:#756752}.admin-body input,.admin-body select,.admin-body textarea{font-size:16px}

/* REAL DATA PLACEHOLDER 20261002 */
.data-placeholder { color: #8b8172; font-size: 13px; text-align: center; padding: 14px 8px; }
/* GROWTH AND DEPOSIT UI 20261002 */
#home-page .balance-card-secondary h2 { font-size: clamp(21px, 5.4vw, 25px); letter-spacing: -.03em; }
#home-page .balance-card-primary h3 { color: #fff !important; }
#deposit-page .pix-info { padding: 24px; min-height: 250px; }
#deposit-page .pix-qrcode, #deposit-page .pix-key { display: none; }
#deposit-page .pix-info.pix-generated .pix-qrcode, #deposit-page .pix-info.pix-generated .pix-key { display: block; }
@media (max-width: 767px) {
  #deposit-page .pix-info { padding: 20px 16px; min-height: 235px; }
}
/* LINNI SCROLL AND NO-ZOOM HARDENED 20261002 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overflow-y: auto !important; }
body, #app { min-height: 100vh; height: auto !important; overflow-x: hidden; overflow-y: auto !important; }
.page, .page.active, .content { height: auto !important; min-height: 100vh; overflow: visible !important; }
@media (max-width: 820px) {
  input, select, textarea, input:focus, select:focus, textarea:focus { font-size: 16px !important; }
  input, select, textarea { -webkit-text-size-adjust: 100%; }
}
/* LINNI CHECK-IN CELEBRATION 20261002 */
.linni-checkin-celebration { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(10,14,10,.78); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.linni-checkin-celebration.is-visible { opacity: 1; }
.linni-checkin-celebration-card { position: relative; width: min(300px, 88vw); padding: 28px 20px 24px; border: 1px solid rgba(201,166,91,.85); border-radius: 24px; background: linear-gradient(145deg,#fffdf7,#eee2ca); color: #173523; text-align: center; box-shadow: 0 20px 80px rgba(0,0,0,.55); transform: translateY(24px) scale(.82); transition: transform .55s cubic-bezier(.2,1.45,.45,1); overflow: hidden; }
.linni-checkin-celebration.is-visible .linni-checkin-celebration-card { transform: translateY(0) scale(1); }
.linni-checkin-celebration-card::before, .linni-checkin-celebration-card::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #c9a65b; box-shadow: 0 0 18px #f4d98e; animation: linni-checkin-spark 1.2s ease-in-out infinite alternate; }
.linni-checkin-celebration-card::before { top: 18px; left: 28px; } .linni-checkin-celebration-card::after { right: 30px; bottom: 26px; animation-delay: .3s; }
.linni-checkin-celebration-card img { display: block; width: 150px; height: 76px; object-fit: contain; margin: -7px auto 9px; }
.linni-checkin-celebration-card strong { display: block; font-family: Inter, sans-serif; font-size: 34px; letter-spacing: -.04em; color: #a1721d; }
.linni-checkin-celebration-card span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #55715e; }
@keyframes linni-checkin-spark { from { transform: scale(.7) translateY(2px); opacity: .45; } to { transform: scale(1.5) translateY(-8px); opacity: 1; } }


/* LINNI GROUP INVITE 20261002 */
.linni-group-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(8,20,12,.78); opacity: 0; pointer-events: none; transition: opacity .3s ease; backdrop-filter: blur(7px); }
.linni-group-modal.is-visible { opacity: 1; pointer-events: auto; }
.linni-group-modal-card { position: relative; width: min(94vw, 520px); padding: 30px 24px 24px; border: 1px solid rgba(200,164,93,.62); border-radius: 28px; background: linear-gradient(145deg,#fffdf8 0%,#f2e6cf 100%); color: #16291d; text-align: center; box-shadow: 0 26px 80px rgba(0,0,0,.45); transform: translateY(26px) scale(.94); transition: transform .45s cubic-bezier(.2,1.25,.45,1); }
.linni-group-modal.is-visible .linni-group-modal-card { transform: translateY(0) scale(1); }
.linni-group-close { position: absolute; top: 10px; right: 13px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(21,55,35,.08); color: #173523; font-size: 25px; line-height: 1; cursor: pointer; }
.linni-group-logo-wrap { width: 138px; height: 74px; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; }
.linni-group-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.linni-group-kicker { display: block; color: #a1721d; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.linni-group-modal-card h2 { margin: 8px 0 8px; color: #173523; font-family: Inter,system-ui,sans-serif; font-size: clamp(22px,6vw,31px); font-weight: 800; letter-spacing: -.035em; }
.linni-group-modal-card p { max-width: 410px; margin: 0 auto 22px; color: #52645a; font-size: 14px; line-height: 1.55; }
.linni-group-join { display: flex; align-items: center; justify-content: center; width: 100%; text-decoration: none; }
.linni-group-never { margin-top: 14px; border: 0; background: transparent; color: #68756c; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }


/* LINNI HOME LEDGER — DAILY INCOME CLARITY 20261002 */
.home-ledger-section { margin: 2px 0 88px; padding: 18px 15px 16px; border: 1px solid rgba(21,37,27,.10); border-radius: 21px; background: rgba(255,255,255,.64); box-shadow: 0 8px 20px rgba(21,37,27,.05); }
.home-ledger-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.home-ledger-heading h2 { margin: 3px 0 0; color: var(--brand-green); font-family: Inter,system-ui,sans-serif; font-size: 22px; font-weight: 800; }
.section-eyebrow { color: var(--brand-gold); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.home-ledger-link { color: var(--brand-green); font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.home-ledger-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 10px; padding: 4px; border-radius: 13px; background: #ede7da; }
.home-ledger-tab { min-height: 35px; border: 0; border-radius: 10px; background: transparent; color: #68736a; font-size: 11px; font-weight: 800; cursor: pointer; }
.home-ledger-tab.active { color: #fffaf0; background: var(--brand-green); box-shadow: 0 5px 12px rgba(21,37,27,.16); }
.home-ledger-list { min-height: 48px; }
.home-ledger-row { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid rgba(21,37,27,.09); }
.home-ledger-row:last-child { border-bottom: 0; }
.home-ledger-icon { display: flex; flex: 0 0 31px; width: 31px; height: 31px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(21,37,27,.08); color: var(--brand-green); font-size: 13px; }
.home-ledger-row.expense .home-ledger-icon { color: var(--brand-red); background: rgba(159,58,57,.08); }
.home-ledger-info { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.home-ledger-info strong { overflow: hidden; color: #314238; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.home-ledger-info span { color: #879087; font-size: 9px; }
.home-ledger-amount { color: var(--brand-green); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-ledger-row.expense .home-ledger-amount { color: var(--brand-red); }
.home-ledger-empty { margin: 0; padding: 16px 5px 7px; color: #7b857d; font-size: 11px; text-align: center; }
.product-card .product-daily-income { color: var(--brand-green); font-size: 12px; font-weight: 800; }
.product-card .product-total-income { color: var(--brand-red); font-size: 11px; font-weight: 700; }
.product-card .product-daily-income strong, .product-card .product-total-income strong { font-weight: 900; }
@media(max-width:360px) { .home-ledger-section { padding-left: 12px; padding-right: 12px; } .home-ledger-info strong { font-size: 10px; } .home-ledger-amount { font-size: 11px; } }

/* LINNI HOME BALANCE CARDS COMPACT 20261002 */
#home-page .balance-card { min-height: 124px; padding: 13px 14px; }
#home-page .balance-card-top { margin-bottom: 10px; }
#home-page .balance-card h3 { margin-bottom: 4px; }
#home-page .balance-card-note { margin-top: 5px; font-size: 9px; }
#home-page .profit-rate { margin-top: 5px; font-size: 9px; }
#home-page .balance-card::after { bottom: 10px; }
@media (max-width: 360px) {
  #home-page .balance-card { min-height: 118px; padding: 12px; }
  #home-page .balance-card-brand { font-size: 8px; }
  #home-page .balance-card h2 { font-size: 20px; }
}

/* LINNI WITHDRAWAL RECEIPT / COLLECTION / PROFILE 20261002 */
.linni-withdrawal-receipt,
.linni-withdrawal-failure { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8,12,9,.82); opacity: 0; pointer-events: none; transition: opacity .25s ease; backdrop-filter: blur(8px); }
.linni-withdrawal-receipt.is-visible,
.linni-withdrawal-failure.is-visible { opacity: 1; pointer-events: auto; }
.linni-withdrawal-receipt-card,
.linni-withdrawal-failure-card { width: min(440px,100%); box-sizing: border-box; position: relative; padding: 26px 20px 20px; border: 1px solid rgba(191,149,70,.6); border-radius: 24px; background: linear-gradient(145deg,#fffdf8,#f0e2c8); color: #18271d; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.48); transform: translateY(24px) scale(.96); transition: transform .35s cubic-bezier(.2,1.2,.45,1); }
.linni-withdrawal-receipt.is-visible .linni-withdrawal-receipt-card,
.linni-withdrawal-failure.is-visible .linni-withdrawal-failure-card { transform: translateY(0) scale(1); }
.withdrawal-receipt-close { position: absolute; top: 10px; right: 13px; border: 0; background: transparent; color: #66563d; font-size: 28px; line-height: 1; cursor: pointer; }
.withdrawal-receipt-mark { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 50%; background: #1c7044; color: #fff; font-size: 21px; box-shadow: 0 8px 20px rgba(28,112,68,.3); }
.withdrawal-receipt-kicker { color: #a2782d; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.linni-withdrawal-receipt-card h2,
.linni-withdrawal-failure-card h2 { margin: 6px 0 4px; color: #173523; font-family: Inter,system-ui,sans-serif; font-size: 23px; font-weight: 900; letter-spacing: -.035em; }
.withdrawal-receipt-status { margin: 0 0 16px; color: #617166; font-size: 12px; font-weight: 700; }
.withdrawal-receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 0 16px; text-align: left; }
.withdrawal-receipt-grid > div { padding: 11px 12px; border: 1px solid rgba(181,149,91,.25); border-radius: 13px; background: rgba(255,255,255,.62); }
.withdrawal-receipt-grid span { display: block; margin-bottom: 4px; color: #7b806f; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.withdrawal-receipt-grid strong { display: block; color: #283c2e; font-size: 13px; font-weight: 900; }
.withdrawal-receipt-grid strong small { color: #7d6a43; font-size: 9px; }
.withdrawal-receipt-grid .receipt-net { color: #a67726; font-size: 15px; }
.withdrawal-receipt-note { margin: 0 0 16px; color: #66736a; font-size: 11px; line-height: 1.45; }
.withdrawal-receipt-home { width: 100%; }
.withdrawal-failure-icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 50%; background: #a75735; color: #fff; font-size: 20px; }
.linni-withdrawal-failure-card p { margin: 10px auto 18px; color: #5e6d62; font-size: 13px; line-height: 1.55; }
.withdrawal-failure-review { width: 100%; }
.withdrawal-failure-close { display: block; width: 100%; margin-top: 9px; padding: 8px; border: 0; background: transparent; color: #637066; font-size: 12px; cursor: pointer; }
.products-grid .product-card .product-investment { color: #b1832e !important; font-weight: 900; }
.products-grid .product-card .product-daily-income { color: #151a17 !important; font-weight: 900; }
.products-grid .product-card .product-total-income { color: #b1832e !important; font-weight: 900; }
.products-grid .product-card .product-term { color: #68736a !important; }
.products-grid .product-card .product-investment strong,
.products-grid .product-card .product-daily-income strong,
.products-grid .product-card .product-total-income strong,
.products-grid .product-card .product-term strong { font-weight: 900; }
.modal-value.modal-gold { color: #b1832e !important; }
.modal-value.modal-black { color: #151a17 !important; }
.profile-group-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; text-decoration: none; box-sizing: border-box; }
@media (max-width: 360px) { .withdrawal-receipt-grid { gap: 7px; } .withdrawal-receipt-grid > div { padding: 9px; } .withdrawal-receipt-grid strong { font-size: 12px; } }

/* LINNI — COMPLETE REFERRAL TREE 20261002 */
.affiliate-network-note { margin: -3px 0 12px; color: #8a928b; font-size: 10px; line-height: 1.45; }
.affiliate-name-wrap { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.affiliate-level { color: #8a928b; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
