/* CSS Variables */
:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-900: #0A0A0A;
    --gray-800: #1A1A1A;
    --gray-700: #2A2A2A;
    --gray-600: #404040;
    --gray-500: #808080;
    --gray-400: #A0A0A0;
    --red: #F44336;
    --red-light: #E57373;
    --green: #81C784;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 8px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.small-spinner {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Main Content */
.main-content {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Rank Section */
.rank-section {
    margin-bottom: 32px;
}

.rank-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.rank-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.rank-card.secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.rank-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.rank-number {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rank-number.secondary {
    font-size: 36px;
}

/* Context Grid */
.context-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.context-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.context-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.context-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

/* Contribution Section */
.contribution-section {
    margin-bottom: 32px;
}

.contribution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.contribution-item {
    text-align: center;
}

.contribution-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.contribution-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.contribution-date {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

/* CTA Button */
.cta-button {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
    color: var(--black);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}

/* Share Button */
.share-button {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Leaderboard Section */
.leaderboard-section {
    margin-top: 48px;
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 24px;
}

.leaderboard-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.leaderboard-subtitle {
    font-size: 13px;
    color: var(--gray-500);
}

.leaderboard-loading {
    text-align: center;
    padding: 40px 0;
}

.leaderboard-list {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.leaderboard-rank {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-500);
    min-width: 40px;
}

.leaderboard-rank.top-3 {
    color: var(--white);
    font-size: 18px;
}

.leaderboard-info {
    flex: 1;
    margin: 0 16px;
}

.leaderboard-username {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.leaderboard-country {
    font-size: 12px;
    color: var(--gray-500);
}

.leaderboard-amount {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

/* Disclaimer Section */
.disclaimer-section {
    margin-top: 48px;
    text-align: center;
}

.disclaimer-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.disclaimer-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

/* Account Section */
.account-section {
    margin-top: 32px;
}

.account-header {
    margin-bottom: 24px;
    text-align: center;
}

.account-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.account-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Account Benefits */
.account-benefits {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.benefit-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

/* Social Login */
.social-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.social-divider span {
    padding: 0 16px;
}

.social-button {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.social-button svg {
    flex-shrink: 0;
}

/* Field Input */
.field-input-group {
    display: flex;
    gap: 8px;
}

.field-input {
    flex: 1;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.field-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.field-button {
    height: 48px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.field-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.field-button-secondary {
    height: 48px;
    padding: 0 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.field-button-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Account Info Card */
.account-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row:first-child {
    padding-top: 0;
}

.info-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.inline-action {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inline-action:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Action Button */
.action-button {
    width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Danger Zone */
.danger-zone {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(244, 67, 54, 0.1);
}

.danger-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(244, 67, 54, 0.6);
    margin-bottom: 12px;
}

.action-button.danger {
    color: #E57373;
    border-color: rgba(244, 67, 54, 0.2);
}

.action-button.danger:hover {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
}

/* Transaction List */
.transaction-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.transaction-item {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-info {
    flex: 1;
}

.transaction-amount {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.transaction-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.transaction-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
}

/* Success Message */
.success-message {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(129, 199, 132, 0.1);
    border: 1px solid rgba(129, 199, 132, 0.3);
    border-radius: 8px;
    padding: 16px;
}

.message-icon {
    font-size: 24px;
    color: var(--green);
}

.message-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.message-text strong {
    color: var(--white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.2s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 350px;  /* Reduce from 500px */
    width: 90%;        /* Change from 100% to 90% */
    padding: 32px;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--gray-500);
}

/* Amount Section */
.amount-section {
    margin-bottom: 24px;
}

.tier-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.tier-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.tier-button.default-amount {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.tier-button.default-amount:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.tier-info {
    text-align: left;
}

.tier-price {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
}

.tier-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.tier-arrow {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
}

/* Custom Amount */
.custom-amount-wrapper {
    margin-top: 24px;
}

.custom-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.custom-input-group {
    position: relative;
    margin-bottom: 8px;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.custom-amount-input {
    width: 100%;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 12px;
    padding: 0 16px 0 36px;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.custom-amount-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.custom-description {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.custom-button {
    margin-top: 16px;
}

/* Modal Footer */
.modal-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.modal-footer-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* Share Modal */
.share-preview {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-option {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.share-option svg {
    flex-shrink: 0;
}

/* Activity Feed */
.activity-feed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    pointer-events: none;
}

.activity-item {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    animation: slideInRight 0.3s ease;
    pointer-events: auto;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-item.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    height: 60px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.activity-username {
    font-weight: 600;
    color: var(--white);
}

.activity-amount {
    font-weight: 700;
    color: var(--green);
}

.activity-time {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    z-index: 1000;
    animation: slideUpBanner 0.3s ease;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.cookie-text a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-button {
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px 60px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .rank-number {
        font-size: 40px;
    }
    
    .rank-number.secondary {
        font-size: 32px;
    }
    
    .activity-feed {
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-button {
        width: 100%;
    }
}

/* Hide scrollbar for activity feed */
.activity-feed::-webkit-scrollbar {
    width: 4px;
}

.activity-feed::-webkit-scrollbar-track {
    background: transparent;
}

.activity-feed::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.activity-feed::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* AUTH FORMS STYLING */
/* Add this to style.css */

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.auth-tab.active {
    color: #fff;
    border-bottom-color: #fff;
}

.auth-tab:hover {
    color: #fff;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
}

.auth-form input {
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.auth-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.auth-message {
    margin-top: 10px;
    font-size: 14px;
    min-height: 20px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-google:hover {
    transform: scale(1.02);
}

.btn-google svg {
    width: 20px;
    height: 20px;
}

/* Status Messages & Badges Styles - Add to end of style.css */

/* Badges Card */
.badges-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.badges-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

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

.badge-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.badge-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.badge-description {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* Leaderboard status messages */
.leaderboard-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 2px;
}

/* Leaderboard badges */
.leaderboard-badges {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    font-size: 14px;
}

.leaderboard-badge {
    display: inline-block;
    cursor: help;
}

/* Status editor */
#status-editor {
    animation: slideDown 0.3s ease;
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Updated leaderboard styles - Add to style.css or replace existing .leaderboard-amount rule */

/* Remove or comment out this if it exists:
.leaderboard-amount {
    font-size: 16px;
    font-weight: 700;
    color: #ffd700;
}
*/

/* Update leaderboard-item to remove justify-content since no amount on right */
.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s;
}

.leaderboard-info {
    flex: 1;
}

/* Smart Leaderboard Styles - Add to style.css */

/* Divider between top 10 and user position */
.leaderboard-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    position: relative;
}

.leaderboard-divider::before,
.leaderboard-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.leaderboard-divider span {
    padding: 0 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

/* Highlight current user */
.leaderboard-item.is-you {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

/* YOU badge */
.you-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

/* Live Commentary Panel Styles - Add to end of style.css */

.commentary-panel {
    position: fixed;
    right: -320px;
    top: 80px;
    width: 300px;
    max-height: calc(100vh - 100px);
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.commentary-panel.active {
    right: 20px;
}

.commentary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.commentary-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.commentary-pulse {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.commentary-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.commentary-close:hover {
    color: #fff;
}

.commentary-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.commentary-loading {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    padding: 20px;
}

.commentary-event {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    animation: slideIn 0.3s ease;
    display: flex;
    gap: 8px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.commentary-event-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.commentary-event.type-rise {
    border-left: 2px solid #ffd700;
}

.commentary-event.type-king {
    border-left: 2px solid #ff6b35;
}

.commentary-event.type-hot {
    border-left: 2px solid #ff4444;
}

.commentary-event.type-join {
    border-left: 2px solid #4caf50;
}

.commentary-event.type-shuffle {
    border-left: 2px solid #9c27b0;
}

.commentary-toggle {
     position: fixed;
    right: 20px;
    bottom: 80px; /* CHANGED from 20px to 80px */
    z-index: 10000;
    background: rgba(255, 68, 68, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.commentary-toggle:hover {
    background: rgba(255, 68, 68, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 68, 68, 0.4);
}

.commentary-toggle.hidden {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .commentary-panel {
        right: -100%;
        top: 0;
        width: 100%;
        max-height: 50vh;
        bottom: auto;
        border-radius: 0 0 12px 12px;
    }
    
    .commentary-panel.active {
        right: 0;
    }
    
    .commentary-toggle {
        right: 16px;
        bottom: 16px;
        padding: 10px 16px;
    }
}

/* Scrollbar styling */
.commentary-content::-webkit-scrollbar {
    width: 4px;
}

.commentary-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.commentary-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.commentary-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   NEW FEATURES STYLES - APPEND TO style.css
   ============================================ */

/* ===== STATUS & BADGES ===== */

/* Status message display on leaderboard */
.leaderboard-status {
    font-size: 12px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* Badges display on leaderboard */
.leaderboard-badges {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.leaderboard-badge {
    font-size: 16px;
    cursor: help;
}

/* Badges card in account section */
.badges-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.badges-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

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

.badge-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s;
    cursor: help;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.badge-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.badge-description {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== SMART LEADERBOARD ===== */

/* Divider between top 10 and user position */
.leaderboard-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    position: relative;
}

.leaderboard-divider::before,
.leaderboard-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.leaderboard-divider span {
    padding: 0 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

/* Highlight current user */
.leaderboard-item.is-you {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

/* YOU badge */
.you-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

/* ===== LIVE COMMENTARY PANEL ===== */

.commentary-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 24px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.commentary-toggle:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

.commentary-pulse {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.commentary-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.commentary-panel.open {
    right: 0;
}

.commentary-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commentary-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.commentary-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.commentary-close:hover {
    color: #fff;
}

.commentary-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.commentary-loading {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 20px;
    font-size: 14px;
}

.commentary-event {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.commentary-event.rise {
    border-left-color: #4caf50;
}

.commentary-event.king {
    border-left-color: #ffd700;
}

.commentary-event.hot {
    border-left-color: #ff5722;
}

.commentary-event.new {
    border-left-color: #2196f3;
}

.commentary-event.shuffle {
    border-left-color: #9c27b0;
}

.commentary-event-icon {
    font-size: 16px;
    margin-right: 8px;
}

.commentary-event-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.commentary-event-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* Custom scrollbar */
.commentary-content::-webkit-scrollbar {
    width: 6px;
}

.commentary-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.commentary-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.commentary-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .commentary-panel {
        width: 100%;
        right: -100%;
        top: auto;
        bottom: 0;
        height: 60vh;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .commentary-panel.open {
        right: 0;
    }
    
    .commentary-toggle {
        bottom: 80px;
        right: 16px;
    }
}

/* ===== POST-PAYMENT SUCCESS MODAL ===== */

.success-celebration {
    text-align: center;
    margin-bottom: 32px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.success-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.success-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.rank-share-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
}

.rank-share-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.rank-share-number {
    font-size: 72px;
    font-weight: 900;
    color: #ffd700;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.rank-share-username {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.rank-share-footer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.share-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.share-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.share-action-btn.twitter:hover {
    background: rgba(29, 155, 240, 0.1);
    border-color: rgba(29, 155, 240, 0.5);
}

.share-action-btn.copy:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.5);
}

.continue-button {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.continue-button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ===== PAYWALL GATE ===== */

.paywall-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
}

.paywall-gate.hidden {
    display: none;
}

.paywall-blur-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.paywall-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.paywall-card {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: paywallSlideUp 0.5s ease;
}

@keyframes paywallSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.paywall-header {
    margin-bottom: 32px;
}

.paywall-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 0.9;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.paywall-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.paywall-value {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.paywall-value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.paywall-value-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.paywall-check {
    color: #4caf50;
    font-size: 18px;
    font-weight: 700;
}

.paywall-pricing {
    margin-bottom: 24px;
}

.paywall-price {
    font-size: 56px;
    font-weight: 900;
    color: #ffd700;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.paywall-price-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.paywall-cta {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
    margin-bottom: 24px;
}

.paywall-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
}

.paywall-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.paywall-stat {
    text-align: center;
}

.paywall-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.paywall-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.paywall-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .paywall-card {
        padding: 32px 24px;
    }
    
    .paywall-title {
        font-size: 36px;
    }
    
    .paywall-price {
        font-size: 48px;
    }
    
    .paywall-value-item {
        font-size: 14px;
    }
    
    .rank-share-number {
        font-size: 56px;
    }
    
    .rank-share-username {
        font-size: 20px;
    }
    
    .share-actions {
        grid-template-columns: 1fr;
    }
}

/* Quick copy success animation */
#quick-copy-success {
    animation: fadeIn 0.3s ease;
}

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

/* ===== FIX LIVE BUTTON & ACTIVITY FEED POSITIONS ===== */

/* Fix LIVE button styling and position */
.commentary-toggle {
    position: fixed !important;
    right: 20px !important;
    bottom: 140px !important; /* High enough to avoid reCAPTCHA */
    z-index: 10000 !important;
    background: rgba(255, 68, 68, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    padding: 14px 24px !important;
    border-radius: 28px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s !important;
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4) !important;
    text-transform: uppercase !important;
}

.commentary-toggle:hover {
    background: rgba(255, 68, 68, 1) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(255, 68, 68, 0.6) !important;
}

.commentary-toggle.hidden {
    display: none !important;
}

/* Move activity feed to left side */
.activity-feed {
    position: fixed;
    bottom: 20px;
    left: 20px; /* MOVED to left side */
    right: auto; /* Remove right positioning */
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    pointer-events: none;
}

/* Push reCAPTCHA badge down if needed */
.grecaptcha-badge {
    bottom: 14px !important;
    z-index: 1000 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .commentary-toggle {
        right: 16px !important;
        bottom: 120px !important;
        padding: 12px 20px !important;
        font-size: 11px !important;
    }
    
    .activity-feed {
        left: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
        max-width: 280px;
    }
}

