:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(22, 28, 45, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-buyer: #00e676;
    --primary-seller: #00b0ff;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-family: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 230, 118, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 176, 255, 0.03) 0%, transparent 40%);
}

/* Cabecera / Navbar (Inyección uniforme desde header.html) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-buyer), var(--primary-seller));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-panel:hover {
    background: var(--text-main);
    color: var(--bg-color) !important;
}

/* Contenido de los Términos */
.terms-container {
    max-width: 800px;
    margin: 10rem auto 6rem;
    padding: 0 2rem;
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-update {
    color: var(--primary-seller);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.terms-section {
    margin-bottom: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(12px);
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
    border-left: 4px solid var(--primary-buyer);
    padding-left: 0.75rem;
}

.terms-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.terms-section ul {
    list-style: none;
    color: var(--text-muted);
    padding-left: 1rem;
}

.terms-section ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.terms-section ul li::before {
    content: "•";
    color: var(--primary-seller);
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem;
    background: rgba(11, 15, 25, 0.95);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}
