* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

body {
    min-height: 100vh;
    background: #0a0a0a;
    color: white;
}

.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.bg1 { background: radial-gradient(circle, #ff3b3b, transparent 60%); top: -100px; left: -100px; }
.bg2 { background: radial-gradient(circle, #ffcc00, transparent 60%); bottom: -120px; left: 20%; }
.bg3 { background: radial-gradient(circle, #00ffcc, transparent 60%); top: 20%; right: -120px; }
.bg4 { background: radial-gradient(circle, #0066ff, transparent 60%); bottom: -100px; right: 10%; }
.bg5 { background: radial-gradient(circle, #cc00ff, transparent 60%); top: 10%; left: 40%; }

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.page-title {
    font-size: 48px;
    margin-bottom: 30px;
    letter-spacing: -1px;
    text-align: center;
}

.search-container {
    text-align: center;
    margin-bottom: 50px;
}

#searchInput {
    width: 100%;
    max-width: 500px;
    padding: 16px 25px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 20, 0.6);
    color: white;
    font-size: 16px;
    backdrop-filter: blur(10px);
    outline: none;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: #00ffcc;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}

.category-section {
    margin-bottom: 60px;
}

.category-header {
    font-size: 28px;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.category-desc {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.card {
    position: relative;
    z-index: 1;
    background: rgba(20, 20, 20, 0.85);
    padding: 30px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card h2 {
    font-size: 28px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

a.clickable-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

a.clickable-link:hover {
    color: #00ffcc;
}

.subdomain-list a.clickable-link:hover {
    text-decoration: underline;
}

.tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tag.tag-subdomains { background: rgba(0, 255, 204, 0.15); color: #00ffcc; }
.tag.tag-proxied { background: rgba(0, 102, 255, 0.15); color: #4db8ff; }
.tag.tag-empty { background: rgba(255, 255, 255, 0.08); color: #aaa; }

.domain-info {
    font-size: 16px;
    color: #aaa;
}

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

.subdomain-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
    color: #ccc;
}

.subdomain-list li:last-child {
    border-bottom: none;
}

.proxy-note {
    color: #4db8ff;
    font-style: italic;
    font-size: 14px;
}

.skeleton { animation: pulse 1.5s infinite ease-in-out; }
.skel-block { background: rgba(255, 255, 255, 0.08); border-radius: 8px; }
.skel-title { width: 70%; height: 32px; margin-bottom: 15px; }
.skel-tag { width: 120px; height: 26px; border-radius: 999px; margin-bottom: 25px; }
.skel-line { width: 100%; height: 16px; margin-bottom: 10px; }
.skel-line:last-child { width: 60%; }

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}