{% extends 'base/base.html' %}
{% load static %}

{% block title %}Privacy Policy - ThrillWiki{% endblock %}

{% block content %}
<div class="container mx-auto px-4 py-8">
    <div class="bg-white dark:bg-gray-800 shadow rounded-lg p-6">
        <h1 class="text-3xl font-bold mb-6">Privacy Policy</h1>
        
        <div class="prose dark:prose-invert max-w-none">
            <h2>1. Information We Collect</h2>
            <p>We collect information that you provide directly to us, including:</p>
            <ul>
                <li>Account information (username, email, password)</li>
                <li>Profile information (name, avatar, location)</li>
                <li>Content you post (reviews, photos, comments)</li>
                <li>Communications with us</li>
            </ul>

            <h2>2. How We Use Your Information</h2>
            <p>We use the information we collect to:</p>
            <ul>
                <li>Provide and maintain our services</li>
                <li>Process your transactions</li>
                <li>Send you technical notices and updates</li>
                <li>Respond to your comments and questions</li>
                <li>Understand how users interact with our service</li>
            </ul>

            <h2>3. Information Sharing</h2>
            <p>We do not sell your personal information. We may share your information:</p>
            <ul>
                <li>With your consent</li>
                <li>To comply with legal obligations</li>
                <li>To protect our rights and safety</li>
                <li>With service providers who assist in our operations</li>
            </ul>

            <h2>4. Data Security</h2>
            <p>We implement appropriate security measures to protect your personal information from unauthorized access, alteration, or destruction.</p>

            <h2>5. Your Rights</h2>
            <p>You have the right to:</p>
            <ul>
                <li>Access your personal information</li>
                <li>Correct inaccurate information</li>
                <li>Request deletion of your information</li>
                <li>Object to processing of your information</li>
                <li>Export your data</li>
            </ul>

            <h2>6. Cookies</h2>
            <p>We use cookies and similar technologies to:</p>
            <ul>
                <li>Keep you logged in</li>
                <li>Remember your preferences</li>
                <li>Understand how you use our service</li>
                <li>Improve our service</li>
            </ul>

            <h2>7. Changes to Privacy Policy</h2>
            <p>We may update this privacy policy from time to time. We will notify you of any changes by posting the new policy on this page.</p>

            <h2>8. Contact Us</h2>
            <p>If you have any questions about this privacy policy, please contact us at privacy@thrillwiki.com</p>
        </div>
    </div>
</div>
{% endblock %}
