* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Audit repair layer: keep unapproved ad inventory hidden and surface evidence state. */
.ad-slot { display: none; }
.evidence-banner {
    margin: 1.5rem 0 2rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(45, 139, 87, 0.45);
    border-left: 5px solid #2d8b57;
    border-radius: 12px;
    background: rgba(45, 139, 87, 0.09);
}
.evidence-banner p { margin: .45rem 0 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f0f7f0;
}

.navbar {
    background-color: #1a5c2e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-logo h1 {
    font-size: 1.5rem;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: #e8f5e9;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #ffd700;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a5c2e 0%, #2e7d32 50%, #4caf50 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-primary { background-color: #ffd700; color: #1a5c2e; }
.btn-secondary { background-color: transparent; color: white; border: 2px solid white; }

.content-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.content-section h2 {
    color: #1a5c2e;
    margin-bottom: 1rem;
    border-bottom: 3px solid #4caf50;
    padding-bottom: 0.5rem;
}

.content-section h3 { color: #2e7d32; margin: 1rem 0 0.5rem 0; }
.content-section p { margin-bottom: 1rem; }
.content-section ul, .content-section ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.content-section li { margin-bottom: 0.5rem; }

.on-page {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.on-page h2 { color: #1a5c2e; margin-bottom: 1rem; }
.on-page ul { list-style: none; }
.on-page ul li { padding: 0.5rem 0; }
.on-page ul li a { color: #2e7d32; text-decoration: none; }
.on-page ul li a:hover { text-decoration: underline; }

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.step {
    background-color: #e8f5e9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.step h3 { color: #1a5c2e; margin-bottom: 0.5rem; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #e8f5e9;
    color: #1a5c2e;
    font-weight: bold;
}

tr:hover { background-color: #f1f8e9; }

.code-box {
    background-color: #e8f5e9;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #1a5c2e;
    display: inline-block;
    margin: 0.25rem 0;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.badge-active { background-color: #4caf50; color: white; }
.badge-expired { background-color: #e74c3c; color: white; }

.footer {
    background-color: #1a5c2e;
    color: #c8e6c9;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a { color: white; text-decoration: none; }
.footer-links a:hover { color: #ffd700; }

@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 1rem; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .hero h1 { font-size: 2rem; }
    .main-content { padding: 1rem; }
    table { font-size: 0.85rem; }
    th, td { padding: 0.5rem; }
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Game Image */
.game-image {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.game-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.breadcrumb a {
    color: #e94560;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

/* Updated date */
.updated {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}

/* On the Page */
.on-page {
    background: #16213e;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #e94560;
}

.on-page h2 {
    color: #e94560;
    margin-bottom: 1rem;
}

.on-page ul {
    list-style: none;
    padding: 0;
}

.on-page li {
    margin: 0.5rem 0;
}

.on-page a {
    color: #e0e0e0;
    text-decoration: none;
}

.on-page a:hover {
    color: #e94560;
}

/* TOP button */
.top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #e94560;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 100;
}

.top-btn:hover {
    background: #c73a50;
}

.match-board { margin: 2rem 0; }
.match-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.match-grid article { padding: 1rem; background: #fff; border-top: 5px solid #2e7d32; box-shadow: 0 8px 20px rgba(26,92,46,.1); }
.match-grid span { display: block; margin-bottom: .5rem; color: #1a5c2e; font-weight: 800; letter-spacing: .08em; }
.match-grid p { margin-bottom: 0; font-size: .94rem; }
@media (max-width: 800px) { .match-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .match-grid { grid-template-columns: 1fr; } }
