/* Legal Pages Specific Styles */
.legal-main {
    padding: 40px 0;
    background: linear-gradient(135deg, #1a3a2e 0%, #2d5a3d 50%, #1a3a2e 100%);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 3rem;
    color: #9b59b6;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(155, 89, 182, 0.5);
}

.last-updated {
    font-size: 1.1rem;
    color: #e0e0e0;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2d5a3d, #1a3a2e);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid #4a7c59;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #4a7c59;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: #9b59b6;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a7c59;
}

.legal-section h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 25px 0 15px 0;
}

.legal-section p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-section strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-section a {
    color: #9b59b6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #8e44ad;
    text-decoration: underline;
}

/* Company Details */
.company-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #4a7c59;
    margin: 20px 0;
}

.company-details p {
    margin-bottom: 10px;
    color: #e0e0e0;
}

.company-details strong {
    color: #9b59b6;
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #4a7c59;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 8px;
    color: #e0e0e0;
}

.contact-info strong {
    color: #9b59b6;
    font-weight: 600;
}

/* Cookie Table */
.cookie-table {
    margin: 20px 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #4a7c59;
}

.cookie-table th {
    background: #4a7c59;
    color: #ffffff;
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.cookie-table td {
    padding: 12px 10px;
    color: #e0e0e0;
    border-bottom: 1px solid #4a7c59;
    font-size: 0.9rem;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.1);
}

/* Browser Instructions */
.browser-instructions {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #4a7c59;
    margin: 20px 0;
}

.browser-instructions p {
    margin-bottom: 10px;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.browser-instructions strong {
    color: #9b59b6;
    font-weight: 600;
}

/* Legal Navigation */
.legal-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #4a7c59;
}

.legal-nav-link {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.legal-nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-main {
        padding: 20px 0;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 30px 20px;
        margin: 0 20px;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .cookie-table {
        font-size: 0.8rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 8px 5px;
    }

    .legal-navigation {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .browser-instructions p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 20px 15px;
        margin: 0 15px;
    }

    .legal-header h1 {
        font-size: 1.8rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

    .cookie-table {
        font-size: 0.7rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 6px 4px;
    }

    .company-details,
    .contact-info,
    .browser-instructions {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .legal-main {
        background: white;
        color: black;
    }

    .legal-content {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .legal-section h2 {
        color: black;
        border-bottom: 1px solid #ccc;
    }

    .legal-section h3 {
        color: black;
    }

    .legal-section p,
    .legal-section li {
        color: black;
    }

    .legal-section a {
        color: black;
        text-decoration: underline;
    }

    .legal-navigation {
        display: none;
    }

    .header,
    .footer {
        display: none;
    }
}

/* Responsible Gaming Specific Styles */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.info-box {
    background: linear-gradient(135deg, #2d5a3d, #1a3a2e);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #4a7c59;
    text-align: center;
}

.info-box h3 {
    color: #9b59b6;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-box p {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.warning-signs {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.warning-signs li {
    color: #e0e0e0;
    margin-bottom: 10px;
    padding-left: 10px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tip-card {
    background: linear-gradient(135deg, #2d5a3d, #1a3a2e);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #4a7c59;
}

.tip-card h3 {
    color: #9b59b6;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.tip-card p {
    color: #e0e0e0;
    line-height: 1.5;
}

.support-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.resource-card {
    background: linear-gradient(135deg, #2d5a3d, #1a3a2e);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #4a7c59;
}

.resource-card h3 {
    color: #9b59b6;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.resource-card p {
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.resource-details p {
    color: #e0e0e0;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.resource-details a {
    color: #9b59b6;
    text-decoration: none;
}

.resource-details a:hover {
    text-decoration: underline;
}

.parental-tips {
    background: rgba(52, 152, 219, 0.1);
    border-left: 4px solid #3498db;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.parental-tips li {
    color: #e0e0e0;
    margin-bottom: 10px;
    padding-left: 10px;
}

.assessment-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.question-group {
    background: linear-gradient(135deg, #2d5a3d, #1a3a2e);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #4a7c59;
}

.question-group h3 {
    color: #9b59b6;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.question-group ul {
    list-style: none;
    padding: 0;
}

.question-group li {
    color: #e0e0e0;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.question-group li::before {
    content: '•';
    color: #9b59b6;
    position: absolute;
    left: 0;
}

.assessment-note {
    background: rgba(241, 196, 15, 0.1);
    border-left: 4px solid #f1c40f;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    color: #e0e0e0;
}

.safety-features {
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid #27ae60;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.safety-features li {
    color: #e0e0e0;
    margin-bottom: 10px;
    padding-left: 10px;
}

.contact-support {
    background: linear-gradient(135deg, #2d5a3d, #1a3a2e);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #4a7c59;
    margin: 20px 0;
}

.contact-support p {
    color: #e0e0e0;
    margin-bottom: 10px;
}

.contact-support a {
    color: #9b59b6;
    text-decoration: none;
}

.contact-support a:hover {
    text-decoration: underline;
}

.remember-box {
    background: rgba(155, 89, 182, 0.1);
    border-left: 4px solid #9b59b6;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.remember-box p {
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.remember-box ul {
    list-style: none;
    padding: 0;
}

.remember-box li {
    color: #e0e0e0;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.remember-box li::before {
    content: '✓';
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}
