:root {
    --primary: #6C5CE7;
    --secondary: #FD79A8;
    --accent: #00CEFF;
    --dark: #2D3436;
    --light: #F5F6FA;
    --success: #00b894;
    --danger: #d63031;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.card-header .logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-header p {
    opacity: 0.8;
    font-size: 14px;
}

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

.input-group label {
    position: absolute;
    top: -10px;
    left: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0 5px;
    font-size: 12px;
    color: white;
    border-radius: 10px;
}

.input-field {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
}

.input-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.result-section {
    margin-top: 30px;
    display: none;
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

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

.result-label {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-value {
    font-weight: 600;
}

.recharge-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.recharge-title {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.recharge-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    color: white;
}

.recharge-item.available {
    background: rgba(0, 184, 148, 0.2);
    border: 1px solid var(--success);
}

.recharge-item.unavailable {
    background: rgba(214, 48, 49, 0.2);
    border: 1px solid var(--danger);
    opacity: 0.6;
}

.recharge-amount {
    font-weight: 600;
    margin-bottom: 5px;
}

.recharge-status {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.creator-credit {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.creator-credit a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.creator-credit a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .card {
        padding: 20px;
    }
    
    .recharge-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
