* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fedra Sans', 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.5;
}

:root {
    --maxi-red: #E31E24;
    --maxi-dark: #2D2D2D;
    --maxi-light-gray: #2a2a2a;
    --maxi-white: #FFFFFF;
    --maxi-green: #2E7D32;
    --bg-dark: #1a1a1a;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

.card-screen {
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
}

.card-parts {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
}

.card-part {
    width: 100%;
}

.red-part {
    margin-bottom: 15px;
}

.red-part svg,
.white-part svg {
    display: block;
    width: 100%;
    height: auto;
}

.red-part svg {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.white-part svg {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.card-info {
    background-color: #2a2a2a;
    border-radius: 20px;
    padding: 20px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.info-row {
    margin-bottom: 20px;
}

.info-label {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 36px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    word-break: break-all;
}

.divider {
    border: none;
    border-top: 1px solid #444444;
    margin: 20px 0;
}

.action-list {
    list-style: none;
    margin: 0;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 18px;
    color: #ffffff;
}

.action-item:last-child {
    margin-bottom: 0;
}

.action-item::before {
    content: "•";
    color: var(--maxi-red);
    font-size: 24px;
    line-height: 1;
}

.action-link {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px dashed #777;
    cursor: pointer;
}

.action-link:hover {
    color: var(--maxi-red);
    border-bottom-color: var(--maxi-red);
}

#online,
#subscribe {
    scroll-margin-top: 20px;
}

.info-block {
    padding: 50px 0;
    border-top: 1px solid #333;
}

.info-block h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

.info-block h2 span {
    color: var(--maxi-red);
}

.online-block,
.subscribe-block {
    background: #2a2a2a;
    border-radius: 20px;
    padding: 25px;
}

.online-block .info-value {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.online-block .surname-value {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #ffffff;
}

.instruction {
    margin-top: 20px;
    padding: 20px;
    background: #3a3a3a;
    border-radius: 16px;
}

.instruction p {
    margin-bottom: 16px;
    color: #dddddd;
}

.instruction ol {
    margin-left: 20px;
    color: #cccccc;
}

.instruction li {
    margin-bottom: 8px;
}

.instruction strong {
    color: #ffffff;
}

.green-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--maxi-green);
    border-radius: 50%;
}

.green-check svg {
    width: 24px;
    height: 24px;
}

.howto-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.howto-card {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 20px;
    padding: 20px;
}

/* Заголовки карточек с иконкой 48×48 и двумя строками */
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.card-header-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.card-header-icon img,
.card-header-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px; /* для логотипа приложения */
}

.card-header-text {
    display: flex;
    flex-direction: column;
}

.card-header-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.card-header-subtitle {
    color: #bbbbbb;
}

.howto-desc {
    color: #bbbbbb;
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: var(--maxi-red);
    color: white;
}

.btn-primary:hover {
    background-color: #c41a1f;
}

.btn-secondary {
    background-color: #3a3a3a;
    color: white;
    border: 1px solid #555;
}

.btn-secondary:hover {
    background-color: #4a4a4a;
}

.subscribe-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.option {
    background: #3a3a3a;
    border-radius: 16px;
    padding: 20px;
}

.option-desc {
    color: #bbbbbb;
    margin-bottom: 12px;
}

.option-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--maxi-red);
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
}

.app-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #3a3a3a;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: white;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.app-link .app-info {
    flex: 1 1 auto;
    min-width: 200px;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #D7182A;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.app-info p {
    color: #bbbbbb;
    font-size: 0.9rem;
}

.app-badge {
    background: var(--maxi-red);
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.footer {
    text-align: center;
    padding: 30px 0 40px;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Специальные стили для иконки кошелька */
.wallet-icon {
    background: #3a3a3a;
    border-radius: 12px;
    padding: 8px;
}