:root {
    --primary-bg: #0a0d14;
    --secondary-bg: #12151f;
    --card-bg: #1a1f2e;
    --accent-blue: #2e7eff;
    --accent-blue-dark: #1c5cc7;
    --text-primary: #ffffff;
    --text-secondary: #b3c1e6;
    --border-color: #2a3347;
    --hover-bg: #2a344f;
    --gradient-blue: linear-gradient(135deg, #2e7eff, #164ea3);
    --shadow-color: rgba(0, 10, 50, 0.35);
    --tag-live: #d10000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--primary-bg);
    color: var(--text-primary);
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.site-header {
    background: var(--secondary-bg);
    text-align: center;
    padding: 2.5rem 1rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--accent-blue);
    box-shadow: 0 6px 25px var(--shadow-color);
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-right: 0.5rem;
}

.site-header h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
}

.hub-text {
    color: var(--accent-blue);
    position: relative;
}

.hub-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    animation: expand 2s infinite alternate;
}

@keyframes expand {
    0% { width: 0; }
    100% { width: 100%; }
}

.xyz-text {
    font-size: 0.8em;
    opacity: 0.9;
    font-weight: 600;
}

.site-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.site-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.categories-grid {
    columns: 4;
    column-gap: 12px;
    column-fill: balance;
    margin-bottom: 2.5rem;
}

.category-box {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    break-inside: avoid;
    margin-bottom: 12px;
    display: inline-block;
    width: 100%;
    max-height: 700px;
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.tube-sites { border-color: #e74c3c; }
.cam-sites { border-color: #3498db; }
.lesbian-sites { border-color: #e91e63; }
.latina-sites { border-color: #ff5722; }
.teen-sites { border-color: #9c27b0; }
.hentai-sites { border-color: #673ab7; }
.taboo-sites { border-color: #8e44ad; }
.gay-sites { border-color: #e67e22; }
.tiktok-sites { border-color: #ff6b35; }
.anal-sites { border-color: #ff9800; }
.indian-sites { border-color: #ff9800; }
.arab-sites { border-color: #795548; }
.shemale-sites { border-color: #e91e63; }
.japanese-sites { border-color: #f44336; }
.vr-sites { border-color: #9b59b6; }
.premium-sites { border-color: #f39c12; }
.directory-sites { border-color: #2c3e50; }

.category-header {
    padding: 15px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    transition: background 0.3s;
}

.tube-sites .category-header { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.cam-sites .category-header { background: linear-gradient(135deg, #3498db, #2980b9); }
.lesbian-sites .category-header { background: linear-gradient(135deg, #e91e63, #c2185b); }
.latina-sites .category-header { background: linear-gradient(135deg, #ff5722, #e64a19); }
.teen-sites .category-header { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
.hentai-sites .category-header { background: linear-gradient(135deg, #673ab7, #512da8); }
.taboo-sites .category-header { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.gay-sites .category-header { background: linear-gradient(135deg, #e67e22, #d35400); }
.tiktok-sites .category-header { background: linear-gradient(135deg, #ff6b35, #ff5722); }
.anal-sites .category-header { background: linear-gradient(135deg, #ff9800, #f57c00); }
.indian-sites .category-header { background: linear-gradient(135deg, #ff9800, #f57c00); }
.arab-sites .category-header { background: linear-gradient(135deg, #795548, #5d4037); }
.shemale-sites .category-header { background: linear-gradient(135deg, #e91e63, #c2185b); }
.japanese-sites .category-header { background: linear-gradient(135deg, #f44336, #d32f2f); }
.vr-sites .category-header { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.premium-sites .category-header { background: linear-gradient(135deg, #f39c12, #e67e22); }
.directory-sites .category-header { background: linear-gradient(135deg, #2c3e50, #34495e); }

.category-icon {
    font-size: 1.4rem;
}

.category-header h3 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.category-description {
    padding: 15px 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    line-height: 1.4;
}

.site-list {
    list-style: none;
    padding: 15px 20px 20px 20px;
    background: var(--card-bg);
    margin: 0;
    min-height: auto;
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
}

.site-list::-webkit-scrollbar {
    width: 6px;
}

.site-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.site-list::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

.site-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue-dark);
}

.site-list {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) rgba(255, 255, 255, 0.1);
}

.site-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    min-height: 32px;
    gap: 8px;
}

.site-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 10px;
    cursor: pointer;
}

.site-list li:last-child {
    border-bottom: none;
    padding-bottom: 8px;
}

.site-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.site-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    flex: 1;
}

.site-list a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.site-list strong {
    font-weight: 600;
}

.tag {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    margin-left: auto;
}

.live-tag {
    background-color: var(--tag-live);
    color: #ffffff;
    animation: pulse-live 1.5s infinite;
    border: 1px solid #ffffff;
}

@keyframes pulse-live {
    0% { opacity: 1; }
    50% { opacity: 0.9; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.site-footer {
    background: var(--secondary-bg);
    text-align: center;
    padding: 2.5rem 1rem;
    margin-top: 3rem;
    border-top: 3px solid var(--accent-blue);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.site-footer h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.site-footer p {
    margin: 0.7rem 0;
    color: var(--text-secondary);
    width: 100%;
    padding: 0 10px;
    text-align: center;
}

.footer-nav {
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
}

.footer-nav a {
    color: var(--accent-blue);
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-box {
    animation: fadeInUp 0.6s ease forwards;
}

.category-box:nth-child(1) { animation-delay: 0.1s; }
.category-box:nth-child(2) { animation-delay: 0.2s; }
.category-box:nth-child(3) { animation-delay: 0.3s; }
.category-box:nth-child(4) { animation-delay: 0.4s; }
.category-box:nth-child(5) { animation-delay: 0.5s; }
.category-box:nth-child(6) { animation-delay: 0.6s; }
.category-box:nth-child(7) { animation-delay: 0.7s; }
.category-box:nth-child(8) { animation-delay: 0.8s; }

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue-dark);
}

@media (max-width: 1200px) {
    .categories-grid {
        columns: 3;
        column-gap: 10px;
    }
    
    .category-box {
        margin-bottom: 10px;
        max-height: 600px;
    }
    
    .site-list {
        max-height: 400px;
        padding: 12px 18px 18px 18px;
    }
    
    .site-list li {
        padding: 7px 0;
        font-size: 0.82rem;
    }
    
    .site-content {
        padding: 0 15px;
    }
}

@media (max-width: 900px) {
    .categories-grid {
        columns: 2;
        column-gap: 8px;
    }
    
    .category-box {
        margin-bottom: 8px;
        max-height: 500px;
    }
    
    .site-list {
        max-height: 350px;
        padding: 10px 15px 15px 15px;
    }
    
    .site-list li {
        padding: 6px 0;
        font-size: 0.8rem;
        min-height: 30px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 2rem 1rem;
    }
    
    .site-header h1 {
        font-size: 2.4rem;
    }
    
    .category-header {
        padding: 1.4rem;
    }
    
    .category-header h3 {
        font-size: 0.8rem;
    }
    
    .category-description {
        padding: 12px 15px;
        font-size: 0.75rem;
    }
    
    .categories-grid {
        columns: 2;
        column-gap: 8px;
    }
    
    .category-box {
        margin-bottom: 8px;
        max-height: 400px;
    }
    
    .site-list {
        max-height: 280px;
        padding: 10px 15px 15px 15px;
    }
    
    .site-list li {
        padding: 6px 0;
        font-size: 0.8rem;
        min-height: 28px;
    }
    
    .site-list::-webkit-scrollbar {
        width: 4px;
    }
    
    .site-content {
        padding: 0 12px;
    }
}

@media (max-width: 600px) {
    .site-header h1 {
        font-size: 2.2rem;
    }
    
    .site-header p {
        font-size: 1rem;
    }
    
    .category-header h3 {
        font-size: 0.75rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-nav a {
        margin: 0;
        width: auto;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 1.8rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .site-header h1 {
        font-size: 1.9rem;
    }
    
    .category-header {
        padding: 1.2rem 1rem;
    }
    
    .category-header h3 {
        font-size: 0.7rem;
    }
    
    .category-description {
        font-size: 0.7rem;
        padding: 10px 12px;
    }
    
    .categories-grid {
        columns: 1;
        column-gap: 0;
    }
    
    .category-box {
        margin-bottom: 8px;
        max-height: 350px;
    }
    
    .site-list {
        max-height: 220px;
        padding: 8px 12px 12px 12px;
    }
    
    .site-list li {
        padding: 5px 0;
        font-size: 0.78rem;
        min-height: 26px;
    }
    
    .site-list::-webkit-scrollbar {
        width: 3px;
    }
    
    .site-content {
        padding: 0 10px;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 3px 7px;
    }
}

@media (max-width: 320px) {
    .category-box {
        max-height: 300px;
    }
    
    .site-list {
        max-height: 180px;
        padding: 6px 10px 10px 10px;
    }
    
    .site-list li {
        padding: 4px 0;
        font-size: 0.75rem;
        min-height: 24px;
    }
}

@media (hover: none) {
    .category-box:hover {
        transform: none;
    }
    
    .site-list li:hover {
        transform: none;
    }
    
    .site-list a:hover {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .site-list a:active {
        background: var(--hover-bg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hub-text::after,
    .live-tag {
        animation: none;
    }
    
    .category-box,
    .site-list li,
    .site-list a {
        transition: none;
    }
}