@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root {
    --bg: #080b14;
    --card: #111827;
    --card2: #151e30;
    --border: #263247;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #38bdf8;
    --green: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, sans-serif;
    min-height: 100vh;
}

.header {
    height: 75px;
    padding: 0 7%;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0c1220;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 21px;
    font-weight: 800;
}

.logo-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #06111c;
    border-radius: 10px;
}

.accent {
    color: var(--accent);
}

.header-right {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

.hero {
    padding: 85px 20px 55px;
    text-align: center;
    background: radial-gradient( ellipse at center top, rgba(14, 165, 233, 0.13), transparent 65%);
}

.hero-tag,
.small-label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(35px, 6vw, 58px);
    margin: 20px 0;
    font-weight: 800;
}

.hero p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 65px;
    margin-top: 45px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat strong {
    font-size: 28px;
    color: var(--accent);
}

.stat span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.notice {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 18px 22px;
    color: #bae6fd;
    font-size: 13px;
    margin: 15px 0 65px;
    line-height: 1.7;
}

.section {
    margin-bottom: 75px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-heading h2 {
    margin-top: 10px;
    font-size: 26px;
}

.section-count {
    color: var(--accent);
    font-size: 11px;
    background: rgba(56, 189, 248, 0.1);
    padding: 9px 14px;
    border-radius: 8px;
}

.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

input,
select {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    color: var(--text);
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

input {
    flex: 1;
    min-width: 0;
}

select {
    width: 200px;
}

input:focus,
select:focus {
    border-color: var(--accent);
}

.file-grid,
.text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.file-card,
.text-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    transition: 0.2s;
    min-width: 0;
}

.file-card:hover,
.text-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.file-icon {
    font-size: 31px;
    margin-bottom: 20px;
}

.file-card h3,
.text-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.file-card p,
.text-card p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.file-meta {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 10px;
}

.category {
    color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
    padding: 6px 9px;
    border-radius: 5px;
}

.action-button {
    display: block;
    text-align: center;
    text-decoration: none;
    border: none;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    background: var(--accent);
    color: #06111c;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}

.action-button:hover {
    background: #7dd3fc;
}

.copy-button {
    background: #1e293b;
    color: var(--text);
    border: 1px solid var(--border);
}

.copy-button:hover {
    background: #334155;
}

.empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: 12px;
}

footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--muted);
    font-size: 11px;
}

@media(max-width: 800px) {
    .file-grid,
    .text-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 550px) {
    .header {
        padding: 0 5%;
    }
    .container {
        width: 92%;
    }
    .hero {
        padding-top: 65px;
    }
    .hero-stats {
        gap: 35px;
    }
    .filters {
        flex-direction: column;
    }
    select {
        width: 100%;
    }
    .file-grid,
    .text-grid {
        grid-template-columns: 1fr;
    }
    .section-heading h2 {
        font-size: 22px;
    }
    footer {
        flex-direction: column;
    }
}