/* Стили для блока уровня пользователя */
.user-level-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.level-badge {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}
.level-title {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
}
.level-progress-container {
    background: rgba(255, 255, 255, 0.08);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.level-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #a855f7);
    height: 100%;
    width: 0%;
    transition: width 0.4s ease;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}
.level-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
}
.level-status-tip {
    font-style: italic;
    opacity: 0.8;
}

/* Стили для SEO-блока */
.seo-info-container {
    margin-top: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}
.seo-info-container h2, .seo-info-container h3 {
    color: #f1f5f9;
    margin-top: 0;
    margin-bottom: 12px;
}
.seo-info-container h2 { 
    font-size: 18px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
    padding-bottom: 10px; 
}
.seo-info-container h3 { 
    font-size: 14px; 
    margin-top: 20px; 
}
.seo-info-container a { 
    color: #3b82f6; 
    text-decoration: none; 
}
.seo-info-container a:hover { 
    text-decoration: underline; 
}
.seo-info-container ul { 
    padding-left: 20px; 
    margin: 10px 0; 
    list-style-type: disc;
}
.seo-info-container ul li { 
    margin-bottom: 6px; 
}

/* Стили для блока Подарочных карт (DCard) */
.dcard-container {
    background: #151a26;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
    margin: 20px 0;
    color: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
}
.dcard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 15px;
}
.dcard-title-main {
    font-size: 20px;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.dcard-info-text {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 70%;
}
.dcard-info-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}
.dcard-info-text a:hover {
    text-decoration: underline;
}
.btn-dcard-activate {
    background: #0066ff;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
    white-space: nowrap;
}
.btn-dcard-activate:hover {
    background: #0052cc;
}
.btn-dcard-activate:active {
    transform: scale(0.97);
}
.dcard-status-empty {
    text-align: center;
    padding: 30px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}
.dcard-status-title {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}
.dcard-status-desc {
    font-size: 12px;
    color: #64748b;
}

/* Баннер-рекомендация для страницы /bonus */
.bonus-suggestion {
    background: rgba(59, 130, 246, 0.06);
    border: 1px dashed rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #93c5fd;
    line-height: 1.4;
}
.bonus-suggestion svg {
    flex-shrink: 0;
    color: #3b82f6;
}
.bonus-suggestion a {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #60a5fa;
}
.bonus-suggestion a:hover {
    color: #93c5fd;
    border-bottom-style: solid;
}

/* Стили для модального окна DCard */
.dcard-modal-body {
    text-align: center;
    padding: 15px;
}
.dcard-modal-illustration {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dcard-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 6px;
}
.dcard-modal-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.5;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
}
.dcard-modal-input-wrap {
    margin-bottom: 24px;
}
.dcard-modal-input {
    width: 100%;
    background: #0f131a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.5px;
}
.dcard-modal-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}
.dcard-modal-input::placeholder {
    color: #475569;
}
.btn-dcard-submit {
    background: #0066ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 100%;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-dcard-submit:hover {
    background: #0052cc;
}