/* Privacy Policy Page Styles - Gaming MMO */

/* Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, rgba(77, 71, 190, 0.9) 0%, rgba(108, 99, 255, 0.85) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    border-radius: 0 0 1.5rem 1.5rem;
    margin-bottom: 4rem;
}

.privacy-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.privacy-subtitle {
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto;
    opacity: 0.9;
}

/* Policy Container */
.policy-container {
    max-width: 90rem;
    margin: 0 auto 6rem;
    background-color: var(--bg-color);
    border-radius: 1rem;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .policy-container {
        padding: 3rem 2rem;
    }
}

/* Last Updated */
.last-updated {
    text-align: right;
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 1.4rem;
}

/* Table of Contents */
.toc {
    background-color: var(--light-bg);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 4rem;
}

.toc h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.toc-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 1rem;
}

@media (max-width: 768px) {
    .toc-list {
        grid-template-columns: 1fr;
    }
}

.toc-list li {
    margin-bottom: 1rem;
}

.toc-list a {
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    background-color: rgba(108, 99, 255, 0.05);
    transition: all 0.3s ease;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.toc-list a:hover {
    background-color: rgba(108, 99, 255, 0.1);
    transform: translateX(5px);
    color: var(--primary-color);
}

/* Policy Content */
.policy-content {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
}

.policy-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.policy-section h3 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-color);
}

.policy-section p {
    margin-bottom: 1.5rem;
}

.policy-section ul,
.policy-section ol {
    margin: 1.5rem 0 2rem 2rem;
}

.policy-section li {
    margin-bottom: 1rem;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Back to Top */
.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 99;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.back-to-top.visible {
    transform: translateY(0);
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 2rem;
}

/* Definition Lists */
.policy-section dl {
    margin: 2rem 0;
}

.policy-section dt {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.policy-section dd {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Tables */
.policy-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1.5rem;
}

.policy-section th {
    background-color: var(--light-bg);
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
}

.policy-section td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-section tr:hover {
    background-color: rgba(108, 99, 255, 0.05);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 4rem;
}

.contact-section h3 {
    margin-top: 0 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .privacy-hero h1 {
        font-size: 3.2rem;
    }
    
    .privacy-subtitle {
        font-size: 1.6rem;
    }
    
    .policy-section h2 {
        font-size: 2.2rem;
    }
    
    .policy-section h3 {
        font-size: 1.8rem;
    }
    
    .back-to-top {
        width: 4.5rem;
        height: 4.5rem;
        bottom: 2rem;
        right: 2rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero h1 {
        font-size: 2.8rem;
    }
    
    .policy-container {
        padding: 2.5rem 1.5rem;
    }
    
    .toc {
        padding: 2rem 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 2rem;
    }
    
    .policy-section h3 {
        font-size: 1.7rem;
    }
}
