/* SupremeBoard CSS Redesign (Estilo Disboard) */
:root {
    --disboard-bg: #292b38;
    --disboard-card: #363945;
    --disboard-purple: #5c00b3;
    --disboard-purple-light: #7b00eb;
    --disboard-text: #ffffff;
    --disboard-muted: #a0a0a0;
    --disboard-btn: #1f1f1f;
    --disboard-btn-hover: #000000;
}

.BumpHub-page-body {
    background-color: var(--disboard-bg);
    color: var(--disboard-text);
    font-family: 'Inter', sans-serif;
}

/* Hero Section - Clean Style with Texture */
#BumpHub-hero {
    background-color: #15161e;
    background-image: 
        linear-gradient(to bottom, rgba(21, 22, 30, 0) 0%, #09090b 100%),
        radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 28px 28px;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #1f1f24;
}

.board-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.board-hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.board-hero-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.search-bar-container {
    display: flex;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 50px;
    padding: 8px;
    width: 100%;
    max-width: 650px;
    margin: 0 auto 30px;
    transition: border-color 0.2s ease;
}

.search-bar-container:focus-within {
    border-color: #5865F2;
}

.search-bar-container input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 15px 25px;
    font-size: 1.1rem;
    color: #ffffff;
    outline: none;
}

.search-bar-container input::placeholder {
    color: #71717a;
}

.search-bar-container button {
    background: #5865F2;
    border: none;
    padding: 0 25px;
    border-radius: 40px;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar-container button:hover {
    background: #4752c4;
}

.hero-actions-info {
    font-size: 0.95rem;
    color: #a0a0a0;
    background: #18181b;
    padding: 12px 25px;
    border-radius: 20px;
    border: 1px solid #27272a;
    display: inline-block;
    max-width: 800px;
    line-height: 1.6;
}

.hero-actions-info a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.hero-actions-info a:hover {
    color: #5865F2;
}

.hero-actions-info code {
    background: #27272a;
    color: #5865F2;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
}

/* Tags Section */
#BumpHub-tags {
    background-color: var(--disboard-bg);
    padding: 40px 20px;
}

.board-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-tag {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.2s;
}

.filter-tag:hover, .filter-tag.active {
    text-decoration: underline;
    color: #00e5ff;
}

/* Grid & Cards */
#BumpHub-list {
    background-color: var(--disboard-bg);
    padding: 20px 20px 80px;
    max-width: 1440px;
    margin: 0 auto;
}

.list-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}

.server-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.server-card:hover {
    transform: translateY(-4px);
    border-color: #3f3f46;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.server-avatar-wrapper {
    margin: 0;
}

.server-avatar-wrapper img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid #27272a;
    object-fit: cover;
    background: #27272a;
}

.card-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.card-rating {
    color: #F1C40F;
    font-size: 0.85rem;
    font-weight: bold;
    background: rgba(0,0,0,0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

.card-rating span {
    color: #a1a1aa;
    font-weight: normal;
    font-size: 0.75rem;
    margin-left: 4px;
}

.server-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.online-dot {
    width: 12px;
    height: 12px;
    background-color: #23a559;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px #18181b;
}

.server-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.card-badge {
    background: #27272a;
    color: #d4d4d8;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-desc {
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.server-members-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.member-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a1a1aa;
}

.member-stat.online {
    color: #e4e4e7;
}

.online-dot-small {
    width: 8px;
    height: 8px;
    background-color: #23a559;
    border-radius: 50%;
    display: inline-block;
}

.card-footer {
    display: flex;
    justify-content: stretch;
    width: 100%;
}

.join-btn {
    background: #5865F2;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.join-btn:hover {
    background: #4752c4;
}

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: var(--disboard-muted);
    font-size: 1.2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    background: transparent;
    border: 1px solid var(--disboard-muted);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover, .page-btn.active {
    background: white;
    color: black;
    border-color: white;
}
