/* ========================
   GLOBAL STYLES & RESET
   ======================== */

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

:root {
    --primary-bg: #000000;
    --secondary-bg: #0a0a0a;
    --accent-color: #ffffff;
    --accent-hover: #cccccc;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #ffffff;
    --gradient-overlay: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.9) 100%);
    --shadow-strong: 0 10px 40px rgba(255, 255, 255, 0.1);
    --shadow-medium: 0 5px 20px rgba(255, 255, 255, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nasalization', 'Arial', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ========================
   HEADER & NAVIGATION
   ======================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-text {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo-mcc {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu li a {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--text-primary);
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px 8px;
    transition: all 0.3s ease;
    position: relative;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--text-primary);
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
}

.lang-divider {
    color: var(--text-secondary);
    font-size: 10px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.95) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>'),
        radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
    background-size: cover, 100px 100px, cover;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: none !important;
    margin: 0 auto;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    animation: fadeInUp 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 150px 0 60px 0;
}

.hero-curved-text {
    width: 100%;
    max-width: 100% !important;
    height: auto;
    overflow: visible !important;
    z-index: 100 !important;
    position: relative !important;
}

.hero-curved-text.hero-top {
    margin-bottom: -60px !important;
}

.hero-curved-text.hero-bottom {
    margin-top: -60px !important;
}

/* Direct SVG text styling - only effects, not overriding inline attributes */
.hero-curved-text text {
    /* No glow effects */
}

.hero-curved-text text textPath {
    text-transform: uppercase;
}

/* Prevent any CSS changes on language switch */
html[lang="en"] .hero-curved-text text,
html[lang="ru"] .hero-curved-text text,
html[lang="en"] .hero-curved-text text textPath,
html[lang="ru"] .hero-curved-text text textPath {
    /* Preserve inline attributes, no effects */
}

/* Force visibility and size */
.hero-curved-text {
    visibility: visible !important;
    display: block !important;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 0;
}

.hero-subtitle {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin: 0;
}

.hero-date {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-primary);
    padding: 12px 24px;
    border: 1px solid var(--text-primary);
    display: inline-block;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-primary), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* ========================
   SECTION COMMON STYLES
   ======================== */

section {
    padding: 120px 0;
    position: relative;
}

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

.section-title {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 8px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--text-primary);
    margin: 0 auto;
}

/* ========================
   PHILOSOPHY SECTION
   ======================== */

.philosophy {
    background: var(--primary-bg);
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.philosophy-card {
    grid-column: span 2;
    background: var(--secondary-bg);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.philosophy-card:nth-child(4) {
    grid-column: 2 / 4;
}

.philosophy-card:nth-child(5) {
    grid-column: 4 / 6;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--text-primary);
    transition: height 0.3s ease;
}

.philosophy-card:hover::before {
    height: 100%;
}

.philosophy-card:hover {
    border-color: var(--text-primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.philosophy-number {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.philosophy-card h3 {
    font-size: 13px;
    margin-bottom: 15px;
    color: var(--text-primary);
    letter-spacing: 1.2px;
    position: relative;
    z-index: 1;
    line-height: 1.4;
    padding-right: 60px;
}

.philosophy-card p {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 11px;
    line-height: 1.8;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.philosophy-card p:last-child {
    margin-bottom: 0;
}

/* ========================
   ABOUT SECTION
   ======================== */

.about {
    background: var(--secondary-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 15px;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--text-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ========================
   OBJECTIVES SECTION
   ======================== */

.objectives {
    background: var(--primary-bg);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.objective-card {
    background: var(--secondary-bg);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--text-primary), transparent);
    opacity: 0.1;
    transition: height 0.3s ease;
}

.objective-card:hover::before {
    height: 100%;
}

.objective-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.objective-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    color: var(--text-primary);
}

.objective-icon svg {
    width: 100%;
    height: 100%;
}

.objective-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.objective-card p {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 12px;
    line-height: 1.8;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ========================
   MEMBERSHIP SECTION
   ======================== */

.membership {
    background: var(--secondary-bg);
}

.membership-content {
    max-width: 900px;
    margin: 0 auto;
}

.membership-info {
    text-align: center;
    margin-bottom: 60px;
}

.membership-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.membership-info p {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 13px;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.membership-path {
    margin-top: 50px;
    padding: 40px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
}

.path-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.path-step {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    background: var(--primary-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.path-step:hover {
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.path-step.highlight {
    border-color: var(--text-primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, var(--primary-bg) 100%);
}

.path-step.elite {
    border-color: var(--text-primary);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.path-arrow {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 20px;
    color: var(--text-secondary);
}

/* ========================
   GEOGRAPHY SECTION
   ======================== */

.geography {
    background: var(--primary-bg);
}

.geography-content {
    max-width: 1000px;
    margin: 0 auto;
}

.geography-intro {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
}

.geography-countries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.country-item {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 12px;
    color: var(--text-primary);
    background: var(--secondary-bg);
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.country-item:hover {
    background: var(--text-primary);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.geography-outro {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 50px;
    line-height: 1.8;
}

.google-map {
    width: 100%;
    height: 600px;
    border: 1px solid var(--border-color);
    margin-bottom: 50px;
    background: var(--secondary-bg);
}

/* Google Maps info window styling */
/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
    background-color: #000000 !important;
    border: 1px solid #ffffff !important;
    border-radius: 0 !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

.leaflet-popup-tip {
    background-color: #000000 !important;
    border: 1px solid #ffffff !important;
}

.leaflet-popup-close-button {
    color: #ffffff !important;
}

.leaflet-popup-close-button:hover {
    color: #cccccc !important;
}

/* Custom marker no extra styles needed */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

.geography-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-block {
    background: var(--secondary-bg);
    padding: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-block:hover {
    border-color: var(--text-primary);
    transform: translateY(-5px);
}

.stat-value {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.stat-desc {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================
   CONTACT SECTION
   ======================== */

.contact {
    background: var(--secondary-bg);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--text-primary);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 50px;
    height: 50px;
    color: var(--text-primary);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-details a,
.contact-details p {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.contact-details a:hover {
    color: var(--text-primary);
}

.whatsapp-contacts {
    margin-top: 15px;
}

.whatsapp-contacts p {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-contacts a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    min-width: 140px;
}

.whatsapp-contacts a:hover {
    color: var(--accent-hover);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.social-link svg {
    width: 28px;
    height: 28px;
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-info {
    text-align: right;
}

.footer-socials {
    display: flex;
    gap: 20px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-info p {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* =====================================================
   MEMORIAL SECTION
   ===================================================== */

.memorial {
    background: var(--primary-bg);
}

.memorial-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.memorial-subtitle {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.memorial-description {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.memorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-items: center;
}

.memorial-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.memorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.memorial-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center top;
    background-color: var(--secondary-bg);
    position: relative;
    filter: grayscale(100%);
}

.memorial-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--secondary-bg), transparent);
}

.memorial-info {
    padding: 25px;
    text-align: center;
}

.memorial-name {
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.memorial-nickname {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.memorial-status {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.memorial-dates {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
}

.memorial-text {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.memorial-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

@media (max-width: 1400px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu li a {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .logo-text,
    .logo-mcc {
        font-size: 20px;
        letter-spacing: 2px;
    }
}

@media (max-width: 968px) {
    .hero-curved-text {
        max-width: 100% !important;
    }

    .hero-curved-text.hero-top {
        margin-bottom: 0 !important;
    }

    .hero-curved-text.hero-bottom {
        margin-top: 0 !important;
    }

    .hero-content {
        gap: 0px;
        padding: 40px 0;
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .hero-date {
        font-size: 10px;
        padding: 10px 20px;
    }

    .hero-content {
        gap: 0px;
    }

    .hero-center {
        gap: 20px;
        margin: 0;
    }

    .section-title {
        font-size: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .memorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .objectives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .path-line {
        gap: 10px;
    }

    .path-step {
        font-size: 12px;
        padding: 10px 16px;
    }

    .path-arrow {
        font-size: 16px;
    }

    .geography-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
    }

    .nav-menu li a {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .nav-menu.active {
        right: 0;
    }

    .burger {
        display: flex;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-info {
        text-align: center;
    }

    .footer-socials {
        position: static;
        transform: none;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-curved-text {
        max-width: 100% !important;
    }

    .hero-curved-text.hero-top {
        margin-bottom: 0 !important;
    }

    .hero-curved-text.hero-bottom {
        margin-top: 0 !important;
    }

    .hero-content {
        gap: 0px;
        padding: 30px 0;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-date {
        font-size: 9px;
        padding: 8px 16px;
    }

    .hero-content {
        gap: 0px;
    }

    .hero-center {
        gap: 15px;
        margin: 0;
    }

    .section-title {
        font-size: 32px;
    }

    /* Контакты - выравнивание номеров по левому краю */
    .whatsapp-contacts p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .whatsapp-contacts a {
        min-width: auto;
    }

    /* Увеличить MARSIANS и NATION на мобильных */
    .hero-curved-text text {
        font-size: 180px !important;
        letter-spacing: 22px !important;
    }

    /* Увеличить расстояние между MARSIANS и NATION */
    .hero-curved-text.hero-top {
        margin-bottom: 10px !important;
    }

    .hero-curved-text.hero-bottom {
        margin-top: 10px !important;
    }

    section {
        padding: 80px 0;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-card {
        grid-column: span 1 !important;
    }

    .memorial-grid {
        grid-template-columns: 1fr;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

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

    .path-step {
        font-size: 10px;
        padding: 8px 12px;
    }

    .world-map {
        padding: 20px;
    }

    .stat-value {
        font-size: 36px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .logo-text,
    .logo-mcc {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .footer-logo img {
        height: 60px;
    }
}

/* =====================================================
   MEMBERS SECTION
   ===================================================== */

.members {
    padding: 100px 0;
    background: var(--primary-bg);
}

.members-content {
    margin-top: 50px;
}

/* FIRST5 Section */
.first5-section {
    margin-bottom: 80px;
}

.first5-title {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 24px;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.first5-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.first5-card {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.first5-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.member-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-bg);
    background: var(--accent-color);
    padding: 4px 12px;
    margin-bottom: 10px;
    text-shadow: none;
}

/* Members Carousel Section */
.members-carousel-section {
    margin-top: 60px;
}

.members-subtitle {
    font-family: 'Nasalization', 'Arial', sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.members-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.members-carousel {
    flex: 1;
    overflow: hidden;
}

.members-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.member-card {
    flex: 0 0 calc((100% - 80px) / 5);
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.member-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center top;
    background-color: var(--secondary-bg);
    position: relative;
    filter: grayscale(100%);
}

.member-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--secondary-bg), transparent);
}

.member-info {
    padding: 15px;
    text-align: center;
}

.member-nickname {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
}

.member-name {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.member-location {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* =====================================================
   PAGE SECTIONS (for separate pages)
   ===================================================== */

.page-section {
    min-height: 100vh;
    padding: 150px 0 100px;
}

/* =====================================================
   EVENTS SECTION
   ===================================================== */

.events {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.events-carousel-wrapper {
    position: relative;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.events-carousel {
    overflow: hidden;
    flex: 1;
    cursor: grab;
}

.events-carousel:active {
    cursor: grabbing;
}

.events-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.event-card {
    flex: 0 0 calc((100% - 60px) / 3);
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card.event-mandatory {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.carousel-btn {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    font-size: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-family: 'Nasalization', Arial, sans-serif;
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
    border-color: var(--accent-color);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.event-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary-bg);
    position: relative;
}

.event-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--primary-bg);
    padding: 6px 15px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.event-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-date {
    font-size: 11px;
    letter-spacing: 2px;
    color: #888888;
    margin-bottom: 15px;
}

.event-title {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--accent-color);
    line-height: 1.4;
}

.event-location {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: 'Nasalization', Arial, sans-serif;
}

.event-description {
    font-size: 13px;
    line-height: 1.8;
    color: #cccccc;
    font-family: 'Roboto', Arial, sans-serif;
    margin-bottom: 15px;
}

.event-link {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
    font-family: 'Nasalization', Arial, sans-serif;
    text-align: center;
}

.event-link:hover {
    background: var(--accent-color);
    color: #000000;
}

/* =====================================================
   RESPONSIVE - MEMBERS & EVENTS
   ===================================================== */

@media (max-width: 1200px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .first5-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .first5-grid {
        grid-template-columns: 1fr;
    }

    .member-card {
        flex: 0 0 100%;
    }

    .event-card {
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .events-carousel-wrapper,
    .members-carousel-wrapper {
        gap: 10px;
    }

    .member-image {
        height: 250px;
    }

    .event-image {
        height: 200px;
    }
}
