* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-red: #8B0000;
    --color-sand: #C19A6B;
    --color-dark-sand: #8B7355;
    --color-black: #1a1a1a;
    --color-dark: #0d0d0d;
    --color-white: #ffffff;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--color-dark);
    color: var(--color-sand);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Песчаная буря фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(193, 154, 107, 0.03) 2px,
            rgba(193, 154, 107, 0.03) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(139, 0, 0, 0.03) 2px,
            rgba(139, 0, 0, 0.03) 4px
        ),
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(193, 154, 107, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: sandstorm 20s infinite linear;
}

@keyframes sandstorm {
    0% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(-10px) translateY(-5px); }
    66% { transform: translateX(10px) translateY(5px); }
    100% { transform: translateX(0) translateY(0); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

/* HEADER */
.header {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 2px solid var(--color-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-sand);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width 0.3s;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-red);
    transition: all 0.3s;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* HERO SECTION */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/14.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    z-index: 0;
    opacity: 0.4;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    z-index: 10;
    position: relative;
    max-width: 1200px;
    width: 100%;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 3px solid var(--color-red);
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.5);
}

.hero-text-wrapper {
    flex: 1;
    text-align: left;
}

.hero-title-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-title-link:hover .hero-title {
    color: var(--color-sand);
    transform: skew(-2deg) scale(1.05);
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--color-red);
    text-shadow: 
        4px 4px 0px var(--color-black),
        8px 8px 20px rgba(139, 0, 0, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 10px;
    transform: skew(-2deg);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: none;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--color-sand);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark-sand);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--color-red);
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    transition: all 0.3s;
    border: 2px solid var(--color-black);
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--color-dark-sand);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.6);
}

.fantasy-shards-text {
    background: rgba(139, 0, 0, 0.2);
    padding: 1.5rem;
    margin: 2rem 0;
    border: 2px solid var(--color-red);
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    font-size: 1.1rem;
    color: var(--color-sand);
    font-weight: bold;
}

/* Геометрические формы */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: var(--color-red);
    opacity: 0.1;
    animation: float 6s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* SECTIONS */
.section {
    padding: 5rem 0;
    position: relative;
    text-align: center;
}

.section .container {
    text-align: left;
}

/* Центрирование заголовков секций */
.section .container > h2,
.section .container > .section-title,
.section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100%;
    max-width: 100%;
}

/* Центрирование всех основных заголовков в секциях (не в карточках) */
.section > .container > h2,
.section > .container > h2.section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Исключения для аккордеонов - заголовки остаются как есть */
.accordion-header h3,
.accordion-header span:first-child,
.accordion-item h3 {
    text-align: left;
}

.section-title {
    text-align: center !important;
    font-size: 3rem;
    color: var(--color-red);
    margin: 0 auto 3rem !important;
    text-transform: uppercase;
    letter-spacing: 5px;
    clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
    padding: 1rem;
    border: 2px solid var(--color-red);
    display: block !important;
    width: 100%;
    max-width: 600px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.section-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-sand);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border: 2px solid var(--color-sand);
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
    transition: all 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--color-red);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 1rem;
    border: 2px solid var(--color-sand);
    display: block;
    background-color: rgba(139, 0, 0, 0.1);
    box-sizing: border-box;
}

.card h3 {
    color: var(--color-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-align: center;
}

.card p {
    color: var(--color-dark-sand);
    line-height: 1.6;
}

/* ACCORDION */
.accordion {
    max-width: 800px;
    margin: 2rem auto;
}

.accordion-item {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--color-sand);
    margin-bottom: 1rem;
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    background: rgba(139, 0, 0, 0.2);
    color: var(--color-red);
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.accordion-header:hover {
    background: rgba(139, 0, 0, 0.3);
}

.accordion-header.active {
    background: rgba(139, 0, 0, 0.4);
}

.accordion-icon {
    transition: transform 0.3s;
    font-size: 1.5rem;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.active {
    max-height: 1000px;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--color-dark-sand);
    line-height: 1.8;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--color-sand);
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--color-red);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--color-sand);
    color: var(--color-sand);
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: white;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.modal-content {
    background: var(--color-black);
    border: 3px solid var(--color-red);
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    position: relative;
    margin: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    -webkit-overflow-scrolling: touch;
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    font-size: 2rem;
    color: var(--color-red);
    cursor: pointer;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid var(--color-red);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    z-index: 10;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--color-red);
    color: white;
}

.modal-close:active {
    transform: rotate(90deg) scale(0.9);
}

.modal-body {
    color: var(--color-sand);
    line-height: 1.8;
    clear: both;
    padding-top: 1rem;
}

.modal-body h2 {
    color: var(--color-red);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 0.5rem;
}

.modal-body h3 {
    color: var(--color-red);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
    text-align: justify;
}

.modal-body ul,
.modal-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body strong {
    color: var(--color-red);
}

.modal-body a {
    color: var(--color-red);
    text-decoration: underline;
}

.modal-body a:hover {
    color: var(--color-sand);
}

/* FORM */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border: 2px solid var(--color-sand);
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--color-sand);
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-black);
    border: 2px solid var(--color-sand);
    color: var(--color-sand);
    font-size: 1rem;
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    clip-path: none;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--color-red);
    color: white;
    border: 2px solid var(--color-black);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    transition: all 0.3s;
    font-size: 1rem;
}

.form-submit:hover {
    background: var(--color-dark-sand);
    transform: scale(1.05);
}

/* TABLE */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(26, 26, 26, 0.8);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    border: 2px solid var(--color-sand);
    text-align: left;
}

.comparison-table th {
    background: rgba(139, 0, 0, 0.3);
    color: var(--color-red);
    text-transform: uppercase;
    font-weight: bold;
}

.comparison-table td {
    color: var(--color-dark-sand);
}

.comparison-table tr:hover {
    background: rgba(139, 0, 0, 0.1);
}

/* MINI GAME */
.game-container {
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border: 2px solid var(--color-red);
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.game-canvas {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: var(--color-black);
    border: 2px solid var(--color-sand);
    display: block;
    margin: 1rem auto;
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
}

.game-info {
    color: var(--color-sand);
    margin: 1rem 0;
    font-size: 1.1rem;
}

.game-button {
    padding: 0.75rem 2rem;
    background: var(--color-red);
    color: white;
    border: 2px solid var(--color-black);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    transition: all 0.3s;
    margin: 0.5rem;
}

.game-button:hover {
    background: var(--color-dark-sand);
    transform: scale(1.05);
}

.game-success {
    display: none;
    color: var(--color-red);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    text-transform: uppercase;
}

.game-success.active {
    display: block;
}

/* MAP */
.map-container {
    width: 100%;
    height: 500px;
    margin: 2rem 0;
    border: 3px solid var(--color-red);
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CONTACT INFO */
.contact-info {
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border: 2px solid var(--color-sand);
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    margin: 2rem 0;
}

.contact-item {
    margin: 1.5rem 0;
    padding: 1rem;
    border-left: 4px solid var(--color-red);
    background: rgba(139, 0, 0, 0.1);
}

.contact-item h3 {
    color: var(--color-red);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-item p {
    color: var(--color-sand);
    font-size: 1.1rem;
}

/* THANK YOU PAGE */
.thank-you-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.thank-you-title {
    font-size: 3rem;
    color: var(--color-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.thank-you-subtitle {
    font-size: 1.5rem;
    color: var(--color-sand);
    margin-bottom: 2rem;
}

.thank-you-text {
    color: var(--color-dark-sand);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

/* COOKIE POPUP */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.98);
    border: 3px solid var(--color-red);
    padding: 2rem;
    z-index: 3000;
    max-width: 500px;
    width: 90%;
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.cookie-popup.active {
    display: block;
}

.cookie-popup p {
    color: var(--color-sand);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: 2px solid var(--color-black);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    transition: all 0.3s;
}

.cookie-btn-accept {
    background: var(--color-red);
    color: white;
}

.cookie-btn-reject {
    background: var(--color-dark-sand);
    color: white;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

/* FOOTER */
.footer {
    background: var(--color-black);
    border-top: 2px solid var(--color-red);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-sand);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
}

.footer-links a:hover {
    color: var(--color-red);
    border-color: var(--color-red);
}

.footer-copyright {
    color: var(--color-dark-sand);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(193, 154, 107, 0.2);
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-bottom: 2px solid var(--color-red);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text-wrapper {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }

    .cookie-popup {
        bottom: 1rem;
        padding: 1.5rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Модальные окна для мобильных */
    .modal.active {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        max-height: calc(100vh - 2rem);
        width: calc(100% - 1rem);
        margin: 0;
    }
    
    .modal-body h2 {
        font-size: 1.5rem;
    }
    
    .modal-body h3 {
        font-size: 1.2rem;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

