:root {
    --bg-color: #000000;
    --card-bg: rgba(20, 20, 20, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-champions: #00ffff;
    --accent-mundial: #00ff41;
    --accent-salvador: #0055ff;
    --primary-glow: #ff007f;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.btn-outline-nav {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-nav:hover {
    background: #fff;
    color: #000;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3) 100%), url('../img/zidane.png') center/cover no-repeat;
    background-attachment: fixed;
    padding: 6rem 5% 2rem;
    gap: 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(-50px, -50px);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 10;
    animation: fadeIn 1.5s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff41;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(90deg, #00ff41 0%, #ff007f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    background: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image-wrapper {
    flex: 1.5;
    position: relative;
    max-width: 750px;
    z-index: 10;
    animation: fadeInRight 1.5s ease-out;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary-glow);
    display: block;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.torneos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.torneo-item {
    background: var(--card-bg);
    border-radius: 35px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.torneo-item:hover {
    transform: translateY(-5px);
}

.torneo-item.champions-border:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
    border-color: var(--accent-champions);
}

.torneo-item.mundial-border:hover {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
    border-color: var(--accent-mundial);
}

.torneo-item.selecta-border:hover {
    box-shadow: 0 0 20px rgba(0, 85, 255, 0.15);
    border-color: var(--accent-salvador);
}

.torneo-icon {
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.6));
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.torneo-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.torneo-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.torneo-details {
    text-align: left;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin-top: auto;
}

.torneo-details[open] {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.torneo-details summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    transition: color 0.3s ease;
}

.torneo-details summary::-webkit-details-marker {
    display: none;
}

.torneo-details summary:hover {
    color: var(--primary-glow);
}

.torneo-details[open] summary i {
    transform: rotate(180deg);
}

.torneo-details summary i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.details-content {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
    animation: fadeInDown 0.3s ease-out;
}

.details-content ul {
    list-style: none;
    padding-left: 0;
}

.details-content li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.details-content li:last-child {
    margin-bottom: 0;
}

.details-content strong {
    color: #fff;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.08);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.category-badge.champions {
    background: rgba(0, 255, 255, 0.85);
    color: #000;
}

.category-badge.mundial {
    background: rgba(0, 255, 65, 0.85);
    color: #000;
}

.category-badge.el-salvador {
    background: rgba(0, 85, 255, 0.85);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    text-decoration: none;
    color: var(--primary-glow);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

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

.feature-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.large-feature {
    background-image: url('../img/bodo.png');
    background-size: cover;
    background-position: top;
    min-height: 550px;
}

.side-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.small-feature {
    min-height: calc(275px - 1rem);
}

.mundial-feat {
    background-image: url('../img/sofi-stadium.jpg');
    background-size: cover;
    background-position: center;
}

.selecta-feat {
    background-image: url('../img/nathan.jpg');
    background-size: cover;
    background-position: center;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.feature-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}

.small-feature .feature-content {
    padding: 1.8rem;
}

.category-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--accent-champions);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-mundial {
    background: var(--accent-mundial);
}

.tag-selecta {
    background: var(--accent-salvador);
    color: #fff;
}

.feature-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.small-feature h4 {
    font-size: 1.3rem;
    line-height: 1.3;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 95%;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .navbar {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        gap: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-img {
        transform: none;
    }

    .hero-image-wrapper:hover .hero-img {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .large-feature {
        min-height: 400px;
    }

    .feature-card h3 {
        font-size: 1.8rem;
    }
}