* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
}

header {
    padding: 40px 20px;
    text-align: center;
    color: #fff;
}

.home-header {
    background: linear-gradient(135deg, #111, #222);
    border-bottom: 4px solid #f1c40f;
    padding: 60px 20px;
}

.cr7-header {
    background: linear-gradient(135deg, #111, #c0392b);
    border-bottom: 4px solid #f1c40f;
}

.neymar-header {
    background: linear-gradient(135deg, #111, #27ae60);
    border-bottom: 4px solid #f1c40f;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #aaa;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}

nav a:hover {
    color: #fff;
    background-color: #333;
}

nav a.active {
    background-color: #f1c40f;
    color: #000;
}

nav a.btn-back {
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #444;
}

nav a.btn-back:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.selection-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.selection-card {
    position: relative;
    width: 450px;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-size: cover;
    background-position: center;
}

.selection-card.card-cr7 {
    background-image: url('https://wikimedia.org') !important;
}

.selection-card.card-neymar {
    background-image: url('https://wikimedia.org') !important;
}

.selection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(241, 196, 15, 0.3);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: background 0.3s;
}

.selection-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 40%, rgba(0,0,0,0.1) 100%);
}

.card-overlay h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.card-overlay span {
    color: #f1c40f;
    font-weight: bold;
    font-size: 1.1rem;
}

.profile-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.bio-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    align-items: center;
}

.bio-section img {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #333;
}

.bio-text {
    flex: 2;
    min-width: 300px;
}

.bio-text h2 {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 2rem;
}

.bio-text p {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 1.1rem;
}

.stats-section h2 {
    color: #f1c40f;
    margin-bottom: 20px;
    font-size: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

th, td {
    padding: 15px 20px;
    text-align: left;
}

th {
    background-color: #2d2d2d;
    color: #f1c40f;
    font-size: 1.1rem;
}

tr {
    border-bottom: 1px solid #333;
}

tr:last-child {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: #252525;
}

td strong {
    color: #fff;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    color: #666;
    margin-top: 60px;
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    nav a {
        padding: 8px 12px;
        margin: 2px;
        font-size: 0.9rem;
    }
    .selection-card {
        height: 400px;
    }
    .bio-section {
        flex-direction: column;
        text-align: center;
    }
    .bio-section img {
        max-width: 100%;
    }
}
