/* Rules Book Page Specific Styles - Premium Redesign */

:root {
    --rules-primary: #2c3e50;
    --rules-accent: #e67e22;
    --rules-bg: #fdfdfd;
    --rules-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: 50px 0;
}

.inner-banner {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.75), rgba(44, 62, 80, 0.75)), url('../images/rules_book_banner.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Main Spotlight Card */
.rulebook-main {
    background: var(--white);
    border-radius: 40px;
    box-shadow: var(--rules-shadow);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
    margin-bottom: 60px;
}

.rulebook-cover {
    background: var(--rules-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.cover-mockup {
    width: 100%;
    max-width: 280px;
    height: 400px;
    border-radius: 5px 20px 20px 5px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.cover-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rulebook-details {
    padding: 60px;
}

/* Chapter Cards */
.chapter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.chapter-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.chapter-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--rules-accent);
}

.chapter-card i {
    font-size: 32px;
    color: var(--rules-accent);
    margin-bottom: 15px;
}

/* Amendments Table */
.amendment-box {
    background: #fff8f3;
    border-left: 5px solid var(--rules-accent);
    padding: 40px;
    border-radius: 0 20px 20px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .rulebook-main { grid-template-columns: 1fr; }
    .chapter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .chapter-grid { grid-template-columns: 1fr; }
    .banner-title { font-size: 38px; }
}
