body {
    margin: 0;
    background: #10100f;
    color: #e6dcc7;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

a {
    color: #d0a85c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    padding: 18px 32px;
    background: #181714;
    border-bottom: 1px solid #3a3326;
    display: flex;
    align-items: center;
}

.site-logo {
    font-size: 23px;
    font-weight: bold;
}

.site-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 61px);
}

.site-sidebar {
    background: #141310;
    border-right: 1px solid #3a3326;
    padding: 24px 18px;
}

.sidebar-title {
    margin-bottom: 14px;
    color: #d0a85c;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 13px;
}

.page {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 40px 90px;
}

.location-card,
.lock-block {
    background: #181714;
    border: 1px solid #3a3326;
    border-radius: 10px;
    margin-bottom: 44px;
}

.lock-page-block {
    padding: 28px 32px;
}

.location-card {
    padding: 24px 28px;
}

.location-menu {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.location-menu .location-menu {
    margin-top: 8px;
    padding-left: 14px;
    border-left: 1px solid #3a3326;
}

.location-menu li {
    margin-bottom: 8px;
}

.location-menu a {
    display: block;
    padding: 6px 8px;
    border-radius: 6px;
    color: #cdbf9f;
    font-size: 14px;
    line-height: 1.35;
}

.location-menu a:hover {
    background: #211f1a;
    color: #d0a85c;
    text-decoration: none;
}

.location-menu a.active {
    background: #2d271c;
    color: #f0c878;
    font-weight: bold;
}

.breadcrumbs {
    margin-bottom: 26px;
    color: #b7aa90;
    font-size: 15px;
}

.breadcrumbs span {
    margin: 0 8px;
    color: #6f634e;
}

.hero-section {
    margin-bottom: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid #3a3326;
}

.hero-section h1 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 44px;
    line-height: 1.12;
}

.location-grid {
    display: grid;
    gap: 12px;
}

.location-link {
    display: block;
    padding: 12px 14px;
    background: #211f1a;
    border: 1px solid #3a3326;
    border-radius: 8px;
}

.meta {
    color: #b7aa90;
    font-size: 16px;
    line-height: 1.5;
}

.lock-description {
    font-size: 18px;
    line-height: 1.65;
}

/* Lock cards on location page */

.lock-card {
    padding: 0;
    overflow: hidden;
}

.lock-card-content {
    display: grid;
    grid-template-columns: 480px 1fr;
    align-items: start;
}

.lock-card-image {
    background: #0c0c0b;
}

.lock-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.lock-card-text {
    padding: 38px 34px;
}

.lock-card-text h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 1.2;
}

.lock-card-text .meta {
    margin-bottom: 14px;
}

.button-link {
    display: inline-block;
    margin-top: 14px;
    padding: 11px 16px;
    background: #2d271c;
    border: 1px solid #5a4424;
    border-radius: 6px;
    color: #f0c878;
    font-weight: bold;
    font-size: 16px;
}

.button-link:hover {
    background: #3a301f;
    text-decoration: none;
}

/* Lock detail page */

.lock-image-full {
    margin-bottom: 34px;
}

.lock-image-full img {
    width: 100%;
    display: block;
    border-radius: 10px;
    border: 1px solid #3a3326;
}

.lock-block {
    padding: 30px 34px;
}

.lock-block h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1.2;
}

.lock-block p {
    font-size: 18px;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 0;
}

.reward-block p {
    font-size: 20px;
    line-height: 1.7;
}

.lock-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start;
}

.lock-images {
    display: grid;
    gap: 16px;
}

.lock-images img {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 1px solid #3a3326;
}

.combination {
    margin-top: 0;
}

.combination h3,
.combination h2 {
    margin-bottom: 18px;
    color: #d0a85c;
}

.combination-table {
    border: 1px solid #3a3326;
    border-radius: 8px;
    overflow: hidden;
}

.combination-row {
    display: grid;
    grid-template-columns: 90px 180px 1fr;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid #3a3326;
    font-size: 17px;
    line-height: 1.35;
}

.combination-row:last-child {
    border-bottom: none;
}

@media (max-width: 1200px) {
    .page {
        max-width: 900px;
    }

    .lock-card-content {
        grid-template-columns: 420px 1fr;
    }
}

@media (max-width: 1100px) {
    .page {
        max-width: 820px;
    }

    .lock-card-content {
        grid-template-columns: 360px 1fr;
    }
}

@media (max-width: 900px) {
    .site-shell {
        grid-template-columns: 1fr;
    }

    .site-sidebar {
        border-right: none;
        border-bottom: 1px solid #3a3326;
    }

    .page {
        max-width: none;
        padding: 34px 22px 70px;
    }
}

@media (max-width: 850px) {
    .lock-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 16px;
    }

    .hero-section h1 {
        font-size: 34px;
    }

    .lock-card-content {
        grid-template-columns: 1fr;
    }

    .lock-card-text {
        padding: 26px 22px;
    }

    .combination-row {
        grid-template-columns: 55px 110px 1fr;
        gap: 10px;
        padding: 12px;
        font-size: 15px;
    }
}

.site-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    background: #141310;
    border-right: 1px solid #3a3326;
    padding: 24px 18px;
}

.location-menu {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.location-menu .location-menu {
    margin-top: 3px;
    margin-bottom: 5px;
    padding-left: 14px;
    border-left: 1px solid #3a3326;
}

.location-menu li {
    margin-bottom: 3px;
}

.location-menu a {
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
    color: #cdbf9f;
    font-size: 14px;
    line-height: 1.35;
}

.location-menu-item.level-0 > a {
    margin-top: 12px;
    color: #f0c878;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.location-menu a:hover {
    background: #211f1a;
    color: #d0a85c;
    text-decoration: none;
}

.location-menu a.active {
    background: #2d271c;
    color: #f0c878;
    font-weight: bold;
}

.home-location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-location-tile {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid #3a3326;
    border-radius: 12px;
    background: #181714;
}

.home-location-tile img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.home-location-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.65)
    );
}

.home-location-tile span {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 1;
    color: #f0c878;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.15;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.home-location-tile:hover {
    text-decoration: none;
}

.home-location-tile:hover img {
    transform: scale(1.04);
}

@media (max-width: 700px) {
    .home-location-grid {
        grid-template-columns: 1fr;
    }

    .home-location-tile {
        min-height: 220px;
    }

    .home-location-tile img {
        min-height: 220px;
    }
}

.location-cover {
    margin-bottom: 40px;
}

.location-cover img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;

    display: block;
    margin: 0 auto;

    border-radius: 10px;
    border: 1px solid #3a3326;
    background: #0c0c0b;
}

@media (max-width: 700px) {
    .location-cover img {
        height: 260px;
    }
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    gap: 10px;

    padding: 10px 16px;

    border-radius: 8px;
    border: 1px solid #2aabee;

    background: rgba(42, 171, 238, 0.12);

    color: #2aabee;
    font-weight: 600;

    transition: all 0.2s ease;
}

.telegram-link:hover {
    background: rgba(42, 171, 238, 0.22);
    text-decoration: none;
    transform: translateY(-1px);
}

.telegram-box {
    padding-top: 42px;
}
