/* General Styling */
:root {
    --primary-purple: #5D3F6A; /* Deep, rich purple */
    --secondary-purple: #8C6BBF; /* Lighter purple for accents */
    --light-purple-bg: #D9C7E6; /* Very light purple for text backgrounds */
    --text-dark: #333333; /* Dark grey for text on light backgrounds */
    --text-light: #F0F0F0; /* Off-white for text on dark backgrounds */
    --button-bg: #BF5B6A; /* Muted red/pink for button */
    --button-hover-bg: #A34A59; /* Darker shade for button hover */
    --icon-color-primary: var(--secondary-purple); /* Icon color */
    --icon-color-secondary: var(--primary-purple); /* Icon color for 'Why You'll Love It' */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark); /* Default text color */
    background-color: var(--light-purple-bg); /* Light background for the page */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS animations */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-purple);
}

p {
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-purple);
}

a:hover {
    color: var(--secondary-purple);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for readability on image */
    padding: 20px; /* Add some padding for smaller screens */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem; /* Large font for title */
    color: var(--text-light); /* White for title on dark background */
}

.hero-section p.lead {
    font-size: 1.5rem;
    color: #ffff; /* White for lead text */
}

.custom-btn {
    background-color: var(--button-bg);
    border-color: var(--button-bg);
    padding: 15px 40px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px; /* Pill-shaped button */
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.custom-btn:hover {
    background-color: var(--button-hover-bg);
    border-color: var(--button-hover-bg);
    transform: translateY(-3px); /* Slight lift on hover */
}

/* Section Styling */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.bg-light-purple {
    background-color: var(--light-purple-bg);
}

.icon-color {
    color: var(--icon-color-primary);
}

.icon-color-secondary {
    color: var(--icon-color-secondary);
}

/* How to Play Section */
#how-to-play .col-md-6 {
    display: flex;
    justify-content: center;
}

#how-to-play .p-3 {
    background-color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#how-to-play .p-3:hover {
    transform: translateY(-5px);
}

#how-to-play .p-3 h5 {
    color: var(--primary-purple);
}

/* Why You'll Love It Section */
#why-love-it ul {
    list-style: none;
    padding: 0;
}

#why-love-it li {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

#why-love-it li:hover {
    transform: translateX(5px);
}

#why-love-it li p {
    margin-bottom: 0;
}

/* Footer Section */
.footer-section {
    background-color: var(--primary-purple);
    color: var(--text-light);
    padding: 40px 0;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-section .footer-links a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-section .footer-links a:hover {
    color: var(--secondary-purple);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p.lead {
        font-size: 1.2rem;
    }

    .custom-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1rem;
    }

    .custom-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .footer-section .footer-links a {
        display: block;
        margin: 5px 0;
    }
    .footer-section .footer-links span {
        display: none; /* Hide separators on small screens */
    }
}/* Styles for the parent container */
.lawMatrixNode {
    padding-top: 60px;    /* Top padding for the content block */
    padding-bottom: 60px; /* Bottom padding for the content block */
    padding-left: 20px;   /* Left padding for the content block */
    padding-right: 20px;  /* Right padding for the content block */
    max-width: 1200px;    /* Max width to keep content readable */
    margin-left: auto;    /* Center the block horizontally */
    margin-right: auto;   /* Center the block horizontally */
}

/* General heading styles within .lawMatrixNode */
.lawMatrixNode h1 {
    font-size: 2.2rem;     /* Moderate font size for main headings */
    margin-top: 1.5em;     /* Top margin for separation */
    margin-bottom: 0.8em;  /* Bottom margin for separation */
}

.lawMatrixNode h2 {
    font-size: 1.8rem;     /* Moderate font size for sub-headings */
    margin-top: 1.2em;
    margin-bottom: 0.7em;
}

.lawMatrixNode h3 {
    font-size: 1.5rem;     /* Moderate font size for smaller headings */
    margin-top: 1em;
    margin-bottom: 0.6em;
}

.lawMatrixNode h4 {
    font-size: 1.3rem;     /* Moderate font size for even smaller headings */
    margin-top: 0.8em;
    margin-bottom: 0.5em;
}

.lawMatrixNode h5 {
    font-size: 1.1rem;     /* Moderate font size for the smallest headings */
    margin-top: 0.7em;
    margin-bottom: 0.4em;
}

/* Paragraph styles within .lawMatrixNode */
.lawMatrixNode p {
    font-size: 1rem;       /* Base font size for paragraphs */
    line-height: 1.7;      /* Improved readability for body text */
    margin-bottom: 1em;    /* Space between paragraphs */
}

/* Unordered list styles within .lawMatrixNode */
.lawMatrixNode ul {
    list-style: disc;      /* Default disc bullet style */
    padding-left: 25px;    /* Indentation for list items */
    margin-bottom: 1em;    /* Space after the list */
}

/* List item styles within .lawMatrixNode */
.lawMatrixNode li {
    margin-bottom: 0.5em;  /* Space between list items */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .lawMatrixNode {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .lawMatrixNode h1 {
        font-size: 2rem;
    }
    .lawMatrixNode h2 {
        font-size: 1.6rem;
    }
    .lawMatrixNode h3 {
        font-size: 1.3rem;
    }
    .lawMatrixNode h4 {
        font-size: 1.1rem;
    }
    .lawMatrixNode h5 {
        font-size: 1rem;
    }
    .lawMatrixNode p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .lawMatrixNode {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .lawMatrixNode h1 {
        font-size: 1.8rem;
    }
    .lawMatrixNode h2 {
        font-size: 1.4rem;
    }
    .lawMatrixNode h3 {
        font-size: 1.2rem;
    }
    .lawMatrixNode h4 {
        font-size: 1rem;
    }
    .lawMatrixNode h5 {
        font-size: 0.95rem;
    }
    .lawMatrixNode p {
        font-size: 0.9rem;
    }
}
