/* GLOBAL */
body {
    margin: 0;
    background: #000000;
    color: #FFB347;
    font-family: Arial, sans-serif;
}

h1, h2, h3, h4 {
    margin: 0;
    color: #FFB347;
}

/* HEADER */
header {
    background: #000000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #FF7A00;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    margin-right: 15px;
}

nav a {
    color: #FFB347;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #FF7A00;
}

/* HERO */
.hero {
    background: linear-gradient(180deg, #1A1A1A, #000000);
    padding: 120px 40px;
    text-align: center;
    border-bottom: 2px solid #FF4F00;
}

.hero h2 {
    font-size: 48px;
    color: #FF7A00;
}

.hero p {
    font-size: 20px;
    margin-top: 10px;
    color: #FFB347;
}

.buttons {
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    margin: 10px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.btn.primary {
    background: #FF7A00;
    color: #000000;
}

.btn.primary:hover {
    background: #FF4F00;
}

.btn.secondary {
    border: 2px solid #FFB347;
    color: #FFB347;
}

.btn.secondary:hover {
    background: #1A1A1A;
}

/* CONTENT BLOCK */
.content-block {
    padding: 40px;
    text-align: center;
    background: #1A1A1A;
    border-bottom: 2px solid #FF7A00;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px;
}

.feature-card {
    background: #1A1A1A;
    border: 2px solid #FF7A00;
    padding: 20px;
    border-radius: 8px;
}

.feature-card ul {
    padding-left: 20px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #000000;
    border-top: 2px solid #FF4F00;
    color: #FFB347;
}

/* ============================================================
   RULES PAGE ENHANCEMENTS — MATCH HOMEPAGE STYLE
   ============================================================ */

/* Sub-headers inside rules sections */
.section h3 {
    color: #FF7A00;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
}

/* Lists */
.section ul {
    margin: 10px 0 20px 20px;
    padding-left: 20px;
    color: #FFB347;
}

.section ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Preformatted species tables */
.section pre {
    background: #0d0d0d;
    border: 2px solid #FF7A00;
    padding: 15px;
    border-radius: 6px;
    color: #FFB347;
    font-size: 16px;
    overflow-x: auto;
    margin-top: 15px;
    margin-bottom: 25px;
    white-space: pre-wrap;
}

/* Section spacing improvements */
.section {
    padding: 40px 40px;
}

.section.dark {
    background: #111;
    border-top: 2px solid #FF4F00;
    border-bottom: 2px solid #FF4F00;
}

/* Title at top of rules page */
.section h2 {
    font-size: 32px;
    color: #FF7A00;
    margin-bottom: 20px;
}

/* Paragraph spacing */
.section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Improve readability on dark sections */
.section.dark p,
.section.dark ul li,
.section.dark h3 {
    color: #FFB347;
}

/* Horizontal separators (if used) */
.rules-separator {
    width: 100%;
    height: 2px;
    background: #FF4F00;
    margin: 40px 0;
}
