:root {
    /* Colors - TON Ecosystem Theme */
    --bg-dark: #080A10; /* Deeper space black */
    --text-main: #FFFFFF;
    --text-dim: #8E9BAE;
    --primary: #0098EA; /* TON Blue */
    --primary-hover: #0081C7;
    --accent: #33C6F4; /* Bright Cyan Tone */
    --accent-hover: #1EB8E7;
    
    /* Panel */
    --panel-bg: rgba(255, 255, 255, 0.02);
    --panel-border: rgba(0, 152, 234, 0.15);
    
    /* Statuses */
    --status-paid: #00E676; /* Bright neon green for paid */
    --status-processing: #FFB74D;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    background-color: #000;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    min-height: 100vh;
    padding-bottom: 80px; /* space for mobile nav */
}

/* Updated Background Mesh Gradient for TON */
.background-mesh {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 152, 234, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(51, 198, 244, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(0, 230, 118, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
    animation: meshFlow 25s infinite alternate ease-in-out;
}

@keyframes meshFlow {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Layout Utilities */
.container {
    width: 100%;
    padding: 0 16px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-glow {
    text-shadow: 0 0 15px rgba(51, 198, 244, 0.5);
    transition: text-shadow 0.3s ease;
}

.text-dim { color: var(--text-dim); }
.text-sm { font-size: 0.875rem; }
.mt-4 { margin-top: 16px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-decoration: none;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0072B1);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 152, 234, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 152, 234, 0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-secondary {
    background-color: rgba(0, 152, 234, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 152, 234, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(0, 152, 234, 0.2);
    box-shadow: 0 0 15px rgba(0, 152, 234, 0.3);
}

/* Form Inputs */
.ton-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 15px rgba(51, 198, 244, 0.2) !important;
}

/* Glass Panels */
.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px;
}

.glass-panel-premium {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 152, 234, 0.01) 100%);
    border: 1px solid rgba(0, 152, 234, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.glass-panel-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(51, 198, 244, 0.8), transparent);
    opacity: 0.5;
}

/* Epic Glowing Button */
.btn-epic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    margin-top: 32px;
    margin-bottom: 8px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* The glowing aura */
.btn-epic::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 100px;
    background: linear-gradient(90deg, #0098EA, #00E676, #33C6F4, #0098EA);
    background-size: 300% 100%;
    animation: btn-epic-glow 3s linear infinite;
    z-index: -2;
    filter: blur(12px);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Sharp animated border */
.btn-epic-border {
    position: absolute;
    inset: -2px;
    border-radius: 100px;
    background: linear-gradient(90deg, #0098EA, #00E676, #33C6F4, #0098EA);
    background-size: 300% 100%;
    animation: btn-epic-glow 3s linear infinite;
    z-index: -1;
}

/* Inner dark surface */
.btn-epic::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 100px;
    background: linear-gradient(180deg, #0A1123, #050912);
    z-index: 0;
    transition: background 0.3s ease;
}

@keyframes btn-epic-glow {
    0% { background-position: 0% 0; }
    100% { background-position: 100% 0; }
}

.btn-epic-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.btn-epic:hover {
    transform: translateY(-4px) scale(1.03);
}

.btn-epic:hover::after {
    background: linear-gradient(180deg, #101B36, #0A1123);
}

.btn-epic:hover::before {
    filter: blur(18px);
    opacity: 1;
}

.btn-epic svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    color: #00E676;
    filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.6));
}

.btn-epic:hover svg {
    transform: translateX(6px) scale(1.15);
    color: #33C6F4;
    filter: drop-shadow(0 0 15px rgba(51, 198, 244, 0.8));
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    z-index: 10;
    margin-right: 6px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0, 152, 234, 0.2);
    border-color: rgba(0, 152, 234, 0.3);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: rgba(10, 15, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    display: none;
    flex-direction: column;
    gap: 2px;
    min-width: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.lang-dropdown.show {
    display: flex;
}

.lang-option {
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.lang-option:hover, .lang-option.active {
    background: rgba(0, 152, 234, 0.2);
    color: #fff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    min-height: 70px;
    padding-top: 12px;
    padding-bottom: 8px;
    gap: 6px;
    flex-wrap: nowrap; /* We want it on one line now */
}

/* Header Partnership Logo */
.partnership-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 1; /* allow shrinking if needed */
    overflow: hidden;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.partner-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-dark);
}

.cross {
    color: var(--accent);
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Star Counter */
.star-counter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    color: #FFD700;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.star-counter:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Bottom Navigation (Mobile Only) */
.header nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(8, 10, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--panel-border);
    justify-content: space-around;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    height: auto;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.65rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    text-align: center;
}

nav a svg {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
}

nav a:not(.btn):hover { color: var(--text-main); }

nav a.active {
    color: var(--accent);
    text-shadow: none;
    filter: drop-shadow(0 0 8px rgba(51, 198, 244, 0.6));
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    min-height: auto;
    align-items: center;
    padding: 40px 16px;
    gap: 40px;
    position: relative;
}

.hero-content {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 152, 234, 0.1);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 152, 234, 0.2);
    box-shadow: 0 0 15px rgba(0, 152, 234, 0.1);
}

.pulse-dot-small {
    width: 6px;
    height: 6px;
    background-color: var(--status-paid);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--status-paid);
    animation: pulsePaid 2s infinite;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Deposit Box Overhaul */
.deposit-box {
    text-align: left;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deposit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 152, 234, 0.2);
}

.deposit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.deposit-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--accent);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulseBlue 2s infinite;
}

@keyframes pulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(51, 198, 244, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(51, 198, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(51, 198, 244, 0); }
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.qr-placeholder {
    width: 220px;
    height: 220px;
    background-color: #fff;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.qr-grid {
    width: 100%;
    height: 100%;
    /* Custom TON colored QR pattern simulation */
    background-image: 
        linear-gradient(45deg, #004571 25%, transparent 25%), 
        linear-gradient(-45deg, #004571 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #004571 75%), 
        linear-gradient(-45deg, transparent 75%, #004571 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 12px solid #004571;
    border-radius: 6px;
}

.qr-scan-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background-color: var(--accent);
    box-shadow: 0 0 10px 2px var(--accent);
    animation: scanLine 3s infinite linear;
    z-index: 2;
}

@keyframes scanLine {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

.address-label {
    font-size: 0.875rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.address-box {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

.address-box code {
    flex: 1;
    padding: 12px 16px;
    font-family: 'Inter', monospace;
    font-size: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.min-deposit {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-dim);
    text-align: center;
}

/* Hero Visuals for TON */
.hero-visual {
    width: 100%;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-crystal {
    position: absolute;
    background: linear-gradient(135deg, rgba(51, 198, 244, 0.2), rgba(0, 152, 234, 0.05));
    border: 1px solid rgba(51, 198, 244, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 20px rgba(51, 198, 244, 0.2);
    /* Diamond shape */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.crystal-1 {
    width: 250px;
    height: 250px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: crystalFloat 6s ease-in-out infinite;
    z-index: 2;
}

.crystal-2 {
    width: 120px;
    height: 120px;
    top: 20%; right: 10%;
    animation: crystalFloat 8s ease-in-out infinite reverse;
    opacity: 0.6;
}

.crystal-3 {
    width: 80px;
    height: 80px;
    bottom: 20%; left: 10%;
    animation: crystalFloat 5s ease-in-out infinite 1s;
    opacity: 0.8;
}

.glow-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 152, 234, 0.3) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: pulseOrb 4s ease-in-out infinite;
}

@keyframes crystalFloat { 0%, 100% { transform: translateY(0) rotate(0deg) scale(1); } 50% { transform: translateY(-30px) rotate(10deg) scale(1.05); } }
@keyframes pulseOrb { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } }

/* How it Works Section */
.how-it-works-section {
    padding: 40px 16px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 48px;
}

.step-card {
    position: relative;
    padding: 40px 30px;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(51, 198, 244, 0.3);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-dim);
    font-size: 1rem;
}

/* Levels Container */
.levels-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 32px;
}

.lvl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.lvl-active {
    background: rgba(0, 152, 234, 0.15);
    color: var(--text-main);
    border-color: rgba(0, 152, 234, 0.4);
    box-shadow: 0 0 20px rgba(0, 152, 234, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.lvl-locked {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    border-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    opacity: 0.6;
}

.lvl-locked svg {
    opacity: 0.5;
}

/* Queue Section */
.queue-section {
    padding: 40px 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, #8E9BAE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.table-container {
    padding: 0;
    overflow: hidden;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    text-align: left;
}

thead {
    display: none;
}

tbody tr {
    display: flex;
    flex-direction: column;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    backdrop-filter: blur(20px);
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

th, td {
    padding: 8px 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

td::before {
    content: attr(data-label);
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 500;
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Animations for new queue row */
@keyframes rowHighlightTON {
    0% { background-color: rgba(51, 198, 244, 0.2); transform: translateX(-10px); }
    100% { background-color: transparent; transform: translateX(0); }
}

.row-new {
    animation: rowHighlightTON 1s ease-out forwards;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-processing {
    background: rgba(255, 183, 77, 0.1);
    color: var(--status-processing);
    border: 1px solid rgba(255, 183, 77, 0.2);
}

.status-processing::before { background-color: var(--status-processing); box-shadow: 0 0 5px var(--status-processing); }

.status-paid {
    background: rgba(0, 230, 118, 0.1);
    color: var(--status-paid);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.status-paid::before { background-color: var(--status-paid); box-shadow: 0 0 5px var(--status-paid); }

.amount-positive {
    color: var(--accent);
    font-weight: 600;
}

/* Referral Section */
.referral-section {
    padding: 40px 16px;
}

.referral-glass-panel {
    background: radial-gradient(circle at 100% 100%, rgba(0, 152, 234, 0.1) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px 20px;
}

.referral-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.referral-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}

.referral-content p {
    color: var(--text-dim);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.features-list li::before {
    content: '✦';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(51, 198, 244, 0.15);
    color: var(--accent);
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(51, 198, 244, 0.2);
}

.referral-box h3 {
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 30px 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* Responsive adjustments for tiny screens (like SE, Fold, etc) */
@media (max-width: 380px) {
    .header {
        padding-left: 8px;
        padding-right: 8px;
        gap: 4px;
    }
    .partnership-logo {
        padding: 4px 6px;
        gap: 4px;
    }
    .partner-item {
        font-size: 0.75rem;
        gap: 3px;
    }
    .partner-img {
        width: 18px;
        height: 18px;
    }
    .lang-switcher {
        margin-right: 4px;
    }
    .lang-btn {
        padding: 3px 6px;
        font-size: 0.65rem;
        gap: 2px;
    }
    .star-counter {
        padding: 3px 6px;
        font-size: 0.7rem;
        gap: 2px;
    }
}

