/**
 * Free Spin Page Styles
 * Lightning Faucet Drip System
 */

/* === Page Layout === */
.free-spin-page {
    padding: 20px 16px 20px;
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1a2e 100%);
}

.free-spin-container {
    max-width: 520px;
    margin: 0 auto;
    padding-top: 24px;
    padding-bottom: 20px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* === Header === */
.free-spin-header {
    text-align: center;
    margin-bottom: 24px;
}

.free-spin-header h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    color: #f7931a;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.2;
}

.free-spin-header .subtitle {
    color: #888;
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    margin: 0;
    line-height: 1.4;
}

.bonus-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.2) 0%, rgba(247, 147, 26, 0.1) 100%);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 15px;
    color: #f7931a;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Step Sections === */
.step-section {
    background: linear-gradient(135deg, #1e1e3a 0%, #151528 100%);
    border: 1px solid #2a2a4a;
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 16px;
    text-align: center;
    box-sizing: border-box;
}

.step-section:last-child {
    margin-bottom: 0;
}

.step-section h2 {
    color: #fff;
    font-size: clamp(1.1rem, 5vw, 1.3rem);
    margin: 0 0 16px 0;
    text-align: center;
    line-height: 1.3;
}

/* === Step Indicator === */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.step-indicator .step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2a2a4a;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-indicator .step.active {
    background: #f7931a;
    color: white;
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.4);
}

.step-indicator .step.completed {
    background: #22c55e;
    color: white;
}

.step-line {
    width: 40px;
    height: 2px;
    background: #2a2a4a;
    transition: background 0.3s ease;
}

.step-line.completed {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

/* === Benefits List === */
.benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    font-size: 0.95rem;
}

.benefit-icon {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

/* === Email Form === */
.email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Full-width buttons in email forms */
.email-form .btn-primary {
    width: 100%;
    justify-content: center;
}

.email-form input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    background: #0a0a1a;
    border: 1px solid #2a2a4a;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: #f7931a;
}

.email-form input[type="email"]::placeholder {
    color: #666;
}

/* === Logged In Notice === */
.logged-in-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: left;
}

.logged-in-notice .notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.logged-in-notice p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

/* === Form Note === */
.form-note {
    color: #666;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 10px;
}

/* === Message Box === */
.message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.message.info {
    display: block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* === Verification Success Banner === */
.verification-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #22c55e;
    font-weight: 500;
}

.verification-success .success-icon {
    font-size: 1.2rem;
}

/* === Prize Display === */
.prize-display {
    text-align: center;
    padding: 20px 16px;
    position: relative;
}

.prize-confetti {
    font-size: 2rem;
    margin-bottom: 10px;
}

.prize-amount {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
    font-weight: 700;
    color: #f7931a;
    text-shadow: 0 0 30px rgba(247, 147, 26, 0.5);
    margin-bottom: 10px;
    word-break: break-word;
}

.prize-message {
    color: #888;
    font-size: clamp(0.9rem, 4vw, 1rem);
}

/* === Spin Wheel === */
.spin-wheel {
    width: 280px;
    height: 280px;
    margin: 20px auto 30px;
    border-radius: 50%;
    background: conic-gradient(
        #f7931a 0deg 30deg,
        #2a2a4a 30deg 60deg,
        #f7931a 60deg 90deg,
        #2a2a4a 90deg 120deg,
        #22c55e 120deg 150deg,
        #2a2a4a 150deg 180deg,
        #f7931a 180deg 210deg,
        #2a2a4a 210deg 240deg,
        #8b5cf6 240deg 270deg,
        #2a2a4a 270deg 300deg,
        #f7931a 300deg 330deg,
        #ef4444 330deg 360deg
    );
    border: 4px solid #3a3a5a;
    position: relative;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    box-shadow:
        0 0 0 8px #1a1a2e,
        0 0 0 12px #3a3a5a,
        0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Center hub with Bitcoin symbol */
.spin-wheel-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 50%;
    border: 3px solid #f7931a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #f7931a;
    z-index: 5;
    box-shadow:
        0 0 15px rgba(247, 147, 26, 0.4),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Wheel pointer/arrow */
.spin-wheel::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #f7931a;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* === Recovery Code === */
.recovery-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.recovery-label {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.recovery-code {
    font-family: monospace;
    font-size: 1.1rem;
    color: #f7931a;
    background: rgba(247, 147, 26, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    letter-spacing: 2px;
}

/* === Free Spin CTA === */
.free-spin-cta {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #2a2a4a;
}

.free-spin-cta p {
    color: #888;
    margin-bottom: 15px;
}

/* === Small Button Variant === */
.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* === Casino Button Variant === */
.btn-casino {
    margin-top: 10px;
}

/* Legacy: .spin-header for backwards compat */
.spin-header {
    text-align: center;
    margin-bottom: 30px;
}

.spin-icon {
    font-size: 64px;
    margin-bottom: 10px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(247, 147, 26, 0.5)); }
    50% { filter: drop-shadow(0 0 25px rgba(247, 147, 26, 0.8)); }
}

.spin-header h1 {
    font-size: 2.5rem;
    color: #f7931a;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.spin-tagline {
    color: #888;
    font-size: 1.1rem;
    margin: 0;
}

/* === Progress Steps === */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 0.7;
}

.step.completed .step-number {
    background: #22c55e;
    color: white;
}

.step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 12px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2a2a4a;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #f7931a;
    color: white;
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.4);
}

.step-label {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

.step.active .step-label {
    color: #f7931a;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: #2a2a4a;
    margin-bottom: 20px;
}

/* === Step Cards === */
.step-card {
    background: linear-gradient(135deg, #1e1e3a 0%, #151528 100%);
    border: 1px solid #2a2a4a;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.step-card h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 8px 0;
}

.step-card > p {
    color: #888;
    margin: 0 0 25px 0;
}

/* === QR Code === */
.qr-container {
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 16px;
    width: fit-content;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #eee;
    border-top-color: #f7931a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* === LNURL String Input === */
.lnurl-string-container {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.lnurl-string-container input {
    flex: 1;
    padding: 12px 15px;
    background: #0a0a1a;
    border: 1px solid #2a2a4a;
    border-radius: 10px;
    color: #888;
    font-family: monospace;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-copy {
    padding: 12px 15px;
    background: #2a2a4a;
    border: none;
    border-radius: 10px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background: #3a3a5a;
    color: #fff;
}

.btn-copy.copied {
    background: #22c55e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
}

.btn-copy.copied svg {
    display: none;
}

.btn-copy.copied::after {
    content: '✓';
    font-size: 18px;
    font-weight: bold;
}

/* === Wallet Links === */
.wallet-links {
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.wallet-links a {
    color: #f7931a;
    text-decoration: none;
    margin: 0 8px;
}

.wallet-links a:hover {
    text-decoration: underline;
}

/* === Form Inputs === */
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.input-group input {
    flex: 1;
    padding: 14px 18px;
    background: #0a0a1a;
    border: 1px solid #2a2a4a;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #f7931a;
}

.input-hint {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* === Buttons === */
.btn-primary {
    padding: 14px 24px;
    background: linear-gradient(135deg, #f7931a 0%, #e8850e 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary .btn-text,
.btn-primary .btn-loading {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.btn-secondary {
    padding: 14px 24px;
    background: transparent;
    border: 1px solid #3a3a5a;
    border-radius: 12px;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: #f7931a;
    color: #f7931a;
}

.btn-text {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
}

.btn-text:hover {
    color: #f7931a;
}

/* === Code Input === */
.code-sent-msg {
    color: #22c55e;
    margin-bottom: 20px;
}

.code-sent-msg span {
    font-weight: 600;
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.code-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    background: #0a0a1a;
    border: 2px solid #2a2a4a;
    border-radius: 12px;
    color: #fff;
    transition: border-color 0.2s ease;
}

.code-digit:focus {
    outline: none;
    border-color: #f7931a;
}

.btn-verify {
    width: 100%;
    margin-bottom: 0;
}

/* === Spin Wheel === */
.wheel-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 20px auto 30px;
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #f7931a;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #f7931a 0deg 30deg,
        #2a2a4a 30deg 60deg,
        #f7931a 60deg 90deg,
        #2a2a4a 90deg 120deg,
        #22c55e 120deg 150deg,
        #2a2a4a 150deg 180deg,
        #f7931a 180deg 210deg,
        #2a2a4a 210deg 240deg,
        #8b5cf6 240deg 270deg,
        #2a2a4a 270deg 300deg,
        #f7931a 300deg 330deg,
        #ef4444 330deg 360deg
    );
    border: 4px solid #3a3a5a;
    position: relative;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #1a1a2e;
    border-radius: 50%;
    border: 3px solid #f7931a;
}

.btn-spin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f7931a 0%, #e8850e 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: clamp(18px, 5vw, 22px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
    box-sizing: border-box;
    min-height: 56px;
    white-space: nowrap;
}

/* Ensure btn-text inside spin button is properly styled */
.btn-spin .btn-text,
.btn-spin .btn-loading {
    font-size: inherit;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-spin:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.5);
}

.btn-spin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-spin-icon {
    font-size: 24px;
}

/* === Win Celebration === */
.claim-card {
    padding-top: 0;
    overflow: hidden;
}

.win-celebration {
    background: linear-gradient(135deg, #1a1a0a 0%, #2a2a1a 100%);
    margin: -30px -30px 25px -30px;
    padding: 30px;
    position: relative;
}

.win-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.win-label {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.win-sats {
    font-size: 64px;
    font-weight: 700;
    color: #f7931a;
    line-height: 1;
    margin: 5px 0;
    text-shadow: 0 0 30px rgba(247, 147, 26, 0.5);
}

.win-unit {
    font-size: 18px;
    color: #f7931a;
}

.win-tier {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    background: rgba(247, 147, 26, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: #f7931a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.win-tier.uncommon { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.win-tier.rare { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.win-tier.epic { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }
.win-tier.legendary { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* === Claim Options === */
.claim-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.claim-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #0a0a1a;
    border: 2px solid #2a2a4a;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.claim-option:hover {
    border-color: #f7931a;
    transform: translateX(5px);
}

.claim-option.recommended {
    border-color: #22c55e;
    background: linear-gradient(135deg, #0a1a0a 0%, #0a0a1a 100%);
}

.claim-option.recommended:hover {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.option-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    padding: 4px 10px;
    background: #22c55e;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.option-icon {
    font-size: 32px;
    width: 50px;
    text-align: center;
}

.option-content {
    flex: 1;
    text-align: left;
}

.option-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.option-amount {
    font-size: 20px;
    font-weight: 700;
    color: #f7931a;
}

.claim-option.recommended .option-amount {
    color: #22c55e;
}

.option-desc {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.option-arrow {
    font-size: 20px;
    color: #666;
}

.option-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #444;
    font-size: 12px;
}

.option-divider::before,
.option-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #2a2a4a;
}

/* === Withdraw Timer === */
.withdraw-timer {
    margin-top: 15px;
    padding: 10px 20px;
    background: #0a0a1a;
    border-radius: 10px;
    color: #888;
    font-size: 14px;
}

#withdraw-countdown {
    font-weight: 600;
    color: #f7931a;
    font-family: monospace;
}

.withdraw-status {
    margin-top: 20px;
}

.status-pending {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #888;
}

.status-pending .spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* === Success Card === */
.success-card {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.share-prompt {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #2a2a4a;
}

.share-prompt p {
    color: #666;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.nostr {
    background: #8b5cf6;
    color: white;
}

.share-btn:hover {
    transform: scale(1.1);
}

/* === Error Card === */
.error-card {
    text-align: center;
}

.error-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.alternative-actions {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #2a2a4a;
}

.alternative-actions p {
    color: #888;
    margin-bottom: 15px;
}

.alt-hint {
    font-size: 12px;
    color: #666;
    margin-top: 10px !important;
}

/* === Faucet Stats === */
.faucet-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #2a2a4a;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #f7931a;
}

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

/* === Responsive === */
@media (max-width: 520px) {
    .free-spin-page {
        padding: 16px 12px;
    }

    .free-spin-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .step-section {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .step-card {
        padding: 20px 16px;
    }

    .spin-header h1 {
        font-size: 1.75rem;
    }

    .code-inputs {
        gap: 6px;
    }

    .code-digit {
        width: 40px;
        height: 48px;
        font-size: 18px;
    }

    .wheel-container {
        width: 220px;
        height: 220px;
    }

    /* Spin wheel mobile sizing */
    .spin-wheel {
        width: 220px;
        height: 220px;
        margin: 15px auto 20px;
        box-shadow:
            0 0 0 5px #1a1a2e,
            0 0 0 8px #3a3a5a,
            0 6px 24px rgba(0, 0, 0, 0.5);
    }

    .spin-wheel-inner {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .spin-wheel::before {
        top: -14px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 18px solid #f7931a;
    }

    /* Primary button mobile - ensure text is properly sized and centered */
    .btn-primary {
        padding: 14px 20px;
        font-size: 16px;
        min-height: 48px;
        width: 100%;
    }

    .btn-primary .btn-text,
    .btn-primary .btn-loading {
        font-size: 16px;
    }

    /* Secondary button mobile */
    .btn-secondary {
        padding: 14px 20px;
        font-size: 16px;
        min-height: 48px;
        width: 100%;
    }

    /* Spin button mobile */
    .btn-spin {
        padding: 16px 20px;
        min-height: 52px;
    }

    .btn-spin .btn-text,
    .btn-spin .btn-loading {
        font-size: 18px;
    }

    .win-sats {
        font-size: 42px;
    }

    .faucet-stats {
        gap: 12px;
    }

    .stat-value {
        font-size: 18px;
    }

    /* Benefits list mobile */
    .benefits {
        gap: 10px;
        margin-bottom: 20px;
    }

    .benefit-item {
        font-size: 0.9rem;
        gap: 10px;
    }

    /* Step indicator mobile */
    .step-indicator {
        gap: 6px;
        margin-bottom: 20px;
    }

    .step-indicator .step {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .step-line {
        width: 30px;
    }

    /* Email form mobile */
    .email-form {
        gap: 12px;
    }

    .email-form input[type="email"] {
        padding: 12px 14px;
        font-size: 16px;
    }

    /* Form note mobile */
    .form-note {
        font-size: 0.8rem;
    }
}

/* === Referral Dashboard === */
.referral-section-highlight {
    border: 2px solid rgba(247, 147, 26, 0.4);
    background: linear-gradient(135deg, #1e1e3a 0%, #1a1a2a 100%);
}

.referral-dashboard {
    background: transparent;
    border-radius: 16px;
    padding: 0;
}

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

.referral-badge-large {
    font-size: 3rem;
    margin-bottom: 10px;
}

.referral-dashboard h2 {
    color: #f7931a;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    text-align: center;
}

.referral-subtitle {
    color: #aaa;
    text-align: center;
    margin-bottom: 25px;
}

/* === Referral Unlock State (no wallet linked) === */
.referral-unlock {
    text-align: center;
    padding: 10px 0;
}

.unlock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.unlock-emoji {
    font-size: 2.5rem;
}

.unlock-arrow {
    font-size: 1.5rem;
    color: #f7931a;
    animation: pulse-arrow 1.5s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

.referral-unlock h2 {
    color: #f7931a;
    font-size: 1.5rem;
    margin: 0 0 12px 0;
}

.unlock-description {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 24px 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.unlock-description strong {
    color: #f7931a;
}

.unlock-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    text-align: left;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.unlock-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 0.95rem;
}

.benefit-check {
    color: #22c55e;
    font-weight: bold;
    font-size: 1rem;
}

/* Branded Link Wallet Button */
.btn-link-wallet {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f7931a 0%, #ffb347 50%, #f7931a 100%);
    background-size: 200% 200%;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    animation: shimmer-wallet 3s ease-in-out infinite;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    min-height: 52px;
    white-space: nowrap;
    margin: 0 auto;
}

.btn-link-wallet:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(247, 147, 26, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-link-wallet .btn-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

@keyframes shimmer-wallet {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.unlock-note {
    color: #666;
    font-size: 0.85rem;
    margin: 16px 0 0 0;
}

/* Legacy wallet notice (kept for backwards compatibility) */
.referral-wallet-notice {
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.referral-wallet-notice .notice-icon {
    font-size: 2rem;
}

.referral-wallet-notice p {
    color: #ccc;
    margin: 0;
}

.referral-link-box {
    margin-bottom: 25px;
}

.referral-link-box label {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

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

.referral-link-input input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-family: monospace;
    font-size: 0.9rem;
}

.btn-copy {
    background: #f7931a;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: #ffaa33;
}

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

.referral-stats .stat-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.referral-stats .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f7931a;
}

.referral-stats .stat-label {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

.referral-share {
    text-align: center;
    margin-bottom: 20px;
}

.referral-share p {
    color: #888;
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.share-twitter {
    background: #1da1f2;
    color: #fff;
}

.share-twitter:hover {
    background: #0d8ddb;
}

.share-nostr {
    background: #8B5CF6;
    color: #fff;
}

.share-nostr:hover {
    background: #7c4de0;
}

.share-icon {
    margin-right: 8px;
}

.referral-limits {
    text-align: center;
    color: #666;
}

.referral-limits small {
    font-size: 0.85rem;
}

/* Mobile adjustments for referral */
@media (max-width: 480px) {
    .referral-dashboard {
        padding: 16px;
    }

    .referral-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .referral-stats .stat-item {
        padding: 12px;
    }

    .referral-stats .stat-value {
        font-size: 1.3rem;
    }

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

    .share-btn {
        width: 100%;
        padding: 12px 20px;
        min-height: 48px;
    }

    /* Unlock state mobile */
    .unlock-icon {
        gap: 8px;
        margin-bottom: 16px;
    }

    .unlock-emoji {
        font-size: 1.75rem;
    }

    .unlock-arrow {
        font-size: 1.25rem;
    }

    .referral-unlock h2 {
        font-size: 1.2rem;
    }

    .unlock-description {
        font-size: 0.9rem;
        max-width: 280px;
    }

    .unlock-benefits {
        max-width: 260px;
        gap: 8px;
    }

    .unlock-benefit {
        font-size: 0.9rem;
    }

    .btn-link-wallet {
        padding: 14px 20px;
        max-width: 100%;
    }

    .unlock-note {
        font-size: 0.8rem;
    }

    /* Referral link box mobile */
    .referral-link-box {
        margin-bottom: 20px;
    }

    .referral-link-input {
        flex-direction: column;
        gap: 8px;
    }

    .referral-link-input input {
        width: 100%;
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .referral-link-input .btn-copy {
        width: 100%;
        padding: 12px 20px;
    }

    /* Referral limits mobile */
    .referral-limits small {
        font-size: 0.8rem;
    }
}

/* === Wallet Linking Step === */
.wallet-link-subtitle {
    color: #888;
    text-align: center;
    margin: 0 0 20px 0;
}

.wallet-linked-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #22c55e;
    font-weight: 500;
}

.success-icon-small {
    font-size: 1.2rem;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-link-qr {
    text-align: center;
    margin-bottom: 20px;
}

.wallet-link-qr .qr-container {
    display: inline-block;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.wallet-link-qr .qr-code {
    display: block;
    width: 200px;
    height: 200px;
}

.wallet-hint {
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.lnurl-copy-row {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.lnurl-copy-row input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 12px;
    color: #888;
    font-family: monospace;
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lnurl-copy-row .btn-copy {
    padding: 10px 18px;
}

.referrer-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.25);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
}

.referrer-icon {
    font-size: 1.5rem;
}

.referrer-help p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

.referrer-help strong {
    color: #f7931a;
}

.claim-hint {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 10px;
}

.btn-claim:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #555 0%, #444 100%);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(247, 147, 26, 0.2);
    border-top-color: #f7931a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 80px auto;
}

.error-text {
    color: #ef4444;
    padding: 20px;
}

/* Referral badge for referred users */
.referral-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.2) 0%, rgba(247, 147, 26, 0.1) 100%);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    margin-bottom: 20px;
    color: #f7931a;
    font-size: 0.9rem;
}

.referral-badge .badge-icon {
    font-size: 1rem;
}

/* Mobile adjustments for wallet linking */
@media (max-width: 480px) {
    .lnurl-copy-row {
        flex-direction: column;
    }

    .lnurl-copy-row input {
        width: 100%;
    }

    .lnurl-copy-row .btn-copy {
        width: 100%;
    }

    .wallet-link-qr .qr-container {
        padding: 12px;
    }

    .wallet-link-qr .qr-code {
        width: 180px;
        height: 180px;
    }
}

/* === Already Claimed Section === */
.already-claimed-card {
    text-align: center;
    padding: 20px 0;
}

.claimed-icon {
    font-size: 4rem;
    color: #4ade80;
    margin-bottom: 15px;
}

.already-claimed-card h2 {
    color: #fff;
    margin-bottom: 10px;
}

.claimed-message {
    color: #888;
    font-size: 1rem;
    margin-bottom: 25px;
}

.claimed-actions {
    margin-top: 20px;
}

/* Link Email Option */
.link-email-option {
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.link-prompt {
    color: #f7931a;
    font-weight: 600;
    margin-bottom: 15px;
}

.link-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 10px;
}

.link-email-option .btn-primary {
    margin-top: 10px;
}

/* Recovery Email Option */
.recovery-email-option {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.recovery-prompt {
    color: #4ecdc4;
    font-weight: 600;
    margin-bottom: 15px;
}

.recovery-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 10px;
}

.recovery-email-option .btn-primary {
    margin-top: 10px;
}

.recovery-success {
    text-align: center;
    padding: 15px;
    margin-top: 15px;
}

.recovery-success .success-icon {
    font-size: 2rem;
    color: #4ade80;
    margin-bottom: 10px;
}

.recovery-success p {
    color: #4ade80;
    font-weight: 500;
}

/* === 24-Hour Cooldown Notice === */
.cooldown-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%);
    border: 1px solid rgba(247, 147, 26, 0.25);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.cooldown-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cooldown-info {
    flex: 1;
}

.cooldown-title {
    color: #f7931a;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 8px 0;
}

.cooldown-timer {
    color: #fff;
    font-size: 0.95rem;
    margin: 0 0 8px 0;
}

.cooldown-timer span {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: #f7931a;
    font-size: 1.1rem;
}

.cooldown-why {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

.cooldown-notice.cooldown-ready {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.cooldown-notice.cooldown-ready .cooldown-icon {
    color: #22c55e;
}

.cooldown-notice.cooldown-ready .cooldown-title {
    color: #22c55e;
}

/* === Mobile Wallet Button === */
.mobile-wallet-action {
    text-align: center;
    margin-bottom: 20px;
}

.btn-wallet-open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    font-size: clamp(1rem, 4vw, 1.1rem);
    font-weight: 600;
    box-sizing: border-box;
    min-height: 52px;
    white-space: nowrap;
    border-radius: 14px;
}

.btn-wallet-open .wallet-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mobile-hint {
    color: #888;
    font-size: 0.85rem;
    margin-top: 10px;
}

.mobile-hint, .desktop-hint {
    margin: 10px 0 15px 0;
}

/* === Success Actions === */
.success-actions {
    margin-top: 20px;
}

.success-actions .btn-casino {
    width: 100%;
    font-size: clamp(1rem, 4vw, 1.1rem);
    padding: 16px 20px;
    box-sizing: border-box;
    min-height: 52px;
    white-space: nowrap;
}

.success-note {
    color: #888;
    font-size: clamp(0.8rem, 3.5vw, 0.9rem);
    margin-top: 15px;
    text-align: center;
    line-height: 1.4;
}

/* === Success Display Enhancement === */
.success-display {
    text-align: center;
}

.success-icon-large {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.success-amount {
    color: #22c55e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.success-message {
    color: #888;
    margin-bottom: 0;
}

/* Mobile adjustments for cooldown */
@media (max-width: 480px) {
    .cooldown-notice {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cooldown-icon {
        align-self: center;
    }

    .cooldown-info {
        text-align: center;
    }
}
