
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.toc {
    display: grid;
    background: #0f3460;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.toc h2 {
    color: #e94560;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.toc ul {
    list-style: none;
    columns: 1;
    display: grid;
}

.toc li {
    margin-bottom: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 168, 204, 0.2);
}

.toc a {
    color: #2ec4ff;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: block;
    padding: 0.5rem;
}

.toc a:hover {
    color: #e94560;
    transform: translateX(10px);
}

.terms-section {
    background: #16213e;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    position: relative;
}

.terms-section::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #00a8cc, #e94560);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.terms-section h2 {
    color: #00a8cc;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.terms-section p {
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.terms-section ul {
    margin-left: 2rem;
    list-style: square;
    color: #00a8cc;
}

.terms-section li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
}

.terms-footer {
    background: #0f3460;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
}

.terms-footer a {
    color: #00a8cc;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.terms-footer a:hover {
    color: #e94560;
}

.terms-footer p {
    margin: 1rem 0;
    color: #00a8cc;
}

@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .terms-section {
        padding: 1.5rem;
    }
    
    .toc {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .terms-section h2 {
        font-size: 1.5rem;
    }
    
    .terms-section ul {
        margin-left: 1rem;
    }
    
    .terms-header {
        padding: 3rem 0;
    }
}

.terms-section {
    transition: transform 0.3s ease-in-out;
}

.terms-section:hover {
    transform: translateY(-5px);
}
