@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --primary-color: #4A148C;
  --primary-light: #7c43bd;
  --primary-dark: #12005e;
  --cta-color: #e67e22;
  --cta-hover: #cf711f;
  --bg-color: #fcfcfc;
  --text-color: #333333;
  --text-light: #555555;
  --nav-bg: #4A148C;
  --nav-text: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 18px;
  /* Anti-copia */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Header & Navigation */
header {
  background-color: var(--nav-bg);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  color: var(--nav-text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

nav ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--cta-color);
}

/* Main Content */
main {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  padding: 3rem 4rem;
}

/* Layout Elements */
h1 {
  color: var(--primary-color);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

h2 {
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  border-bottom: 3px solid var(--primary-light);
  padding-bottom: 0.5rem;
  display: inline-block;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  color: var(--text-light);
}

b, strong {
  color: var(--text-color);
  font-weight: 600;
}

ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

ul li {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  color: var(--text-light);
}

/* Buttons / CTA Links */
.btn {
  display: inline-block;
  background-color: var(--cta-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  margin-top: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  color: #888;
  font-size: 0.9rem;
}

.legal-links {
  margin-bottom: 1rem;
}

.legal-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  margin: 0 0.5rem;
}

.legal-links a:hover {
  color: var(--cta-color);
  text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--nav-bg);
  color: #fff;
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  flex-wrap: wrap;
  gap: 1rem;
}
.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
}
.cookie-text a {
  color: var(--cta-color);
  font-weight: 600;
  text-decoration: none;
}
.cookie-btns {
  display: flex;
  gap: 1rem;
}
.btn-cookie {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-accept {
  background-color: var(--cta-color);
  color: #fff;
}
.btn-accept:hover {
  background-color: var(--cta-hover);
}
.btn-reject {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn-reject:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  nav ul {
    justify-content: center;
    gap: 1rem;
  }
  
  main {
    margin: 1.5rem 1rem;
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  p, ul li {
    font-size: 1.05rem;
  }
}
