/* ===== URBAN BEACH BOOGIE - BRUTALIST DESIGN ===== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0D0D0D;
    color: #FFFFFF;
    line-height: 1.4;
    overflow-x: hidden;
}


/* ===== BRUTALIST NAVIGATION ===== */
.brutal-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: all 0.3s ease;
}

.brutal-nav.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid #00D4FF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-block {
    background: transparent;
    border: 2px solid #00D4FF;
    border-radius: 12px;
    padding: 15px 25px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brutal-nav.scrolled .nav-block {
    background: #1A1A1A;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #00D4FF;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 4px;
}

.mobile-menu-btn:hover {
    border-color: #FF2A6D;
    background: rgba(255, 42, 109, 0.1);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #00D4FF;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-block:hover {
    background: #00D4FF;
    color: #0D0D0D;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 400;
}

.logo-accent {
    font-size: 1rem;
    color: #FF2A6D;
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.menu-item {
    position: relative;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item:hover {
    color: #FF2A6D;
}

.menu-indicator {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #FF2A6D;
    transition: width 0.3s ease;
}

.menu-item:hover .menu-indicator {
    width: 100%;
}

.nav-cta {
    background: #FF2A6D;
    border-color: #FF2A6D;
}

.nav-cta:hover {
    background: #FFB800;
    border-color: #FFB800;
}

.brutal-btn {
    background: none;
    border: none;
    color: inherit;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-accent {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.brutal-btn:hover .btn-accent {
    left: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

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

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.1"/></svg>');
    z-index: -2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(13, 13, 13, 0.95) 0%,
        rgba(26, 26, 26, 0.9) 50%,
        rgba(13, 13, 13, 0.98) 100%
    );
    z-index: -1;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 3rem;
}

.title-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: 0.8;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    position: relative;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.title-line::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00D4FF, #FF2A6D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(2px);
    opacity: 0.7;
    z-index: -1;
}

.title-sub {
    transform: rotate(-2deg);
    margin-top: 2rem;
}

.sub-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #CCCCCC;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    display: block;
    margin-bottom: 10px;
}

.location-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #00D4FF;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
}

.hero-cta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Скрываем кнопку регистрации в герое на десктопе */
.hero-registration-btn {
    display: none;
}

.brutal-cta {
    position: relative;
    background: #FF2A6D;
    border: none;
    padding: 20px 40px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.brutal-cta:hover {
    background: #FFB800;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 42, 109, 0.4);
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-accent {
    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.6s ease;
}

.brutal-cta:hover .cta-accent {
    left: 100%;
}

.cta-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.brutal-cta:hover .cta-arrow {
    transform: translateY(-50%) translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #00D4FF;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #00D4FF, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}


/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: #0D0D0D;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left {
    padding-right: 40px;
}

.brutal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.9;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.title-word {
    display: block;
    position: relative;
    background: linear-gradient(45deg, #FFFFFF, #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.title-word:hover {
    transform: skewX(-5deg);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.brutal-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #CCCCCC;
    font-weight: 300;
}

.about-right {
    position: relative;
}

.photo-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 500px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border: 3px solid #00D4FF;
    transition: all 0.4s ease;
}

.photo-main {
    grid-row: 1 / 3;
    grid-column: 1;
}

.photo-small {
    grid-row: 1;
    grid-column: 2;
}

.photo-medium {
    grid-row: 2;
    grid-column: 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Разные обрезки и эффекты для одного изображения */
.photo-item.photo-main img {
    object-position: center center;
    filter: brightness(1.1) contrast(1.1);
}

.photo-item.photo-small img {
    object-position: top center;
    filter: brightness(0.9) saturate(1.2);
    transform: scale(1.05);
}

.photo-item.photo-medium img {
    object-position: bottom center;
    filter: brightness(1.05) contrast(1.15) hue-rotate(5deg);
}

.photo-item:hover {
    transform: scale(1.05);
    border-color: #FF2A6D;
    box-shadow: 0 20px 40px rgba(255, 42, 109, 0.3);
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 13, 13, 0.9));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #00D4FF;
}

/* ===== DANCE DESCRIPTION SECTION ===== */
.dance-description {
    padding: 100px 0;
    background: #0D0D0D;
}

.dance-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.dance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.dance-text {
    padding-right: 40px;
}

.dance-lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #CCCCCC;
    margin-bottom: 3rem;
    font-weight: 300;
}

.dance-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00D4FF;
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
}

.feature-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #00D4FF;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #CCCCCC;
}

.dance-visual {
    position: relative;
}

.dance-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #00D4FF;
    transition: all 0.4s ease;
    width: 100%;
    min-height: 500px;
    aspect-ratio: 5 / 6;
    background: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dance-image:hover {
    border-color: #FF2A6D;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 42, 109, 0.3);
}

.dance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    min-height: 100%;
}

.dance-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
    z-index: -1;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dance-image img.loaded ~ .image-overlay,
.dance-image img.loaded {
    opacity: 1;
}

.dance-image img:not(.loaded) {
    opacity: 0.5;
}

/* Общие стили для загрузки изображений */
img {
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

img.error {
    opacity: 0.7;
    filter: grayscale(50%);
}

/* Улучшенная загрузка для всех изображений */
.photo-item img,
.gallery-item img,
.dance-image img,
.coach-image img {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.photo-item img:not(.loaded),
.gallery-item img:not(.loaded),
.dance-image img:not(.loaded) {
    opacity: 0.6;
}

.dance-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 13, 13, 0.9));
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.dance-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #00D4FF;
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 1rem;
    color: #CCCCCC;
    line-height: 1.4;
}

.dance-history {
    background: rgba(255, 42, 109, 0.05);
    border: 2px solid rgba(255, 42, 109, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.history-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #FF2A6D;
    margin-bottom: 20px;
}

.history-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #CCCCCC;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    padding: 100px 0;
    background: #1A1A1A;
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.9;
    letter-spacing: 0.1em;
}

.title-main {
    display: block;
    color: #FFFFFF;
}

.title-accent {
    display: block;
    background: linear-gradient(45deg, #00D4FF, #FF2A6D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    height: 500px;
    border: 3px solid #00D4FF;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: #FF2A6D;
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(255, 42, 109, 0.3);
}

.category-card.featured {
    border-color: #FFB800;
    transform: scale(1.05);
}

.category-card.featured:hover {
    border-color: #FF2A6D;
}

.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.card-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.category-card:hover .card-video video {
    opacity: 0.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(13, 13, 13, 0.8) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(13, 13, 13, 0.9) 100%
    );
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #00D4FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #0D0D0D;
    transition: all 0.3s ease;
}

.category-card:hover .card-icon {
    background: #FF2A6D;
    transform: scale(1.1) rotate(360deg);
}

.card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.card-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #CCCCCC;
    margin-bottom: 20px;
}

.card-stats {
    display: flex;
    gap: 20px;
}

.stat {
    background: rgba(0, 212, 255, 0.2);
    padding: 8px 16px;
    border: 1px solid #00D4FF;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #00D4FF;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .card-accent {
    opacity: 1;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FFB800;
    color: #0D0D0D;
    padding: 8px 16px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
    z-index: 3;
}

/* ===== COACHES SECTION ===== */
.coaches {
    padding: 100px 0;
    background: #0D0D0D;
}

.coaches-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.coaches-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.coach-photo {
    position: relative;
}

.coach-image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #00D4FF;
    transition: all 0.4s ease;
}

.coach-image:hover {
    border-color: #FF2A6D;
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(255, 42, 109, 0.3);
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.4s ease;
}

.coach-image:hover img {
    filter: grayscale(0%) contrast(1);
}

.coach-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 13, 13, 0.95));
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.coach-image:hover .coach-overlay {
    transform: translateY(0);
}

.coach-names {
    text-align: center;
}

.coach-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: #00D4FF;
    margin-bottom: 10px;
}

.coach-subtitle {
    font-size: 1.1rem;
    color: #FF2A6D;
    font-weight: 500;
    letter-spacing: 1px;
}

.coach-story {
    padding: 0;
}

.story-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #FF2A6D;
    margin-bottom: 20px;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #CCCCCC;
    flex: 1;
}

.achievements {
    margin-top: 20px;
}

.achievements-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #00D4FF;
    margin-bottom: 20px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00D4FF;
    transform: translateX(5px);
}

.achievement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.achievement-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #CCCCCC;
}

.achievement-text strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* ===== SCHEDULE SECTION ===== */
.schedule {
    padding: 100px 0;
    background: #1A1A1A;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.week-block {
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid #00D4FF;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.week-block:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.week-header {
    text-align: center;
    margin-bottom: 30px;
}

.week-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #00D4FF;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.week-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    color: #CCCCCC;
    font-size: 1rem;
}

.daily-schedule {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.day-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(13, 13, 13, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.day-item:hover {
    border-color: #FF2A6D;
    transform: translateX(10px);
}

.day-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: #FF2A6D;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
    padding: 10px;
    background: rgba(255, 42, 109, 0.1);
    border-radius: 10px;
    border: 1px solid #FF2A6D;
}

.day-content h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.day-content p {
    font-family: 'Space Grotesk', sans-serif;
    color: #CCCCCC;
    line-height: 1.6;
}


.schedule-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-wave {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 80px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px;
    border: 2px solid #00D4FF;
    border-radius: 15px;
    background: rgba(0, 212, 255, 0.05);
    transition: all 0.4s ease;
    cursor: pointer;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    background: rgba(255, 42, 109, 0.05);
    border-color: #FF2A6D;
}

.timeline-item:hover {
    transform: translateX(20px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.timeline-item:nth-child(even):hover {
    transform: translateX(-20px);
    box-shadow: 0 20px 40px rgba(255, 42, 109, 0.2);
}

.timeline-marker {
    position: relative;
    width: 120px;
    height: 120px;
    background: #00D4FF;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-marker {
    background: #FF2A6D;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1) rotate(360deg);
}

.marker-icon {
    font-size: 2rem;
    color: #0D0D0D;
    margin-bottom: 5px;
}

.marker-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: #0D0D0D;
    letter-spacing: 1px;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #CCCCCC;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 100px 0;
    background: #0D0D0D;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 200px;
    gap: 20px;
    margin-top: 80px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 2px solid #00D4FF;
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item.medium {
    grid-row: span 1.5;
}

.gallery-item.small {
    grid-row: span 1;
}

.gallery-item:hover {
    border-color: #FF2A6D;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 42, 109, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Разные обрезки и эффекты для галереи */
.gallery-item.large:nth-child(1) img {
    object-position: center center;
    filter: brightness(1.1) contrast(1.1);
}

.gallery-item.medium:nth-child(2) img {
    object-position: top left;
    filter: brightness(0.95) saturate(1.3) hue-rotate(-10deg);
    transform: scale(1.03);
}

.gallery-item.small:nth-child(3) img {
    object-position: center right;
    filter: brightness(1.05) contrast(1.2);
}

.gallery-item.medium:nth-child(4) img {
    object-position: bottom center;
    filter: brightness(0.9) saturate(1.15) hue-rotate(10deg);
    transform: scale(1.02);
}

.gallery-item.large:nth-child(5) img {
    object-position: top right;
    filter: brightness(1.15) contrast(1.05);
}

.gallery-item.small:nth-child(6) img {
    object-position: bottom left;
    filter: brightness(1.0) saturate(1.25) hue-rotate(-5deg);
    transform: scale(1.04);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 13, 13, 0.9));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #00D4FF;
}

/* ===== REGISTRATION SECTION ===== */
.registration {
    padding: 100px 0;
    background: #1A1A1A;
}

.registration-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== YANDEX FORM STYLING ===== */
.yandex-form-wrapper {
    position: relative;
    width: 100%;
    min-height: 800px;
    border: 3px solid #00D4FF;
    border-radius: 20px;
    overflow: visible;
    background: #0D0D0D;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.yandex-form-wrapper:hover {
    border-color: #FF2A6D;
    box-shadow: 0 15px 50px rgba(255, 42, 109, 0.3);
    transform: translateY(-5px);
}

.yandex-form-iframe {
    width: 100% !important;
    min-height: 800px !important;
    height: 1000px !important;
    border: none !important;
    background: transparent;
    border-radius: 0;
    display: block;
    margin: 0;
    padding: 0;
}

.registration-header {
    text-align: center;
    margin-bottom: 60px;
}

.registration-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.9;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.registration-subtitle {
    font-size: 1.2rem;
    color: #CCCCCC;
    line-height: 1.6;
}

.brutal-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 20px;
    background: #0D0D0D;
    border: 2px solid #00D4FF;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF2A6D;
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.3);
}

.form-group label {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #00D4FF;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: #FF2A6D;
    background: #0D0D0D;
    padding: 0 10px;
}

.form-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF2A6D;
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-accent,
.form-group select:focus ~ .form-accent {
    width: 100%;
}

.submit-btn {
    position: relative;
    background: #FF2A6D;
    border: none;
    padding: 25px 50px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #FFB800;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 42, 109, 0.4);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-accent {
    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.6s ease;
}

.submit-btn:hover .btn-accent {
    left: 100%;
}

.btn-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateY(-50%) translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 40px;
    background: #0D0D0D;
    border-top: 2px solid #00D4FF;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
}

.footer-tagline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #00D4FF;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #FF2A6D;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #CCCCCC;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.social-link:hover {
    color: #00D4FF;
    transform: translateX(10px);
}

.social-link i {
    font-size: 1.2rem;
    color: #00D4FF;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #CCCCCC;
    font-size: 0.9rem;
}

.contact-item i {
    color: #FF2A6D;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333333;
}

.copyright {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #666666;
}

/* ===== MOBILE AUTO ANIMATIONS ===== */
@media (max-width: 768px) {
    /* Автоматические hover эффекты для мобильных устройств */
    .mobile-hover-active {
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 10;
    }
    
    .mobile-hover-active.category-card {
        transform: scale(1.05) rotateX(8deg) rotateY(8deg) translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-hover-active.coach-image {
        transform: scale(1.05) translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }
    
    .mobile-hover-active.photo-item,
    .mobile-hover-active.gallery-item {
        transform: scale(1.08) translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-hover-active.timeline-item {
        transform: translateX(20px) translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-hover-active.achievement-item,
    .mobile-hover-active.feature-item {
        transform: translateX(10px) translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-hover-active.dance-image {
        transform: scale(1.02) translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-hover-active.nav-block {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Специальные эффекты для overlay элементов */
    .mobile-hover-active .coach-overlay {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    
    .mobile-hover-active .photo-overlay,
    .mobile-hover-active .gallery-overlay,
    .mobile-hover-active .image-overlay {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    
    .mobile-hover-active .coach-image img {
        filter: grayscale(0%) contrast(1.1) !important;
        transform: scale(1.1) !important;
    }
    
    .mobile-hover-active .photo-item img,
    .mobile-hover-active .gallery-item img,
    .mobile-hover-active .dance-image img {
        transform: scale(1.15) !important;
    }
    
    .mobile-hover-active .timeline-marker {
        transform: scale(1.1) rotate(360deg) !important;
    }
    
    .mobile-hover-active .feature-icon {
        transform: scale(1.1) rotate(360deg) !important;
    }
    
    /* Анимация текста в карточках */
    .mobile-hover-active .category-title {
        transform: translateY(-5px) !important;
    }
    
    .mobile-hover-active .category-description {
        transform: translateY(-3px) !important;
    }
    
    .mobile-hover-active .coach-names {
        transform: translateY(-5px) !important;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .brutal-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(15px);
        border: 2px solid #00D4FF;
        border-radius: 15px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu .menu-item {
        background: rgba(0, 212, 255, 0.1);
        border: 2px solid #00D4FF;
        border-radius: 10px;
        padding: 15px 20px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .nav-menu .menu-item:hover {
        background: rgba(0, 212, 255, 0.2);
        border-color: #FF2A6D;
        transform: scale(1.02);
    }
    
    .nav-menu .menu-item span {
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    
    
    .nav-logo {
        padding: 10px 15px;
    }
    
    .hero-cta {
        gap: 15px;
        margin-top: 2rem;
    }
    
    /* Скрываем кнопку регистрации в шапке на мобильных */
    .nav-cta {
        display: none;
    }
    
    /* Показываем кнопку регистрации в герое на мобильных */
    .hero-registration-btn {
        display: block;
        position: relative;
        background: #FF2A6D;
        border: 2px solid #FF2A6D;
        padding: 12px 25px;
        font-family: 'Bebas Neue', sans-serif;
        font-size: 0.9rem;
        letter-spacing: 1px;
        color: #FFFFFF;
        cursor: pointer;
        border-radius: 15px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-transform: uppercase;
        overflow: hidden;
    }
    
    .hero-registration-btn:hover {
        background: #FFB800;
        border-color: #FFB800;
        color: #0D0D0D;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
    }
    
    .hero-registration-btn .btn-accent {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }
    
    .hero-registration-btn:hover .btn-accent {
        left: 100%;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    /* Адаптивные стили для расписания */
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .week-block {
        padding: 30px 20px;
    }
    
    .week-title {
        font-size: 1.5rem;
    }
    
    .day-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .day-number {
        min-width: auto;
        width: 100%;
    }
    
    
    .logo-accent {
        font-size: 0.8rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }
    
    .about-left {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .about-right {
        order: -1;
        margin-bottom: 20px;
    }
    
    .photo-collage {
        height: 350px;
        gap: 15px;
    }
    
    .photo-item {
        border-width: 2px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .coaches-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .coach-image {
        height: 400px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column;
    }
    
    .timeline-item:hover {
        transform: translateY(-10px);
    }
    
    .timeline-item:nth-child(even):hover {
        transform: translateY(-10px);
    }
    
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dance-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dance-text {
        padding-right: 0;
    }
    
    .dance-features {
        gap: 20px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .dance-history {
        padding: 30px 20px;
    }
    
    .history-title {
        font-size: 1.5rem;
    }
    
    .history-text {
        font-size: 1rem;
    }
    
    .dance-image {
        min-height: 400px;
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .title-main {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .brutal-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .registration-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .yandex-form-wrapper {
        padding: 15px;
        min-height: 500px;
    }
    
    .yandex-form-iframe {
        min-height: 500px;
    }
    
    .brutal-cta,
    .submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .category-card,
    .coach-card {
        height: 400px;
    }
    
    .timeline-marker {
        width: 80px;
        height: 80px;
    }
    
    .marker-icon {
        font-size: 1.5rem;
    }
    
    .marker-number {
        font-size: 1rem;
    }
    
    .about-container {
        gap: 40px;
        padding: 0 15px;
    }
    
    .photo-collage {
        height: 300px;
        gap: 10px;
    }
    
    .brutal-text {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #00D4FF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF2A6D;
}