* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #c00000;
    --accent-color: #8b0000;
    --light-color: #ffffff;
    --gray-color: #1a1a1a;
    --text-color: #e0e0e0;
    --shadow-color: rgba(192, 0, 0, 0.3);
    --gold-color: #ffd700;
    --gold-gradient: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#about,
#disciplines,
#trainers,
#prices,
#schedule,
#contact {
    overflow: hidden;
}

.social-fix {
    position: fixed;
    z-index: 3;
    bottom: 20px;
    right: 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(192, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    position: absolute;
    width: 150px;
    height: 120px;
    animation: logoPulse 4s infinite;
}

.logo-icon img {
    width: 130px;
}

.logo-text {
    position: relative;
    left: 150px;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--light-color);
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(192, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: var(--light-color);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(192, 0, 0, 0.7);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
        url(../img/page.jpg);
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-size: 100% 100%;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3.8rem;
    color: var(--light-color);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 10px rgba(192, 0, 0, 0.3);
    }

    100% {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(192, 0, 0, 0.6);
    }
}

.hero h2 span {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(192, 0, 0, 0.7);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.free-trial-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: var(--light-color);
    padding: 8px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(192, 0, 0, 0.4);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 18px 45px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(192, 0, 0, 0.4);
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(192, 0, 0, 0.6);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.cta-button:hover::after {
    left: 100%;
}

/* Decorative Elements */
.decorative-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 0;
    box-shadow: 0 0 10px var(--secondary-color);
}

.section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    box-shadow: 0 0 10px var(--secondary-color);
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px var(--secondary-color);
}

.section-divider::after {
    content: '✪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
    z-index: 2;
    text-shadow: 0 0 10px var(--secondary-color);
}

/* About Section */
.section {
    padding: 100px 0;
    position: relative;
}

#about {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1549060279-7e168fce7090?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-title {
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--light-color);
    display: inline-block;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(192, 0, 0, 0.5);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    position: relative;
    height: 400px;
    overflow: hidden;
    border: 5px solid var(--secondary-color);
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(192, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05) rotateY(5deg);
}

.section-subtitle{
    margin-top: 30px;
}

/* Disciplines Section */
#disciplines {
    background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.8)),
        url('../img/sambo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.disciplines-grid-mobile {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.discipline-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px 25px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.discipline-card-compact {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 15px;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    min-height: 150px;
}

.discipline-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(192, 0, 0, 0.3);
    border-left: 4px solid var(--light-color);
}

.discipline-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(192, 0, 0, 0.3);
    border-left: 3px solid var(--light-color);
}

.discipline-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    width: auto;
    text-shadow: 0 0 10px rgba(192, 0, 0, 0.5);
}

.discipline-icon-compact {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(192, 0, 0, 0.5);
}

.discipline-card:hover .discipline-icon {
    transform: scale(1.1) rotateY(5deg);
    color: var(--light-color);
}

.discipline-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-color);
    position: relative;
    padding-bottom: 10px;
}

.discipline-card-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--light-color);
}

.discipline-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--secondary-color);
}

.discipline-card:hover h3::after {
    width: 80px;
}

.discipline-card p {
    font-size: 0.95rem;
    color: #b0b0b0;
    flex-grow: 1;
}

.discipline-card-compact p {
    display: none;
}

.show-more-btn {
    display: none;
    margin: 30px auto 0;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--secondary-color);
    color: var(--light-color);
    padding: 12px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.show-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(192, 0, 0, 0.4);
}

/* Trainers Section */
#trainers {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.trainer-card {
    background: rgba(26, 26, 26, 0.9);
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    border-bottom: 4px solid var(--secondary-color);
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.trainer-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(192, 0, 0, 0.4);
}

.trainer-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.trainer-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
    filter: grayscale(30%);
}

.trainer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    z-index: 2;
}

.trainer-card:hover .trainer-overlay {
    opacity: 1;
    visibility: visible;
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.1) rotate(1deg);
    filter: grayscale(0%);
}

.trainer-info {
    padding: 25px;
}

.trainer-info h3 {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.trainer-specialty {
    color: var(--secondary-color);
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(192, 0, 0, 0.5);
}

.trainer-achievements {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.trainer-experience {
    display: flex;
    align-items: center;
    color: var(--light-color);
    font-size: 0.9rem;
}

.trainer-experience i {
    color: var(--secondary-color);
    margin-right: 8px;
    text-shadow: 0 0 5px rgba(192, 0, 0, 0.5);
}

/* Trainer Modal */
.trainer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease;
    padding: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.trainer-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trainer-modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 50px rgba(192, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 992px) {
    .trainer-modal-content {
        flex-direction: row;
        max-height: 80vh;
    }
}

.trainer-modal-image {
    flex: 1;
    overflow: hidden;
    min-height: 300px;
    max-height: 50vh;
}

.trainer-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.trainer-modal-image:hover img {
    transform: scale(1.05);
}

.trainer-modal-info {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    max-height: 40vh;
}

@media (min-width: 992px) {
    .trainer-modal-info {
        max-height: 80vh;
    }

    .trainer-modal-image {
        max-height: 80vh;
    }
}

.trainer-modal-info h3 {
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.trainer-modal-specialty {
    color: var(--secondary-color);
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(192, 0, 0, 0.5);
}

.trainer-modal-achievements {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.trainer-modal-experience {
    display: flex;
    align-items: center;
    color: var(--light-color);
    font-size: 1rem;
    margin-bottom: 20px;
}

.trainer-modal-experience i {
    color: var(--secondary-color);
    margin-right: 10px;
    text-shadow: 0 0 5px rgba(192, 0, 0, 0.5);
}

.trainer-modal-description {
    color: var(--text-color);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    line-height: 1.6;
}

.trainer-modal-contacts {
    background: rgba(192, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    border-left: 3px solid var(--secondary-color);
}

.trainer-modal-contacts h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.trainer-modal-contacts p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trainer-modal-contacts i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.trainer-modal-schedule {
    background: rgba(26, 26, 26, 0.7);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trainer-modal-schedule h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.trainer-modal-schedule ul {
    list-style: none;
    padding-left: 0;
}

.trainer-modal-schedule li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.trainer-modal-schedule li i {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
    top: 3px;
}

.trainer-modal-schedule p {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #b0b0b0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.trainer-modal-schedule p i {
    color: var(--secondary-color);
    margin-top: 2px;
}

.trainer-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(192, 0, 0, 0.7);
}

.trainer-modal-close:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.trainer-modal-prev,
.trainer-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(192, 0, 0, 0.3);
    color: var(--light-color);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trainer-modal-prev:hover,
.trainer-modal-next:hover {
    background: var(--secondary-color);
}

.trainer-modal-prev {
    left: 20px;
}

.trainer-modal-next {
    right: 20px;
}

.trainer-view-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(192, 0, 0, 0.8);
    color: var(--light-color);
    padding: 8px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 3;
    border-radius: 3px;
    backdrop-filter: blur(5px);
}

.trainer-card:hover .trainer-view-btn {
    opacity: 1;
    bottom: 65px;
}

.trainer-view-btn:hover {
    background: var(--secondary-color);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 5px 15px rgba(192, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .trainer-view-btn {
        opacity: 1;
        bottom: 70px;
    }
}

/* Prices Section */
#prices {
    background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.8)),
        url('../img/grep.jpg');
    background-position: center;
    background-attachment: fixed;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.price-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
    border: 2px solid var(--secondary-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(192, 0, 0, 0.4);
}

.price-card.popular {
    border-width: 3px;
    transform: scale(1.05);
    border-color: var(--light-color);
    box-shadow: 0 15px 30px rgba(192, 0, 0, 0.5);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(192, 0, 0, 0.7);
}

.free-badge {
    position: absolute;
    top: 15px;
    left: -35px;
    background-color: #00a000;
    color: var(--light-color);
    padding: 8px 40px;
    transform: rotate(-45deg);
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 160, 0, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -45px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 8px 40px;
    transform: rotate(45deg);
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(192, 0, 0, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.price-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(192, 0, 0, 0.5);
}

.price-card h3 {
    font-size: 1.8rem;
    color: var(--light-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--light-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.price-amount.free {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.price-amount span {
    font-size: 1.2rem;
    color: #b0b0b0;
}

.price-features {
    list-style: none;
}

.price-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.price-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
    text-shadow: 0 0 5px rgba(192, 0, 0, 0.5);
}

.price-features li:last-child {
    border-bottom: none;
}

/* Стили для разворачивающейся карточки специальных предложений */
.offers-card {
    position: relative;
    min-height: 500px;
    perspective: 1000px;
    cursor: pointer;
    overflow: hidden;
    background: transparent !important;
}

.offers-card .offers-front,
.offers-card .offers-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 2px solid var(--secondary-color);
    background: rgba(0, 0, 0, 0.8);
}

.offers-card .offers-front {
    transform: rotateY(0deg);
}

.offers-card .offers-back {
    transform: rotateY(180deg);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--secondary-color);
}

.offers-card.flipped .offers-front {
    transform: rotateY(-180deg);
}

.offers-card.flipped .offers-back {
    transform: rotateY(0deg);
}

/* Детали предложений на обратной стороне */
.offers-details {
    flex: 1;
    overflow-y: auto;
}

.offer-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.offer-item h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-item p {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.offer-item ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.offer-item li {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
    position: relative;
}

.offer-item li:before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: -15px;
}

.offer-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(192, 0, 0, 0.3);
}

.year-plan {
    margin-top: 15px;
}

.plan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 5px;
    border-left: 3px solid var(--gold-color);
}

.plan-name {
    color: var(--text-color);
    font-size: 0.95rem;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.old-price {
    color: #888;
    text-decoration: line-through;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.new-price {
    color: var(--gold-color);
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.discount {
    color: #4CAF50;
    font-weight: bold;
}

.back-btn {
    margin-top: 20px;
    background: rgba(192, 0, 0, 0.8);
    width: 100%;
}

.back-btn:hover {
    background: var(--secondary-color);
}

/* Анимация появления элементов на обратной стороне */
.offers-back .offer-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.offers-card.flipped .offers-back .offer-item {
    opacity: 1;
    transform: translateY(0);
}

.offers-card.flipped .offers-back .offer-item:nth-child(1) {
    transition-delay: 0.1s;
}

.offers-card.flipped .offers-back .offer-item:nth-child(2) {
    transition-delay: 0.2s;
}

.offers-card.flipped .offers-back .offer-item:nth-child(3) {
    transition-delay: 0.3s;
}

.offers-card.flipped .offers-back .offer-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* Показать/скрыть кнопку "Назад" */
.offers-btn {
    position: relative;
    z-index: 2;
}

/* Иконка для кнопки Подробнее */
.offers-btn i {
    margin-right: 8px;
}

.price-card.offers-card {
    overflow: visible !important;
}

.offers-front .price-icon,
.offers-front h3,
.offers-front .price-amount,
.offers-front .offers-features {
    position: relative;
    z-index: 1;
}

.offers-card .offers-front {
    z-index: 2;
}

.offers-card .offers-back {
    z-index: 1;
}

.offers-card.flipped .offers-front {
    z-index: 1;
}

.offers-card.flipped .offers-back {
    z-index: 2;
}

/* VIP Individual Training Card */
.price-card.vip-individual {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 20, 20, 0.95));
    border: 3px solid var(--gold-color);
    position: relative;
    overflow: hidden;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2),
        0 0 0 1px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.vip-badge {
    position: absolute;
    top: 6px;
    right: -42px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    color: #000;
    padding: 10px 45px;
    transform: rotate(45deg);
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 5.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.price-card.vip-individual .price-icon {
    color: var(--gold-color);
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: goldPulse 2s infinite alternate;
}

@keyframes goldPulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }

    100% {
        transform: scale(1.1);
        text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    }
}

.price-card.vip-individual h3 {
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.price-amount.vip-price {
    color: var(--gold-color);
    font-size: 2.8rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: amountGlow 3s infinite alternate;
    margin-bottom: 10px;
}

.price-note {
    font-size: 0.9rem;
    color: rgba(255, 215, 0, 0.8);
    margin-left: 5px;
    font-weight: normal;
}

.price-card.vip-individual .price-features li {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 10px 0;
}

.price-card.vip-individual .price-features li:last-child {
    border-bottom: none;
}

.vip-icon {
    color: var(--gold-color);
    margin-right: 10px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.cta-button.vip-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    color: #000;
    font-weight: bold;
    padding: 16px 40px;
    margin-top: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.cta-button.vip-btn:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700, #ffed4e);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
}

.vip-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 215, 0, 0.8);
    text-align: center;
    font-style: italic;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Hover effects for VIP card */
.price-card.vip-individual:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.3),
        0 0 0 2px rgba(255, 215, 0, 0.5),
        inset 0 0 30px rgba(255, 215, 0, 0.2);
    border-color: #fff;
}

/* Schedule Section */
#schedule {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1599058917212-d750089bc07e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.schedule-desktop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.schedule-day-group {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(192, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.schedule-day-group:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.day-group-header {
    height: 170px;
    background: rgba(192, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.day-group-header h3 {
    color: var(--light-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.day-badge {
    display: inline-block;
    background: rgba(192, 0, 0, 0.3);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.training-sessions {
    padding: 20px;
}

.training-session {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.training-session:last-child {
    border-bottom: none;
}

.training-session:hover {
    background: rgba(192, 0, 0, 0.1);
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 -10px;
    border-radius: 5px;
}

.session-time {
    min-width: 100px;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    color: var(--secondary-color);
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(192, 0, 0, 0.3);
}

.session-info {
    flex: 1;
    padding-left: 20px;
}

.session-name {
    font-weight: 600;
    color: var(--light-color);
    margin-bottom: 5px;
}

.session-trainer {
    font-size: 0.85rem;
    color: #b0b0b0;
}

.session-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: var(--gold-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-top: 3px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Стили для возраста в расписании */
.session-age {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: normal;
    margin-left: 5px;
    text-shadow: 0 0 5px rgba(192, 0, 0, 0.3);
}

.mobile-age {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: normal;
    margin-left: 3px;
    display: inline-block;
}

/* Цветовые маркеры для времени */
.training-session.morning .session-time {
    color: #4CAF50;
}

.training-session.afternoon .session-time {
    color: #FF9800;
}

.training-session.evening .session-time {
    color: #E91E63;
}

.training-session.late .session-time {
    color: #9C27B0;
}

.training-session.special {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid var(--gold-color);
}

.training-session.weekend {
    background: rgba(33, 150, 243, 0.05);
    border-left: 3px solid #2196F3;
}

.training-session.weekend,
.training-session.special {
    padding-top: 10px;
}

.day-group-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.special-session {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.special-session i {
    color: var(--gold-color);
    margin-right: 10px;
}

.weekend-notice {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.weekend-notice i {
    color: #2196F3;
    margin-right: 10px;
}

/* Легенда */
.schedule-legend-desktop {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-title {
    color: var(--light-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.legend-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.9rem;
}

.legend-icon.morning {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.legend-icon.afternoon {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
}

.legend-icon.evening {
    background: rgba(233, 30, 99, 0.2);
    color: #E91E63;
}

.legend-icon.late {
    background: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
}

.legend-icon.special {
    background: rgba(255, 215, 0, 0.2);
    color: var(--gold-color);
}

/* Мобильная версия улучшенная */
.schedule-mobile-compact {
    display: none;
    margin-top: 30px;
}

.mobile-schedule-header {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-schedule-header h3 {
    color: var(--light-color);
    font-size: 1.3rem;
}

.mobile-days-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.mobile-day-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--secondary-color);
    color: var(--light-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.mobile-day-btn.active {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.mobile-day-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.mobile-day-content.active {
    display: block;
}

.mobile-training-slot {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid var(--secondary-color);
    display: flex;
    align-items: flex-start;
}

.mobile-training-slot.special {
    border-left-color: var(--gold-color);
    background: rgba(255, 215, 0, 0.05);
}

.mobile-training-slot.weekend {
    border-left-color: #2196F3;
    background: rgba(33, 150, 243, 0.05);
}

.mobile-time-badge {
    min-width: 70px;
    padding: 5px 10px;
    border-radius: 15px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 15px;
}

.mobile-time-badge.morning {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.mobile-time-badge.afternoon {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.mobile-time-badge.evening {
    background: rgba(233, 30, 99, 0.2);
    color: #E91E63;
    border: 1px solid rgba(233, 30, 99, 0.3);
}

.mobile-time-badge.late {
    background: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.mobile-training-info {
    flex: 1;
}

.mobile-training-time {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
}

.mobile-training-name {
    color: var(--light-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.mobile-training-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-trainer {
    color: #b0b0b0;
    font-size: 0.85rem;
}

.mobile-type {
    background: rgba(192, 0, 0, 0.2);
    color: var(--light-color);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.mobile-type.badge-special {
    background: rgba(255, 215, 0, 0.2);
    color: var(--gold-color);
}

.mobile-training-note {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.mobile-training-note i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.mobile-schedule-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    font-size: 0.85rem;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 10px;
}

.legend-color.morning {
    background: rgba(76, 175, 80, 0.5);
}

.legend-color.evening {
    background: rgba(233, 30, 99, 0.5);
}

.legend-color.special {
    background: rgba(255, 215, 0, 0.5);
}

/* Анимация */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
#contact {
    background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.8)),
        url('../img/page.jpg');
    background-position: top;
    background-attachment: fixed;
    background-size: 100% 100%;
}

.contact-container {
    margin-top: 50px;
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-right: 4px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.contact-map {
    flex: 1;
    position: relative;
    height: 500px;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    width: 30px;
    text-shadow: 0 0 10px rgba(192, 0, 0, 0.5);
}

/* Footer */
footer {
    background: #000;
    background-size: cover;
    background-position: center;
    padding: 60px 0 30px;
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    z-index: 4;

}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.8);
    color: var(--light-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(192, 0, 0, 0.6);
}

#vk:hover {
    background-color: #4C75A3;
}

#tg:hover {
    background-color: #26A5E4;
}

#int:hover {
    background: linear-gradient(45deg, #405DE6, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #FFDC80);
}

#wa:hover {
    background-color: #25D366;
}

/* Стили для изображения внутри социальных ссылок */
.social-links a .social-icon-img {
    width: 1.3rem;  /* Такой же размер, как у иконок Font Awesome (font-size: 1.3rem) */
    height: 1.3rem;
    vertical-align: middle;
    filter: grayscale(100%) brightness(1.2); /* Черно-белая по умолчанию */
    transition: all 0.3s ease;
}

#max{
    display:none;
}


/* Черно-белая иконка по умолчанию для Max */
#max .social-icon-img {
    filter: grayscale(100%) brightness(1.2);
}

/* При наведении на всю ссылку Max - цветная иконка */
#max:hover .social-icon-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1); /* Легкое увеличение, как у иконок */
}

/* Цвет фона при наведении на Max */
#max:hover {
    background: linear-gradient(135deg, #0057FF, #833AB4); /* Синий слева, фиолетовый справа */
    box-shadow: 0 10px 25px rgba(0, 87, 255, 0.5); /* Синеватая тень */
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 1;
    filter: blur(20px);
}

.logo-icon-mob {
    display: none;
}

/* ==================== */
/* КРАСНЫЙ СКРОЛЛБАР */
/* ==================== */

/* Для Webkit браузеров (Chrome, Safari, Edge, Opera) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color), #ff3333);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.8);
    box-shadow:
        0 0 10px rgba(192, 0, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff3333, var(--secondary-color));
    box-shadow:
        0 0 15px rgba(192, 0, 0, 0.7),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--accent-color), #ff3333);
    box-shadow:
        0 0 20px rgba(192, 0, 0, 0.9),
        inset 0 0 20px rgba(255, 255, 255, 0.4);
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.8);
}

/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) rgba(0, 0, 0, 0.8);
}

/* Стилизация скроллбара для отдельных элементов */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.6);
}

textarea::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

/* Для модальных окон с прокруткой */
.trainer-modal-content::-webkit-scrollbar,
.offers-modal-content::-webkit-scrollbar {
    width: 8px;
}

.trainer-modal-content::-webkit-scrollbar-thumb,
.offers-modal-content::-webkit-scrollbar-thumb {
    background: rgba(192, 0, 0, 0.6);
}

/* Стилизация скроллбара для мобильных */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-thumb {
        border-width: 1px;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h2 {
        font-size: 3rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 0;
        gap: 25px;
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 999;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-menu li a {
        font-size: 1.3rem;
        padding: 10px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .trainer-overlay {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 992px) {

    .about-content,
    .contact-container {
        flex-direction: column;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.3rem;
    }

    .trainers-grid,
    .prices-grid {
        display: flex;
        flex-direction: column;
    }

    .contact-map {
        height: 400px;
    }

    .contact-info {
        border-right: none;
        border-bottom: 4px solid var(--secondary-color);
    }

    .prices-grid {
        gap: 20px;
    }

    .trainer-modal-content {
        flex-direction: column;
        max-height: 90vh;
    }

    .trainer-modal-image {
        max-height: 40vh;
        min-height: 200px;
    }

    .trainer-modal-info {
        max-height: 50vh;
    }

    .contact-map iframe {
        height: 400px;
    }

    .price-card.vip-individual {
        grid-column: 1 / span 2;
        order: 5;
    }

    .vip-badge {
        right: -30px;
        padding: 8px 40px;
        font-size: 0.9rem;
    }

    .schedule-desktop-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .legend-items {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.2rem;
    }

    .price-card.popular {
        transform: scale(1);
    }

    .price-card.popular:hover {
        transform: translateY(-10px);
    }

    .disciplines-grid {
        display: none;
    }

    .disciplines-grid-mobile {
        display: grid;
    }

    .show-more-btn {
        display: block;
    }

    .footer-content {
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
        width: 100%;
    }

    .social-fix {
        bottom: 40px;
        right: 0px;
    }

    .section {
        background-attachment: scroll !important;
    }

    .logo {
        height: 65px;
    }

    footer .logo {
        height: 150px;
    }

    .logo-icon img {
        width: 100px;
    }

    .logo-text {
        display: none;
    }

    .logo-icon {
        position: relative;
        height: 100px;
    }

    .logo-icon-mob {
        display: block;
    }

    .logo-icon-mob img {
        width: 150px;
    }

    .footer-content .logo-icon {
        display: none;
    }

    header {
        padding: 0;
    }

    header.scrolled {
        height: 65px;
        padding: 0;

    }

    header.scrolled .mobile-menu-btn {
        align-items: flex-start;
        transition: .2s all;
    }

    header.scrolled img {
        width: 100px;
        transition: .2s all;
    }

    .offers-card {
        min-height: 500px;
    }
    
    .offer-item h4 {
        font-size: 1.1rem;
    }
    
    .plan-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .plan-price {
        align-items: flex-start;
    }

    .prices-grid {
        grid-template-columns: 1fr;
    }

    .price-card.vip-individual {
        grid-column: 1;
        order: 5;
        transform: scale(1);
    }

    .price-card.vip-individual:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .vip-badge {
        right: -25px;
        padding: 7px 35px;
        font-size: 0.85rem;
    }

    .price-amount.vip-price {
        font-size: 2.5rem;
    }

    .cta-button.vip-btn {
        padding: 14px 35px;
        font-size: 1.1rem;
    }

    .schedule-desktop-grid {
        display: none;
    }

    .schedule-legend-desktop {
        display: none;
    }

    .schedule-mobile-compact {
        display: block;
    }

    .mobile-days-selector {
        justify-content: space-between;
    }

    .mobile-day-btn {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    #about,
    #disciplines,
    #trainers,
    #prices,
    #schedule,
    #contact {
        background: none !important;
        background: var(--primary-color) !important;
    }

    /* Можно добавить легкий градиент вместо изображения */
    .hero {
        background-size: cover;
    }

    #about {
        background: linear-gradient(135deg, #0a0a0a, #1a0a0a) !important;
    }

    #disciplines {
        background: linear-gradient(135deg, #0f0f0f, #1a0f0f) !important;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 100px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 70px 0;
    }

    .disciplines-grid-mobile {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .discipline-card-compact {
        min-height: 120px;
        padding: 15px 10px;
    }

    .discipline-icon-compact {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .discipline-card-compact h3 {
        font-size: 1rem;
    }

    .trainer-modal {
        padding: 10px;
    }

    .trainer-modal-content {
        max-width: 100%;
    }

    .trainer-modal-info h3 {
        font-size: 1.5rem;
    }

    .trainer-modal-specialty {
        font-size: 1rem;
    }

    .trainer-modal-prev,
    .trainer-modal-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .price-card.vip-individual {
        padding: 30px 20px;
    }

    .vip-badge {
        right: -30px;
        padding: 6px 30px;
        font-size: 0.8rem;
    }

    .price-card.vip-individual h3 {
        font-size: 1.6rem;
    }

    .price-amount.vip-price {
        font-size: 2.2rem;
    }

    .price-card.vip-individual .price-features li {
        font-size: 0.95rem;
        padding: 8px 0;
    }

    .vip-note {
        font-size: 0.8rem;
    }

    .mobile-days-selector {
        flex-direction: column;
    }

    .mobile-day-btn {
        width: 100%;
    }

    .mobile-training-slot {
        flex-direction: column;
    }

    .mobile-time-badge {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: flex-start;
    }
}