:root {
    --bg-color: #0f172a;
    --card-bg: #1e1b2e;
    --accent-pink: #f472b6;
    --accent-purple: #c084fc;
    --accent-blue: #38bdf8;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --online-color: #22c55e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 850px;
    background: var(--card-bg);
    border: 1px solid rgba(244, 114, 182, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-title {
    color: var(--accent-pink);
    font-size: 1.2rem;
}

.lang-btn {
    background: rgba(244, 114, 182, 0.1);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 5px;
    transition: 0.3s;
}

.lang-btn:hover, .lang-btn.active {
    background: var(--accent-pink);
    color: #fff;
}

h1 {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 10px 0;
    font-size: 2.2rem;
}

.description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.owner-badge {
    display: inline-block;
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.3);
    color: var(--accent-purple);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-blue);
}

.stat-number.online {
    color: var(--online-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.members-section h3 {
    color: var(--accent-pink);
    margin-bottom: 15px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 10px;
}

.avatar-wrapper {
    position: relative;
    width: 35px;
    height: 35px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: var(--online-color);
    border-radius: 50%;
    border: 2px solid var(--card-bg);
}

.username {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-section {
    margin-top: 30px;
    text-align: right;
}

.gallery-section h3 {
    color: var(--accent-pink);
    margin-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 5px;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(244, 114, 182, 0.2);
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.03);
}

.gallery-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-card .img-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.join-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 0;
    border-radius: 12px;
    margin-top: 25px;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.join-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
