* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #faf5ef;
    color: #443f3c;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ТИПОГРАФИКА */
h1,
h2,
h3,
.logo {
    font-family: "Unbounded", sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #443f3c;
}

.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
    width: 100%;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #d65049;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    color: #443f3c;
    font-family: "Literata", serif;
    font-weight: 400;
    max-width: 100%;
    word-wrap: break-word;
}

.section-title span {
    color: #d65049;
    font-style: italic;
}

.btn,
.btn-card,
.card-image,
.collage-item,
.art-slide-inner,
.art-slide-image,
.testimonial-card,
.art-slider-arrow,
.hero-scroll-indicator span,
.testimonial-author img {
    border-radius: 8px;
}

.card-overlay {
    border-radius: 8px;
}

.art-slide-caption {
    border-radius: 0 0 8px 8px;
}

.btn,
.btn-card {
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
}

.btn-hero {
    border-radius: 50px;
    padding: 0.9rem 2.2rem;
}

/* ШАПКА */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 245, 239, 0.6);
    z-index: 100;
    border-bottom: 1px solid rgba(220, 200, 183, 0.2);
    transition:
        background-color 0.4s ease,
        backdrop-filter 0.4s ease;
}

.site-header.scrolled {
    background-color: rgba(250, 245, 239, 0.85);
    backdrop-filter: blur(12px);
    border-bottom-color: #d65049;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #443f3c;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #443f3c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.game-link {
    background: none;
    border: 1px solid #d65049;
    color: #d65049;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    white-space: nowrap;
}

.game-link:hover {
    background-color: #d65049;
    color: #faf5ef;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #443f3c;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 50%;
}

.icon-button:hover {
    color: #d65049;
}



/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
    position: relative;
    margin-right: 8px;
    padding: 0;
}

.burger-menu span {
    width: 100%;
    height: 2px;
    background-color: #443f3c;
    transition: all 0.3s;
    display: block;
}

.burger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Затемнение фона */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Мобильное меню */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: auto;
    min-width: 280px;
    max-width: 320px;
    background-color: #faf5ef;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    border-right: 2px solid #d65049;
    border-bottom: 2px solid #d65049;
    border-radius: 0 0 20px 0;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.mobile-nav .nav-links {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.mobile-nav .nav-link {
    font-size: 1.1rem;
}

.mobile-game-link {
    display: inline-block;
    border: 1px solid #d65049;
    color: #d65049;
    font-weight: 600;
    text-align: center;
    width: fit-content;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    min-width: 110px;
}

.mobile-auth {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.mobile-auth .btn {
    font-size: 0.8rem;
    text-align: center;
    flex: 1 1 auto;
    min-width: 110px;
    padding: 0.5rem 1.2rem;
}

/* Бургер */
@media (max-width: 1300px) {
    .header-nav {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
    .mobile-nav {
        display: block;
    }
    .header-logo {
        position: static;
        transform: none;
        margin-right: auto;
        margin-left: 4px;
    }
    .header-container {
        justify-content: flex-start;
        padding: 1rem 1rem;
    }
    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .header-actions .btn-outline,
    .header-actions .btn-primary {
        display: none;
    }

    .header-container {
        padding: 0.8rem 1rem;
    }

    .mobile-nav {
        top: 60px;
        min-width: 260px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .burger-menu {
        width: 22px;
        height: 16px;
    }

    .burger-menu.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger-menu.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-nav {
        min-width: 210px;
        padding: 1rem 0 1rem 1rem;
    }

    .mobile-nav, .nav-link {
       font-size: 1rem !important;
    }

    .mobile-auth {
        flex-direction: column;
        gap: 1.9rem;
    }

    .mobile-auth .btn {
        width: 70%;
    }

    .mobile-game-link {
        font-size: 0.85rem;
        width: 70%;
    }

    .btn-hero {
        font-size: 0.8rem !important;
        padding: 0.8rem 1rem !important;
    }
}

/* КНОПКИ */
.btn {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: none;
}

.btn-primary {
    background-color: #443f3c;
    color: #faf5ef;
    border-color: #443f3c;
}

.btn-primary:hover {
    background-color: #d65049;
    border-color: #d65049;
    color: #faf5ef;
}

.btn-outline {
    background-color: transparent;
    color: #443f3c;
    border-color: #443f3c;
}

.btn-outline:hover {
    background-color: #443f3c;
    color: #faf5ef;
}

.btn-hero {
    background-color: #d65049;
    color: #faf5ef;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    padding: 0.9rem 2.2rem;
}

.btn-hero:hover {
    background-color: #443f3c;
    color: #faf5ef;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(68, 63, 60, 0.2);
}

.btn-small {
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
}

.btn-large {
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
}

.btn-card {
    background-color: #faf5ef;
    color: #443f3c;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(10px);
    border-radius: 30px;
    font-weight: 500;
}

.btn-card:hover {
    background-color: #443f3c;
    color: #faf5ef;
}

.link-arrow {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #443f3c;
    border-bottom: 1px solid #d65049;
    padding-bottom: 3px;
    transition: all 0.3s;
}

.link-arrow:hover {
    color: #d65049;
    border-bottom-color: #443f3c;
    transform: translateX(5px);
}

/* ========== HERO СЕКЦИЯ ========== */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #faf5ef;
    background-image: url("../img/hero-image.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #d65049;
    margin-bottom: 1rem;
    display: inline-block;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    animation: fadeInUp 1s ease 0.2s both;
    word-wrap: break-word;
}

.hero-title span {
    color: #d65049;
    font-style: italic;
}

.hero-description {
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto 1.8rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-scroll-indicator span {
    display: block;
    width: 16px;
    height: 16px;
    border-bottom: 2px solid #faf5ef;
    border-right: 2px solid #faf5ef;
    transform: rotate(45deg);
    animation: scrollDown 2s infinite;
    border-radius: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-8px, -8px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(8px, 8px);
    }
}

/* О НАС */
.about-section {
    padding: 5rem 1rem 0;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1rem;
    color: #443f3c;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 1.2rem;
}

.about-grid-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 110px);
    gap: 0.8rem;
}

.collage-item {
    overflow: hidden;
    transition: transform 0.5s ease;
    border-radius: 12px;
}

.collage-item img {
    transition: transform 0.7s ease;
}

.collage-item:hover img {
    transform: scale(1.05);
}

.item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.item-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}
.item-3 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}
.item-4 {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
}
.item-5 {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
}

/* КОЛЛЕКЦИЯ НОВАЯ */
.new-section {
    padding: 5rem 0 0 0;
    overflow: hidden;
    width: 100%;
}

.art-slider {
    position: relative;
    margin-top: 2rem;
    padding: 2rem 0;
    overflow: hidden;
    width: 100%;
}

.art-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
    padding: 0 2rem;
}

.art-slide {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
}

.art-slide-inner {
    position: relative;
    background-color: #fff;
    box-shadow: 0 15px 30px -10px rgba(68, 63, 60, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
}

.art-slide:hover .art-slide-inner {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -15px rgba(68, 63, 60, 0.25);
}

.art-slide-image {
    height: 350px;
    overflow: hidden;
    position: relative;
    border-radius: 16px 16px 0 0;
    width: 100%;
}

.art-slide-image img {
    transition: transform 0.8s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-slide:hover .art-slide-image img {
    transform: scale(1.08);
}

.art-slide-caption {
    padding: 1.5rem;
    background: linear-gradient(to top, #faf5ef, rgba(250, 245, 239, 0.9));
    backdrop-filter: blur(5px);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(30%);
    transition: transform 0.4s ease;
    border-top: 1px solid #d65049;
    border-radius: 0 0 16px 16px;
}

.art-slide:hover .art-slide-caption {
    transform: translateY(0);
}

.art-slide-caption h3 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.art-slide-caption p {
    color: #dcc8b7;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.art-slide-year {
    font-size: 0.75rem;
    color: #443f3c;
    opacity: 0.6;
}

.art-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.art-slider-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #443f3c;
    background: transparent;
    color: #443f3c;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.art-slider-arrow:hover {
    background-color: #443f3c;
    color: #faf5ef;
}

.art-slider-counter {
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #443f3c;
}

.art-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(220, 200, 183, 0.3);
}

.art-slider-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #443f3c;
    transition: width 0.3s ease;
}

/* АДАПТАЦИЯ СЛАЙДЕРА */
@media (max-width: 992px) {
    .art-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .art-slider-track {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .art-slide {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .art-slide-inner {
        width: 280px;
    }

    .art-slide-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .art-slide {
        flex: 0 0 240px;
        min-width: 240px;
        max-width: 240px;
    }

    .art-slide-inner {
        width: 240px;
    }

    .art-slide-image {
        height: 240px;
    }

    .art-slide-caption {
        padding: 0.8rem;
    }

    .art-slide-caption h3 {
        font-size: 1rem;
    }

    .art-slide-caption p {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .art-slider {
        padding: 1rem 0;
        overflow: visible;
    }

    .art-slider-track {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .art-slide {
        flex: 0 0 200px;
        min-width: 200px;
        max-width: 200px;
    }

    .art-slide-inner {
        width: 200px;
    }

    .art-slide-image {
        height: 200px;
    }

    .art-slide-caption {
        position: relative;
        transform: none;
        background: #faf5ef;
        border-top: 1px solid #d65049;
        border-radius: 0 0 16px 16px;
        padding: 0.6rem;
    }

    .art-slide:hover .art-slide-caption {
        transform: none;
    }

    .art-slide-caption h3 {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .art-slide-caption p {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .art-slide-year {
        font-size: 0.65rem;
    }
}

/* КОЛЛЕКЦИЯ */
.collection-section {
    padding: 5rem 1rem 0;
    width: 100%;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.collection-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin-bottom: 1rem;
    border-radius: 16px;
    width: 100%;
}

.card-image img {
    transition: transform 0.7s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(68, 63, 60, 0.4);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.collection-card:hover .card-overlay {
    opacity: 1;
}

.collection-card:hover .card-image img {
    transform: scale(1.08);
}

.collection-card:hover .btn-card {
    opacity: 1;
    transform: translateY(0);
}

.card-info {
    text-align: center;
    width: 100%;
    padding: 0 0.5rem;
}

.card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    text-align: center;
}

.card-info .artist {
    color: #d65049;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    text-align: center;
}

.card-info .price {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.collection-footer {
    text-align: center;
    margin-top: 3rem;
}

/* АДАПТАЦИЯ КОЛЛЕКЦИИ */
@media (max-width: 1200px) {
    .collection-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
    }

    .collection-card {
        max-width: 320px;
        width: 100%;
    }

    .card-image {
        aspect-ratio: 3/4;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .card-info {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .card-info h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .card-info .artist {
        font-size: 0.85rem;
        text-align: center;
    }

    .card-info .price {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 860px) {
    .collection-grid {
        max-width: 650px;
        gap: 1.5rem;
    }

    .collection-card {
        max-width: 280px;
    }

    .card-image {
        max-width: 280px;
    }

    .card-info h3 {
        font-size: 1rem;
    }

    .card-info .artist {
        font-size: 0.8rem;
    }

    .card-info .price {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .collection-card {
        max-width: 260px;
    }

    .card-image {
        max-width: 260px;
    }

    .card-info h3 {
        font-size: 0.95rem;
    }

    .card-info .artist {
        font-size: 0.75rem;
    }

    .card-info .price {
        font-size: 0.9rem;
    }
}

@media (max-width: 680px) {
    .collection-grid {
        max-width: 500px;
        gap: 1.2rem;
    }

    .collection-card {
        max-width: 220px;
    }

    .card-image {
        max-width: 220px;
    }

    .card-info h3 {
        font-size: 0.9rem;
    }

    .card-info .artist {
        font-size: 0.7rem;
    }

    .card-info .price {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .collection-grid {
        max-width: 450px;
        gap: 1rem;
    }

    .collection-card {
        max-width: 200px;
    }

    .card-image {
        max-width: 200px;
    }

    .card-info h3 {
        font-size: 0.85rem;
    }

    .card-info .artist {
        font-size: 0.65rem;
    }

    .card-info .price {
        font-size: 0.8rem;
    }
}

@media (max-width: 510px) {
    .collection-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 1.8rem;
    }

    .collection-card {
        max-width: 320px;
        margin: 0 auto;
    }

    .card-image {
        aspect-ratio: 1/1;
        max-width: 320px;
        max-height: 320px;
    }

    .card-info h3 {
        font-size: 1rem;
    }

    .card-info .artist,
    .card-info .price {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .collection-grid {
        max-width: 280px;
        gap: 1.5rem;
    }

    .collection-card {
        max-width: 280px;
    }

    .card-image {
        max-width: 280px;
        max-height: 280px;
    }

    .card-info h3 {
        font-size: 0.95rem;
    }

    .card-info .artist,
    .card-info .price {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .collection-grid {
        max-width: 240px;
    }

    .collection-card {
        max-width: 240px;
    }

    .card-image {
        max-width: 240px;
        max-height: 240px;
    }

    .card-info h3 {
        font-size: 0.9rem;
    }

    .card-info .artist,
    .card-info .price {
        font-size: 0.75rem;
    }

    .btn-card {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 320px) {
    .collection-grid {
        max-width: 220px;
    }

    .collection-card {
        max-width: 220px;
    }

    .card-image {
        max-width: 220px;
        max-height: 220px;
    }

    .card-info h3 {
        font-size: 0.85rem;
    }

    .card-info .artist,
    .card-info .price {
        font-size: 0.7rem;
    }
}

/* ========== ОТЗЫВЫ ========== */
.testimonials-section {
    padding: 5rem 1rem;
    width: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2.5rem 0 3rem;
}

.testimonial-card {
    background-color: #fff;
    padding: 2rem 1.8rem;
    box-shadow: 0 15px 30px -10px rgba(68, 63, 60, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -15px rgba(68, 63, 60, 0.2);
    border-color: #d65049;
}

.testimonial-rating {
    color: #d65049;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 1.2rem;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    color: #443f3c;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.testimonial-author img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #dcc8b7;
}

.testimonial-author h4 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.testimonial-author p {
    font-size: 0.75rem;
    color: #d65049;
}

.testimonials-footer {
    text-align: center;
}

/* АДАПТАЦИЯ ОТЗЫВОВ */
@media (max-width: 1100px) {
    .testimonials-grid {
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.8rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-card {
        padding: 1.8rem 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.8rem 1.5rem;
        width: 100%;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .testimonial-author img {
        width: 42px;
        height: 42px;
    }

    .testimonial-author h4 {
        font-size: 0.9rem;
    }

    .testimonial-author p {
        font-size: 0.7rem;
    }

    .testimonials-footer {
        margin-top: 2rem;
    }

    .testimonials-footer .btn-large {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 3rem 0.5rem;
    }

    .testimonials-grid {
        max-width: 350px;
        gap: 1.2rem;
    }

    .testimonial-card {
        padding: 1.5rem 1.2rem;
    }

    .testimonial-rating {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }

    .testimonial-author {
        gap: 0.6rem;
    }

    .testimonial-author img {
        width: 38px;
        height: 38px;
    }

    .testimonial-author h4 {
        font-size: 0.85rem;
    }

    .testimonial-author p {
        font-size: 0.65rem;
    }

    .testimonials-footer {
        margin-top: 1.5rem;
    }

    .testimonials-footer .btn-large {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 360px) {
    .testimonials-grid {
        max-width: 280px;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.2rem 1rem;
    }

    .testimonial-rating {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.8rem;
    }

    .testimonial-text {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .testimonial-author img {
        width: 32px;
        height: 32px;
    }

    .testimonial-author h4 {
        font-size: 0.75rem;
    }

    .testimonial-author p {
        font-size: 0.6rem;
    }

    .testimonials-footer .btn-large {
        max-width: 240px;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .testimonials-grid {
        max-width: 260px;
    }

    .testimonial-card {
        padding: 1rem 0.8rem;
    }

    .testimonial-text {
        font-size: 0.75rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    .testimonial-author img {
        width: 40px;
        height: 40px;
        margin-bottom: 0.2rem;
    }
}

/* ПОДВАЛ */
.site-footer {
    background-color: #443f3c;
    color: #faf5ef;
    padding: 3rem 1rem 0;
    width: 100%;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr 1fr;
    gap: 8rem;
    align-items: start;
    width: 100%;
}

/* адаптация подвала */
@media (max-width: 1193px) {
    .footer-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
        gap: 1.2rem;
    }
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-content: center;
    }

    .footer-info {
        grid-column: 1 / -1;
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-column {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-column h4 {
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
    }

    .footer-links {
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 519px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-info {
        grid-column: auto;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        font-size: 0.9rem !important;
    }
}

.footer-info .logo {
    color: #faf5ef;
    font-size: 1.8rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: #dcc8b7;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 100%;
}

.newsletter-input {
    flex: 1;
    padding: 0 1rem;
    height: 40px;
    border: 1px solid #5f5a56;
    background-color: transparent;
    border-radius: 50px;
    color: #faf5ef;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
}

.newsletter-input:focus {
    border-color: #d65049;
}

.newsletter-input::placeholder {
    color: #a69e98;
}

.btn-newsletter {
    background-color: #d65049;
    color: #faf5ef;
    border: none;
    padding: 0 1.2rem;
    height: 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    line-height: 40px;
}

/* Адаптация кнопки подписки */
@media (max-width: 400px) {
    .btn-newsletter {
        padding: 0 0.8rem;
        font-size: 0.7rem;
    }
    .footer-info .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 350px) {
    .btn-newsletter {
        padding: 0 0.5rem;
        font-size: 0.65rem;
    }

    .newsletter-input {
        padding: 0 0.5rem;
        font-size: 0.8rem;
    }
}

.btn-newsletter:hover {
    background-color: #b33f39;
}

.footer-column {
    text-align: left;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d65049;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #faf5ef;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #d65049;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(250, 245, 239, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #a69e98;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(250, 245, 239, 0.1);
    border-radius: 50%;
    transition: all 0.2s;
    color: #faf5ef;
}

.social-links a:hover {
    background-color: #d65049;
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ОБЩАЯ АДАПТАЦИЯ */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-grid-collage {
        grid-template-rows: repeat(3, 90px);
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 550px;
    }
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .about-section,
    .new-section,
    .collection-section,
    .testimonials-section {
        padding: 3rem 0.5rem;
    }
    .container {
        padding: 0 0.5rem;
    }
    .about-grid-collage {
        grid-template-rows: repeat(3, 70px);
        gap: 0.5rem;
    }
    .art-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}

@media (max-width: 360px) {
    .about-grid-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 90px);
    }
    .item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .item-2 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .item-3 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }
    .item-4 {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }
    .item-5 {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }
}

/* Запрещаем выделение и редактирование для всех текстовых элементов */
h1, h2, h3, h4, h5, h6, p, span, a, button, label, div {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Разрешаем выделение только в интерактивных элементах */
input, select, textarea {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* УВЕДОМЛЕНИЯ И СООБЩЕНИЯ */
.messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #fff3f3;
    border: 1px solid #ffa5a5;
    color: #d65049;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.field-error {
    color: #d65049;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.password-hint {
    font-size: 0.7rem;
    color: #7d7873;
    margin-top: 0.2rem;
    background-color: #f9f5f0;
    padding: 0.5rem;
    border-radius: 8px;
}

.phone-hint {
    font-size: 0.7rem;
    color: #7d7873;
    margin-top: 0.2rem;
}


