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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.page {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.page.active {
    display: block;
}

/* Landing Page */
.landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-width: 600px;
    margin: 0 auto;
}

.logo {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 16px;
    color: #666;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.main-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.big-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 30px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border-radius: 0;
}

.big-btn:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.btn-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.btn-subtitle {
    font-size: 14px;
    color: #666;
}

/* Flow Container */
.flow-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 500px; /* Ensure minimum height */
    position: relative; /* Ensure proper positioning */
}

.back-btn {
    background: none;
    border: 1px solid #333;
    color: #666;
    padding: 8px 16px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: all 0.2s;
}

.back-btn:hover {
    border-color: #fff;
    color: #fff;
}

.flow-step {
    display: none;
}

.flow-step.active {
    display: block !important;
    background: rgba(255, 255, 255, 0.05); /* Add slight background */
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
}

h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

/* Input Fields */
.input-field {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: #fff;
}

.input-field::placeholder {
    color: #666;
}

.textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Buttons */
.next-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 20px;
}

.next-btn:hover:not(:disabled) {
    background: #f0f0f0;
    transform: translateX(3px);
}

.next-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

.next-btn.primary {
    background: #fff;
    font-weight: 600;
}

/* Amount Grid */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.amount-btn:hover {
    border-color: #fff;
}

.amount-btn.selected {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.hidden {
    display: none !important;
}

/* Streamer List */
.streamer-list {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

/* Streamer Cards */
.streamer-card {
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.streamer-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    cursor: pointer;
}

.streamer-card:hover .card-name {
    color: #8b5cf6;
}

.streamer-card.selected {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-color: #8b5cf6;
    color: #fff;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
}

.token-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
}

.token-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}

.card-info {
    flex: 1;
}

.card-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.token-name {
    font-size: 12px;
    color: #999;
}

.streamer-card.selected .token-name {
    color: rgba(255, 255, 255, 0.8);
}

.market-cap {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.streamer-card.selected .market-cap {
    background: rgba(255, 255, 255, 0.9);
    color: #8b5cf6;
}

.card-description {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.streamer-card.selected .card-description {
    color: rgba(255, 255, 255, 0.9);
}

.card-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
    border: 1px solid #333;
}

.x-link {
    background: #000;
    color: #fff;
    border-color: #333;
}

.x-link:hover {
    background: #1a1a1a;
    border-color: #555;
}

.pump-link {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: #fff;
    border: none;
}

.pump-link:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.pump-icon {
    font-size: 14px;
}

.streamer-card.selected .card-link {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.streamer-card.selected .pump-link {
    background: rgba(255, 255, 255, 0.9);
    color: #8b5cf6;
}

/* Old streamer-item styles for backward compatibility */
.streamer-item {
    background: #000;
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.streamer-item:hover {
    border-color: #fff;
}

.streamer-item.selected {
    background: #fff;
    color: #000;
}

/* Summary */
.tip-summary {
    background: #111;
    border: 1px solid #333;
    padding: 30px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
}

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

.label {
    color: #666;
}

.value {
    color: #fff;
    font-weight: 600;
}

.wallet-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.wallet-label {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.wallet-address {
    background: #000;
    border: 1px solid #333;
    padding: 15px;
    font-family: 'SF Mono', monospace;
    font-size: 12px;
    word-break: break-all;
    margin-bottom: 10px;
}

.copy-btn {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    border-color: #fff;
}

.copy-btn.sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Auth Toggle */
.auth-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.toggle-btn {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    color: #666;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Remove conflicting auth-form rules and use ID selectors */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease-in-out;
}

.auth-form.hidden {
    display: none !important;
}

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

.error-msg {
    color: #ff4444;
    margin-top: 10px;
    font-size: 14px;
}

/* No streamers message */
.no-streamers, .error {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.error {
    color: #ff6b6b;
}

/* Dashboard */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logout-btn {
    background: none;
    border: 1px solid #333;
    color: #666;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    border-color: #fff;
    color: #fff;
}

.info-box {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

/* Platform Overlay Box - Special styling for owner */
.platform-overlay-box {
    background: linear-gradient(135deg, #1a0033 0%, #2a0044 100%);
    border: 2px solid #9370DB;
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.3);
    position: relative;
}

.platform-overlay-box .info-label {
    color: #FFD700;
    font-weight: 600;
}

.info-label {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.info-value {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    word-break: break-all;
    overflow-wrap: break-word;
}

.mono {
    font-family: 'SF Mono', monospace;
    font-size: 14px;
    word-break: break-all;
}

/* Dashboard specific styles */
#dashPumpfun, #pumpfunBox .info-value {
    font-size: 14px;
    color: #8b5cf6;
    text-decoration: none;
    word-break: break-all;
    display: block;
    line-height: 1.4;
}

.url-container {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.url-container code {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    padding: 10px;
    font-size: 12px;
    color: #fff;
    overflow-x: auto;
}

.info-note {
    color: #666;
    font-size: 12px;
    margin-top: 10px;
}

.test-tip-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.test-input {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    margin-bottom: 0;
}

.test-input:focus {
    border-color: #666;
}

.textarea-small {
    min-height: 60px;
    resize: vertical;
    font-family: inherit;
}

.test-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    margin-top: 10px;
}

.test-btn:hover {
    background: #f0f0f0;
}

.test-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

#testResult {
    margin-top: 15px;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    border-radius: 0;
    font-size: 14px;
    color: #666;
    text-align: center;
    display: none;
}

#testResult.show {
    display: block;
}

#testResult.success {
    color: #0f0;
    border-color: #0f0;
}

#testResult.error {
    color: #f00;
    border-color: #f00;
}

/* Wallet Connect */
.wallet-connect-box {
    text-align: center;
    padding: 40px 0;
}

.connect-text {
    color: #666;
    margin-bottom: 30px;
}

.connect-wallet-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.connect-wallet-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.connect-wallet-btn.connected {
    background: #000;
    border: 2px solid #0f0;
    color: #0f0;
}

.wallet-status {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.wallet-status.connected {
    color: #0f0;
}

.auth-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.auth-btn {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.auth-btn:hover {
    border-color: #fff;
}

.auth-btn.primary {
    background: #fff;
    color: #000;
    border: none;
}

.auth-btn.primary:hover {
    background: #f0f0f0;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: #111;
    border: 1px solid #333;
    padding: 25px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-desc {
    color: #999;
    font-size: 14px;
    margin-top: 5px;
    font-style: italic;
}

/* Tip Sections */
.tip-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.tip-section:last-child {
    border-bottom: none;
}

.tip-section h3 {
    font-size: 18px;
    font-weight: 300;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.char-count {
    text-align: right;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.tip-note {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.monitor-status {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    margin-top: 20px;
    border-radius: 0;
}

.monitor-status p {
    margin: 5px 0;
}

/* Transaction Summary */
.transaction-summary {
    background: #111;
    border: 1px solid #333;
    padding: 25px;
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-value {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.summary-value.highlight {
    color: #0f0;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Status Container */
.status-container {
    background: #000;
    border: 2px solid #333;
    padding: 30px;
    margin: 30px 0;
    position: relative;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.status-header h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.status-timer {
    font-size: 24px;
    font-weight: 600;
    color: #0f0;
    font-family: 'SF Mono', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.status-timer.warning {
    color: #ff0;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.status-timer.danger {
    color: #f00;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Status Steps */
.status-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.status-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #111;
    border: 1px solid #222;
    opacity: 0.4;
    transition: all 0.3s;
}

.status-step.active {
    opacity: 1;
    border-color: #333;
    background: #111;
}

.status-step.complete {
    opacity: 1;
    border-color: #0f0;
    background: rgba(0, 255, 0, 0.05);
}

.status-step.error {
    opacity: 1;
    border-color: #f00;
    background: rgba(255, 0, 0, 0.05);
}

.status-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.status-text {
    flex: 1;
    color: #999;
    font-size: 16px;
}

.status-step.active .status-text {
    color: #fff;
}

.status-step.complete .status-text {
    color: #0f0;
}

.status-step.error .status-text {
    color: #f00;
}

/* Status Info */
.status-info {
    padding: 20px;
    background: #111;
    border: 1px solid #333;
    margin-top: 20px;
}

.status-info p {
    color: #999;
    font-size: 14px;
    margin: 8px 0;
    font-family: 'SF Mono', monospace;
}

.status-info span {
    color: #fff;
    font-weight: 600;
}

.status-note {
    color: #ff0 !important;
    margin-top: 15px !important;
    font-size: 16px !important;
}

.back-btn.secondary {
    background: #222;
    border: 1px solid #444;
    color: #999;
    margin-top: 15px;
}

.back-btn.secondary:hover {
    background: #333;
    border-color: #666;
    color: #fff;
}

/* Loading states */
.big-btn.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.big-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

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

.wallet-status.error {
    color: #ff6b6b;
    margin-top: 10px;
}

/* Smooth page transitions */
.page {
    transition: opacity 0.2s ease-in-out;
}

.page.active {
    opacity: 1;
}

.flow-step {
    transition: all 0.2s ease-in-out;
}

.tip-note {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .logo {
        font-size: 36px;
    }

    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h2 {
        font-size: 24px;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .auth-actions {
        flex-direction: column;
    }
}

/* Goals Management Styles */
.goals-management {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.goals-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.goal-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

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

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.goal-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    flex: 1;
}

.goal-actions {
    display: flex;
    gap: 8px;
}

.goal-action-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 18px;
    padding: 2px;
    transition: color 0.2s;
}

.goal-action-btn:hover {
    color: #fff;
}

.goal-action-btn.delete:hover {
    color: #ff4444;
}

.goal-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.goal-progress-bar {
    width: 100%;
    height: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.goal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9370DB, #FF69B4);
    border-radius: 12px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.goal-progress-text {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.goal-completed {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.05));
    border-color: rgba(0, 255, 0, 0.3);
}

.goal-completed .goal-progress-fill {
    background: linear-gradient(90deg, #00ff00, #00cc00);
}

.add-goal-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
}

.goal-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.add-goal-btn {
    background: linear-gradient(135deg, #9370DB, #FF69B4);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-goal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 112, 219, 0.3);
}

.add-goal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-sm.primary {
    background: linear-gradient(135deg, #9370DB, #FF69B4);
    color: white;
}

.btn-sm.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(147, 112, 219, 0.3);
}

.btn-sm.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.btn-sm.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Social Links */
.social-links {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.twitter-link:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Auth Forms - Ensure proper display */
#loginForm:not(.hidden) {
    display: block !important;
}

#signupForm:not(.hidden) {
    display: block !important;
}

.auth-form h3 {
    font-size: 1.5em;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #FFD700, #FF69B4, #9370DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form .input-field {
    width: 100%;
    margin-bottom: 15px;
}

.auth-form .auth-btn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: linear-gradient(135deg, #9370DB, #FF69B4);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-form .auth-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(147, 112, 219, 0.4);
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.auth-switch a {
    color: #FF69B4;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    color: #FFD700;
}

.approval-message {
    max-width: 500px;
    margin: 50px auto;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.approval-message p {
    margin: 20px 0;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
}

.approval-message p:first-child {
    color: #4ade80;
    font-size: 1.4em;
    font-weight: 600;
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: white;
    position: relative;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFD700, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.5;
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

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

.profile-stat-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
}

.profile-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
    text-transform: uppercase;
}

.profile-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.profile-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.profile-goals {
    margin-bottom: 30px;
}

.profile-goals h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.goal-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
}

.goal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.goal-title {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.goal-amount {
    color: #FFD700;
    font-weight: bold;
}

.goal-progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.goal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FF69B4);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.goal-progress-text {
    margin-top: 8px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

.profile-tip-section {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.2), rgba(255, 105, 180, 0.2));
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.profile-tip-section h3 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.tip-btn-large {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #FFD700, #FF69B4);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.tip-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
}

.recent-tips {
    margin-top: 30px;
}

.recent-tips h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.tips-list {
    max-height: 400px;
    overflow-y: auto;
}

.tip-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tip-sender {
    font-weight: 600;
    color: #FF69B4;
}

.tip-amount {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2em;
}

.tip-message {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-top: 8px;
}

.tip-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}


/* Help Section Styles */
.help-section {
    margin-top: 30px;
}

.help-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #8b5cf6;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.help-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.help-btn svg {
    flex-shrink: 0;
}
