/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    --ink: #17221e;
    --muted: #78817d;
    --green: #0a9b5b;
    --green2: #0b7448;
    --mint: #dff5ea;
    --cream: #f6f7ef;
    --gold: #f1bd38;
    --line: #cce5d9;
    --white: #fff;
    --shadow: 0 18px 50px rgba(20, 62, 45, .10);
    --shadow-hover: 0 20px 60px rgba(20, 62, 45, .15);
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   TOPBAR / HEADER
   ======================================== */
.topbar {
    height: 76px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 max(22px, calc((100% - 1180px) / 2));
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font: 700 20px 'Space Grotesk';
    text-decoration: none;
    letter-spacing: 1.8px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--green);
    color: #fff;
}

.topbar nav {
    display: flex;
    gap: 24px;
    margin: auto;
}

.topbar nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.topbar nav a:hover {
    color: var(--green);
}

/* Profile Picture in Topbar */
.topbar .profile {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--green2);
    overflow: hidden;
    padding: 0;
    text-decoration: none;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.topbar .profile:hover {
    border-color: var(--green);
}

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

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    cursor: pointer;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.page {
    max-width: 1180px;
    margin: auto;
    padding: 28px 22px 100px;
    flex: 1;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 560px;
    background: linear-gradient(135deg, #eef8f1, #d8f3e7);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 58px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
    overflow: hidden;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--green2);
    text-transform: uppercase;
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk';
    margin: 0 0 15px 0;
}

h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.03;
    letter-spacing: -3px;
}

h1 em {
    font-style: normal;
    color: var(--green);
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 18px;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    color: #53615b;
    max-width: 570px;
}

.hero-art {
    height: 430px;
    display: grid;
    place-items: center;
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 30px 30px rgba(14, 91, 57, .18));
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 28px 0;
}

.trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #577068;
    font-size: 13px;
    font-weight: 700;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    font-size: 14px;
}

.btn.primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 24px rgba(10, 155, 91, .2);
}

.btn.primary:hover {
    background: var(--green2);
    transform: translateY(-2px);
}

.btn.ghost {
    background: #fff;
    color: var(--green2);
    border-color: var(--line);
}

.btn.ghost:hover {
    background: var(--cream);
    border-color: var(--green);
}

.btn.full {
    width: 100%;
}

.btn.small {
    min-height: 36px;
    padding: 0 16px;
    font-size: 12px;
}

.btn.large {
    min-height: 56px;
    padding: 0 32px;
    font-size: 16px;
}

/* ========================================
   STATS STRIP
   ======================================== */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    margin: 24px 0 70px;
    box-shadow: var(--shadow);
}

.stat-strip div {
    padding: 24px 28px;
    border-right: 1px solid var(--line);
}

.stat-strip div:last-child {
    border: 0;
}

.stat-strip small {
    display: block;
    color: var(--muted);
    letter-spacing: 1.5px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
}

.stat-strip strong {
    display: block;
    margin-top: 7px;
    font: 700 24px 'Space Grotesk';
    color: var(--green2);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 20px 0 24px;
}

.pill, .tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--green2);
    font-size: 12px;
    font-weight: 800;
}

/* ========================================
   PRODUCT GRID
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    height: 245px;
    background: #edf7f1;
    padding: 18px;
    display: grid;
    place-items: center;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-body {
    padding: 22px;
}

.product-body p {
    color: var(--muted);
    line-height: 1.6;
    min-height: 52px;
    font-size: 14px;
}

.price {
    font: 700 21px 'Space Grotesk';
    margin: 20px 0;
    color: var(--green2);
}

.price small {
    font: 500 11px 'DM Sans';
    color: var(--muted);
}

/* Investment Details on Product Cards */
.investment-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 12px 0 16px 0;
}

.investment-details div {
    text-align: center;
    background: var(--cream);
    padding: 8px;
    border-radius: 10px;
}

.investment-details small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.investment-details strong {
    display: block;
    font-size: 13px;
    color: var(--green2);
}

.reward-line {
    font-size: 12px;
    color: var(--green2);
    font-weight: 800;
    margin: -8px 0 18px;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how {
    margin: 90px 0 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 45px;
    align-items: start;
}

.how p {
    color: var(--muted);
    line-height: 1.8;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.steps div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
}

.steps b {
    display: block;
    color: var(--gold);
    font: 700 28px 'Space Grotesk';
    margin-bottom: 25px;
}

.steps span {
    display: block;
    font-weight: 800;
    margin-bottom: 7px;
}

.steps small {
    color: var(--muted);
    line-height: 1.5;
}

/* ========================================
   MOBILE NAV
   ======================================== */
.mobile-nav {
    display: none;
    height: 72px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    z-index: 30;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(8px);
}

.mobile-nav a {
    color: #8a938f;
    text-decoration: none;
    font-size: 11px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: color 0.2s;
}

.mobile-nav span {
    display: block;
    font-size: 21px;
    margin-bottom: 2px;
}

.mobile-nav a:hover {
    color: var(--green);
}

.mobile-nav .profile-picture-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(9, 29, 20, .58);
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 50;
}

.modal-card {
    position: relative;
    background: #fff;
    border-radius: 28px;
    max-width: 520px;
    padding: 42px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.modal-card p {
    color: var(--muted);
    line-height: 1.8;
}

.close {
    position: absolute;
    right: 16px;
    top: 12px;
    border: 0;
    background: none;
    font-size: 32px;
    color: var(--muted);
    cursor: pointer;
}

.promo-badge {
    color: var(--green);
    font-weight: 800;
}

/* ========================================
   ORDERS
   ======================================== */
.order-list {
    display: grid;
    gap: 14px;
}

.order-card {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    align-items: center;
}

.order-thumb {
    height: 120px;
    background: var(--mint);
    border-radius: 14px;
    display: grid;
    place-items: center;
}

.order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-info h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
}

.order-info p {
    color: var(--muted);
}

.meta {
    display: flex;
    gap: 25px;
    color: var(--muted);
    font-size: 13px;
}

.meta b {
    color: var(--ink);
}

.order-badge {
    background: #fff7dc;
    color: #9d7411;
    border: 1px solid #f4df9e;
    border-radius: 12px;
    padding: 10px;
    font-weight: 800;
    font-size: 13px;
}

.reward-status {
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--mint);
    border-radius: 10px;
    color: var(--green2);
    font-size: 12px;
    font-weight: 800;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty {
    text-align: center;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 24px;
    padding: 50px;
    color: var(--muted);
}

.empty h3 {
    margin-bottom: 8px;
}

.empty .btn {
    margin-top: 12px;
}

/* ========================================
   TEAM PAGE
   ======================================== */
.team-hero {
    background: linear-gradient(135deg, #0b7047, #11a968);
    color: #fff;
    border-radius: 28px;
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.team-hero .eyebrow {
    color: #b7f3d7;
}

.team-hero h1 {
    font-size: 46px;
    letter-spacing: -2px;
    color: #fff;
    margin: 8px 0 4px 0;
}

.team-hero p {
    opacity: 0.9;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.team-stat {
    text-align: right;
}

.team-stat span {
    display: block;
    opacity: 0.8;
    font-size: 14px;
}

.team-stat strong {
    font: 700 70px 'Space Grotesk';
    color: #f4c541;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.member {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.member .avatar {
    margin: auto auto 15px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--green);
    font: 700 28px 'Space Grotesk';
    overflow: hidden;
}

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

.member h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
}

.member p {
    color: var(--muted);
    margin: 0;
    font-size: 13px;
}

.member small {
    color: var(--muted);
    font-size: 11px;
}

.member hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 16px 0;
}

.member strong {
    display: block;
    color: var(--green);
    font: 700 20px 'Space Grotesk';
}

.member span {
    font-size: 12px;
    color: var(--muted);
}

.member-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: var(--mint);
    color: var(--green2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

/* ========================================
   PROMOTIONS / REFERRAL
   ======================================== */
.referral-promotion {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.referral-hero {
    text-align: center;
    margin-bottom: 30px;
}

.referral-hero h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.referral-hero p {
    color: var(--muted);
    font-size: 16px;
}

.referral-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.referral-link-box label,
.referral-code-box label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.referral-link-display {
    display: flex;
    gap: 10px;
}

.referral-link-display input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    background: var(--cream);
}

.code-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--cream);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.code-display strong {
    font-size: 20px;
    font-family: monospace;
    flex: 1;
}

.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    background: var(--cream);
    padding: 16px;
    border-radius: 16px;
}

.stat-item small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item strong {
    display: block;
    font-size: 28px;
    color: var(--green2);
    margin-top: 4px;
}

.commission-levels {
    margin-bottom: 30px;
}

.commission-levels h4 {
    margin-bottom: 16px;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.level-card {
    background: var(--cream);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--line);
}

.level-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.level-card h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.level-percentage {
    display: inline-block;
    background: var(--green);
    color: #fff;
    padding: 2px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.level-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 8px 0;
}

.level-card strong {
    display: block;
    font-size: 22px;
    color: var(--green2);
}

.level-card small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

/* Team Members Section */
.team-members-section {
    margin-top: 20px;
}

.team-members-section h4 {
    margin-bottom: 16px;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.team-member-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cream);
    padding: 12px 16px;
    border-radius: 12px;
}

.team-member-card .profile-picture-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.team-member-info strong {
    display: block;
    font-size: 14px;
}

.team-member-info small {
    font-size: 11px;
    color: var(--muted);
}

/* Promo CTA */
.promo-cta {
    background: linear-gradient(135deg, #0b7047, #11a968);
    color: #fff;
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.promo-cta .eyebrow {
    color: #b7f3d7;
}

.promo-cta h2 {
    color: #fff;
    font-size: 36px;
    margin: 10px 0;
}

.promo-cta p {
    opacity: 0.9;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.promo-cta-buttons {
    display: flex;
    gap: 12px;
}

.promo-cta-buttons .btn.primary {
    background: #fff;
    color: var(--green2);
}

.promo-cta-buttons .btn.primary:hover {
    background: var(--cream);
}

.promo-cta-buttons .btn.ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.promo-cta-buttons .btn.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.promo-cta-image {
    text-align: center;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.promo {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 25px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.promo .promo-badge {
    color: var(--green);
    font-weight: 800;
    display: inline-block;
    padding: 4px 12px;
    background: var(--mint);
    border-radius: 999px;
    font-size: 12px;
}

.promo h2 {
    font-size: 24px;
    margin: 12px 0 8px 0;
}

.promo p {
    color: var(--muted);
    line-height: 1.8;
}

/* ========================================
   REFERRAL INFO SECTION (Team Page)
   ======================================== */
.referral-info-section {
    margin-top: 40px;
}

.referral-info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.referral-info-card h3 {
    margin: 0 0 20px 0;
}

.commission-levels-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.commission-levels-simple div {
    background: var(--cream);
    padding: 16px;
    border-radius: 16px;
}

.commission-levels-simple .level-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--muted);
}

.commission-levels-simple .level-percent {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--green2);
    margin: 4px 0;
}

.commission-levels-simple .level-desc {
    font-size: 12px;
    color: var(--muted);
}

.referral-note {
    color: var(--muted);
    font-size: 14px;
    margin: 12px 0 16px 0;
}

/* ========================================
   PRODUCT DETAIL
   ======================================== */
.back {
    display: inline-block;
    color: var(--green2);
    font-weight: 800;
    text-decoration: none;
    margin: 10px 0 22px;
    transition: color 0.2s;
}

.back:hover {
    color: var(--green);
}

.detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-image {
    background: #eaf7f0;
    min-height: 600px;
    padding: 45px;
    display: grid;
    place-items: center;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-copy {
    padding: 55px;
}

.detail-copy h1 {
    font-size: 50px;
    margin-top: 15px;
}

.detail-copy>p {
    color: var(--muted);
    line-height: 1.8;
}

.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 30px 0;
}

.specs div {
    padding: 15px;
    background: var(--cream);
    border-radius: 13px;
}

.specs small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
}

.specs b {
    font-size: 15px;
}

/* Investment Summary */
.investment-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.summary-item {
    background: var(--cream);
    padding: 12px 16px;
    border-radius: 12px;
}

.summary-item span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.summary-item strong {
    display: block;
    font-size: 18px;
    color: var(--green2);
    margin-top: 4px;
}

.notice {
    font-size: 12px !important;
    color: var(--muted) !important;
    margin-top: 16px;
}

/* ========================================
   AUTH / FORMS
   ======================================== */
.auth-card {
    max-width: 540px;
    margin: 55px auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-size: 44px;
    margin-top: 12px;
}

.auth-card p {
    color: var(--muted);
    line-height: 1.7;
}

.auth-card form {
    display: grid;
    gap: 10px;
    margin: 25px 0;
}

.auth-card label {
    font-weight: 800;
    font-size: 13px;
    margin-top: 6px;
}

.input,
.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"],
.auth-card input[type="number"],
.auth-card input[type="tel"] {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 14px;
    font: inherit;
    background: #fbfdfb;
}

.auth-card input:focus {
    outline: 2px solid var(--green);
    border-color: transparent;
}

.form-error {
    color: #b33;
    font-weight: 700;
    font-size: 12px;
}

.help-text {
    color: var(--muted);
    font-size: 12px;
    margin-top: -4px;
}

/* ========================================
   PROFILE PICTURE
   ======================================== */
.profile-picture-section {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.profile-picture-container {
    position: relative;
    display: inline-block;
}

.profile-picture-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--green);
    box-shadow: var(--shadow);
}

.profile-picture-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-picture-form {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.profile-picture-form .btn {
    background: var(--green);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 999px;
    cursor: pointer;
}

.profile-picture-form .btn:hover {
    background: var(--green2);
}

/* Profile Page */
.profile-header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-header .profile-avatar {
    margin-bottom: 10px;
}

.profile-header .profile-avatar .profile-picture-large {
    width: 120px;
    height: 120px;
}

.profile-info {
    margin: 20px 0;
}

.profile-field {
    margin: 12px 0;
    padding: 12px;
    background: var(--cream);
    border-radius: 12px;
}

.profile-field label {
    display: block;
    font-weight: 700;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-value {
    font-size: 18px;
    padding: 4px 0;
}

.profile-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

/* ========================================
   WALLET / TRANSACTIONS
   ======================================== */
.wallet,
.transactions {
    max-width: 1180px;
    margin: auto;
    padding: 28px 22px 100px;
}

.wallet-actions {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.transaction-list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    margin-top: 20px;
}

.transaction-list h3 {
    margin: 0 0 16px 0;
}

.transaction-items {
    display: grid;
    gap: 8px;
}

.transaction-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 12px;
    padding: 12px 16px;
    background: var(--cream);
    border-radius: 12px;
    align-items: center;
}

.transaction-item.positive {
    border-left: 3px solid var(--green);
}

.transaction-item.negative {
    border-left: 3px solid #e74c3c;
}

.transaction-icon {
    font-size: 24px;
    text-align: center;
}

.transaction-info {
    display: flex;
    flex-direction: column;
}

.transaction-type {
    font-weight: 700;
    font-size: 14px;
}

.transaction-desc {
    font-size: 13px;
    color: var(--muted);
}

.transaction-date {
    font-size: 11px;
    color: var(--muted);
}

.transaction-ref {
    font-size: 10px;
    color: var(--muted);
}

.transaction-amount {
    font-weight: 700;
    font-size: 16px;
    text-align: right;
}

.transaction-amount.positive {
    color: var(--green);
}

.transaction-amount.negative {
    color: #e74c3c;
}

.transaction-amount small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    color: var(--muted);
}

.transaction-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}

/* ========================================
   DASHBOARD
   ======================================== */
.dashboard {
    max-width: 1180px;
    margin: auto;
    padding: 28px 22px 100px;
}

.dashboard-header {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 30px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    overflow: hidden;
}

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

.user-info h2 {
    margin: 0;
}

.user-info p {
    margin: 2px 0;
    color: var(--muted);
    font-size: 14px;
}

.balance-card {
    background: var(--mint);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.balance-card small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.balance-card strong {
    font-size: 32px;
    color: var(--green2);
    display: block;
    margin: 8px 0;
}

.balance-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.balance-actions .btn {
    min-height: 36px;
    padding: 0 16px;
    font-size: 12px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-stats div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.dashboard-stats small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-stats strong {
    font-size: 24px;
    color: var(--green2);
    display: block;
    margin-top: 4px;
}

/* Active Orders on Dashboard */
.active-orders {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    margin: 20px 0 30px 0;
}

.active-orders h3 {
    margin: 0 0 16px 0;
}

.order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.order-card-mini {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--cream);
    border-radius: 16px;
    align-items: center;
}

.order-icon {
    font-size: 32px;
}

.order-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.order-info p {
    margin: 2px 0;
    font-size: 13px;
    color: var(--muted);
}

.status-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.status-badge.active {
    background: var(--mint);
    color: var(--green2);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
}

.dashboard-card h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: var(--cream);
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

.action-item:hover {
    background: var(--mint);
    transform: translateY(-2px);
}

.commission-summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.commission-summary div {
    text-align: center;
}

.commission-summary small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.commission-summary strong {
    display: block;
    font-size: 20px;
    color: var(--green2);
    margin: 4px 0;
}

.commission-summary span {
    font-size: 12px;
    color: var(--muted);
}

/* Referral Levels */
.referral-levels {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    margin-top: 30px;
}

.referral-levels h3 {
    margin: 0 0 20px 0;
}

.level-grid-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.level-card-dashboard {
    background: var(--cream);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.level-card-dashboard h4 {
    margin: 0 0 4px 0;
}

.level-percent {
    display: inline-block;
    background: var(--green);
    color: #fff;
    padding: 2px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.level-card-dashboard p {
    color: var(--muted);
    font-size: 14px;
    margin: 8px 0;
}

.member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    min-height: 30px;
}

.member-tag {
    background: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid var(--line);
}

.empty-text {
    color: var(--muted);
    font-size: 12px;
}

/* ========================================
   FLASH MESSAGES
   ======================================== */
.flash-wrap {
    max-width: 1180px;
    margin: 14px auto 0;
    padding: 0 22px;
}

.flash {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 16px;
    color: var(--green2);
    font-weight: 700;
    animation: slideDown 0.3s ease;
}

.flash.error {
    color: #a53d3d;
    border-color: #efc7c7;
    background: #fff5f5;
}

.flash.success {
    background: var(--mint);
    border-color: var(--green);
}

.flash.info {
    background: #e3f0ff;
    border-color: #88b5d9;
    color: #1a4b6d;
}

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

/* ========================================
   CHECKOUT / PAYMENT
   ======================================== */
.checkout-summary {
    display: grid;
    gap: 7px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    margin: 25px 0;
}

.checkout-summary span {
    font-weight: 800;
}

.checkout-summary strong {
    font: 700 28px 'Space Grotesk';
    color: var(--green2);
}

.checkout-summary small {
    color: var(--muted);
}

.balance-display {
    text-align: center;
    padding: 20px;
    background: var(--cream);
    border-radius: 16px;
    margin: 16px 0;
}

.balance-display small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-display strong {
    font-size: 36px;
    color: var(--green2);
    display: block;
    margin-top: 4px;
}

/* Deposit Options */
.deposit-options {
    margin: 20px 0;
}

.deposit-options h3 {
    margin: 0 0 12px 0;
}

.deposit-info {
    background: var(--cream);
    padding: 16px 20px;
    border-radius: 16px;
    margin: 16px 0;
}

.deposit-info h4 {
    margin: 0 0 8px 0;
}

.deposit-info ul {
    margin: 8px 0;
    padding-left: 20px;
}

.deposit-info li {
    margin: 4px 0;
    color: var(--muted);
}

/* Withdrawal Info */
.withdrawal-info {
    background: #fff8e1;
    padding: 16px 20px;
    border-radius: 16px;
    margin: 16px 0;
}

.withdrawal-info p {
    margin: 4px 0;
    font-size: 14px;
}

/* ========================================
   SETTINGS
   ======================================== */
.settings-section {
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.settings-section:first-child {
    border-top: none;
}

.settings-section h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
}

.referral-display {
    margin: 12px 0;
}

.referral-code-box-settings {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--cream);
    padding: 12px 16px;
    border-radius: 12px;
    margin: 8px 0;
}

.referral-code-box-settings span {
    flex: 1;
    font-weight: 700;
    font-size: 18px;
    font-family: monospace;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--ink);
    color: #fff;
    padding: 40px 0 20px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.footer-brand .brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    margin-right: 10px;
}

.footer-brand span {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1.8px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 4px 0;
}

.footer-disclaimer {
    font-size: 11px !important;
    opacity: 0.6;
    font-style: italic;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media(max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 38px 28px;
    }
    
    .hero-art {
        height: 310px;
        order: -1;
    }
    
    .how {
        grid-template-columns: 1fr;
    }
    
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail {
        grid-template-columns: 1fr;
    }
    
    .detail-image {
        min-height: 400px;
    }
    
    .detail-copy {
        padding: 35px;
    }
    
    .topbar nav {
        display: none;
    }
    
    .menu {
        display: block;
        margin-left: auto;
    }
    
    .topbar .profile {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .commission-summary {
        grid-template-columns: 1fr;
    }
    
    .level-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .level-grid-dashboard {
        grid-template-columns: 1fr 1fr;
    }
    
    .referral-details {
        grid-template-columns: 1fr;
    }
    
    .referral-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .promo-cta {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .promo-cta h2 {
        font-size: 28px;
    }
    
    .team-list {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* Mobile */
@media(max-width: 768px) {
    .dashboard-header {
        grid-template-columns: 1fr;
    }
    
    .commission-levels-simple {
        grid-template-columns: 1fr;
    }
    
    .commission-levels {
        grid-template-columns: 1fr;
    }
    
    .team-hero {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .team-stat {
        text-align: center;
    }
    
    .team-stat strong {
        font-size: 50px;
    }
    
    .team-hero h1 {
        font-size: 32px;
    }
    
    .level-grid {
        grid-template-columns: 1fr;
    }
    
    .level-grid-dashboard {
        grid-template-columns: 1fr;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .member-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-list {
        grid-template-columns: 1fr;
    }
    
    .order-card {
        grid-template-columns: 82px 1fr;
    }
    
    .order-thumb {
        height: 82px;
    }
    
    .order-badge {
        grid-column: 2;
        justify-self: start;
    }
    
    .meta {
        flex-direction: column;
        gap: 4px;
    }
    
    .specs {
        grid-template-columns: 1fr;
    }
    
    .investment-summary {
        grid-template-columns: 1fr;
    }
    
    .transaction-item {
        grid-template-columns: 40px 1fr;
        gap: 8px;
    }
    
    .transaction-amount {
        grid-column: span 2;
        text-align: left;
        padding-left: 48px;
    }
    
    .wallet-actions {
        flex-direction: column;
    }
    
    .balance-actions {
        flex-direction: column;
    }
    
    .promo-cta-buttons {
        flex-direction: column;
    }
    
    .referral-link-display {
        flex-direction: column;
    }
    
    .referral-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer {
        padding: 30px 0 100px 0;
    }
}

/* Small Mobile */
@media(max-width: 600px) {
    .page {
        padding: 16px 14px 92px;
    }
    
    .topbar {
        height: 64px;
        padding: 0 16px;
    }
    
    .brand {
        font-size: 16px;
    }
    
    .hero {
        border-radius: 22px;
        padding: 28px 20px;
        min-height: auto;
    }
    
    .hero-art {
        height: 240px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .stat-strip {
        grid-template-columns: 1fr;
        margin-bottom: 45px;
    }
    
    .stat-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    
    .product-grid,
    .promo-grid,
    .member-grid {
        grid-template-columns: 1fr;
    }
    
    .section-head {
        align-items: start;
        flex-direction: column;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .team-hero {
        padding: 24px;
        border-radius: 20px;
    }
    
    .detail-image {
        min-height: 300px;
        padding: 20px;
    }
    
    .detail-copy {
        padding: 25px;
    }
    
    .detail-copy h1 {
        font-size: 38px;
    }
    
    .auth-card {
        margin: 25px auto;
        padding: 26px 20px;
    }
    
    .auth-card h1 {
        font-size: 35px;
    }
    
    .balance-card {
        width: 100%;
        text-align: left;
    }
    
    .flash-wrap {
        padding: 0 14px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .commission-levels-simple {
        grid-template-columns: 1fr;
    }
}

/* Promotions & Referrals - Additional Styles */

.referral-benefits {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.referral-benefits span {
    background: rgba(255,255,255,0.9);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green2);
    border: 1px solid var(--line);
}

.referral-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.team-total {
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background: var(--cream);
    border-radius: 12px;
}

.team-total strong {
    color: var(--green2);
    font-size: 20px;
}

.level-detail {
    margin-top: 8px;
    font-size: 11px;
    color: var(--muted);
    padding: 4px 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
}

/* Why Refer Section */
.why-refer {
    margin: 40px 0;
    text-align: center;
}

.why-refer h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.benefit-card h4 {
    margin: 0 0 8px 0;
}

.benefit-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Team Bonus Section */
.team-bonus-section {
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border-radius: 16px;
    border: 1px solid #f4df9e;
}

.team-bonus-section h4 {
    margin: 0 0 12px 0;
    color: #856404;
}

.bonus-info p {
    margin: 4px 0;
    color: #856404;
    font-size: 14px;
}

.bonus-example {
    margin-top: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    font-weight: 600;
    color: var(--green2);
}

.bonus-example span {
    font-size: 13px;
}

/* Commission Preview */
.commission-preview {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 16px 0;
}

.commission-preview div {
    background: rgba(255,255,255,0.15);
    padding: 12px 24px;
    border-radius: 12px;
    text-align: center;
}

.commission-preview span {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.commission-preview strong {
    display: block;
    font-size: 24px;
    color: #f4c541;
}

/* How it Works */
.how-it-works {
    margin: 40px 0;
    text-align: center;
}

.how-it-works h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 12px auto;
}

.step-card h4 {
    margin: 0 0 8px 0;
}

.step-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-section h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 24px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}

.faq-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--green2);
}

.faq-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media(max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .referral-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .commission-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .referral-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .referral-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media(max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .commission-levels .level-grid {
        grid-template-columns: 1fr;
    }
    
    .referral-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}