* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0c10;
    color: #e0e0e0;
    line-height: 1.5;
}

/* ===== СТИЛИ ДЛЯ MAIN.PHP (СПИСОК ГАЙДОВ) ===== */
.guides-header {
    text-align: center;
    padding: 60px 20px 20px;
}

.guides-header h1 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.guides-header p {
    color: #888;
    margin-top: 10px;
}

.guides-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.guide-card {
    background: #15171c;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #2a2d35;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border-color: #ffd70033;
}

.guide-card-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #2a2d35;
}

.guide-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.guide-card-title a {
    color: #ffd700;
    text-decoration: none;
}

.guide-card-title a:hover {
    text-decoration: underline;
}

.guide-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.guide-tag-small {
    padding: 2px 8px;
    background: #1e3a5f;
    border-radius: 12px;
    color: #88ccff;
    font-size: 10px;
}

.guide-card-preview {
    padding: 15px 20px;
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
    min-height: 80px;
}

.guide-card-footer {
    padding: 12px 20px;
    background: #0f1115;
    border-top: 1px solid #2a2d35;
}

.guide-card-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.guide-card-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.stats {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #2a2d35;
    max-width: 1200px;
    margin: 20px auto 40px;
}

.guide-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    margin: 10px 0;
}

.guide-btn:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

/* ===== СТИЛИ ДЛЯ STRANICY GAYDA ===== */
.guide-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.guide-text {
    font-size: 16px;
    line-height: 1.7;
    color: #ccc;
}

.guide-text h2 {
    font-size: 26px;
    font-weight: 600;
    color: #ffd700;
    margin: 35px 0 15px;
    padding-left: 12px;
    border-left: 3px solid #ffd700;
}

.guide-text h3 {
    font-size: 22px;
    font-weight: 500;
    color: #ffaa66;
    margin: 25px 0 12px;
}

.guide-text p {
    margin-bottom: 15px;
}

.guide-text ul,
.guide-text ol {
    margin: 15px 0 15px 25px;
}

.guide-text li {
    margin: 8px 0;
}

.guide-text strong {
    color: #ffaa66;
}

.guide-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #0f1115;
    border-radius: 12px;
    overflow: hidden;
}

.guide-text th {
    background: #1e1f24;
    color: #ffd700;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #2a2d35;
}

.guide-text td {
    padding: 10px 15px;
    border-bottom: 1px solid #2a2d35;
}

.guide-text tr:last-child td {
    border-bottom: none;
}

.guide-text blockquote {
    border-left: 3px solid #ffd700;
    margin: 20px 0;
    color: #aaa;
    font-style: italic;
    background: #0f1115;
    padding: 15px 20px;
    border-radius: 0 12px 12px 0;
}

.guide-nav {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.guide-nav a {
    padding: 10px 24px;
    background: #2a2d35;
    color: #ccc;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.2s;
    font-size: 14px;
}

.guide-nav a:hover {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ КВЕСТОВ ===== */
.quest-section {
    margin-bottom: 50px;
}

.quest-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2a2d35;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quest-section-title .badge {
    font-size: 14px;
    font-weight: 500;
    background: #1e3a5f;
    color: #88ccff;
    padding: 2px 16px;
    border-radius: 20px;
}

.quest-section-title .badge.green {
    background: #1e4a2f;
    color: #7ddfa0;
}

.quest-location {
    background: #111418;
    border-radius: 16px;
    border: 1px solid #2a2d35;
    padding: 25px 28px;
    margin-bottom: 30px;
}

.quest-location:last-child {
    margin-bottom: 0;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.location-name {
    font-size: 22px;
    font-weight: 600;
    color: #ffaa66;
}

.location-name small {
    font-weight: 400;
    font-size: 15px;
    color: #888;
    margin-left: 10px;
}

.location-coords {
    background: #1a1e26;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #aaa;
    border: 1px solid #2a2d35;
}

.location-coords span {
    color: #ffd700;
}

.npc-block {
    background: #0d1015;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 18px 0 10px;
    border-left: 3px solid #ffd700;
}

.npc-block.orange {
    border-left-color: #ff8c00;
}

.npc-block.green {
    border-left-color: #5fba7a;
}

.npc-block.purple {
    border-left-color: #b47aff;
}

.npc-name {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.npc-name .npc-coords {
    font-weight: 400;
    font-size: 14px;
    color: #888;
}

.npc-name .npc-coords span {
    color: #ffd700;
}

.npc-name .npc-type {
    font-size: 12px;
    font-weight: 500;
    background: #1e3a5f;
    color: #88ccff;
    padding: 2px 14px;
    border-radius: 20px;
}

.npc-name .npc-type.orange {
    background: #5f3a1e;
    color: #ffaa66;
}

.npc-name .npc-type.green {
    background: #1e4a2f;
    color: #7ddfa0;
}

.npc-name .npc-type.purple {
    background: #3a1e5f;
    color: #b47aff;
}

.npc-desc {
    color: #aaa;
    font-size: 14px;
    margin: 8px 0 6px;
}

.npc-desc strong {
    color: #ffaa66;
}

.npc-desc .warning {
    color: #ff6b6b;
}

.quest-list {
    margin: 12px 0 4px;
    padding-left: 0;
    list-style: none;
}

.quest-list li {
    background: #0f1115;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    border: 1px solid #22262e;
    transition: border-color 0.2s;
}

.quest-list li:hover {
    border-color: #ffd70044;
}

.quest-list li:last-child {
    margin-bottom: 0;
}

.quest-title {
    font-weight: 600;
    color: #e8e8e8;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== СТИЛЬ ДЛЯ УРОВНЕЙ КВЕСТОВ (ОРАНЖЕВО-ЖЕЛТЫЙ) ===== */
.quest-title .quest-level {
    font-size: 13px;
    font-weight: 600;
    color: #ffd700;
    background: #3a2a1a;
    padding: 2px 14px;
    border-radius: 12px;
    border: 1px solid #ff8c0044;
    white-space: nowrap;
}

.quest-title .quest-cost {
    font-size: 13px;
    font-weight: 500;
    color: #ffd700;
    background: #1e1f24;
    padding: 0 14px;
    border-radius: 12px;
}

.quest-title .quest-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 12px;
    border-radius: 12px;
}

.quest-title .quest-tag.solo {
    background: #1e3a5f;
    color: #88ccff;
}

.quest-title .quest-tag.group {
    background: #4a2a5f;
    color: #c88aff;
}

.quest-title .quest-tag.repeatable {
    background: #2a4a3a;
    color: #7ddfa0;
}

.quest-title .quest-tag.once {
    background: #5f3a2a;
    color: #ffaa66;
}

.quest-details {
    margin-top: 8px;
    padding-left: 4px;
}

.quest-details .mob-list {
    color: #ccc;
    font-size: 14px;
    margin: 6px 0 2px;
}

.quest-details .mob-list strong {
    color: #ff6b6b;
}

.quest-details .reward {
    color: #7ddfa0;
    font-size: 14px;
    margin: 4px 0 2px;
}

.quest-details .reward strong {
    color: #ffd700;
}

.quest-details .note {
    color: #888;
    font-size: 13px;
    font-style: italic;
    margin-top: 4px;
    padding: 6px 12px;
    background: #0a0c10;
    border-radius: 6px;
    border-left: 2px solid #ff6b6b;
}

.quest-details .note.info {
    border-left-color: #88ccff;
    color: #88ccff;
}

.quest-details .note.warning {
    border-left-color: #ffaa66;
    color: #ffaa66;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ С ОПЫТОМ ===== */
.exp-location {
    background: #111418;
    border-radius: 16px;
    border: 1px solid #2a2d35;
    padding: 20px 24px 24px;
    margin-bottom: 30px;
}

.exp-location:last-child {
    margin-bottom: 0;
}

.exp-location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2a2d35;
}

.exp-location-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffaa66;
}

.exp-location-level {
    font-size: 14px;
    color: #888;
    background: #1a1e26;
    padding: 4px 16px;
    border-radius: 20px;
    border: 1px solid #2a2d35;
}

.exp-location-level strong {
    color: #ffd700;
}

.table-wrapper {
    overflow-x: auto;
    margin: 0 -4px;
}

.exp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 400px;
}

.exp-table thead th {
    background: #1a1e26;
    color: #ffd700;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid #ffd70033;
    white-space: nowrap;
}

.exp-table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.exp-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.exp-table tbody tr {
    border-bottom: 1px solid #1a1e26;
    transition: background 0.15s;
}

.exp-table tbody tr:hover {
    background: #1a1e26;
}

.exp-table tbody tr:last-child {
    border-bottom: none;
}

.exp-table tbody td {
    padding: 8px 14px;
    color: #ccc;
}

.exp-table tbody td:first-child {
    font-weight: 500;
    color: #e8e8e8;
}

.exp-table tbody td:nth-child(2) {
    text-align: center;
    color: #ffaa66;
    font-weight: 600;
}

.exp-value {
    color: #7ddfa0;
    font-weight: 600;
}

.exp-level {
    color: #666;
    font-size: 12px;
    margin-left: 4px;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ ФАРМА ===== */

/* Объявление */
.announcement {
    background: #1a2a1a;
    border: 1px solid #3a6a3a;
    border-radius: 12px;
    padding: 16px 22px;
    margin-bottom: 30px;
}

.announcement-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.announcement-icon {
    font-size: 28px;
}

.announcement-content {
    flex: 1;
}

.announcement-title {
    color: #7ddfa0;
    font-weight: 600;
    font-size: 16px;
}

.announcement-text {
    color: #ccc;
    font-size: 15px;
}

.announcement-text strong {
    color: #7ddfa0;
}

.announcement-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* Информационная карточка */
.farm-info-card {
    background: #111418;
    border-radius: 16px;
    border: 1px solid #2a2d35;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.farm-info-title {
    color: #ffd700;
    font-size: 20px;
    margin: 0 0 12px 0;
    border-left: none;
    padding-left: 0;
}

.farm-warning {
    color: #ff6b6b;
    font-weight: 500;
    margin-bottom: 12px;
}

.farm-loot-info {
    color: #ccc;
    margin-bottom: 8px;
}

.farm-loot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 10px 0;
}

.farm-loot-col {
    background: #0d1015;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #1a1e26;
}

.farm-loot-label {
    font-weight: 600;
    margin-bottom: 6px;
}

.farm-loot-label.green {
    color: #7ddfa0;
}

.farm-loot-label.red {
    color: #ff6b6b;
}

.farm-loot-values {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.farm-loot-values .green {
    color: #7ddfa0;
}

.farm-loot-values .red {
    color: #ff6b6b;
}

.farm-particles-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}

.farm-particles-icons img {
    max-height: 50px;
    width: auto;
    border-radius: 6px;
    background: #0a0c10;
    padding: 4px;
    border: 1px solid #1a1e26;
}

/* Локации */
.farm-location {
    background: #111418;
    border-radius: 16px;
    border: 1px solid #2a2d35;
    padding: 24px 28px;
    margin-bottom: 30px;
}

.farm-location:last-child {
    margin-bottom: 0;
}

.farm-location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #2a2d35;
}

.farm-location-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.farm-icon {
    font-size: 28px;
}

.farm-location-level {
    font-size: 14px;
    color: #888;
    background: #1a1e26;
    padding: 4px 16px;
    border-radius: 20px;
    border: 1px solid #2a2d35;
}

.farm-location-level strong {
    color: #7ddfa0;
}

/* Блоки фарма */
.farm-block {
    background: #0d1015;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 16px;
    border-left: 3px solid #ffd700;
}

.farm-block:last-child {
    margin-bottom: 0;
}

.farm-block.gold {
    border-left-color: #ffd700;
}

.farm-block.blue {
    border-left-color: #4a9eff;
}

.farm-block.green {
    border-left-color: #5fba7a;
}

.farm-block.purple {
    border-left-color: #b47aff;
}

.farm-block-title {
    font-size: 17px;
    font-weight: 600;
    color: #e8e8e8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.farm-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 14px;
    border-radius: 20px;
}

.farm-tag.kk {
    background: #5f3a1a;
    color: #ffaa66;
}

.farm-tag.ore {
    background: #1a3a5f;
    color: #88ccff;
}

.farm-tag.particles {
    background: #2a4a3a;
    color: #7ddfa0;
}

.farm-block-content {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.farm-block-content .farm-mobs {
    color: #ff6b6b;
    font-weight: 500;
}

.farm-block-content .farm-respawn {
    color: #888;
    font-size: 14px;
    margin-top: 4px;
}

/* Изображения */
.farm-image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 10px;
    align-items: center;
}

.farm-image-row img {
    max-height: 60px;
    width: auto;
    border-radius: 6px;
    background: #0a0c10;
    padding: 4px;
    border: 1px solid #1a1e26;
}

/* Частицы */
.farm-particles-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.particle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
    padding: 6px 12px;
    background: #0a0c10;
    border-radius: 8px;
    border: 1px solid #1a1e26;
}

.particle-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.particle-item .particle-desc {
    color: #666;
    font-size: 13px;
}

/* Список боссов */
.boss-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 6px;
    margin: 12px 0 12px;
    padding: 0;
    list-style: none;
}

.boss-list li {
    background: #0a0c10;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #1a1e26;
    color: #ccc;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.boss-tier {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.boss-tier.weak {
    background: #2a3a2a;
    color: #7ddfa0;
}

.boss-tier.medium {
    background: #3a3a2a;
    color: #ffd700;
}

.boss-tier.strong {
    background: #3a2a2a;
    color: #ff6b6b;
}

.boss-tier.very-strong {
    background: #3a1a2a;
    color: #ff44aa;
}

.boss-tier.insane {
    background: #2a1a3a;
    color: #c88aff;
}

/* Информация о боссах */
.farm-boss-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 16px;
    background: #0a0c10;
    border-radius: 8px;
    border: 1px solid #1a1e26;
}

.farm-boss-info div {
    color: #aaa;
    font-size: 14px;
}

/* Адаптив */
@media (max-width: 768px) {
    .farm-location {
        padding: 16px 14px;
    }

    .farm-location-name {
        font-size: 20px;
    }

    .farm-block {
        padding: 14px 16px;
    }

    .farm-block-title {
        font-size: 15px;
    }

    .farm-loot-grid {
        grid-template-columns: 1fr;
    }

    .boss-list {
        grid-template-columns: 1fr;
    }

    .farm-boss-info {
        grid-template-columns: 1fr;
    }

    .farm-image-row img {
        max-height: 40px;
    }

    .farm-particles-icons img {
        max-height: 35px;
    }

    .particle-item {
        font-size: 13px;
        padding: 6px 10px;
        flex-wrap: wrap;
    }

    .particle-item img {
        width: 24px;
        height: 24px;
    }

    .particle-item .particle-desc {
        font-size: 12px;
    }

    .farm-info-card {
        padding: 16px;
    }
}

/* Адаптив для страницы опыта */
@media (max-width: 768px) {
    .exp-location {
        padding: 16px 14px;
    }
    
    .exp-location-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .exp-location-name {
        font-size: 18px;
    }
    
    .exp-table {
        font-size: 13px;
        min-width: 320px;
    }
    
    .exp-table thead th,
    .exp-table tbody td {
        padding: 6px 10px;
    }
}

/* Адаптив для квестов */
@media (max-width: 768px) {
    .quest-location {
        padding: 18px 16px;
    }
    
    .location-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .npc-name {
        font-size: 16px;
        gap: 10px;
    }
    
    .quest-title {
        font-size: 14px;
    }
    
    .quest-list li {
        padding: 12px 14px;
    }
    
    .quest-title .quest-level {
        font-size: 12px;
        padding: 2px 10px;
    }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .guides-header h1 {
        font-size: 28px;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .guide-content {
        padding: 20px 15px;
    }
    
    .guide-text h2 {
        font-size: 22px;
    }
    
    .guide-text h3 {
        font-size: 18px;
    }
    
    .guide-nav {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .guide-nav a {
        width: 80%;
        text-align: center;
    }
    
    .guide-text table {
        display: block;
        overflow-x: auto;
    }
}