/* Estilos para las páginas informativas (About, Terms, Privacy, Cookies) */

:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --text-color: #333333;
    --background-color: #f5f7fa;
    --light-gray: #ecf0f1;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #8e44ad);
    opacity: 0.1;
    z-index: -1;
}

.bubbles {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translate(100px, -100px);
    }
    100% {
        bottom: 1080px;
        transform: translateX(-200px);
    }
}

.bubbles > div {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    animation: rise 15s infinite ease-in;
}

.bubbles > div:nth-child(1) {
    left: 10%;
    width: 80px;
    height: 80px;
    animation-duration: 18s;
}

.bubbles > div:nth-child(2) {
    left: 20%;
    width: 25px;
    height: 25px;
    animation-duration: 20s;
    animation-delay: 1s;
}

.bubbles > div:nth-child(3) {
    left: 35%;
    width: 50px;
    height: 50px;
    animation-duration: 16s;
    animation-delay: 2s;
}

.bubbles > div:nth-child(4) {
    left: 50%;
    width: 60px;
    height: 60px;
    animation-duration: 22s;
    animation-delay: 0s;
}

.bubbles > div:nth-child(5) {
    left: 65%;
    width: 30px;
    height: 30px;
    animation-duration: 18s;
    animation-delay: 1s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

header h1 {
    font-size: 2em;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

main {
    padding: 40px 0;
}

main h2 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.section h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
}

.section p {
    margin-bottom: 15px;
}

.section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

footer {
    background-color: var(--text-color);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: var(--light-gray);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin: 0 10px;
    }
}