/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f5f5f7;
    --bg-card: #1a1a1a;
    --bg-sidebar: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-dark: #1a1a1a;
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Основной layout */
.layout {
    display: flex;
    min-height: 100vh;
}

/* Боковое меню */
.sidebar {
    width: 70px;
    background: var(--bg-sidebar);
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-logo {
    margin-bottom: 30px;
}

.logo-image {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.modal-logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-item:hover {
    background: var(--bg-primary);
    color: var(--accent);
}

.nav-item.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.nav-item i {
    font-size: 18px;
}

.sidebar-bottom {
    margin-top: auto;
    
}

.bot {
    margin-bottom: 10px;
}

.login-btn {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    color: white !important;
    border-radius: 50%;
}

.login-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #db2777 100%);
    color: white !important;
}

/* Основной контент */
.main-content {
    flex: 1;
    margin-left: 70px;
    padding: 20px 30px;
    min-height: 100vh;
}

/* Шапка */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    box-shadow: var(--shadow);
    width: 320px;
}

.search-box i {
    color: var(--text-secondary);
    margin-right: 12px;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    background: transparent;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #000000 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.notification-btn:hover {
    transform: scale(1.05);
}

.notification-btn i {
    font-size: 20px;
    color: var(--text-dark);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 20px;
}

/* Сетка контента */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    min-height: 400px;
}

/* Слайдер */
.slider-section {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    min-height: 400px;
}

.slider {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    flex: 1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    padding: 40px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.slide-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.slide-btn {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slide-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 60px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Карточки */
.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 25px;
    color: var(--text-primary);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--accent);
}

.card-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.card-link:hover {
    opacity: 0.8;
}

/* Афиша */
.afisha-card {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    transition: background 0.3s ease;
}

.event-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    min-width: 60px;
}

.event-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-info p {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    gap: 15px;
}

.event-info p i {
    margin-right: 5px;
    color: var(--accent);
}

/* Новости */
.news-card {
    grid-column: 1;
    grid-row: 2;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    transition: background 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.news-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.news-date {
    font-size: 12px;
    color: var(--accent);
}

/* Кружки */
.clubs-card {
    grid-column: 2;
    grid-row: 2;
}

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

.club-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.club-item:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: translateY(-3px);
}

.club-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.club-icon i {
    font-size: 16px;
}

.club-item span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

/* Проекты */
.projects-card {
    grid-column: 1 / -1;
    grid-row: 3;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 90px;
    gap: 20px;
}

.project-item-blue {
    padding: 20px;
    background: linear-gradient(90deg, rgb(9, 109, 255) 0%, #294bf5 100%);
    border-radius: var(--border-radius-sm);
}

.project-item-green {
    padding: 20px;
    background: linear-gradient(90deg, rgb(164, 203, 0) 0%, #85f529 100%);
    border-radius: var(--border-radius-sm);
}

.project-item-red {
    padding: 20px;
    background: linear-gradient(90deg, rgb(244, 0, 0) 0%, #f52929 100%);
    border-radius: var(--border-radius-sm);
}

.project-item-yellow {
    padding: 20px;
    background: linear-gradient(90deg, rgb(254, 133, 0) 0%, #f59a29 100%);
    border-radius: var(--border-radius-sm);
}

.project-item-pink {
    padding: 20px;
    background: linear-gradient(90deg, rgb(219, 0, 131) 0%, #f529bb 100%);
    border-radius: var(--border-radius-sm);
}


.project-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.project-name {
    font-weight: 600;
    font-size: 14px;
}

.project-percent {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.circle-arrow {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.1);
  padding: 12px 24px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.circle-arrow:hover {
  background: white;
  color: black;
  transform: scale(1.05);
}

.circle-arrow:hover svg path {
  stroke: black;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-green {
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
}

.progress-yellow {
    background: linear-gradient(90deg, #eab308 0%, #facc15 100%);
}

.progress-blue {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
}

.progress-pink {
    background: linear-gradient(90deg, #f45cf6 0%, #c503ae 100%);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .slider-section {
        grid-column: 1 / -1;
    }
    
    .projects-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 60px;
        padding: 15px 0;
    }
    
    .main-content {
        margin-left: 60px;
        padding: 15px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .afisha-card,
    .news-card,
    .clubs-card,
    .projects-card {
        grid-column: 1;
    }
    
    .slider {
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 22px;
    }
    
    .search-box {
        width: 100%;
        max-width: 280px;
    }
    
    .projects-list {
        grid-template-columns: 1fr;
    }
    
    .clubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: space-around;
        border-right: none;
        border-top: 1px solid #e5e5e5;
    }
    
    .sidebar-logo,
    .sidebar-bottom {
        display: none;
    }
    
    .sidebar-nav {
        flex-direction: row;
        gap: 0;
    }
    
    .main-content {
        margin-left: 0;
        margin-bottom: 70px;
        padding: 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
        max-width: none;
    }
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 25px;
}

/* ===== ДЕТАЛИ КРУЖКА В МОДАЛКЕ ===== */
.club-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    flex-shrink: 0;
}

.club-detail-icon i {
    font-size: 35px;
    color: white;
}

#clubDetailName {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

#clubDetailDescription {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.club-detail-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.club-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    transition: background 0.3s ease;
}

.club-detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.club-detail-item i {
    color: var(--accent);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.club-detail-item span {
    color: var(--text-secondary);
    font-size: 14px;
}

.club-detail-item strong {
    color: var(--text-primary);
}

.btn-join {
    width: 100%;
    padding: 14px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-join:active {
    transform: translateY(0);
}

.btn-join i {
    font-size: 18px;
}

/* ===== КРУЖКИ НА ГЛАВНОЙ ===== */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.club-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.club-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

.club-item:active {
    transform: scale(0.95);
}

.club-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.club-item:hover .club-icon {
    transform: scale(1.1);
}

.club-icon i {
    font-size: 24px;
    color: white;
}

.club-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.club-item:hover span {
    color: var(--text-primary);
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

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

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .clubs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .clubs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .club-item {
        padding: 15px 10px;
    }
    
    .club-icon {
        width: 48px;
        height: 48px;
    }
    
    .club-icon i {
        font-size: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    #clubDetailName {
        font-size: 18px;
    }
    
    .club-detail-icon {
        width: 65px;
        height: 65px;
    }
    
    .club-detail-icon i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .clubs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .club-item {
        padding: 12px 8px;
    }
    
    .club-icon {
        width: 40px;
        height: 40px;
    }
    
    .club-icon i {
        font-size: 16px;
    }
    
    .club-item span {
        font-size: 11px;
    }
    
    .club-detail-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}
/* ===== МОДАЛЬНОЕ ОКНО "О ЦЕНТРЕ" ===== */
#aboutModal .modal-content {
    background: #1a1a2e; /* Темный фон */
    border-radius: var(--border-radius);
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#aboutModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: #1a1a2e;
    z-index: 5;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

#aboutModal .modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #ffffff; /* Белый текст */
}

#aboutModal .modal-title i {
    margin-right: 10px;
    color: var(--accent);
}

#aboutModal .modal-close {
    background: none;
    border: none;
    color: #999;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

#aboutModal .modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

#aboutModal .modal-body {
    padding: 25px;
}

/* Герой-блок */
#aboutModal .about-hero {
    text-align: center;
    margin-bottom: 25px;
}

#aboutModal .about-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

#aboutModal .about-icon i {
    font-size: 36px;
    color: white;
}

#aboutModal .about-hero h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff; /* Белый текст */
}

#aboutModal .about-subtitle {
    color: #aaa; /* Светло-серый */
    font-size: 15px;
    margin: 0;
}

/* Секции */
#aboutModal .about-section {
    margin-bottom: 25px;
}

#aboutModal .about-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #ffffff; /* Белый текст */
    display: flex;
    align-items: center;
    gap: 10px;
}

#aboutModal .about-section h4 i {
    font-size: 18px;
    color: var(--accent);
}

#aboutModal .about-section p {
    color: #ccc; /* Светло-серый */
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Сетка с направлениями */
#aboutModal .about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#aboutModal .about-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

#aboutModal .about-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

#aboutModal .about-item i {
    font-size: 22px;
    color: var(--accent);
}

#aboutModal .about-item span {
    font-size: 12px;
    color: #ccc;
    text-align: center;
}

/* Информационные блоки */
#aboutModal .about-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#aboutModal .about-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
}

#aboutModal .about-info-item i {
    color: var(--accent);
    font-size: 16px;
    width: 20px;
}

#aboutModal .about-info-item span {
    color: #ccc;
    font-size: 14px;
}

#aboutModal .about-info-item strong {
    color: #ffffff;
    font-size: 14px;
}

/* Кнопки */
#aboutModal .about-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

#aboutModal .btn-join {
    flex: 1;
    padding: 14px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
}

#aboutModal .btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

#aboutModal .btn-outline {
    flex: 1;
    padding: 14px;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
}

#aboutModal .btn-outline:hover {
    border-color: var(--accent);
    background: rgba(124, 58, 237, 0.15);
    color: #ffffff;
}

/* Адаптивность */
@media (max-width: 768px) {
    #aboutModal .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #aboutModal .about-actions {
        flex-direction: column;
    }
    
    #aboutModal .btn-join,
    #aboutModal .btn-outline {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    #aboutModal .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    #aboutModal .about-item {
        padding: 10px 5px;
    }
    
    #aboutModal .about-item i {
        font-size: 18px;
    }
    
    #aboutModal .about-item span {
        font-size: 11px;
    }
    
    #aboutModal .about-info-item {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .slider-section {
        min-height: 320px;
    }
    
    .slider {
        min-height: 320px;
    }
    
    .afisha-card {
        min-height: 320px;
    }
}

/* Телефоны (горизонтальная ориентация) */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Слайдер - первая строка */
    .slider-section {
        grid-column: 1;
        grid-row: 1;
        min-height: 280px;
        width: 100%;
    }
    
    .slider {
        min-height: 280px;
        width: 100%;
    }
    
    /* Афиша - вторая строка (под слайдером) */
    .afisha-card {
        grid-column: 1;
        grid-row: 2;
        min-height: auto;
        width: 100%;
    }
    
    /* Новости - третья строка */
    .news-card {
        grid-column: 1;
        grid-row: 3;
    }
    
    /* Кружки - четвертая строка */
    .clubs-card {
        grid-column: 1;
        grid-row: 4;
    }
}

/* Телефоны (вертикальная ориентация) */
@media (max-width: 576px) {
    .content-grid {
        gap: 15px;
        padding: 0 10px;
    }
    
    .slider-section {
        min-height: 220px;
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    
    .slider {
        min-height: 220px;
    }
    
    .slider-content h2 {
        font-size: 18px;
    }
    
    .slider-content p {
        font-size: 13px;
    }
    
    .slide-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .afisha-card {
        padding: 15px;
        min-height: auto;
    }
    
    .afisha-card .card-header h3 {
        font-size: 16px;
    }
    
    .event-item {
        padding: 10px;
        gap: 10px;
    }
    
    .event-date {
        min-width: 45px;
        padding: 6px 10px;
    }
    
    .event-date .day {
        font-size: 18px;
    }
    
    .event-date .month {
        font-size: 9px;
    }
    
    .event-info h4 {
        font-size: 13px;
    }
    
    .event-info p {
        font-size: 11px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
}

/* Очень маленькие телефоны */
@media (max-width: 400px) {
    .slider-section {
        min-height: 180px;
    }
    
    .slider {
        min-height: 180px;
    }
    
    .slider-content h2 {
        font-size: 16px;
    }
    
    .slider-content p {
        font-size: 12px;
    }
    
    .slide-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .afisha-card {
        padding: 12px;
    }
}

/* ===== АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ ===== */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        height: auto;
        flex-direction: row;
        padding: 8px 12px;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background: var(--bg-card);
        align-items: center;
        justify-content: center; /* Центрируем всё содержимое */
        gap: 4px;
    }
    
    .sidebar-logo {
        display: none;
    }
    
    .sidebar-nav {
        flex-direction: row;
        gap: 2px;
        flex: 0 1 auto; /* Не растягиваем */
        justify-content: center;
        align-items: center;
        margin: 0;
    }
    
    .sidebar-nav .nav-item {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        flex-direction: column;
        gap: 1px;
    }
    
    .sidebar-nav .nav-item i {
        font-size: 18px;
    }
    
    .sidebar-nav .nav-item .nav-label {
        font-size: 7px;
        opacity: 0.7;
        display: block;
    }
    
    .sidebar-nav .nav-item.active::before {
        display: none;
    }
    
    .sidebar-nav .nav-item.active::after {
        content: '';
        position: absolute;
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 16px;
        height: 2px;
        background: var(--accent-gradient);
        border-radius: 0 0 2px 2px;
    }
    
    .sidebar-bottom {
        flex-direction: row;
        gap: 4px;
        margin-top: 0;
        flex-shrink: 0;
        align-items: center;
    }
    
    .sidebar-bottom .nav-item {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        flex-direction: column;
        gap: 1px;
    }
    
    .sidebar-bottom .nav-item i {
        font-size: 16px;
    }
    
    .sidebar-bottom .nav-item .nav-label {
        font-size: 7px;
        display: block;
    }
    
    .sidebar-bottom .login-btn {
        background: var(--accent-gradient);
        color: white !important;
        padding: 6px 14px;
        width: auto;
        min-width: auto;
        flex-direction: row;
        gap: 6px;
        border-radius: 20px;
        height: 38px;
    }
    
    .sidebar-bottom .login-btn i {
        font-size: 14px;
    }
    
    .sidebar-bottom .login-btn .btn-text {
        font-size: 11px;
        font-weight: 600;
        display: inline-block;
    }
    
    .sidebar-bottom .login-btn .nav-label {
        display: none;
    }
    
    /* Отступ для контента снизу */
    .main-content,
    .content-grid,
    .admin-main {
        padding-bottom: 70px;
    }
}

/* ===== ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ТЕЛЕФОНОВ ===== */
@media (max-width: 480px) {
    .sidebar {
        padding: 6px 8px;
        gap: 2px;
    }
    
    .sidebar-nav {
        gap: 1px;
    }
    
    .sidebar-nav .nav-item {
        width: 38px;
        height: 38px;
    }
    
    .sidebar-nav .nav-item i {
        font-size: 15px;
    }
    
    .sidebar-nav .nav-item .nav-label {
        font-size: 6px;
        display: none; /* Скрываем подписи на очень маленьких экранах */
    }
    
    .sidebar-bottom .nav-item {
        width: 34px;
        height: 34px;
    }
    
    .sidebar-bottom .nav-item i {
        font-size: 14px;
    }
    
    .sidebar-bottom .nav-item .nav-label {
        display: none;
    }
    
    .sidebar-bottom .login-btn {
        padding: 4px 10px;
        height: 32px;
        border-radius: 16px;
    }
    
    .sidebar-bottom .login-btn i {
        font-size: 12px;
    }
    
    .sidebar-bottom .login-btn .btn-text {
        font-size: 10px;
    }
    
    .main-content,
    .content-grid,
    .admin-main {
        padding-bottom: 60px;
    }
}

/* Добавьте в ваш CSS файл */
.filter-group select,
.filter-group input,
.filter-group select option {
    color: #333 !important; /* Черный цвет для текста */
    background-color: #fff !important; /* Белый фон */
}

.filter-group select:focus,
.filter-group input:focus {
    color: #333 !important;
    background-color: #fff !important;
}

/* Для темной темы - переопределяем */
.filter-group select option {
    background-color: #fff;
    color: #333;
}

.filter-group select optgroup {
    background-color: #fff;
    color: #333;
}

.report-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .report-filters {
            background: var(--bg-card);
            border-radius: var(--border-radius);
            padding: 24px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        
        .filter-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
        }
        
        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        
        .filter-group label {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
        }
        
        .filter-group input,
        .filter-group select {
            padding: 10px 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius-sm);
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
            font-size: 14px;
            transition: border-color 0.3s ease;
        }
        
        .filter-group input:focus,
        .filter-group select:focus {
            outline: none;
            border-color: var(--accent);
        }
        
        .filter-group input[type="date"] {
            color-scheme: dark;
        }
        
        .filter-actions {
            display: flex;
            gap: 12px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .btn-report {
            padding: 10px 24px;
            border: none;
            border-radius: var(--border-radius-sm);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }
        
        .btn-report-primary {
            background: var(--accent-gradient);
            color: white;
        }
        
        .btn-report-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
        }
        
        .btn-report-success {
            background: #10b981;
            color: white;
        }
        
        .btn-report-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
        }
        
        .btn-report-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
        }
        
        .btn-report-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .report-table-wrapper {
            background: var(--bg-card);
            border-radius: var(--border-radius);
            padding: 24px;
            overflow-x: auto;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        
        .report-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }
        
        .report-table th {
            background: rgba(124, 58, 237, 0.1);
            color: var(--text-primary);
            padding: 12px 16px;
            text-align: left;
            font-weight: 600;
            border-bottom: 2px solid var(--accent);
        }
        
        .report-table td {
            padding: 10px 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--text-secondary);
        }
        
        .report-table tr:hover td {
            background: rgba(255, 255, 255, 0.03);
        }
        
        .status-badge {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            display: inline-block;
        }
        
        .status-pending {
            background: #f59e0b20;
            color: #f59e0b;
        }
        
        .status-confirmed {
            background: #10b98120;
            color: #10b981;
        }
        
        .status-rejected {
            background: #ef444420;
            color: #ef4444;
        }
        
        .status-cancelled {
            background: #6b728020;
            color: #6b7280;
        }
        
        .report-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }
        
        .stat-card {
            background: var(--bg-card);
            border-radius: var(--border-radius);
            padding: 16px 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        
        .stat-card .stat-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-primary);
        }
        
        .stat-card .stat-label {
            font-size: 12px;
            color: var(--text-secondary);
            margin-top: 4px;
        }
        
        .stat-card .stat-value.pending { color: #f59e0b; }
        .stat-card .stat-value.confirmed { color: #10b981; }
        .stat-card .stat-value.rejected { color: #ef4444; }
        .stat-card .stat-value.total { color: var(--accent); }
        
        .alert {
            padding: 12px 20px;
            border-radius: var(--border-radius-sm);
            margin-bottom: 20px;
        }
        
        .alert-info {
            background: rgba(59, 130, 246, 0.1);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }
        
        .alert-success {
            background: rgba(16, 185, 129, 0.1);
            color: #34d399;
            border: 1px solid rgba(16, 185, 129, 0.2);
        }
        
        .alert-warning {
            background: rgba(245, 158, 11, 0.1);
            color: #fbbf24;
            border: 1px solid rgba(245, 158, 11, 0.2);
        }
        
        .text-center {
            text-align: center;
        }
        
        .text-muted {
            color: var(--text-secondary);
        }
        
        @media (max-width: 768px) {
            .filter-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .filter-actions {
                flex-direction: column;
            }
            
            .btn-report {
                width: 100%;
                justify-content: center;
            }
            
            .report-stats {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .filter-grid {
                grid-template-columns: 1fr;
            }
        }

        .profile-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 30px 20px;
        }
        
        /* ===== ОБЩИЙ СТИЛЬ ДЛЯ ВСЕХ БЛОКОВ ===== */
        .profile-block {
            background: var(--bg-card);
            border-radius: var(--border-radius);
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }
        
        .profile-block:hover {
            border-color: rgba(124, 58, 237, 0.3);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        }
        
        .profile-block-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0 0 20px 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .profile-block-title i {
            color: var(--accent);
        }
        
        /* ===== ЗАГОЛОВОК ПРОФИЛЯ ===== */
        .profile-header {
            display: flex;
            align-items: center;
            gap: 24px;
            margin-bottom: 24px;
            background: var(--bg-card);
            border-radius: var(--border-radius);
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .profile-header:hover {
            border-color: rgba(124, 58, 237, 0.3);
        }
        
        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--accent-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: white;
            flex-shrink: 0;
        }
        
        .profile-info h1 {
            margin: 0 0 4px 0;
            font-size: 24px;
            color: var(--text-primary);
        }
        
        .profile-info .role-badge {
            display: inline-block;
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            background: rgba(124, 58, 237, 0.15);
            color: var(--accent);
        }
        
        .profile-info .role-badge.admin {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
        }
        
        .profile-info .role-badge.developer {
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
        }
        
        .profile-actions {
            display: flex;
            gap: 12px;
            margin-top: 12px;
            flex-wrap: wrap;
        }
        
        /* ===== КНОПКИ ===== */
        .btn-profile {
            padding: 10px 24px;
            border: none;
            border-radius: var(--border-radius-sm);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }
        
        .btn-profile-primary {
            background: var(--accent-gradient);
            color: white;
        }
        
        .btn-profile-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
        }
        
        .btn-profile-outline {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .btn-profile-outline:hover {
            background: rgba(255, 255, 255, 0.05);
        }
        
        .btn-profile-danger {
            background: #ef4444;
            color: white;
        }
        
        .btn-profile-danger:hover {
            background: #dc2626;
        }
        
        .btn-profile-sm {
            padding: 6px 14px;
            font-size: 12px;
        }
        
        /* ===== СООБЩЕНИЯ ===== */
        .alert {
            padding: 12px 20px;
            border-radius: var(--border-radius-sm);
            margin-bottom: 20px;
        }
        
        .alert-success {
            background: rgba(16, 185, 129, 0.1);
            color: #34d399;
            border: 1px solid rgba(16, 185, 129, 0.2);
        }
        
        .alert-error {
            background: rgba(239, 68, 68, 0.1);
            color: #f87171;
            border: 1px solid rgba(239, 68, 68, 0.2);
        }
        
        /* ===== СЕТКА ПРОФИЛЯ ===== */
        .profile-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-bottom: 24px;
        }
        
        /* ===== ЗАЯВКИ ===== */
        .applications-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            background: rgb(30, 30, 30);
            border-radius: 25px;
        }
        
        .application-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: var(--border-radius-sm);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }
        
        .application-item:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(124, 58, 237, 0.3);
        }
        
        .application-info {
            flex: 1;
        }
        
        .application-info h4 {
            margin: 0 0 6px 0;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .application-info .event-details {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }
        
        .application-info .event-details i {
            margin-right: 4px;
            color: var(--accent);
        }
        
        .application-info .application-date {
            font-size: 12px;
            color: var(--text-secondary);
            opacity: 0.7;
        }
        
        .application-info .application-date i {
            margin-right: 4px;
        }
        
        .application-status {
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            flex-shrink: 0;
        }
        
        .application-status.pending {
            background: rgba(245, 158, 11, 0.15);
            color: #f59e0b;
        }
        
        .application-status.confirmed {
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
        }
        
        .application-status.canceled {
            background: rgba(107, 114, 128, 0.15);
            color: #6b7280;
        }
        
        .application-status.attended {
            background: rgba(59, 130, 246, 0.15);
            color: #3b82f6;
        }
        
        .application-actions {
            display: flex;
            gap: 8px;
            flex-shrink: 0;
        }
        
        .no-applications {
            text-align: center;
            padding: 30px 0;
            color: var(--text-secondary);
        }
        
        .no-applications i {
            font-size: 36px;
            opacity: 0.3;
            display: block;
            margin-bottom: 12px;
        }
        
        /* ===== МОДАЛЬНЫЕ ОКНА ===== */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background: var(--bg-card);
            border-radius: var(--border-radius);
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            animation: slideUp 0.3s ease;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: sticky;
            top: 0;
            background: var(--bg-card);
            z-index: 5;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
        }
        
        .modal-title {
            font-size: 20px;
            font-weight: 600;
            margin: 0;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .modal-title i {
            color: var(--accent);
        }
        
        .modal-close {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 22px;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 5px 10px;
            border-radius: 8px;
        }
        
        .modal-close:hover {
            color: var(--text-primary);
            background: rgba(255, 255, 255, 0.1);
        }
        
        .modal-body {
            padding: 24px;
        }
        
        .modal-body .form-group {
            margin-bottom: 16px;
        }
        
        .modal-body .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }
        
        .modal-body .form-group input {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius-sm);
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
            font-size: 14px;
            transition: border-color 0.3s ease;
            box-sizing: border-box;
        }
        
        .modal-body .form-group input:focus {
            outline: none;
            border-color: var(--accent);
        }
        
        .modal-footer {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .btn-modal {
            padding: 10px 24px;
            border: none;
            border-radius: var(--border-radius-sm);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
        }
        
        .btn-modal-primary {
            background: var(--accent-gradient);
            color: white;
        }
        
        .btn-modal-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
        }
        
        .btn-modal-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
        }
        
        .btn-modal-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
        }
        
        /* ===== АНИМАЦИИ ===== */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from {
                transform: translateY(30px) scale(0.95);
                opacity: 0;
            }
            to {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
        }
        
        /* ===== АДАПТИВНОСТЬ ===== */
        @media (max-width: 768px) {
            .profile-grid {
                grid-template-columns: 1fr;
            }
            
            .profile-header {
                flex-direction: column;
                text-align: center;
            }
            
            .application-item {
                flex-direction: column;
                text-align: center;
            }
            
            .application-actions {
                justify-content: center;
            }
            
            .modal-content {
                width: 95%;
            }
        }
        
        @media (max-width: 480px) {
            .profile-header {
                padding: 16px;
            }
            
            .profile-block {
                padding: 16px;
            }
            
            .application-item {
                padding: 12px 14px;
            }
            
            .application-info .event-details {
                gap: 8px;
                font-size: 12px;
                justify-content: center;
            }
        }

        .search-modal {
    max-width: 700px;
    width: 95%;
}

.search-modal .modal-body {
    padding: 24px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 4px 4px 4px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.search-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.search-icon {
    color: var(--text-secondary);
    font-size: 16px;
}

.search-input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: black;
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Результаты поиска */
.search-results {
    max-height: 500px;
    overflow-y: auto;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.search-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.search-placeholder i {
    font-size: 48px;
    opacity: 0.3;
    display: block;
    margin-bottom: 16px;
}

.search-placeholder p {
    font-size: 16px;
    margin: 0 0 8px 0;
}

.search-placeholder span {
    font-size: 13px;
    opacity: 0.7;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.search-result-icon.event {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent);
}

.search-result-icon.news {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.search-result-icon.club {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-content h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.search-result-content p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-content .result-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-result-content .result-meta i {
    margin-right: 4px;
}

.search-result-type {
    font-size: 11px;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
    flex-shrink: 0;
}

.search-result-type.event {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
}

.search-result-type.news {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.search-result-type.club {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.search-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.search-loading i {
    animation: spin 1s linear infinite;
    font-size: 32px;
}

.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.search-empty i {
    font-size: 48px;
    opacity: 0.3;
    display: block;
    margin-bottom: 16px;
}

.search-empty .highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Анимации */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .header {
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header-center {
        order: 3;
        flex: 1 1 100%;
        margin: 0;
        max-width: 100%;
    }
    
    .logo-text {
        display: none;
    }
    
    .search-modal {
        max-width: 100%;
        margin: 10px;
    }
    
    .search-wrapper {
        padding: 4px;
        border-radius: 30px;
    }
    
    .search-input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .search-result-item {
        padding: 12px 14px;
        gap: 12px;
    }
    
    .search-result-content h4 {
        font-size: 14px;
    }
    
    .search-result-content p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .search-result-type {
        display: none;
    }
    
    .search-result-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .search-btn span {
        display: none;
    }
    
    .search-input {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Стили для содержимого политики */
.policy-content {
    color: var(--text-primary);
    line-height: 1.6;
}

.policy-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.policy-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin: 20px 0 10px 0;
}

.policy-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 6px 0;
    padding-left: 16px;
}

.policy-content p:first-of-type {
    margin-top: 0;
}

/* Стили для модальных окон */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    max-width: 700px;
    width: 95%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    background: var(--bg-card);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    gap: 12px;
    background: var(--bg-card);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.btn-modal {
    padding: 10px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-modal-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        max-height: 90vh;
        margin: 10px;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 16px 20px;
    }
    
    .modal-footer {
        padding: 12px 20px;
    }
    
    .policy-content h3 {
        font-size: 18px;
    }
    
    .policy-content h4 {
        font-size: 15px;
    }
    
    .policy-content p {
        font-size: 13px;
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 17px;
    }
    
    .policy-content h3 {
        font-size: 16px;
    }
    
    .policy-content h4 {
        font-size: 14px;
    }
    
    .policy-content p {
        font-size: 12px;
    }
}