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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        .bg-pattern {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.1;
            background-image: 
                radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
                radial-gradient(circle at 80% 50%, white 1px, transparent 1px);
            background-size: 50px 50px;
            background-position: 0 0, 25px 25px;
            z-index: 0;
        }

        .container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 1;
        }

        /* Логотип и заголовок по центру экрана */
        .logo-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 40px 20px;
        }

        .logo {
            width: 100%;
            max-width: 500px;
            height: auto;
            margin: 0 0 30px 0;
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
            animation: fadeIn 1s ease-in;
        }

        .logo svg {
            width: 100%;
            height: auto;
            display: block;
        }

        .title {
            color: white;
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 10px;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.5s forwards;
            letter-spacing: 2px;
        }

        .subtitle {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.2rem;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.8s forwards;
            font-weight: 300;
        }

        /* Панель быстрого доступа для администратора */
        .admin-panel {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto 40px;
            padding: 30px 20px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            flex-shrink: 0;
        }

        .admin-panel-title {
            color: white;
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 20px;
            text-align: center;
        }

        .admin-services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 15px;
        }

        .admin-service-card {
            position: relative;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(5px);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            color: white;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.3);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .admin-service-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.3);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
        }

        .admin-service-card-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: inherit;
            flex: 1;
        }

        .admin-service-card-link:hover {
            color: inherit;
        }

        .admin-service-external {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.25);
            border-radius: 8px;
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.2s ease;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .admin-service-external:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: scale(1.1);
        }

        .admin-service-icon {
            font-size: 2.5rem;
            margin-bottom: 5px;
        }

        .admin-service-name {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .admin-service-url {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.7);
            word-break: break-all;
        }
        /* Зона загрузки файлов */
        .upload-section {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto 40px;
            padding: 40px 20px;
            flex-shrink: 0;
        }

        .upload-zone {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            border: 3px dashed rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
            margin-bottom: 30px;
        }

        .upload-zone.drag-over {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.6);
            transform: scale(1.02);
        }

        .upload-zone-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .upload-zone-text {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .upload-zone-hint {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        .file-input {
            display: none;
        }

        .upload-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            padding: 10px 25px;
            border-radius: 20px;
            font-size: 0.95rem;
            cursor: pointer;
            margin-top: 15px;
            transition: all 0.3s ease;
        }

        .upload-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .upload-progress-container {
            margin-top: 20px;
            display: none;
        }

        .upload-progress-container.active {
            display: block;
        }

        .file-upload-item {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 10px;
        }

        .file-upload-item:last-child {
            margin-bottom: 0;
        }

        .file-upload-name {
            color: white;
            font-size: 0.9rem;
            margin-bottom: 8px;
            word-break: break-all;
        }

        .file-upload-size {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.8rem;
            margin-bottom: 8px;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 8px;
        }

        .progress-fill {
            height: 100%;
            background: white;
            width: 0%;
            transition: width 0.3s ease;
        }

        .progress-text {
            color: white;
            font-size: 0.85rem;
            margin-bottom: 4px;
        }

        .progress-speed {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.75rem;
            margin-bottom: 4px;
        }

        .progress-time {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.7rem;
            margin-bottom: 4px;
        }

        .file-upload-status {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.8rem;
            margin-top: 5px;
        }

        .file-upload-status.success {
            color: #4ade80;
        }

        .file-upload-status.error {
            color: #f87171;
        }

        .upload-result {
            display: none;
            margin-top: 20px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
        }

        .upload-result.active {
            display: block;
        }

        .result-link {
            color: white;
            font-size: 1rem;
            word-break: break-all;
            margin-bottom: 10px;
        }

        .result-link a {
            color: #ffd700;
            text-decoration: none;
            font-weight: 600;
        }

        .result-link a:hover {
            text-decoration: underline;
        }

        .copy-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 6px 15px;
            border-radius: 12px;
            font-size: 0.85rem;
            cursor: pointer;
            margin-top: 8px;
        }

        .copy-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        /* Таблица файлов */
        .files-table {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 25px;
            margin-bottom: 30px;
        }

        .files-table h2 {
            color: white;
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 300;
        }

        .table-container {
            overflow-x: auto;
        }

        .files-table table {
            width: 100%;
            border-collapse: collapse;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
        }

        .files-table thead {
            background: rgba(255, 255, 255, 0.2);
        }

        .files-table th {
            color: white;
            padding: 12px;
            text-align: left;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .files-table td {
            color: rgba(255, 255, 255, 0.9);
            padding: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
        }

        .files-table tbody tr:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .file-name {
            font-weight: 600;
            max-width: 250px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .file-link {
            color: #ffd700;
            text-decoration: none;
            word-break: break-all;
        }

        .file-link:hover {
            text-decoration: underline;
        }

        .delete-btn {
            background: rgba(255, 0, 0, 0.3);
            color: white;
            border: 1px solid rgba(255, 0, 0, 0.5);
            padding: 4px 12px;
            border-radius: 8px;
            font-size: 0.8rem;
            cursor: pointer;
        }

        .delete-btn:hover {
            background: rgba(255, 0, 0, 0.5);
        }

        .empty-state {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            padding: 30px;
        }

        /* Статистика внизу - компактные карточки */
        .stats-section {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            flex-shrink: 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 0;
            animation: fadeInUp 1s ease-out 1s forwards;
        }

        .stat-card:nth-child(2) {
            animation-delay: 1.1s;
        }

        .stat-card:nth-child(3) {
            animation-delay: 1.2s;
        }

        .stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.85rem;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 500;
        }

        .stat-value {
            color: white;
            font-size: 2rem;
            font-weight: 700;
            line-height: 1;
            font-variant-numeric: tabular-nums;
        }

        /* Таблица посетителей */
        .visitors-section {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            opacity: 0;
            animation: fadeInUp 1s ease-out 1.3s forwards;
        }

        .visitors-title {
            color: white;
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 300;
        }

        .visitors-table {
            width: 100%;
            border-collapse: collapse;
            overflow: hidden;
            border-radius: 10px;
        }

        .visitors-table thead {
            background: rgba(255, 255, 255, 0.2);
        }

        .visitors-table th {
            color: white;
            padding: 12px;
            text-align: left;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .visitors-table td {
            color: rgba(255, 255, 255, 0.9);
            padding: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
        }

        .visitors-table tbody tr {
            transition: background 0.2s;
        }

        .visitors-table tbody tr:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .flag {
            font-size: 1.3rem;
            margin-right: 8px;
            vertical-align: middle;
        }

        .country-info {
            display: flex;
            align-items: center;
        }

        .user-agent {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 250px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .time {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .loading {
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            padding: 20px;
        }

        .empty-state {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            padding: 30px;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

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

        /* Адаптивность */
        @media (max-width: 768px) {
            .logo {
                max-width: 80%;
            }

            .title {
                font-size: 2rem;
            }

            .subtitle {
                font-size: 1rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .stat-value {
                font-size: 1.8rem;
            }

            .visitors-table {
                font-size: 0.8rem;
            }

            .visitors-table th,
            .visitors-table td {
                padding: 8px;
            }

            .user-agent {
                max-width: 120px;
            }
        }
            