/* version: 1.1 */
:root {
    --primary: #005CB9;
    --primary-light: #0078f2;
    --white: #FFFFFF;
    --gray-light: #f4f7fa;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container: 1200px;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

h1,
h2,
h3 {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    /* Russo One has its own fixed weight */
    line-height: 1.1;
    text-transform: uppercase;
}

span {
    color: var(--primary);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.02);
}

#nav-logo {
    height: 38px;
    width: auto;
    border-radius: 50%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0.5rem;
    z-index: 5;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 50px;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

/* Hide underline for the primary button in nav */
nav a.btn-primary::after {
    display: none;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
    pointer-events: none;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 92, 185, 0.2);
}

.btn-large {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0, 92, 185, 0.2);
}

.btn-large:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--primary-light);
    box-shadow: 0 15px 30px rgba(0, 92, 185, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding-top: 150px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.1);
    animation: kenBurns 20s infinite alternate;
    /* Stronger overlay for better contrast */
    filter: brightness(0.6);
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.05) translate(-1%, -1%);
    }

    100% {
        transform: scale(1.1) translate(1%, 1%);
    }
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.05;
}

.hero h1 span {
    color: var(--primary);
    display: block;
    margin-top: 0.5rem;
    text-shadow: none;
}

.hero p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Hero: Escudo Tenerife encima del título */
.hero-escudo-top {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.hero-title-top {
    font-size: 5.5rem;
    line-height: 1.05;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
    color: var(--white);
}

.hero-subtitle {
    font-family: 'Russo One', sans-serif;
    font-size: 4.5rem;
    line-height: 1.05;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-subtitle span {
    color: var(--primary);
    text-shadow: none;
}

.hero-escudo-tenerife {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
    animation: shieldGlowMove 4s ease-in-out infinite;
}

@keyframes shieldGlowMove {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(126, 200, 255, 0.2);
    }

    50% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.8), 0 0 60px rgba(126, 200, 255, 0.6);
        border-color: rgba(255, 255, 255, 1);
    }
}

/* Sections */
section {
    padding: 8rem 0;
}

/* Tenerife Section — DARK */
.alternate {
    background-color: #0d0d0d;
    color: var(--white);
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-container.inverse {
    direction: ltr;
}

/* Headings inside dark alternate sections */
.alternate h2 {
    color: var(--white);
}

.alternate h2 span {
    color: #7ec8ff;
}

.alternate p {
    color: rgba(255, 255, 255, 0.75);
}

.alternate .tag-pill {
    background: rgba(126, 200, 255, 0.15);
    color: #7ec8ff;
}

.alternate .check-list li {
    color: rgba(255, 255, 255, 0.85);
}

.alternate .check-list li::before {
    color: #7ec8ff;
}

.tag {
    background: rgba(0, 92, 185, 0.1);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Affiliation */
.affiliation-images {
    position: relative;
}

.img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    z-index: 2;
    /* Removed white background and padding to show only the crest */
}

.features {
    list-style: none;
}

.features li {
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
}

/* Glass Card */
.glass-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.glass-card img {
    width: 100%;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.card-overlay p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Stats */
.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0;
}

.stat-item p {
    font-weight: 600;
    margin: 0;
}

/* Campus Section — BLUE */
.campus-section {
    background: #003087;
    color: var(--white);
}

.campus-section h2 {
    color: var(--white);
}

.campus-section h2 span {
    color: #7ec8ff;
}

.campus-section .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

.campus-section h3 {
    color: var(--text-dark);
}

.campus-section .link {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.campus-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.campus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.campus-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.campus-info {
    padding: 2rem;
}

.campus-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    position: relative;
    padding-bottom: 2px;
    transition: var(--transition);
    display: inline-block;
}

.link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.link:hover {
    letter-spacing: 1px;
}

.link:hover::after {
    width: 100%;
}

/* Contact Section — DARK */
.contact-section {
    background: #0d0d0d;
    color: var(--white);
    padding: 8rem 0;
}

.contact-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4rem;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-box h2 {
    color: var(--white);
}

.contact-box p {
    color: rgba(255, 255, 255, 0.65);
}

.contact-section .tag-pill {
    background: rgba(126, 200, 255, 0.15);
    color: #7ec8ff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--white);
}

.full-width {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 800;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.footer-brand img {
    height: 40px;
}

.footer-social {
    margin-bottom: 2rem;
}

.social-link {
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--primary);
}

.copy {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1.1);
    will-change: transform, opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1.1);
    will-change: transform, opacity;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1.1);
    will-change: transform, opacity;
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.active {
    opacity: 1 !important;
    transform: translate(0) !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

/* Floating Controls */
.floating-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

#back-to-top {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#whatsapp-float {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

#whatsapp-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Manifesto Section — BLUE */
.manifesto-section {
    background: #003087;
    color: var(--white);
    text-align: center;
    padding: 10rem 0;
}

.manifesto-grid {
    max-width: 900px;
    margin: 0 auto;
}

.manifesto-text {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: left;
}

.manifesto-text p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.manifesto-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    color: #7ec8ff;
    margin: 2rem 0;
    line-height: 1.2;
    text-transform: none;
}

.manifesto-footer {
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    color: #7ec8ff;
    margin-top: 4rem;
    letter-spacing: 1px;
}

/* Feature List Updates */
.check-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 0;
}

.check-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list li::before {
    content: '✔';
    color: #7ec8ff;
    font-weight: 800;
    font-size: 1.1rem;
}

/* Tag Pill */
.tag-pill {
    background: rgba(126, 200, 255, 0.2);
    color: #7ec8ff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* Highlight Box */
.highlight-box {
    background: #ebf5ff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #005CB9;
    margin-top: 2rem;
}

.highlight-box p {
    margin: 0;
    font-weight: 700;
    color: #005CB9;
    font-size: 1.2rem;
}

/* Parent Section — WHITE */
.parent-section {
    padding: 8rem 0;
    background: var(--white);
}

.parent-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.parent-content h2 {
    margin-bottom: 2rem;
    font-size: 3.5rem;
    color: var(--text-dark);
}

.parent-content h2 span {
    color: var(--primary);
}

.parent-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.parent-section .tag-pill {
    background: rgba(0, 92, 185, 0.1);
    color: var(--primary);
}

/* ─── Hamburger Button ─── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    transition: background 0.2s;
    z-index: 1100;
}

.hamburger:hover {
    background: rgba(0, 92, 185, 0.08);
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.25s,
        width 0.3s;
    transform-origin: center;
}

/* X animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ─── Mobile Menu Overlay ─── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu ul li a {
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    padding: 0.8rem 2rem;
    transition: color 0.2s, transform 0.2s;
}

.mobile-menu ul li a:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.mobile-menu .mobile-cta {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.1rem !important;
    letter-spacing: 1px !important;
    margin-top: 1.5rem;
    display: inline-block !important;
    padding: 1rem 2.5rem !important;
    border-radius: 50px;
}

body.menu-open {
    overflow: hidden;
}

/* ─── Mobile responsive ─── */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
    }

    .hero {
        align-items: flex-start;
        padding-top: 90px;
        min-height: 100svh;
    }

    .hero-content {
        padding: 1.5rem 0 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .hero h1 span {
        font-size: 1.8rem;
        display: block;
        margin-top: 0.8rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1.5rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .affiliation-images {
        max-width: 200px;
        margin: 0 auto 2rem;
        position: relative;
    }

    .img-fresno {
        width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .img-badge {
        width: 70px;
        height: 70px;
        bottom: -10px;
        right: -10px;
        border-width: 3px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        padding: 0 2rem;
        gap: 1.2rem;
        align-items: center;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* Compact section padding */
    section {
        padding: 3.5rem 0;
    }

    .manifesto-section {
        padding: 3.5rem 0;
    }

    .parent-section {
        padding: 3.5rem 0;
    }

    .campus-section {
        padding: 3.5rem 0;
    }

    .contact-section {
        padding: 3.5rem 0;
    }

    .contact-box {
        padding: 2rem 1.2rem;
        border-radius: 20px;
    }

    .hero-title-top {
        font-size: 2.2rem;
        margin-bottom: 0;
    }

    .hero-subtitle {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .hero-escudo-tenerife {
        width: 110px !important;
        height: 110px !important;
        border-width: 2px;
    }

    .manifesto-text {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .manifesto-text strong {
        font-size: 1.4rem;
        margin: 1.2rem 0;
        line-height: 1.4;
    }

    .manifesto-footer {
        font-size: 1.2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .parent-content h2 {
        font-size: 2rem;
    }

    footer {
        padding: 2.5rem 0;
    }
}

/* ─── Football Loader Styles ─── */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
    overflow: hidden;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    position: relative;
    text-align: center;
    z-index: 10;
    animation: cameraShake1 0.4s cubic-bezier(.36, .07, .19, .97) both 2.8s,
        cameraShake2 0.4s cubic-bezier(.36, .07, .19, .97) both 3.3s,
        cameraShake3 0.4s cubic-bezier(.36, .07, .19, .97) both 3.8s;
}

@keyframes cameraShake1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(-10px, 10px) rotate(-2deg);
    }

    40% {
        transform: translate(10px, -10px) rotate(2deg);
    }

    60% {
        transform: translate(-10px, -5px) rotate(-1deg);
    }

    80% {
        transform: translate(10px, 5px) rotate(1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes cameraShake2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(-10px, 10px) rotate(-2deg);
    }

    40% {
        transform: translate(10px, -10px) rotate(2deg);
    }

    60% {
        transform: translate(-10px, -5px) rotate(-1deg);
    }

    80% {
        transform: translate(10px, 5px) rotate(1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes cameraShake3 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(-10px, 10px) rotate(-2deg);
    }

    40% {
        transform: translate(10px, -10px) rotate(2deg);
    }

    60% {
        transform: translate(-10px, -5px) rotate(-1deg);
    }

    80% {
        transform: translate(10px, 5px) rotate(1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.shields-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-zoom-wrapper {
    position: absolute;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.shield {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shield-ft {
    transform: translateX(-220px);
    animation: mergeLeft 2s cubic-bezier(0.7, 0, 0.3, 1) forwards 0.5s;
}

.shield-ft .shield {
    object-fit: contain;
}

.shield-cdt {
    transform: translateX(220px);
    animation: mergeRight 2s cubic-bezier(0.7, 0, 0.3, 1) forwards 0.5s;
}

.fusion-glow {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 100px 50px white, 0 0 200px 100px var(--primary);
    opacity: 0;
    animation: finalGlow 1.5s ease-out forwards 1.8s;
}

.loader-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.word-group {
    display: flex;
    align-items: center;
    margin-right: 25px;
}

.word-group:last-child {
    margin-right: 0;
}

.letter.fdt {
    font-family: 'Alfa Slab One', serif;
    font-size: 5rem;
    color: var(--primary);
    text-shadow: none;
    opacity: 0;
    transform: scale(5) translateY(-50px);
}

.letter.fdt.f {
    animation: stompText 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 2.6s;
}

.letter.fdt.d {
    animation: stompText 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3.1s;
}

.letter.fdt.t {
    animation: stompText 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3.6s;
}

@keyframes stompText {
    0% {
        opacity: 0;
        transform: scale(5) translateY(-50px);
        text-shadow: none;
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        text-shadow: none;
    }
}

.rest {
    font-family: 'Russo One', sans-serif;
    color: var(--white);
    font-size: 2.5rem;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(-30px) skewX(-20deg);
    animation: revealRest 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 4.1s;
}

@keyframes revealRest {
    0% {
        opacity: 0;
        transform: translateX(-30px) skewX(-20deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) skewX(0);
    }
}

/* Flash effect */
@keyframes flashStomp1 {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flashStomp2 {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flashStomp3 {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

.press-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    z-index: 20;
    pointer-events: none;
    animation:
        flashStomp1 0.3s ease-out 2.8s,
        flashStomp2 0.3s ease-out 3.3s,
        flashStomp3 0.3s ease-out 3.8s;
}

#loader:not(.loaded) .press-flash {
    animation: flashSequence 3s steps(1) infinite;
}

/* Animations */
@keyframes mergeLeft {
    0% {
        transform: translateX(-220px) scale(1) rotate(-10deg);
        opacity: 0.5;
    }

    80% {
        transform: translateX(0) scale(1.2) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateX(0) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes mergeRight {
    0% {
        transform: translateX(220px) scale(1) rotate(10deg);
        opacity: 0.5;
    }

    80% {
        transform: translateX(0) scale(1.2) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateX(0) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes finalGlow {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }

    50% {
        opacity: 1;
        transform: scale(2);
        filter: blur(20px);
    }

    100% {
        opacity: 0;
        transform: scale(5);
        filter: blur(50px);
    }
}

@keyframes textAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flashSequence {

    0%,
    10%,
    14%,
    20%,
    24%,
    30%,
    100% {
        opacity: 0;
    }

    12%,
    22% {
        opacity: 0.7;
    }

    13%,
    23% {
        opacity: 0.3;
    }
}

/* Hide body scroll while loading */
body.loading {
    overflow: hidden !important;
}

/* ─── Mobile Adjustments for Loader ─── */
@media (max-width: 768px) {
    .loader-text-container {
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        margin: 10px auto 0;
    }

    .word-group {
        margin-right: 0;
        margin-bottom: -15px;
        /* Pull them closer together since the font is huge */
    }

    .word-group:last-child {
        margin-bottom: 0;
    }

    .letter.fdt {
        font-size: 3.5rem;
        /* Slightly smaller for mobile */
        width: 3.5rem;
        display: inline-block;
        text-align: left;
    }

    .rest {
        font-size: 1.8rem;
    }
}
/* --- Custom Social Buttons & Spectacular Animations --- */
.manifesto-social-links {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Instagram Spectacular Style */
.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.instagram-btn:hover::before {
    opacity: 1;
    animation: rotateGradient 4s linear infinite;
}

/* WhatsApp Spectacular Style */
.whatsapp-btn {
    background: #25D366;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
    z-index: 2;
}

.whatsapp-btn:hover::after {
    left: 100%;
}

/* Hover States */
.social-btn:hover {
    transform: translateY(-8px) scale(1.05) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.social-btn svg {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover svg {
    transform: scale(1.2) rotate(-5deg);
}

/* Eye-catching Animations */
@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Adding a subtle pulse to the entire container to make it "alive" */
.manifesto-social-links.active {
    animation: entranceBounce 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes entranceBounce {
    0% { opacity: 0; transform: scale(0.8) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 768px) {
    .manifesto-social-links {
        flex-direction: column;
        gap: 1rem;
    }
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}
