:root {
    --primary: #6c5ce7;
    --secondary: #a29bfe;
    --dark: #2d3436;
    --darker: #1e272e;
    --light: #f5f6fa;
    --text: #dfe6e9;
    --text-muted: #b2bec3;
}

body {
    background-color: var(--darker);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.prem-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(45, 52, 54, 0.7);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.legal-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), transparent);
    pointer-events: none;
}

.legal-section h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-section h2 i {
    color: var(--secondary);
}

ul, ol {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    position: relative;
}

li::before {
    content: '•';
    color: var(--secondary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
}

ol li::before {
    content: counter(item) '.';
    counter-increment: item;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.last-updated {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.animate-section {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll indicator */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s ease;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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