/* Info Pages Styles - Privacy & Terms */
@font-face {
    font-family: "smiley";
    src: url(../font/Outfit-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "smiley";
}

body {
    background-color: rgb(249, 249, 249);
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.info-header {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.info-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.last-updated {
    font-size: 14px;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* Navigation */
.back-nav {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.back-btn svg {
    width: 16px;
    height: 16px;
}

/* Main Content */
.info-container {
    max-width: 1000px;
    margin: -30px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

.content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Table of Contents */
.toc-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-bottom: 1px solid #e9ecef;
}

.toc-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-title::before {
    content: '📋';
    font-size: 20px;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    list-style: none;
}

.toc-item {
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toc-link {
    display: block;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-left: 4px solid darkorange;
}

.toc-link:hover {
    color: darkorange;
}

/* Content Sections */
.content-body {
    padding: 40px;
}

.content-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

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

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid darkorange;
    position: relative;
}

.section-title::before {
    content: attr(data-number);
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-65%);
    width: 30px;
    height: 30px;
    background: darkorange;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.section-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
    text-align: justify;
}

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

/* Highlight Important Text */
.highlight {
    background: linear-gradient(120deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.2) 100%);
    padding: 20px;
    border-left: 4px solid darkorange;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
}

/* Lists */
.content-list {
    list-style: none;
    margin: 20px 0;
}

.content-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.content-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: darkorange;
    font-size: 12px;
}

.content-list li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    border-radius: 16px;
}

.contact-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-email {
    color: darkorange;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .info-title {
        font-size: 32px;
    }
    
    .info-container {
        padding: 0 15px 40px;
    }
    
    .toc-section,
    .content-body {
        padding: 25px 20px;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 22px;
        padding-left: 0;
    }
    
    .section-title::before {
        display: none;
    }
    
    .content-section {
        margin-bottom: 35px;
    }
    
    .back-nav {
        position: relative;
        top: auto;
        left: auto;
        padding: 20px;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}