/* ===== POLICY.CSS ===== */
/* Стили для страниц политики конфиденциальности */

/* Мета информация */
.meta-info {
    background: var(--background-light);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    margin: 0 0 30px 0;
}

.meta-info p {
    margin: 5px 0;
}

/* Блок предупреждения */
.disclaimer-box {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

/* Разделитель */
hr {
    border: none;
    border-top: 2px solid #f0f0f0;
    margin: 30px 0;
}

/* Заметка в подвале */
.footer-note {
    text-align: center;
    margin: 40px 0;
    color: var(--light-text);
    font-style: italic;
}

/* ===== SUPPORT.CSS ===== */
/* Стили для страницы поддержки */

/* Thank You Card */
.thank-you-card {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 25px;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
    text-align: center;
}

.thank-you-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Crypto Grid */
.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.crypto-card {
    background: var(--background-light);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.crypto-card.recommended {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.crypto-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.crypto-icon {
    font-size: 24px;
}

.crypto-name {
    font-weight: bold;
    font-size: 18px;
    color: var(--text-color);
}

.crypto-network {
    color: var(--light-text);
    font-size: 14px;
}

/* Address Box */
.address-box {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: var(--border-radius-xs);
    padding: 15px;
    margin: 15px 0;
    font-family: 'Monospace', monospace;
    word-break: break-all;
    position: relative;
    font-size: 14px;
}

.crypto-address {
    word-break: break-all;
    font-family: monospace;
    display: block;
    padding-right: 60px;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-base);
}

.copy-btn:hover {
    background: var(--secondary-color);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.benefit-card {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Bank Details Card */
.bank-details-card {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    padding: 25px;
    border-radius: var(--border-radius-md);
    margin: 20px 0;
}

.detail-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.detail-label {
    font-weight: bold;
    flex-shrink: 0;
}

.detail-value {
    font-family: 'Monospace', monospace;
    font-size: 14px;
    padding-right: 50px;
    word-break: break-word;
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.action-btn {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    width: 100%;
    font-size: 16px;
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.action-btn.primary {
    background: var(--primary-color);
    color: var(--white);
}

.action-btn.primary:hover {
    background: var(--secondary-color);
}

/* QR Code Section */
.qr-section {
    text-align: center;
    margin: 30px 0;
}

.qr-code {
    display: inline-block;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    margin: 15px;
}

.qr-code img {
    width: 200px;
    height: 200px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-xs);
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    left: 30px;
    display: flex;
    gap: 8px;
    z-index: 20;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: rgba(255,255,255,0.4);
    border-color: rgba(255,255,255,0.6);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition-base);
}

.close-btn:hover {
    color: var(--text-color);
}

.modal-footer {
    text-align: right;
    margin-top: 20px;
}

/* Instruction steps */
.instruction-step {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: var(--background-light);
    border-radius: 10px;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Warning box */
.warning-box {
    background: #ffebee;
    border: 2px solid #f44336;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    color: #d32f2f;
}

/* Privacy Note */
.privacy-note {
    text-align: center;
    color: var(--light-text);
    font-size: 14px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Crypto subtitle */
.crypto-subtitle {
    color: #666;
    margin-bottom: 20px;
}

.crypto-benefits-section {
    margin: 30px 0;
}

.crypto-benefits-title {
    color: #667eea;
    margin-bottom: 15px;
}

/* ===== 404.CSS ===== */
/* Стили для страницы ошибки 404 */

body {
    max-width: none !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Контейнер страницы 404 */
.error-page .container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    margin: 0;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.error-code {
    font-size: 100px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.emoji {
    font-size: 60px;
    margin-bottom: 20px;
}

.message-box {
    background: #f8f9ff;
    padding: 25px;
    border-radius: 16px;
    margin: 20px 0;
    border-left: 4px solid #667eea;
    text-align: left;
}

.message-label {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.message-author {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    margin: 20px 0;
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
    width: 80%;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.type-selector {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.type-btn {
    background: #f0f2ff;
    border: none;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.type-btn:hover {
    background: #e0e4ff;
    transform: translateY(-2px);
}

.type-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* ===== ОБЩИЕ ЭЛЕМЕНТЫ ===== */
/* Стили, которые используются в нескольких файлах */

/* Заголовки внутри контента */
.content-section h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 30px 0 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.content-section h2:first-of-type {
    margin-top: 0;
}

/* Списки */
.content-section ul {
    padding-left: 25px;
    margin: 15px 0;
}

.content-section li {
    margin: 10px 0;
}

/* Контейнер для кнопки "Назад" */
.back-link-container {
    text-align: center;
    margin: 40px 0 20px;
    width: 100%;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: var(--transition-base);
    background: transparent;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
}

.back-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* ===== ОБЩИЕ СТИЛИ ДЛЯ СТРАНИЦ POLICY/SUPPORT/COOKIE ===== */
.content-section {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Для очень длинных страниц, чтобы контент не растягивался */
@media (min-width: 1200px) {
    .content-section {
        max-width: 900px;
    }
}

/* ===== МЕДИА-ЗАПРОСЫ ===== */
/* Объединены все медиа-запросы в одном месте */

@media (max-width: 768px) {
    /* Policy */
    .content-section h2 {
        font-size: 22px;
    }
    
    .meta-info {
        padding: 15px;
    }
    
    .footer-note {
        margin: 30px 0;
        font-size: 14px;
    }
    
    .back-link-container {
        margin: 30px 0 15px;
    }
    
    .back-link {
        min-width: 160px;
        padding: 10px 20px;
    }
    
    /* Support */
    .crypto-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-code img {
        width: 150px;
        height: 150px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .detail-value {
        font-size: 12px;
        padding-right: 40px;
    }
    
    /* 404 */
    .error-page .container {
        padding: 30px 20px;
    }
    
    .error-code {
        font-size: 80px;
    }
    
    .emoji {
        font-size: 50px;
    }
    
    .message-text {
        font-size: 16px;
    }
    
    .button {
        width: 100%;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    /* Policy */
    .disclaimer-box {
        padding: 15px;
        font-size: 14px;
    }
    
    .content-section ul {
        padding-left: 20px;
    }
    
    .content-section li {
        margin: 8px 0;
    }
    
    .back-link-container {
        margin: 30px 0 15px;
    }
    
    .back-link {
        min-width: 140px;
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Support */
    .language-switcher {
        position: relative;
        top: 0;
        left: 0;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .address-box {
        font-size: 11px;
    }
    
    .crypto-address {
        padding-right: 40px;
    }
    
    .copy-btn {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .action-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    /* 404 */
    .error-code {
        font-size: 60px;
    }
    
    .type-selector {
        gap: 5px;
    }
    
    .type-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}