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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #1a1d23;
    color: #e0e0e0;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
    position: relative;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #999;
}

.clickable-photo {
    cursor: pointer;
    transition: opacity 0.3s;
}

.clickable-photo:hover {
    opacity: 0.8;
}

.page-section {
    display: none;
    min-height: calc(100vh - 50px);
}

.page-section.active {
    display: block;
}

#menuSection.active {
    display: block;
}

#vipSection.active,
#aboutSection.active,
#faqSection.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #2c3037;
    border-bottom: 1px solid #3a3d44;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 100;
}

.menu-btn {
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.header h1 {
    font-size: 16px;
    font-weight: normal;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register {
    padding: 6px 16px;
    border: 1px solid #3a3d44;
    background: transparent;
    color: #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover, .btn-register:hover {
    background: #3a3d44;
}

.sidebar {
    width: 220px;
    background: #252830;
    border-right: 1px solid #3a3d44;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 50px;
    bottom: 0;
    z-index: 90;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.sidebar.collapsed {
    transform: translateX(-220px);
}

.sidebar nav {
    flex: 1;
    overflow-y: auto;
    padding-top: 20px;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav li {
    padding: 12px 20px;
    border-bottom: 1px solid #2c3037;
}

.sidebar nav a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.sidebar nav a:hover {
    color: #e0e0e0;
}

.sidebar-buttons {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.buttons-row {
    display: flex;
    gap: 10px;
}

.sidebar-buttons a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-tg {
    border-color: #29b6d3;
    color: #29b6d3;
}

.btn-tox {
    border-color: #ff6b35;
    color: #ff6b35;
}

.btn-exploit {
    border-color: #6b5b95;
    color: #6b5b95;
}

.sidebar-buttons a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.main-content {
    margin-left: 220px;
    padding-top: 50px;
    overflow-y: auto;
    width: calc(100% - 220px);
    height: 100vh;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.main-content.expanded {
    margin-left: 0;
    width: 100%;
}

.breadcrumb {
    background: #2c3037;
    padding: 15px 30px;
    border-bottom: 1px solid #3a3d44;
    font-size: 14px;
}

.databases-section {
    padding: 20px 30px;
}

.databases-section h2 {
    background: #3a4049;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-input,
.search-input,
.cookies-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    background: #2c3037;
    border: 1px solid #3a3d44;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 14px;
}

.filter-input::placeholder,
.search-input::placeholder,
.cookies-input::placeholder {
    color: #6a6a6a;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.table-container {
    background: #2c3037;
    border: 1px solid #3a3d44;
    border-radius: 4px;
    padding: 15px;
}

.table-controls {
    text-align: right;
    margin-bottom: 15px;
}

.show-label {
    font-size: 14px;
}

.show-label select {
    background: #1a1d23;
    color: #e0e0e0;
    border: 1px solid #3a3d44;
    padding: 4px 8px;
    margin-left: 5px;
}

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

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.data-table th {
    background: #3a4049;
    padding: 12px;
    text-align: left;
    font-weight: normal;
    font-size: 14px;
    border-bottom: 2px solid #4a4d54;
    white-space: nowrap;
}

.data-table th.sortable {
    cursor: pointer;
}

.data-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #3a3d44;
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: #363940;
}

.action-buttons {
    text-align: right;
    white-space: nowrap;
}

.btn-download,
.btn-contacts {
    padding: 6px 16px;
    margin-left: 8px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.btn-download {
    background: #27ae60;
    color: white;
}

.btn-contacts {
    background: #27ae60;
    color: white;
}

.btn-download:hover,
.btn-contacts:hover {
    background: #229954;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #2c3037;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid #3a3d44;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #e0e0e0;
    cursor: pointer;
}

.close:hover {
    color: #ff5555;
}

.modal h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal input {
    padding: 12px;
    background: #1a1d23;
    border: 1px solid #3a3d44;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 14px;
}

.modal input::placeholder {
    color: #6a6a6a;
}

.modal button[type="submit"] {
    padding: 12px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.modal button[type="submit"]:hover {
    background: #229954;
}

#authSwitch {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

#authSwitch a {
    color: #29b6d3;
    text-decoration: none;
}

#authSwitch a:hover {
    text-decoration: underline;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.btn-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.elegant-box {
    background: #2c3037;
    border: 1px solid #3a3d44;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.box-header {
    background: #3a4049;
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid #4a4d54;
}

.box-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.box-header h1 {
    font-size: 32px;
    font-weight: 300;
    color: #e0e0e0;
}

.box-content {
    padding: 40px;
}

.sidebar nav a.active {
    color: #ff6b35;
    position: relative;
}

.sidebar nav a.active::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #ff6b35;
}

.nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.vip-privileges {
    margin-bottom: 50px;
}

.vip-privileges h3 {
    color: #ff6b35;
    margin-bottom: 20px;
    font-size: 20px;
}

.privilege-list {
    list-style: none;
}

.privilege-list li {
    padding: 12px 0;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.privilege-icon {
    color: #ff6b35;
    font-size: 20px;
}

.vip-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.price-card {
    background: #1a1d23;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 1px solid #3a3d44;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border-color: #ff6b35;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.price-card h4 {
    color: #e0e0e0;
    margin-bottom: 15px;
    font-size: 18px;
}

.price {
    font-size: 48px;
    color: #4a7c30;
    font-weight: bold;
    margin-bottom: 5px;
}

.price-period {
    color: #a0a0a0;
    font-size: 14px;
}

.price-save {
    color: #ff6b35;
    margin-top: 10px;
    font-weight: bold;
}

.vip-cta {
    text-align: center;
}

.btn-upgrade {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-upgrade:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.cta-note {
    color: #a0a0a0;
    margin-top: 20px;
    font-size: 14px;
}

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-align: center;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: #1a1d23;
    border-radius: 8px;
    border: 1px solid #3a3d44;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 5px;
}

.stat-label {
    color: #a0a0a0;
    font-size: 14px;
}

.about-features h3 {
    color: #4a7c30;
    margin-bottom: 20px;
    font-size: 20px;
}

.about-features p {
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item {
    padding: 25px;
    background: #1a1d23;
    border-radius: 8px;
    border: 1px solid #3a3d44;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #4a7c30;
}

.faq-item h3 {
    color: #ff6b35;
    margin-bottom: 12px;
    font-size: 18px;
}

.faq-item p {
    color: #e0e0e0;
    line-height: 1.6;
}

.contacts-modal {
    max-width: 350px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}

.modal-buttons .buttons-row {
    display: flex;
    gap: 15px;
}

.modal-buttons a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.modal-buttons .btn-tg {
    border-color: #29b6d3;
    color: #29b6d3;
}

.modal-buttons .btn-tox {
    border-color: #ff6b35;
    color: #ff6b35;
}

.modal-buttons .btn-exploit {
    border-color: #6b5b95;
    color: #6b5b95;
}

.modal-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pagination {
    display: inline-block;
    margin-left: 20px;
}

.pagination button {
    padding: 5px 10px;
    margin: 0 2px;
    background: #2c3037;
    color: #e0e0e0;
    border: 1px solid #3a3d44;
    cursor: pointer;
    border-radius: 3px;
}

.pagination button.active {
    background: #ff6b35;
    border-color: #ff6b35;
}

.pagination button:hover:not(.active) {
    background: #3a4049;
}
