:root {
    --primary-accent: #CDAF73;
    --primary-color: #EFEFEF;
    --secondary-accent: #2563EB;
    --bg-dark: #121212;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Gilroy', sans-serif;
    background: var(--bg-dark);
    color: var(--primary-color);
    overflow: hidden;
    height: 100vh;
    line-height: 1;
}

.main-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-image-container {
    position: relative;
    flex: 1 1 35%;
    min-height: 0;
    overflow: hidden;
    max-height: 35vh;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}

.main-image-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 70%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.overlay-container {
    position: absolute;
    left: clamp(12px, 2vw, 16px);
    top: clamp(8px, 2vh, 12px);
    z-index: 2;
    color: white;
}

.title-text-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-title, .main-title-secondary {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 600;
    line-height: 1;
    color: var(--primary-accent);
}

.main-title { font-weight: 200; }
.main-title-secondary { font-weight: 700; }

.main-subtitle {
    font-size: clamp(8px, 1.8vw, 10px);
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 4px;
    letter-spacing: 1px;
}

.main-description-container {
    padding: clamp(6px, 1.5vh, 12px) clamp(12px, 3vw, 20px);
    flex: 0 0 auto;
}

.main-description-title {
    font-size: clamp(16px, 3.5vw, 22px);
    font-weight: 700;
    color: var(--primary-accent);
    letter-spacing: 1.2px;
    margin-bottom: 4px;
    line-height: 1.2;
    padding: 0 7.5vw;
}

.main-description-text {
    font-size: clamp(11px, 2.5vw, 14px);
    color: var(--primary-color);
    line-height: 1.35;
    margin: 3px 0;
    opacity: 0.95;
    padding: 0 7.5vw;
}

.overlay-container {
    position: absolute;
    margin-left: 16px;
    margin-top: 10px;
}

.images-matrix-container {
    width: 80%;
    box-sizing: border-box;
    flex-direction: column;
    align-self: center;
    padding: 0 8px;
}

.row-container {
    width: 100%;
    display: flex;
    gap: 2px;
    perspective: 1500px;
    box-sizing: border-box;
    overflow: hidden;
    margin: 2px 0;
}

.first-row {
    justify-content: end;
}

.second-row {
    justify-content: center;
}

.third-row {
    justify-content: start;
}

.card-image {
    width: min(114px, 20vw);
    height: min(64px, 12vh);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: rotateY(-10deg) rotateX(30deg);
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-footer-container {
    display: flex;
    justify-content: center;
    padding: clamp(6px, 1vh, 10px);
    flex: 0 0 auto;
}

.catalog-button {
    display: block;
    width: 85%;
    padding: clamp(12px, 2.5vh, 18px) 0;
    background: var(--secondary-accent);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(12px, 2.8vw, 15px);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    margin-bottom: 24px;
}