/* content/styles.css */

/* Google Fonts - Poppins is already linked in HTML head */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #E0E0E0; /* Default text color for readability */
    background-color: #1A301A; /* Darker green background for overall page */
}

/* Color Scheme Variables */
:root {
    --dark-green: #1A4314;
    --dark-green-alt: #285C24;
    --dark-green-light: #3A7036;
    --primary-color: #FFD700; /* Gold/Yellow for accents */
    --text-light: #F5F5F5;
    --text-grey: #B0B0B0;
    --warning-color: #FFC107; /* For disclaimer icon/text */
}

/* General Styles */
.has-background-dark-green {
    background-color: var(--dark-green);
}

.has-background-dark-green-alt {
    background-color: var(--dark-green-alt);
}

.has-background-dark-green-light {
    background-color: var(--dark-green-light);
}

.has-text-white {
    color: var(--text-light) !important;
}

.has-text-primary {
    color: var(--primary-color) !important;
}

.has-text-warning {
    color: var(--warning-color) !important;
}

.title,
.subtitle {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

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

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

.hero .title {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 2rem;
}

/* App Download Buttons */
.app-button {
    background-color: var(--primary-color);
    color: var(--dark-green) !important;
    border-color: var(--primary-color);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.app-button:hover {
    background-color: #E6B800;
    border-color: #E6B800;
    transform: translateY(-3px);
}

.app-button .icon img {
    max-height: 1.5em; /* Adjust icon size */
    width: auto;
}

/* Section General Styling */
.section {
    padding: 4rem 1.5rem;
}

.section .title.is-2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* What is Fantasy Sport Section */
.has-border-radius {
    border-radius: 8px;
    overflow: hidden;
}

/* Features Section */
.feature-card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

/* App Gallery Section */
.app-screenshot-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-screenshot-card .card-image img {
    object-fit: contain;
    height: 100%;
    width: 100%;
    background-color: var(--dark-green);
    padding: 13px;
}

.app-screenshot-card .card-content {
    padding: 1rem;
}

/* FAQ Section (Accordion) */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: var(--dark-green-light);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #4CAF50; /* Slightly lighter green on hover */
}

.accordion-header .icon {
    transition: transform 0.3s ease;
}

.accordion-header.is-active .icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-content .content {
    background-color: var(--dark-green-alt);
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #1A301A; /* Darker background to separate */
    padding: 3rem 1.5rem;
    border-top: 5px solid var(--warning-color);
    border-bottom: 5px solid var(--warning-color);
}

.disclaimer-box {
    background-color: var(--dark-green-alt);
    border: 2px solid var(--warning-color);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.disclaimer-box .title {
    color: var(--warning-color);
    margin-bottom: 1.5rem;
}

.disclaimer-box p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--text-light);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-logo img {
    max-height: 70px;
    width: auto;
    filter: brightness(1.2); /* Make logo slightly brighter on dark background */
}

.social-links a,
.policy-links a {
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover,
.policy-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.social-links .icon {
    vertical-align: middle;
}

.policy-links a {
    font-size: 0.95rem;
    margin: 0 10px;
    white-space: nowrap; /* Prevent line breaks within links */
}

.footer-partners {
    margin-top: 2rem;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between logos */
}

.partner-logo {
    max-width: 120px; /* Adjusted based on requirement: 100-150px */
    height: auto;
    filter: none; /* Ensure no grayscale or other filters */
    transition: transform 0.3s ease; /* Optional: subtle hover effect */
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo.18plus-icon {
    max-width: 80px; /* Smaller for 18+ icon */
    filter: brightness(1.2); /* Make it pop a bit */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .hero .title {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.5rem;
    }

    .app-button {
        font-size: 1rem;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

    .app-button .icon {
        margin-right: 0.5rem;
    }

    .section .title.is-2 {
        font-size: 2rem;
    }

    .feature-card,
    .app-screenshot-card {
        margin-bottom: 1.5rem;
    }

    .accordion-header {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .policy-links a {
        margin: 5px 8px;
        display: block; /* Stack policy links on small screens */
    }

    .social-links a {
        margin: 0 10px 10px 10px; /* Add some bottom margin for stacking */
    }
}
/* New styles for .userClauseNet and its children */

/* Wrapper for user-generated content, providing internal padding and margins */
.userClauseNet {
    padding: 2rem 1.5rem; /* Padding inside the content area */
    margin-top: 2rem;    /* Margin above the content block */
    margin-bottom: 2rem; /* Margin below the content block */
    background-color: var(--dark-green-alt); /* A slightly different background for content contrast */
    border-radius: 8px; /* Soften the corners of the content block */
    color: var(--text-light); /* Default text color for this section */
}

/* Headings */
.userClauseNet h1 {
    font-size: 2.2rem; /* Moderate size for main section heading */
    margin-bottom: 1.2rem; /* Space below the heading */
    color: var(--primary-color); /* Highlight headings with primary color */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.2; /* Line height for readability */
}

.userClauseNet h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
}

.userClauseNet h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.4;
}

.userClauseNet h4 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.5;
}

.userClauseNet h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.6;
}

/* Paragraphs */
.userClauseNet p {
    font-size: 1rem;
    line-height: 1.7; /* Increased line height for better readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: var(--text-grey); /* Slightly lighter text for paragraphs */
}

/* Unordered Lists */
.userClauseNet ul {
    list-style: disc; /* Default disc for unordered lists */
    margin-left: 1.5rem; /* Indent the list items */
    margin-bottom: 1rem; /* Space after the list */
    padding-left: 0; /* No extra padding */
}

/* List Items */
.userClauseNet li {
    margin-bottom: 0.5rem; /* Space between list items */
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-grey);
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .userClauseNet {
        padding: 1.5rem 1rem; /* Adjust padding for smaller screens */
    }

    .userClauseNet h1 {
        font-size: 1.8rem;
    }

    .userClauseNet h2 {
        font-size: 1.5rem;
    }

    .userClauseNet h3 {
        font-size: 1.3rem;
    }

    .userClauseNet h4 {
        font-size: 1.1rem;
    }

    .userClauseNet h5 {
        font-size: 1rem;
    }

    .userClauseNet p,
    .userClauseNet li {
        font-size: 0.95rem; /* Slightly smaller text for better fit */
    }

    .userClauseNet ul {
        margin-left: 1rem; /* Reduce list indent */
    }
}

@media (max-width: 575px){

    .button.is-large{
        font-size: 16px;
    }

    .hero-body{
        padding: 50px 10px;
    }

    .accordion-header{
        padding: 10px 4px;

        span{
            font-size: 16px;
        }
    }
}

.accordion-header.button{
    height: auto;
}
.accordion-header span.has-text-weight-bold {
  white-space: normal; 
  text-align: start;
  word-break: break-word; 
}

.button .icon:last-child:not(:first-child){
    margin-right: calc(-.5em - -7px);
}