/* --- PUNCH DRUNK WONDERLAND: HD SLIM DESIGN (V4.7) --- */

:root {
    --primary-green: #2e7d32;
    --neon-green: #4caf50;
    --deep-black: #0a0a0a;
    --slate-gray: #1e1e1e;
    --glass-white: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(76, 175, 80, 0.3);
}

/* --- Global Reset & Background --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(circle at top, #1a1a1a 0%, #0a0a0a 100%);
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* --- Header & Branding --- */
header {
    position: relative;
    background-color: var(--deep-black);
    z-index: 100;
}

.banner-box {
    position: relative;
    height: 180px;
    background: #000;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: brightness(60%);
}

.logo-wrap {
    position: absolute;
    top: 15px;
    left: 40px;
    z-index: 1000;
}

.floating-shield {
    height: 280px;
    filter: drop-shadow(0px 15px 20px rgba(0,0,0,0.9));
}

/* --- Navigation --- */
nav {
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 2px solid var(--primary-green);
    padding: 4px 0;
    width: 100%;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    padding: 0 40px;
}

nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
}

nav a:hover, nav a.active {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

/* --- Main Layout (Left Sidebar) --- */
.page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
}

.ad-sidebar {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.main-content-area {
    flex: 1;
    min-width: 0; /* Prevents table bleed */
}

/* --- Article & Container Styling --- */
.main-article {
    background: var(--glass-white);
    padding: 30px 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
}

.article-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(to bottom, #ffffff 30%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.byline {
    color: var(--neon-green);
    text-transform: uppercase;
    font-size: 0.75rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 8px;
    margin-top: 10px;
    letter-spacing: 2px;
}

/* --- THE ORIGINAL SKEWED GLOWING H2 --- */
h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 45px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px; /* Creates the gap for the bar to sit in */
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: var(--neon-green);
    /* The core "skew" look */
    transform: skewX(-15deg);
    /* The original glow */
    box-shadow: 0 0 20px var(--neon-green), 0 0 10px rgba(76, 175, 80, 0.5);
    border-radius: 2px;
}

h3 {
    color: var(--neon-green);
    font-size: 1.2rem;
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
    margin-top: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- Rankings Table Styling --- */
.rankings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    font-size: 0.9rem;
}

.rankings-table th {
    background: rgba(46, 125, 50, 0.3);
    color: var(--neon-green);
    text-align: left;
    padding: 15px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-green);
}

.rankings-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.rankings-table tr:hover {
    background: rgba(255,255,255,0.02);
}

.player-name {
    font-weight: 800;
    color: #fff;
}

/* --- Ad Units --- */
.ad-unit {
    background: #111;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-placeholder {
    color: var(--primary-green);
    font-size: 0.75rem;
    text-align: center;
}

.ad-300-250 { width: 300px; height: 250px; }
.ad-300-600 { width: 300px; height: 600px; }
.ad-160-600 { width: 160px; height: 600px; }

/* --- Recent Archives --- */
.recent-archives {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.archive-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border: 1px solid #222;
    border-radius: 8px;
}

.archive-card a {
    color: #eee;
    text-decoration: none;
    font-weight: bold;
}

/* --- Centered Footer --- */
footer {
    width: 100%;
    border-top: 1px solid var(--glass-white);
    padding: 60px 20px;
    background: #050505;
    text-align: center;
    clear: both;
}

footer p {
    margin: 0;
    color: #555;
    font-size: 0.85rem;
}

/* --- Mobile Styling --- */
@media (max-width: 1100px) {
    .page-wrapper { flex-direction: column; }
    .ad-sidebar { width: 100%; order: 3; }
    .logo-wrap { position: relative; margin-top: -100px; left: 0; text-align: center; }
    .main-article { padding: 20px 15px; }
    .floating-shield { height: 180px; }
    .article-header h1 { font-size: 2rem; }
}