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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--tg-theme-bg-color, #ffffff);
    color: var(--tg-theme-text-color, #000000);
    padding: 16px;
    min-height: 100vh;
}

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

.card {
    background: var(--tg-theme-secondary-bg-color, #f8f9fa);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.status-premium {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #333;
}

.status-admin {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.status-free {
    background: var(--tg-theme-hint-color, #999999);
    color: white;
}

.status-expired {
    background: #ef4444;
    color: white;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--tg-theme-hint-color, #e5e5e5);
}

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

.info-label {
    font-weight: 500;
    color: var(--tg-theme-hint-color, #666);
}

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

.error {
    background: #fee2e2;
    color: #dc2626;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.button {
    background: var(--tg-theme-button-color, #007acc);
    color: var(--tg-theme-button-text-color, white);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-top: 16px;
}

.button:hover {
    opacity: 0.9;
}

.icon {
    font-size: 48px;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .card {
        padding: 16px;
    }

    .header h1 {
        font-size: 20px;
    }
}
