/* Terms of Use Specific Styles */
.terms-hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(30, 20, 20, 0.8) 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.terms-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffa0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.terms-hero-subtitle {
    font-size: 1.2rem;
    color: #ffb0b0;
    margin-bottom: 2rem;
}

.terms-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #888;
}

.terms-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.terms-navigation {
    background: rgba(30, 20, 20, 0.6);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-navigation h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.8rem;
}

.toc li {
    margin-bottom: 0;
}

.toc a {
    color: #ffb0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 160, 160, 0.2);
    border-radius: 8px;
    background: rgba(45, 30, 30, 0.5);
    font-size: 0.95rem;
    line-height: 1.4;
}

.toc a:hover {
    color: #ffffff;
    background: rgba(255, 160, 160, 0.2);
    border-color: rgba(255, 160, 160, 0.4);
    transform: translateY(-2px);
}

.terms-article {
    background: rgba(30, 20, 20, 0.6);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.terms-section {
    margin-bottom: 2rem;
    scroll-margin-top: 2rem;
    padding-bottom: 1.5rem;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 160, 160, 0.3);
}

.terms-section h3 {
    color: #ffb0b0;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
}

.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.terms-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.terms-section li {
    margin-bottom: 0.3rem;
    line-height: 1.6;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.terms-section strong {
    color: #ffffff;
}

.contact-info {
    background: rgba(45, 30, 30, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffa0a0;
    font-size: 0.85rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
}

.contact-info a {
    color: #ffb0b0;
    text-decoration: none;
}

.contact-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.terms-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-hero {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .terms-hero-title {
        font-size: 2rem;
    }

    .terms-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .terms-content {
        padding: 1rem;
    }

    .terms-navigation,
    .terms-article {
        padding: 1.5rem;
    }

    .toc ul {
        grid-template-columns: 1fr;
    }

    .terms-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .terms-article {
        font-size: 0.9rem;
        padding: 1.5rem;
    }

    .terms-section p,
    .terms-section ul,
    .terms-section li {
        font-size: 0.85rem;
    }

    .terms-section h2 {
        font-size: 1.3rem;
    }

    .terms-section h3 {
        font-size: 1rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Highlight current section in navigation */
.terms-section:target {
    background: rgba(255, 160, 160, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin: -1rem;
    transition: all 0.3s ease;
}

/* Active link styling */
.toc a.active {
    color: #ffffff !important;
    background: rgba(255, 160, 160, 0.3) !important;
    border-color: rgba(255, 160, 160, 0.6) !important;
    font-weight: bold;
}