/* ============================================
   PAGES STYLING
   Additional styles for legal and info pages
   ============================================ */

/* Main Content Wrapper */
.page-content {
    min-height: calc(100vh - 400px);
    display: flex;
    flex-direction: column;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* Content Section */
.content-section {
    flex: 1;
    padding: 40px 20px;
}

.content-section h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
}

.content-section h3 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.content-section ul,
.content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: #555;
}

.content-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsible Gaming Hero Variant */
.responsible-gaming-hero {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Legal Content */
.legal-content,
.about-content,
.contact-section,
.responsible-gaming-content {
    padding: 60px 20px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.content-wrapper h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-wrapper h4 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.content-wrapper p {
    margin-bottom: 1.2rem;
    color: #444;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.8rem;
    color: #444;
}

.content-wrapper strong {
    color: var(--primary-color);
    font-weight: 600;
}

.content-wrapper a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-wrapper a:hover {
    color: var(--primary-color);
}

.content-wrapper code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #e83e8c;
}

/* Special Boxes */
.agreement-box,
.disclosure-box,
.important-notice,
.warning-box,
.urgent-help,
.final-message,
.final-statement {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.warning-box {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c2c7 100%);
    border-left-color: #dc3545;
}

.urgent-help {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-left-color: #c92a2a;
    color: white;
}

.urgent-help h3,
.urgent-help p,
.urgent-help li,
.urgent-help strong {
    color: white;
}

.urgent-help a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.important-notice {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left-color: #0dcaf0;
}

.final-message,
.final-statement {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left-color: #28a745;
}

/* About Page Specific */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-top: 0;
}

.review-process {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    counter-reset: process-counter;
}

.review-process li {
    counter-increment: process-counter;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3rem;
}

.review-process li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1.2rem;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal !important;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.contact-info-wrapper {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.contact-info-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #dee2e6;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.contact-info-item .note {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

.contact-info-item .warning {
    font-size: 0.95rem;
    color: #dc3545;
    font-weight: 500;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none !important;
    border-radius: 5px;
    transition: background 0.3s ease;
    text-align: center;
}

.social-link:hover {
    background: var(--secondary-color);
}

/* Responsible Gaming Specific */
.golden-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.rule-card {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px);
}

.rule-card h3 {
    color: white;
    margin-top: 0;
    font-size: 1.3rem;
}

.rule-card p {
    color: white;
    margin: 0;
    opacity: 0.95;
}

.warning-signs {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #ffc107;
    margin: 2rem 0;
}

.warning-signs h3 {
    color: #dc3545;
    margin-top: 1.5rem;
}

.warning-signs h3:first-child {
    margin-top: 0;
}

.warning-signs ul {
    list-style: none;
    padding-left: 0;
}

.warning-signs li {
    padding-left: 1.5rem;
    position: relative;
}

.tools-list {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.tools-list h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.tools-list h3:first-child {
    margin-top: 0;
}

.help-organizations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.org-card {
    background: white;
    border: 2px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.org-card h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.org-card p {
    margin-bottom: 0.5rem;
}

.org-card a {
    color: var(--secondary-color);
    font-weight: 600;
}

.help-cta {
    text-align: center;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.help-cta h3 {
    color: white;
    margin-top: 0;
    font-size: 2rem;
}

.help-cta p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Disclaimer Specific */
.evaluation-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.criteria-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.criteria-item h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Last Updated */
.last-updated {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* FAQ Page Specific Styles */
.faq-page-section {
    padding: 60px 20px;
}

.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #555;
}

.faq-intro a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.faq-category-link {
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-category-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-category-section {
    margin-bottom: 4rem;
}

.faq-category-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
}

.faq-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    padding-bottom: 1rem;
}

.faq-answer p:first-child {
    padding-top: 0.5rem;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
    padding-bottom: 1.5rem;
}

.faq-answer a {
    color: var(--secondary-color);
    font-weight: 600;
}

.faq-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-top: 4rem;
}

.faq-cta h2 {
    color: white;
    margin-top: 0;
    font-size: 2rem;
    border: none;
}

.faq-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero .lead {
        font-size: 1.1rem;
    }

    .content-wrapper h2 {
        font-size: 1.6rem;
    }

    .content-wrapper h3 {
        font-size: 1.3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .golden-rules {
        grid-template-columns: 1fr;
    }

    .help-organizations {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .evaluation-criteria {
        grid-template-columns: 1fr;
    }
}
