/* ============================================================
   LACONIA TOOLS — стили ТОЛЬКО для наших страниц:
   - RarMobs.php        (префикс rm-)
   - Coren.php          (префикс cn-)
   - BlackPaperDeal.php (префикс bp-)
   - donate.php         (префикс dn-)
   
   НИКОГДА не пересекаются с общим style.css
   ============================================================ */

/* ============================================================
   ОБЩЕЕ (для всех четырёх страниц)
   ============================================================ */
.lm-hero {
    text-align: center;
    padding: 6rem 2rem 1.5rem;
}
.lm-hero .hero-title { font-size: 2.6rem; }
.lm-hero .hero-title span { font-size: 3.2rem; }
.lm-hero .hero-subtitle { max-width: 720px; }

.lm-event-banner {
    display: inline-block;
    background: rgba(255, 170, 0, 0.2);
    border: 1px solid var(--pso-orange);
    color: var(--pso-orange);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    margin: 1rem 0;
}

.lm-notes {
    background: rgba(255, 170, 0, 0.05);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border-left: 4px solid var(--pso-orange);
    border-top: 1px solid rgba(255, 170, 0, 0.2);
    border-right: 1px solid rgba(255, 170, 0, 0.2);
    border-bottom: 1px solid rgba(255, 170, 0, 0.2);
    font-size: 0.95rem;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.08);
}
.lm-notes-title {
    color: var(--pso-orange);
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lm-notes p { margin: 0; line-height: 1.6; }

/* ============================================================
   RarMobs.php — ТАБЛИЦА РЕЙТОВ (rm-)
   ============================================================ */
.rm-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
}

.rm-rates-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 10, 20, 0.6);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--pso-blue);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.rm-rates-table th {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(157, 78, 221, 0.2));
    color: var(--pso-blue);
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--pso-blue);
    vertical-align: middle;
}
.rm-rates-table td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    font-size: 0.95rem;
    vertical-align: middle;
}
.rm-rates-table tbody tr {
    transition: background 0.2s;
}
.rm-rates-table tbody tr:hover {
    background: rgba(0, 255, 255, 0.06);
}
.rm-rates-table tbody tr:last-child td {
    border-bottom: none;
}

.rm-enemy-name {
    color: var(--pso-orange);
    font-weight: 600;
    font-family: 'Share Tech Mono', monospace;
}
.rm-chance-fraction {
    color: #c7d2fe;
    font-family: 'Share Tech Mono', monospace;
}
.rm-chance-percent {
    color: #00ff88;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}
.rm-rate-compare {
    display: inline-block;
    white-space: nowrap;
}
.rm-rate-was {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95em;
    font-family: 'Share Tech Mono', monospace;
    margin-left: 6px;
    opacity: 1;
    text-shadow: none !important;
    font-weight: normal;
}
.rm-rate-was::first-letter {
    color: var(--pso-orange);
    font-weight: bold;
    text-shadow: none !important;
}

/* ============================================================
   Coren.php — ФИЛЬТР ДНЕЙ + АККОРДЕОН (cn-)
   ============================================================ */
.cn-day-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
    padding: 12px;
    background: var(--pso-panel);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}
.cn-day-btn {
    flex: 1 1 auto;
    min-width: 60px;
    padding: 8px 14px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: rgba(0, 255, 255, 0.7);
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cn-day-btn:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: var(--pso-blue);
    color: var(--pso-blue);
}
.cn-day-btn.active {
    background: rgba(0, 255, 255, 0.25);
    border-color: var(--pso-blue);
    color: var(--pso-blue);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}
.cn-days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.cn-day-card.hidden { display: none !important; }

/* ============================================================
   Coren.php + BlackPaperDeal.php — АККОРДЕОН (cn- и bp-)
   ============================================================ */
.cn-accordion, .bp-accordion {
    background: var(--pso-panel);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--pso-blue);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.cn-accordion-header, .bp-accordion-header {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.12), rgba(157, 78, 221, 0.15));
    color: var(--pso-blue);
    padding: 16px 20px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.2s;
}
.cn-accordion-header:hover, .bp-accordion-header:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(157, 78, 221, 0.25));
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.cn-accordion-content, .bp-accordion-content { display: none; }
.cn-accordion.open .cn-accordion-content,
.bp-accordion.open .bp-accordion-content { display: block; }

.cn-sub-accordion, .bp-sub-accordion {
    background: rgba(0, 10, 20, 0.5);
    margin: 10px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.3);
}
.cn-sub-header, .bp-sub-header {
    background: rgba(157, 78, 221, 0.15);
    color: #d9c2f5;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
    transition: all 0.2s;
}
.cn-sub-header:hover, .bp-sub-header:hover {
    background: rgba(157, 78, 221, 0.25);
    color: #fff;
    text-shadow: 0 0 8px rgba(157, 78, 221, 0.6);
}
.cn-sub-content, .bp-sub-content { display: none; }
.cn-sub-accordion.open .cn-sub-content,
.bp-sub-accordion.open .bp-sub-content { display: block; }

/* Секции сложности */
.cn-difficulty-section, .bp-difficulty-section {
    margin: 10px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    border-left: 3px solid;
}
.cn-normal-section, .bp-normal-section { border-left-color: #00a8e8; background: rgba(0, 168, 232, 0.06); }
.cn-hard-section, .bp-hard-section { border-left-color: var(--pso-purple); background: rgba(157, 78, 221, 0.06); }
.cn-very-hard-section, .bp-very-hard-section { border-left-color: #db2777; background: rgba(219, 39, 119, 0.06); }
.cn-ultimate-section, .bp-ultimate-section { border-left-color: var(--pso-orange); background: rgba(255, 170, 0, 0.06); }

.cn-difficulty-title, .bp-difficulty-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    color: #e0f0ff;
    font-size: 0.9em;
    font-family: 'Share Tech Mono', monospace;
}
.cn-difficulty-badge, .bp-difficulty-badge {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.72em;
    margin-right: 10px;
    color: #000;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.cn-normal, .bp-normal { background: #00a8e8; }
.cn-hard, .bp-hard { background: var(--pso-purple); color: #fff; }
.cn-very-hard, .bp-very-hard { background: #db2777; color: #fff; }
.cn-ultimate, .bp-ultimate { background: var(--pso-orange); }

.cn-items-grid, .bp-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 6px;
    font-size: 0.85em;
}
.cn-gold-item, .bp-gold-item {
    color: var(--pso-orange);
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 170, 0, 0.05);
    border: 1px solid rgba(255, 170, 0, 0.1);
    font-family: 'Share Tech Mono', monospace;
}
.cn-toggle-icon, .bp-toggle-icon {
    font-size: 0.9em;
    color: var(--pso-blue);
    transition: transform 0.3s;
}
.cn-accordion.open .cn-accordion-header .cn-toggle-icon,
.cn-sub-accordion.open .cn-sub-header .cn-toggle-icon,
.bp-accordion.open .bp-accordion-header .bp-toggle-icon,
.bp-sub-accordion.open .bp-sub-header .bp-toggle-icon {
    transform: rotate(180deg);
}

/* ============================================================
   donate.php (dn-)
   ============================================================ */
.dn-hero {
    text-align: center;
    padding: 6rem 2rem 2rem;
    margin-bottom: 1rem;
}
.dn-hero .hero-title { font-size: 2.8rem; }
.dn-hero .hero-title span { font-size: 3.5rem; }
.dn-hero .hero-subtitle { max-width: 650px; }

.dn-card-block {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.06) 0%, rgba(157, 78, 221, 0.08) 100%);
    border: 1px solid var(--pso-blue);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.15), inset 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.dn-card-block::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--pso-blue), var(--pso-purple), transparent);
}
.dn-card-block h2 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--pso-blue);
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}
.dn-card-block .dn-card-bank {
    font-family: 'Share Tech Mono', monospace;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.dn-bank-card {
    max-width: 420px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0a1a2e 0%, #1a0b2e 100%);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    text-align: left;
}
.dn-bank-card::after {
    content: '';
    position: absolute; top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 255, 255, 0.12), transparent 50%);
    pointer-events: none;
}
.dn-bank-card .dn-bc-chip {
    width: 42px; height: 32px;
    background: linear-gradient(45deg, #ffd700, #ffaa00);
    border-radius: 5px;
    border: 1px solid #b8860b;
    margin-bottom: 1.5rem;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}
.dn-bank-card .dn-bc-number {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.35rem;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    margin-bottom: 1rem;
    word-spacing: 6px;
}
.dn-bank-card .dn-bc-footer {
    display: flex; justify-content: space-between; align-items: flex-end;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase; letter-spacing: 1px;
}
.dn-bank-card .dn-bc-logo {
    font-size: 1rem; font-weight: bold;
    color: var(--pso-blue);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}
.dn-copy-card-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: rgba(0, 255, 255, 0.12);
    border: 1px solid var(--pso-blue);
    color: var(--pso-blue);
    padding: 14px 32px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem; font-weight: bold;
    text-transform: uppercase; letter-spacing: 1.5px;
    border-radius: 6px; cursor: pointer;
    transition: all 0.3s ease;
}
.dn-copy-card-btn:hover {
    background: var(--pso-blue); color: #000;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}
.dn-copy-card-btn.copied {
    background: #00c851; border-color: #00c851; color: #000;
    box-shadow: 0 0 25px rgba(0, 200, 81, 0.6);
}
.dn-card-hint {
    margin: 1.25rem auto 0; max-width: 480px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem; color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.dn-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; margin-top: 2rem;
}
@media (max-width: 900px) { .dn-grid { grid-template-columns: 1fr; } }

.dn-card {
    background: var(--pso-panel);
    border: 1px solid var(--pso-blue);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.12), inset 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 1.25rem;
}
.dn-card h2 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--pso-blue); font-size: 1.4rem; margin: 0;
    letter-spacing: 1px; text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}
.dn-qr-frame {
    width: 260px; height: 260px; background: #fff;
    border-radius: 12px; padding: 12px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.35);
    display: flex; align-items: center; justify-content: center;
}
.dn-qr-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dn-hint {
    font-size: 0.85rem; color: rgba(255, 255, 255, 0.6);
    font-family: 'Share Tech Mono', monospace;
    max-width: 320px; line-height: 1.5;
}

.dn-requisites {
    background: var(--pso-panel);
    border: 1px solid rgba(157, 78, 221, 0.4);
    border-radius: 12px; padding: 2rem;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.1), inset 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex; flex-direction: column; gap: 1rem;
}
.dn-requisites h2 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--pso-purple); font-size: 1.4rem;
    margin: 0 0 0.5rem 0; letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
    border-bottom: 1px dashed rgba(157, 78, 221, 0.4);
    padding-bottom: 0.75rem;
}
.dn-req-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 6px; padding: 10px 14px;
    transition: all 0.2s ease;
}
.dn-req-row:hover { border-color: rgba(0, 255, 255, 0.35); background: rgba(0, 255, 255, 0.04); }
.dn-req-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0;
}
.dn-req-value {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem; color: #fff;
    text-align: right; word-break: break-all; flex: 1;
}
.dn-copy-btn {
    flex-shrink: 0;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--pso-blue);
    color: var(--pso-blue);
    border-radius: 4px; padding: 4px 10px;
    font-size: 0.75rem; font-family: 'Share Tech Mono', monospace;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.dn-copy-btn:hover {
    background: var(--pso-blue); color: #000;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.dn-copy-btn.copied {
    background: #00c851; border-color: #00c851; color: #000;
    box-shadow: 0 0 10px rgba(0, 200, 81, 0.5);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 600px) {
    .lm-hero { padding: 4rem 1rem 1rem; }
    .lm-hero .hero-title { font-size: 1.8rem; }
    .lm-hero .hero-title span { font-size: 2.2rem; }
    .rm-rates-table th, .rm-rates-table td { padding: 8px 10px; font-size: 0.85rem; }
    .cn-accordion-header, .bp-accordion-header { font-size: 0.95rem; padding: 12px 14px; }
    .cn-sub-header, .bp-sub-header { font-size: 0.85rem; padding: 10px 12px; }
    .cn-items-grid, .bp-items-grid { grid-template-columns: 1fr 1fr; gap: 4px; font-size: 0.78em; }
    .dn-hero { padding: 4rem 1rem 1.5rem; }
    .dn-hero .hero-title { font-size: 2rem; }
    .dn-hero .hero-title span { font-size: 2.4rem; }
    .dn-card-block, .dn-card, .dn-requisites { padding: 1.25rem; }
    .dn-qr-frame { width: 220px; height: 220px; }
    .dn-bank-card .dn-bc-number { font-size: 1.05rem; letter-spacing: 2px; }
    .dn-copy-card-btn { width: 100%; padding: 12px 16px; font-size: 0.9rem; }
    .dn-req-row { flex-wrap: wrap; }
    .dn-req-value { text-align: left; }
    .dn-copy-btn { width: 100%; }
}