body {
    background-color: #000000;
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #000000;
}

/* Links */
a { text-decoration: none; }
a:link { color: #003399; }
a:visited { color: #003399; }
a:hover { text-decoration: underline; color: #CC0000; }
a:active { color: #FF0000; }

/* Layout Containers */
.main-container {
    background-color: #FFFFFF;
    width: 900px;
    margin: 0 auto;
    border: 1px solid #666666;
    border-top: none; /* Looks better if top connects to browser edge or stays as is */
    border-bottom: none;
    
    /* Ensure full height consistency */
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Force the main layout table to fill the remaining vertical space */
.main-container > table {
    flex: 1;
    height: 100%;
}

/* Header */
.top-nav-bar {
    background-color: #990000;
    /* A dark red backing for the bar itself */
    background-image: linear-gradient(to bottom, #990000, #660000);
    height: 30px;
    border-bottom: 2px solid #FFCC00;
    border-top: 1px solid #ff9999;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

/* Hyper-Realistic "Gel" Tabs for Navigation */
.top-nav-bar a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    padding: 0 15px;
    margin-right: 2px;
    line-height: 26px;
    height: 26px;
    display: inline-block;
    
    /* The "Plastic/Gel" Effect */
    background-color: #cc0000;
    background-image: linear-gradient(to bottom, 
        rgba(255,255,255,0.7) 0%, 
        rgba(255,255,255,0.2) 49%, 
        rgba(0,0,0,0.1) 50%, 
        rgba(0,0,0,0.2) 100%);
        
    border: 1px solid #660000;
    border-top: 1px solid #ffcccc; /* High highlight */
    border-left: 1px solid #cc6666;
    border-radius: 3px 3px 0 0; /* Rounded top tabs */
    
    text-shadow: 1px 1px 0px #330000; /* Deep engraved text look */
    box-shadow: inset 1px 1px 0px rgba(255,255,255,0.3);
}

.top-nav-bar a:hover {
    background-color: #ff0000;
    background-image: linear-gradient(to bottom, 
        rgba(255,255,255,0.8) 0%, 
        rgba(255,255,255,0.3) 49%, 
        rgba(0,0,0,0.05) 50%, 
        rgba(0,0,0,0.1) 100%);
    color: #FFFF00;
    text-shadow: 0 0 5px #FFFF00;
}

.top-nav-bar a:active {
    background-image: linear-gradient(to bottom, #990000, #cc0000);
    box-shadow: inset 0px 2px 4px #000000;
    padding-top: 1px; /* Physically move text down */
    border: 1px solid #330000;
}

/* Hyper-Realistic "Gel" Buttons */
button {
    background-color: #cc0000;
    background-image: linear-gradient(to bottom, 
        rgba(255,255,255,0.7) 0%, 
        rgba(255,255,255,0.2) 49%, 
        rgba(0,0,0,0.1) 50%, 
        rgba(0,0,0,0.2) 100%);
    
    border: 1px solid #660000;
    border-top: 1px solid #ffcccc;
    border-left: 1px solid #cc6666;
    border-radius: 4px;
    
    color: white;
    font-size: 10px;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    cursor: pointer;
    padding: 3px 12px;
    text-shadow: 1px 1px 0px #330000;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3), inset 1px 1px 0px rgba(255,255,255,0.3);
}

button:hover {
    background-color: #ff0000;
    background-image: linear-gradient(to bottom, 
        rgba(255,255,255,0.8) 0%, 
        rgba(255,255,255,0.3) 49%, 
        rgba(0,0,0,0.05) 50%, 
        rgba(0,0,0,0.1) 100%);
    box-shadow: 0 0 5px #ff0000, 1px 1px 2px rgba(0,0,0,0.3);
}

button:active {
    background-image: linear-gradient(to bottom, #990000, #cc0000);
    box-shadow: inset 0px 2px 4px #000000;
    transform: translate(1px, 1px);
    border: 1px solid #330000;
}


.brand-header {
    background-color: #e6e6e6; /* Light grey header area */
    background-image: linear-gradient(#f0f0f0, #d0d0d0);
    height: 60px;
    border-bottom: 1px solid #000000;
    position: relative;
    padding-left: 20px;
    /* Fiery Metallic Background */
    background: radial-gradient(circle at 50% -50%, #ffcc00, #ff6600, #cc0000);
    border-bottom: 2px solid #330000;
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.2);
}

/* Left Sidebar Styles (Profile Section) */
.left-col {
    background-color: #f0f0f0; 
    width: 220px; /* Wider for profile info */
    vertical-align: top;
    padding: 10px;
    border-right: 2px solid #999;
}

.profile-pic {
    width: 180px;
    height: 180px;
    background-color: #333;
    border: 4px solid #fff;
    outline: 1px solid #999;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    margin: 0 auto 15px auto;
    display: block;
    object-fit: cover;
}

/* Main Content (The Wall / Blog) */
.main-col {
    vertical-align: top;
    padding: 15px;
    background-color: #FFFFFF;
}

.status-bar {
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wall-post {
    margin-bottom: 20px;
    border: 1px solid #999;
    box-shadow: 2px 2px 0px #ccc;
}

.wall-header {
    /* Using the Red Gel theme for post headers */
    background-image: linear-gradient(to bottom, #cc0000, #990000);
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-bottom: 1px solid #330000;
    display: flex;
    justify-content: space-between;
}

.wall-content {
    background-color: #fff;
    padding: 15px;
    font-size: 11px;
    line-height: 1.4;
}

.friend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 5px;
}
.friend-avatar {
    width: 100%;
    height: 60px;
    background-color: #ccc;
    border: 1px solid #666;
}
.friend-name {
    font-size: 9px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

/* Reusing existing assets */
.nav-box {
    margin-bottom: 10px;
    background-color: #ffffff;
    /* 3D Bevel Border */
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-header {
    /* Red Gel Header */
    background-color: #cc0000;
    background-image: linear-gradient(to bottom, 
        rgba(255,255,255,0.6) 0%, 
        rgba(255,255,255,0.1) 49%, 
        rgba(0,0,0,0.1) 50%, 
        rgba(0,0,0,0.2) 100%);
    border: 1px solid #660000;
    border-top: 1px solid #ff9999;
    border-bottom: 1px solid #330000;
    
    color: white;
    font-weight: bold;
    padding: 4px 5px;
    font-size: 10px;
    text-shadow: 1px 1px 0 #330000;
}

.nav-list {
    padding: 5px;
    background-color: #ffe6e6; /* very light pinkish bg */
    border-top: 1px solid #808080; /* Inner shadow look */
}
.nav-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.nav-list li {
    padding-bottom: 2px;
    padding-left: 8px;
    background-image: url('data:image/gif;base64,R0lGODlhBAAEBAMAALIyMv///yH5BAEAAAEALAAAAAAEAAQAAAIGjI+pywoAOw=='); /* tiny bullet */
    background-repeat: no-repeat;
    background-position: 0 5px;
}
.nav-list a {
    color: #333333;
}

/* Center Content */
.center-col {
    vertical-align: top;
    padding: 10px;
    background-color: #FFFFFF;
}

.feature-story {
    border: 2px solid #000000; /* Thick industrial border */
    background-color: #000000;
    color: white;
    height: 200px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 2px 2px 5px #666;
}
.feature-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, black, rgba(0,0,0,0.8), transparent);
    padding: 10px 5px;
}
.feature-title {
    color: #FFCC00;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px orange;
}

.section-header-bar {
    /* Grey Metallic Bar */
    background-color: #666666;
    background-image: linear-gradient(to bottom, #999999, #333333);
    color: white;
    font-weight: bold;
    padding: 3px 5px;
    margin-top: 15px;
    margin-bottom: 5px;
    
    border: 1px solid #000000;
    border-top: 2px solid #cc0000; /* The "Red Alert" top line */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 1px 1px 0 black;
}

.game-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.game-thumb {
    width: 32%;
    border: 1px solid #999;
    background-color: #eee;
    padding: 2px;
    text-align: center;
    box-shadow: 1px 1px 3px #ccc;
}
.game-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    background-color: #333;
    border: 1px solid #666;
}
.platform-tag {
    /* Small Glossy Pill */
    background-color: #006600; /* Default Green */
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(0,0,0,0.1));
    border: 1px solid #003300;
    border-radius: 3px;
    
    color: white;
    font-size: 9px;
    padding: 2px 4px;
    display: block;
    margin-bottom: 2px;
    text-shadow: 0 1px 0 black;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Logo Styles */
.logo-text {
    font-family: Impact, sans-serif; 
    font-size: 36px; 
    margin: 0; 
    padding-top: 10px; 
    color: #ffffff;
    /* Metallic Text Gradient (Webkit only usually, but good fallback) */
    background: linear-gradient(to bottom, #ffffff 40%, #cccccc 50%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 0px #000000);
}

.logo-orb {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    
    /* The Yellow/Orange Orb */
    background: radial-gradient(circle at 30% 30%, #ffff99, #ffcc00, #ff6600, #cc0000);
    border: 2px solid #660000;
    box-shadow: 
        inset 2px 2px 3px rgba(255,255,255,0.8), /* Specular highlight */
        inset -2px -2px 3px rgba(0,0,0,0.3), /* Inner shadow */
        2px 2px 3px rgba(0,0,0,0.5); /* Drop shadow */
        
    color: #330000;
    font-family: Arial, sans-serif;
    font-weight: bold;
    -webkit-text-fill-color: #330000; /* Override the parent text gradient */
    vertical-align: middle;
    margin-right: 5px;
}

/* Right Sidebar */
.right-col {
    width: 160px;
    background-color: #dddddd;
    vertical-align: top;
    padding: 5px;
    border-left: 1px solid #cccccc;
}

.news-ticker {
    background-color: #ffffff;
    border: 1px solid #999999;
    padding: 5px;
    margin-bottom: 10px;
}
.news-item {
    border-bottom: 1px solid #eee;
    padding: 3px 0;
}
.news-icon {
    color: #cc0000;
    font-size: 9px;
    margin-right: 3px;
}

/* Utility */
.tiny-text { font-size: 9px; color: #666; }
h1, h2, h3 { margin: 0; padding: 0; }