/* ===== КАЛЬКУЛЯТОР ===== */
.calculator {
    background: white;
    border-radius: 32px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.calculator h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    margin-bottom: 40px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}

/* Пакеты звёзд */
.stars-packages {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.package-btn {
    background: #f0f3ff;
    border: 2px solid transparent;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #667eea;
    cursor: pointer;
    transition: all 0.2s;
}

.package-btn:hover {
    background: #e0e7ff;
}

.package-btn.active {
    background: #667eea;
    color: white;
}

/* Поля ввода */
.input-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: #f5f7fb;
    padding: 5px 20px 5px 30px;
    border-radius: 20px;
}

.input-row label {
    font-weight: 600;
    color: #444;
    min-width: 120px;
}

.input-row input {
    flex: 1;
    padding: 18px 10px;
    font-size: 20px;
    border: none;
    background: transparent;
    outline: none;
    text-align: right;
}

.input-row span {
    font-weight: 700;
    color: #667eea;
    font-size: 20px;
    min-width: 40px;
}

/* Имя пользователя */
.username-input {
    display: flex;
    align-items: center;
    background: #f5f7fb;
    border: 2px solid transparent;
    border-radius: 20px;
    margin: 25px 0 15px;
}

.username-input:focus-within {
    border-color: #667eea;
    background: white;
}

.at {
    padding-left: 20px;
    font-weight: 600;
    color: #999;
    font-size: 18px;
}

.username-input input {
    flex: 1;
    padding: 18px 18px 18px 10px;
    font-size: 18px;
    border: none;
    background: transparent;
    outline: none;
}

.hint {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 13px;
    margin-left: 5px;
}

/* Кнопка покупки */
.pay-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 20px;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Правая колонка */
.calc-info {
    background: transparent;
}

.info-card {
    background: linear-gradient(145deg, #ffffff, #f8faff);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.delivery {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 18px;
    margin-bottom: 16px;
    font-size: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.delivery strong {
    color: #667eea;
    font-size: 16px;
    font-weight: 700;
}

.warning {
    padding: 14px;
    background: #fff8e7;
    color: #b16f0e;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    border-left: 4px solid #fbbf24;
}

/* Блок со скидкой */
.discount-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #e0e7ff;
}

.discount-info > div {
    background: linear-gradient(135deg, #f0f3ff 0%, #f8faff 100%);
    padding: 15px;
    border-radius: 16px;
}

.discount-info .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.discount-info .bonus {
    background: #10b981;
    color: white;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}