        :root {
            --primary: #1a365d;
            --secondary: #2c5282;
            --accent: #4299e1;
            --light: #ebf8ff;
            --dark: #2d3748;
            --gray: #718096;
            --light-gray: #e2e8f0;
            --border-radius: 8px;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --transition: all 0.3s ease;
        }

        /* Темная тема */
        [data-theme="dark"] {
            --primary: #2b6cb0;
            --secondary: #4299e1;
            --accent: #63b3ed;
            --light: #1a202c;
            --dark: #f7fafc;
            --gray: #a0aec0;
            --light-gray: #2d3748;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: var(--light);
            padding: 0;
            margin: 0;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header {
            background-color: var(--primary);
            color: white;
            padding: 20px 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
            transition: background-color 0.3s ease;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: white;
            text-decoration: none;
        }

        h1, h2, h3 {
            color: var(--primary);
            margin-bottom: 20px;
            transition: color 0.3s ease;
        }

        h1 {
            font-size: 28px;
            border-bottom: 2px solid var(--light-gray);
            padding-bottom: 10px;
        }

        h2 {
            font-size: 24px;
            margin-top: 40px;
            background-color: var(--light-gray);
            padding: 10px 15px;
            border-radius: var(--border-radius);
        }

        h3 {
            font-size: 20px;
            margin-top: 25px;
        }

        a {
            color: var(--accent);
            text-decoration: none;
            transition: var(--transition);
        }

        a:hover {
            color: var(--primary);
            text-decoration: underline;
        }

        .card {
            background-color: var(--dark);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 20px;
            margin-bottom: 20px;
            transition: var(--transition);
            color: var(--light);
        }

        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .card-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--light);
            margin: 0;
        }

        .btn {
            display: inline-block;
            background-color: var(--accent);
            color: white;
            padding: 8px 16px;
            border-radius: var(--border-radius);
            font-weight: 500;
            transition: var(--transition);
            text-decoration: none;
            border: none;
            cursor: pointer;
            font-size: 14px;
        }

        .btn:hover {
            background-color: var(--secondary);
            text-decoration: none;
            transform: translateY(-2px);
        }

        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--accent);
            color: var(--accent);
        }

        .btn-outline:hover {
            background-color: var(--accent);
            color: white;
        }

        .btn-large {
            padding: 12px 24px;
            font-size: 16px;
        }

        .tag {
            display: inline-block;
            background-color: var(--light-gray);
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
            color: var(--dark);
            margin-right: 8px;
        }

        .tag-warning {
            background-color: #fffaf0;
            color: #c05621;
        }

        .tag-success {
            background-color: #f0fff4;
            color: #2f855a;
        }

        .tag-danger {
            background-color: #fff5f5;
            color: #c53030;
        }

        details {
            margin-bottom: 15px;
        }

		/* Первый стиль (базовый) */
		summary {
			font-weight: 600;
			cursor: pointer;
			padding: 10px;
			background-color: var(--light-gray);
			border-radius: var(--border-radius);
			transition: var(--transition);
			color: var(--dark);
		}

		/* Второй стиль (специфичный, переопределяет ненужные свойства) */
		.special-summary {
			cursor: pointer;
			font-weight: 600;
			color: var(--primary);
			padding: 8px 0;
			background: none; /* Убирает фон */
			border-radius: 0; /* Убирает скругление углов */
		}

        summary:hover {
            background-color: var(--accent);
            color: white;
        }

        summary::-webkit-details-marker {
            color: var(--accent);
        }

        details[open] summary {
            margin-bottom: 10px;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        .notice {
            background-color: rgba(66, 153, 225, 0.1);
            border-left: 4px solid var(--accent);
            padding: 15px;
            margin: 20px 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }

        .notice-warning {
            background-color: rgba(245, 158, 11, 0.1);
            border-left-color: #ed8936;
        }

        .notice-success {
            background-color: rgba(72, 187, 120, 0.1);
            border-left-color: #48bb78;
        }

        .notice-danger {
            background-color: rgba(245, 101, 101, 0.1);
            border-left-color: #f56565;
        }

        .platform-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .next-section {
            text-align: center;
            margin: 40px 0;
            padding: 30px;
            background-color: var(--dark);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            color: var(--light);
        }

        footer {
            background-color: var(--primary);
            color: white;
            padding: 30px 0;
            text-align: center;
            margin-top: 50px;
        }

        /* Кнопка переключения темы */
        .theme-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--accent);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            transform: scale(1.1);
            background-color: var(--secondary);
        }

        /* Стили для отображения IP */
        .ip-info {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #a0aec0;
        }

        .ip-info span {
            display: flex;
            align-items: center;
        }

        .ip-info .flag {
            margin-right: 5px;
            width: 16px;
            height: 12px;
            border: 1px solid rgba(0,0,0,0.1);
        }

		.ip-retry-btn {
			margin-left: 8px;
			padding: 2px 8px;
			font-size: 12px;
			background-color: var(--accent);
			color: white;
			border: none;
			border-radius: 4px;
			cursor: pointer;
			transition: all 0.2s ease;
		}
		
		.ip-retry-btn:hover {
			opacity: 0.9;
			transform: translateY(-1px);
		}

        @media (max-width: 768px) {
            .platform-grid {
                grid-template-columns: 1fr;
            }
            
            .header-content {
                flex-direction: column;
                text-align: center;
            }
            
            .logo {
                margin-bottom: 15px;
            }

            .ip-info {
                margin-top: 10px;
                justify-content: center;
            }
        }
		
		/* Стили для состояний кнопки */
		a.download-link.loading {
			position: relative;
			opacity: 0.7;
		}
		
		a.download-link.loading::after {
			content: '';
			display: inline-block;
			width: 12px;
			height: 12px;
			margin-left: 8px;
			border: 2px solid rgba(255,255,255,0.3);
			border-radius: 50%;
			border-top-color: white;
			animation: spin 1s linear infinite;
		}
		
		a.download-link.error {
			background-color: #f56565 !important;
			border-color: #f56565 !important;
		}
		
		@keyframes spin {
			to { transform: rotate(360deg); }
		}
		
        /* Основные стили для выпадающего списка */
        .ai-selector {
            margin: 30px 0;
            max-width: 600px;
        }
        .ai-selector select {
            width: 100%;
            padding: 12px;
            border-radius: 6px;
            border: 1px solid #ddd;
            background-color: #f9f9f9;
            font-size: 16px;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 20px;
        }
        .ai-selector select:focus {
            outline: none;
            border-color: #1a365d;
            box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.2);
        }
        .ai-option {
            display: flex;
            align-items: center;
            padding: 8px 12px;
        }
        .ai-option img {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            object-fit: contain;
        }
        .vpn-warning {
            color: #e53e3e;
            font-size: 14px;
            margin-top: 5px;
            display: flex;
            align-items: center;
        }
        .vpn-warning svg {
            margin-right: 5px;
        }
        .unavailable-icon {
            opacity: 0.5;
            filter: grayscale(100%);
        }
        .availability-status {
            margin-left: 5px;
            font-size: 0.9em;
        }
        .status-available {
            color: #38a169;
        }
        .status-unavailable {
            color: #e53e3e;
        }
        .status-checking {
            color: #a0aec0;
            font-style: italic;
        }
        .status-error {
            color: #dd6b20;
        }