/* --- Smooth Scrolling --- */
html {
    scroll-behavior: smooth;
}

/* --- General Styles & Typography --- */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #EAEAEA;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: bold;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1em;
}

section {
    padding-top: 80px; /* Offset for sticky nav */
    margin-top: -80px; /* Negative margin to keep position correct for links */
}

/* --- Background & Main Container --- */
.background-overlay {
    background-color: rgba(18, 18, 18, 0.85);
    min-height: 100vh;
    width: 100%;
}

.background-image {
    background-image: url('../images/fightclub-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* --- Header & Navigation --- */
header {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid #333;
    background-color: rgba(0,0,0,0.2);
}

header h1 {
    font-size: 2.5em;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px 0;
    background-color: rgba(0,0,0,0.8);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #EAEAEA;
    text-decoration: none;
    margin: 5px 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease-in-out;
}

nav a.active, nav a:hover {
    color: #fff;
    border-color: #f590ed;
}

/* --- Main Content --- */
main.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(28, 28, 28, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.page-title {
    text-align: center;
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.page-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #aaa;
    margin-top: 0;
    margin-bottom: 40px;
    font-style: italic;
}

.content-section {
     border-bottom: 1px solid #444;
     padding-bottom: 40px;
     margin-bottom: 40px;
}
.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-image {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 20px auto 40px; /* Centra la imagen si tiene max-width */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    background-color: #333;
}

/* --- Table Styles --- */
table {
    /* width: 100%; */   /* Comentado para permitir que la tabla se encoja */
    max-width: 100%;   /* La tabla no será más ancha que su contenedor */
    border-collapse: collapse;
    margin: 30px auto; /* Centra la tabla horizontalmente */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    overflow-x: auto;
    display: block; /* Necesario para que margin:auto y overflow-x funcionen correctamente en la tabla */
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #444;
    text-align: center;
}

th {
    background-color: #f590ed;
    color: #121212;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    font-weight: bold;
}

tr {
    background-color: #2a2a2a;
    transition: background-color 0.3s;
}

tr:hover {
    background-color: #383838;
}

td:first-child {
    font-weight: bold;
    color: #ddd;
}

/* --- Manifesto Specific Styles --- */
.manifesto-section {
    margin-bottom: 30px;
}
.manifesto-section h2 {
    font-size: 1.8em;
    color: #f590ed;
    text-align: center;
    margin-bottom: 15px;
}
.manifesto-section p {
    font-size: 1.1em;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #ccc;
}
.final-cta {
    font-size: 1.4em !important;
    font-weight: bold;
    color: #fff !important;
}


/* --- Footer --- */
footer {
    text-align: center;
    padding: 25px;
    margin-top: 50px;
    color: #666;
    border-top: 1px solid #333;
    background-color: rgba(0,0,0,0.2);
}