* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--tg-theme-bg-color, #17212b);
    color: var(--tg-theme-text-color, #ffffff);
    display: flex;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 400px;
    background: var(--tg-theme-secondary-bg-color, #232e3c);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

header { text-align: center; margin-bottom: 20px; }
h1 { font-size: 24px; margin-bottom: 5px; }
.subtitle { font-size: 14px; color: #8b9eb0; }

.tariffs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.tariff-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    position: relative;
}

.tariff-card.popular { border-color: #2196f3; background: rgba(33, 150, 243, 0.1); }
.price { font-size: 22px; font-weight: bold; margin-top: 5px; color: #64b5f6; }

.payment-section {
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 12px;
}

.card-number {
    font-size: 18px;
    font-weight: bold;
    background: #000;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    letter-spacing: 2px;
}

.btn-copy, .btn-send {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.btn-copy { background: #2e7d32; color: white; }
.btn-send { background: #2196f3; color: white; }

.btn-copy:hover { background: #388e3c; }
.btn-send:hover { background: #1976d2; }

/* Исправленный разделитель (без высоты 1px) */
.divider { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    margin: 15px 0; 
}

footer { text-align: center; margin-top: 20px; font-size: 12px; color: #8b9eb0; }