/* Steam Group Page Style */
:root {
    --steam-dark: #171a21;
    --steam-darker: #1b2838;
    --steam-blue: #1b2838;
    --steam-blue-light: #2a475e;
    --steam-blue-bright: #66c0f4;
    --steam-text: #c7d5e0;
    --steam-text-dim: #8f98a0;
    --steam-border: #3d4450;
    --steam-hover: #417a9b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Motiva Sans", Arial, sans-serif;
    background: var(--steam-dark);
    color: var(--steam-text);
    font-size: 14px;
    line-height: 1.6;
}

/* Header */
.steam-header {
    background: linear-gradient(to bottom, #1b2838 0%, #1b2838 100%);
    border-bottom: 1px solid #000;
    padding: 0;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 104px;
    padding: 0 16px;
}

.steam-logo {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}

.steam-nav {
    margin-left: auto;
    display: flex;
    gap: 20px;
}

.steam-nav a {
    color: var(--steam-text);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    padding: 8px 12px;
}

.steam-nav a:hover {
    color: #fff;
}

/* Group Header */
.group-header {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4)),
                url('https://secupgrade.com/dashboard/uploads/69078fcc8a304.jpg') center/cover;
    border-bottom: 1px solid #000;
}

.group-header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 16px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.group-avatar {
    width: 184px;
    height: 184px;
    background: var(--steam-blue-light);
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    flex-shrink: 0;
}

.group-info {
    flex: 1;
}

.group-name {
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 300;
}

.group-subtitle {
    font-size: 16px;
    color: var(--steam-blue-bright);
    margin-bottom: 16px;
}

.group-stats {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.group-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
}

.stat-label {
    font-size: 11px;
    color: var(--steam-text-dim);
    text-transform: uppercase;
}

.group-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.steam-btn {
    padding: 10px 24px;
    background: linear-gradient(to bottom, #799905 5%, #536904 95%);
    border: none;
    color: #d2e885;
    font-size: 15px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    display: inline-block;
}

.steam-btn:hover {
    background: linear-gradient(to bottom, #8ab806 5%, #5f7804 95%);
}

.steam-btn-blue {
    background: linear-gradient(to bottom, #4c6b22 5%, #3b5a1c 95%);
    color: #a4d007;
}

/* Main Layout */
.steam-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    padding: 16px;
}

/* Sidebar */
.steam-sidebar {
    width: 308px;
    flex-shrink: 0;
}

.sidebar-section {
    background: var(--steam-darker);
    margin-bottom: 16px;
    border: 1px solid #000;
}

.sidebar-header {
    background: linear-gradient(to bottom, #3d5a80 0%, #2d4a65 100%);
    padding: 8px 12px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.sidebar-content {
    padding: 12px;
}

.sidebar-link {
    display: block;
    padding: 8px;
    color: var(--steam-blue-bright);
    text-decoration: none;
    margin-bottom: 4px;
}

.sidebar-link:hover {
    background: var(--steam-blue-light);
    color: #fff;
}

.sidebar-link.active {
    background: var(--steam-blue-light);
    color: #fff;
}

/* Main Content */
.steam-main {
    flex: 1;
    min-width: 0;
}

/* Tabs */
.steam-tabs {
    display: flex;
    gap: 0;
    background: var(--steam-darker);
    border: 1px solid #000;
    border-bottom: none;
}

.steam-tab {
    padding: 12px 24px;
    background: #2d3d52;
    color: var(--steam-text);
    border-right: 1px solid #000;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
}

.steam-tab:hover {
    background: var(--steam-blue-light);
    color: #fff;
}

.steam-tab.active {
    background: var(--steam-darker);
    color: #fff;
}

/* Content Sections */
.content-section {
    background: var(--steam-darker);
    border: 1px solid #000;
    padding: 16px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--steam-border);
}

/* Announcements */
.announcement {
    padding: 12px;
    margin-bottom: 12px;
    background: rgba(0,0,0,0.2);
    border-left: 3px solid var(--steam-blue-bright);
}

.announcement-title {
    color: var(--steam-blue-bright);
    font-size: 15px;
    margin-bottom: 4px;
}

.announcement-meta {
    font-size: 11px;
    color: var(--steam-text-dim);
    margin-bottom: 8px;
}

.announcement-body {
    color: var(--steam-text);
    line-height: 1.5;
}

/* Forum Threads */
.forum-thread {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid var(--steam-border);
    align-items: center;
    gap: 12px;
}

.forum-thread:hover {
    background: rgba(102, 192, 244, 0.1);
}

.thread-icon {
    font-size: 24px;
}

.thread-content {
    flex: 1;
}

.thread-title {
    color: var(--steam-blue-bright);
    font-size: 14px;
    margin-bottom: 4px;
    text-decoration: none;
}

.thread-title:hover {
    color: #fff;
}

.thread-meta {
    font-size: 11px;
    color: var(--steam-text-dim);
}

.thread-stats {
    text-align: right;
    font-size: 11px;
    color: var(--steam-text-dim);
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.member-card {
    background: rgba(0,0,0,0.3);
    padding: 12px;
    text-align: center;
    border: 1px solid var(--steam-border);
}

.member-avatar {
    width: 64px;
    height: 64px;
    background: var(--steam-blue-light);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.member-name {
    color: var(--steam-blue-bright);
    font-size: 13px;
}

/* Video Section */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 16px;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Controls Table */
.controls-table {
    width: 100%;
    border-collapse: collapse;
}

.controls-table th {
    background: rgba(0,0,0,0.3);
    padding: 8px;
    text-align: left;
    color: var(--steam-blue-bright);
    border-bottom: 1px solid var(--steam-border);
}

.controls-table td {
    padding: 8px;
    border-bottom: 1px solid var(--steam-border);
}

.controls-table kbd {
    background: #000;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid var(--steam-border);
    font-family: monospace;
    color: var(--steam-blue-bright);
}

/* Download Box */
.download-box {
    background: rgba(103, 193, 245, 0.1);
    border: 1px solid var(--steam-blue-bright);
    padding: 24px;
    text-align: center;
}

.download-box h2 {
    color: #fff;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 968px) {
    .steam-container {
        flex-direction: column;
    }
    .steam-sidebar {
        width: 100%;
    }
    .group-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
