/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #0a0a0f;
    color: #f0f0f0;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-right: 20px;
}

.logo i {
    color: #6c63ff;
    margin-right: 10px;
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-links a i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: #6c63ff;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-official-site {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-official-site i {
    margin-right: 8px;
}

.btn-official-site:hover {
    background: rgba(108, 99, 255, 0.2);
    border-color: #6c63ff;
    transform: translateY(-3px);
}

.btn-telegram {
    background: linear-gradient(135deg, #6c63ff, #3a36db);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.btn-telegram i {
    margin-right: 8px;
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.btn-admin-panel {
    background: rgba(255, 255, 255, 0.1);
    color: #6c63ff;
    border: 1px solid rgba(108, 99, 255, 0.3);
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-admin-panel:hover {
    background: rgba(108, 99, 255, 0.2);
    transform: translateY(-3px);
}

/* Панель администратора */
.admin-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(108, 99, 255, 0.3);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    padding: 20px;
    overflow-y: auto;
}

.admin-panel.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-panel-header h3 {
    color: #6c63ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-admin-panel {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-admin-panel:hover {
    background: rgba(255, 50, 50, 0.2);
    color: #ff6b6b;
}

/* Форма входа */
.admin-login {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-login h4 {
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#adminPassword {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6c63ff, #3a36db);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.password-hint {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #ffc107;
    text-align: center;
}

/* Контент панели */
.admin-content {
    display: none;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card h4 {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6c63ff;
}

/* Фильтры и поиск */
.filter-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-select, .search-input {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}

.filter-select {
    flex: 1;
    max-width: 200px;
}

.search-input {
    flex: 2;
}

/* Список заявок */
.applications-list {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.applications-list h4 {
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.application-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.application-item:hover {
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateX(5px);
}

.app-nickname {
    font-weight: 600;
    color: #6c63ff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.app-telegram {
    color: #0088cc;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.status-new {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-accepted {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-rejected {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.no-applications {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-applications i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Детали заявки */
.application-details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.application-details h4 {
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-content {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    font-weight: 600;
    color: #6c63ff;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value {
    flex: 1;
    color: #ddd;
}

/* Ответ администратора */
.application-response {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.application-response h5 {
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#adminResponse {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 15px;
    resize: vertical;
}

.response-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-accept, .btn-reject, .btn-save-response, .btn-revert {
    flex: 1;
    min-width: 120px;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-accept {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3) !important;
}

.btn-accept:hover {
    background: rgba(46, 204, 113, 0.2);
    transform: translateY(-2px);
}

.btn-reject {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3) !important;
}

.btn-reject:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: translateY(-2px);
}

.btn-save-response {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3) !important;
}

.btn-save-response:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.btn-revert {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3) !important;
}

.btn-revert:hover {
    background: rgba(155, 89, 182, 0.2);
    transform: translateY(-2px);
}

/* Кнопки действий */
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-action {
    flex: 1;
    min-width: 140px;
    padding: 12px;
    background: rgba(108, 99, 255, 0.1);
    color: #6c63ff;
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-action:hover {
    background: rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
}

/* Герой-секция */
.hero {
    position: relative;
    padding-top: 150px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #6c63ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6c63ff, #3a36db);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #6c63ff;
    border: 2px solid #6c63ff;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

.btn-primary i, .btn-secondary i {
    margin-right: 10px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 300px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.admin-icon {
    font-size: 4rem;
    color: #6c63ff;
    margin-bottom: 20px;
}

.glass-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.glass-card p {
    color: #aaa;
    line-height: 1.5;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, rgba(108, 99, 255, 0) 70%);
    animation: float 20s infinite linear;
}

.circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -50px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.circle:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 30s;
}

/* Секция правил */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.section-title i {
    color: #6c63ff;
    margin-right: 15px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.rule-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, background 0.3s;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rule-card:hover {
    transform: translateY(-10px);
    background: rgba(108, 99, 255, 0.1);
    border-color: rgba(108, 99, 255, 0.3);
}

.rule-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rule-icon i {
    font-size: 1.8rem;
    color: #6c63ff;
}

.rule-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rule-card p {
    color: #aaa;
    line-height: 1.5;
}

/* Исправление для текста Конфиденциальность */
.confidentiality-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #bbb !important;
}

/* Секция заявки */
.application-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

.application-info {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.application-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #6c63ff;
}

.application-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.application-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.application-info li i {
    color: #6c63ff;
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.telegram-info {
    display: flex;
    align-items: center;
    background: rgba(0, 136, 204, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #0088cc;
}

.telegram-info i {
    font-size: 2rem;
    color: #0088cc;
    margin-right: 15px;
    flex-shrink: 0;
}

.telegram-info a {
    color: #6c63ff;
    text-decoration: none;
}

.telegram-info a:hover {
    text-decoration: underline;
}

.application-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #ddd;
}

.form-group label i {
    margin-right: 10px;
    color: #6c63ff;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #6c63ff;
    font-size: 0.85rem;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #6c63ff, #3a36db);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit i {
    margin-right: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

/* Секция "Мои заявки" */
.my-applications {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 40px auto;
    max-width: 1200px;
}

.track-application {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.track-application h3 {
    color: #6c63ff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.track-form {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

#trackCode {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
}

.btn-track {
    padding: 15px 30px;
    background: linear-gradient(135deg, #6c63ff, #3a36db);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-track:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

.track-hint {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 10px;
}

.applications-tracker {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tracker-content {
    margin-top: 20px;
}

.user-application-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.user-application-item:hover {
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateX(5px);
}

.user-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.user-app-nickname {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c63ff;
}

.user-app-date {
    color: #aaa;
    font-size: 0.9rem;
}

.user-app-details {
    margin-bottom: 15px;
}

.user-app-details p {
    margin-bottom: 8px;
    color: #ddd;
}

.user-app-response {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border-left: 4px solid;
}

.user-app-response.accepted {
    border-left-color: #2ecc71;
    background: rgba(46, 204, 113, 0.05);
}

.user-app-response.rejected {
    border-left-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.user-app-response.new {
    border-left-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

.response-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.response-message {
    color: #ddd;
    margin-bottom: 5px;
}

.response-date {
    color: #aaa;
    font-size: 0.85rem;
    text-align: right;
}

.no-tracker-applications {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-tracker-applications i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.status-explanation {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-explanation h4 {
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    min-width: 120px;
    text-align: center;
}

/* Футер */
.footer {
    background: rgba(5, 5, 10, 0.9);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo i {
    font-size: 2.5rem;
    color: #6c63ff;
    margin-bottom: 15px;
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
    max-width: 250px;
}

.footer-links, .footer-contacts {
    display: flex;
    flex-direction: column;
}

.footer-links h4, .footer-contacts h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links a, .contact-link {
    color: #aaa;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover, .contact-link:hover {
    color: #6c63ff;
}

.copyright {
    margin-top: 30px;
    color: #666;
    font-size: 0.9rem;
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
}

.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-header h3 {
    color: #6c63ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    padding: 25px;
    color: #ddd;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

.btn-confirm {
    padding: 10px 30px;
    background: linear-gradient(135deg, #6c63ff, #3a36db);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Анимации */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(20px) rotate(270deg);
    }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Адаптивность */
@media (max-width: 1100px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        justify-content: center;
        margin: 10px 0;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .header-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .application-wrapper {
        grid-template-columns: 1fr;
    }
    
    .admin-panel {
        width: 100%;
        right: -100%;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .response-actions {
        flex-direction: column;
    }
    
    .btn-accept, .btn-reject, .btn-save-response, .btn-revert {
        min-width: 100%;
    }
    
    .track-form {
        flex-direction: column;
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    .btn-action {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .status-list {
        grid-template-columns: 1fr;
    }
    
    .my-applications {
        padding: 40px 20px;
    }
}