/* Custom Styles for Discord Guild Wrapped Legal Pages */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* TOC Links */
.toc-link {
    display: block;
    padding: 8px 12px;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-link:hover {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    border-left-color: #22d3ee;
    transform: translateX(5px);
}

/* Section Styles */
.tos-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #22d3ee;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(34, 211, 238, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 1.5rem 0 1rem;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.subsection-title:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.tos-text {
    color: #9ca3af;
    line-height: 1.8;
    margin: 0.75rem 0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tos-text:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #d1d5db;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.period-display {
    text-align: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    margin-top: 1rem;
}

/* Data Tables */
.data-table {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(71, 85, 105, 0.5);
}

.data-table table {
    border-collapse: collapse;
}

.data-table th {
    font-weight: 600;
    color: #e5e7eb;
}

.data-table td {
    border-top: 1px solid rgba(71, 85, 105, 0.3);
}

.data-table tr:hover td {
    background: rgba(34, 211, 238, 0.05);
}

/* Storage Cards */
.storage-card {
    transition: all 0.3s ease;
}

.storage-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-2px);
}

/* Changelog */
.changelog {
    margin-top: 1rem;
}

.changelog-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-left: 3px solid #3b82f6;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 0 8px 8px 0;
    margin-bottom: 0.5rem;
}

.changelog-date {
    color: #22d3ee;
    font-weight: 600;
    font-family: 'Lato', monospace;
    min-width: 100px;
}

.changelog-text {
    color: #9ca3af;
}

/* Purpose Items */
.purpose-item {
    transition: all 0.3s ease;
}

.purpose-item:hover {
    border-color: rgba(34, 211, 238, 0.5);
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .subsection-title {
        font-size: 1.1rem;
    }

    .period-display p {
        font-size: 1.25rem !important;
    }

    .contact-info {
        flex-direction: column;
    }

    .storage-info {
        grid-template-columns: 1fr;
    }

    .data-table {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .toc,
    .important-notice {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .legal-content {
        background: white;
        border: none;
        box-shadow: none;
    }

    .section-title,
    .subsection-title {
        color: black;
    }

    .tos-text {
        color: #333;
    }

    .highlight-box,
    .info-box,
    .warning-box {
        border: 1px solid #ccc;
        background: #f5f5f5;
    }
}