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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #1F2937;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    padding: 60px 0 40px 0;
}

.logo {
    font-size: 3.5em;
    margin-bottom: 10px;
}

h1 {
    font-size: 3em;
    font-weight: 800;
    color: #2563EB;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.3em;
    color: #6B7280;
    margin-top: 10px;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    margin: 20px 0;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: #2563EB;
    border: 2px solid #2563EB;
}

.btn-secondary:hover {
    background: #EFF6FF;
}

/* Tip Buttons */
.tip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.tip-btn {
    background: white;
    border: 2px solid #2563EB;
    color: #2563EB;
    padding: 20px;
    border-radius: 12px;
    font-size: 1.5em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tip-btn:hover {
    background: #2563EB;
    color: white;
    transform: scale(1.05);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 800;
    margin: 10px 0;
}

.stat-label {
    font-size: 1em;
    opacity: 0.9;
}

/* Transaction List */
.transaction-list {
    margin: 20px 0;
}

.transaction-item {
    background: #F9FAFB;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    border-left: 4px solid #2563EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-amount {
    font-size: 1.3em;
    font-weight: 700;
    color: #10B981;
}

.transaction-from {
    color: #6B7280;
    font-size: 0.9em;
}

/* Status Messages */
.success-message {
    background: #D1FAE5;
    border: 2px solid #10B981;
    color: #065F46;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-weight: 600;
}

.error-message {
    background: #FEE2E2;
    border: 2px solid #EF4444;
    color: #991B1B;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-weight: 600;
}

/* Creator Profile */
.creator-profile {
    text-align: center;
    padding: 30px;
}

.creator-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
}

.creator-name {
    font-size: 2em;
    font-weight: 700;
    color: #1F2937;
    margin: 15px 0;
}

.creator-bio {
    color: #6B7280;
    font-size: 1.1em;
    max-width: 500px;
    margin: 0 auto;
}

/* Input Fields */
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1em;
    margin: 10px 0;
    transition: border 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #2563EB;
}

/* Wallet Connection */
.wallet-section {
    text-align: center;
    margin: 30px 0;
}

.wallet-connected {
    background: #D1FAE5;
    border: 2px solid #10B981;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    color: #065F46;
    font-weight: 600;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: #6B7280;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #9CA3AF;
    border-top: 1px solid #E5E7EB;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .tip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}