/* Affiliate Program Styles */

.affiliate-main {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
}


/* Override any conflicting styles from main stylesheet */
.affiliate-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    color: #fff !important;
    padding: 180px 0 120px !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
}

.affiliate-hero * {
    box-sizing: border-box !important;
}

/* Button Sizes */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Shared Section Titles */
.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 520px;
    margin: -2.5rem auto 3rem;
    line-height: 1.6;
}

/* Landing Page Hero */
.affiliate-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.affiliate-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.affiliate-hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

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

.affiliate-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(168,85,247,0.2));
    color: #e0e7ff;
    border: 1px solid rgba(139,92,246,0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(59,130,246,0.2);
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255,255,255,0.1);
}

.hero-text p {
    font-size: 1.35rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(59,130,246,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.hero-cta .btn-primary:hover::before {
    left: 100%;
}

.hero-cta .btn-secondary {
    border: 2px solid rgba(255,255,255,0.3);
    color: #e2e8f0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-cta .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.1);
}

/* Hero Visual / Stats Cards */
.hero-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.earnings-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.earnings-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.earnings-label {
    font-size: 0.875rem;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.earnings-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.earnings-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 3px;
    transition: width 2s ease;
}

.earnings-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #94a3b8;
}

.earnings-meta .growth {
    color: #34d399;
}

.referral-preview {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referral-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.referral-url {
    font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    color: #e0e7ff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.referral-clicks {
    font-size: 0.875rem;
    color: #a5b4fc;
    font-weight: 500;
}

/* Selling Points */
.selling-points {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.selling-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.selling-points h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.sell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sell-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.sell-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sell-card:hover::before {
    transform: translateY(0);
}

.sell-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.sell-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #3b82f6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
    transition: transform 0.3s ease;
}

.sell-card:hover .sell-icon {
    transform: scale(1.1);
}

.sell-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
    line-height: 1.3;
}

.sell-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.02), rgba(168,85,247,0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(59,130,246,0.3);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
}

.step-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Commission Section */
.commission-section {
    padding: 80px 0;
    background: #fff;
}

.commission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.commission-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.commission-text > p {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 440px;
}

.commission-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commission-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: #374151;
    font-size: 0.95rem;
}

.commission-features li svg {
    color: #22c55e;
    flex-shrink: 0;
}

.commission-visual {
    text-align: center;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 20px;
    padding: 3rem 2rem;
}

.commission-visual .commission-rate {
    font-size: 5rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
}

.commission-visual .commission-label {
    color: #3b82f6;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.35rem;
}

.trust-item p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Bottom CTA */
.affiliate-cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.affiliate-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.affiliate-cta .container {
    position: relative;
    z-index: 1;
}

.affiliate-cta h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.affiliate-cta p {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.25rem;
    line-height: 1.6;
}

.affiliate-cta .btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(59,130,246,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.affiliate-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.affiliate-cta .btn:hover::before {
    left: 100%;
}

.affiliate-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59,130,246,0.4);
}

.cta-note {
    font-size: 1rem !important;
    color: #94a3b8 !important;
    margin-top: 1.5rem !important;
}

/* Auth Pages */
.auth-page {
    background: #f3f4f6;
}

.auth-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
}

.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header img {
    height: 40px;
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6b7280;
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.auth-form .btn-full {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #3b82f6;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Dashboard */
.dashboard-header {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.dashboard-header p {
    color: #6b7280;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Referral Link Box */
.referral-link-box {
    background: #1f2937;
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.referral-link-box label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #d1d5db;
}

.referral-link-box .link-display {
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.95rem;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

.referral-link-box .btn-copy {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

.referral-link-box .btn-copy:hover {
    background: #2563eb;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.data-table th,
.data-table td {
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-size: 0.9rem;
}

.data-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.data-table td {
    border-bottom: 1px solid #f3f4f6;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table .status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-paid {
    background: #dbeafe;
    color: #1e40af;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* Sections */
.section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.section-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.settings-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.settings-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.slug-input-group {
    display: flex;
    gap: 0.5rem;
}

.slug-prefix {
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px 0 0 8px;
    font-size: 0.9rem;
    color: #6b7280;
    white-space: nowrap;
}

.slug-input-group input {
    flex: 1;
    border-radius: 0 8px 8px 0 !important;
    border-left: none !important;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Affiliate Footer */
.affiliate-footer {
    margin-top: auto;
}

/* Nav logout */
.nav-logout {
    color: #ef4444 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .affiliate-hero {
        padding: 140px 0 80px;
        min-height: 90vh;
    }
    
    .affiliate-hero .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-visual {
        grid-template-columns: 1fr;
        margin-top: 3rem;
        gap: 1rem;
    }
    
    .earnings-card,
    .referral-preview {
        max-width: 100%;
    }
    
    .earnings-amount {
        font-size: 2.5rem;
    }
    
    .commission-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .commission-visual .commission-rate {
        font-size: 4rem;
    }
    
    .sell-grid {
        grid-template-columns: 1fr;
    }
    
    .affiliate-cta {
        padding: 60px 0;
    }
    
    .how-it-works {
        padding: 60px 0;
    }
    
    .selling-points {
        padding: 60px 0;
    }
    
    .commission-section {
        padding: 60px 0;
    }
    
    .trust-section {
        padding: 50px 0;
    }
    
    .referral-link-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .referral-link-box .link-display {
        text-align: center;
    }
    
    .data-table {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.625rem 0.75rem;
    }
}
