body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #000;
    background-color: #000;
}

.top-header {
    background-color: #000;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:1px solid #fff;
}

.top-header .title h1 {
    margin: 0;
    color: #fff;
}
a{
    color: #fff;
    text-decoration: none;
}

.title span.footy{
    color: #477047;
}

.title span.dotcom{
    font-size: 11px;
}

.top-header .banner-ad {
    width: 50%;
    height: 50px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.top-nav {
    background-color: #477047;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #000;
}

.top-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
}

.top-nav ul li {
    margin: 0 15px;
}

.top-nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

.search-box {
    margin-right: 15px;
}

.search-box input {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #477047;
}

main {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;

}

.left-sidebar {
    width: 40%;
    padding: 10px;
    box-sizing: border-box;
}

.left-sidebar h2 {
    margin-top: 0;
    color: #000;
    text-align: left;
}

.player-card {
    background-color: #FFF;
   /* border: 3px solid #000; 
    border-radius: 5px;*/
    margin-bottom: 10px;
    padding: 0px;
    display: flex;
    align-items: center;
    color: #313131;
    border-bottom:1px solid #313131;
    font-size: 14px;
}

.player-card a{
    color: #313131;
}

.player-card img {
    width: 100px;
    height: auto;
    margin-right: 15px;
}

.player-info h3 {
    margin: 0;
}
.player-info{
    padding: 10px 0;

}
.player-info p {
    margin: 5px 0;
}



.club-wrapper-left{
    float:left;
    width: 70%;
}

.club-wrapper-right{
    float:left;
    width: 30%;
}



main{
    background-color: #fff;
}
.main-content {
    width: 60%;
    padding: 10px;
    box-sizing: border-box;
}

.activity h3 {
    margin: 0 0 10px;
    border-bottom: 1px solid #477047;
    padding-bottom: 5px;
    color: #000;
}

.activity ul {
    list-style-type: none;
    padding: 0;
}

.activity li a{
    color: #313131;
    position: absolute;
    padding: 15px;
}

.activity li {
    background-color: #EFEFEF;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    color: #313131;
    height: 50px;
}


@media (max-width: 768px) {
    .left-sidebar, .main-content {
        width: 100%;
    }

    .top-nav {
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }

    .top-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .top-nav ul li {
        margin: 10px 0;
    }

    .search-box {
        margin: 10px 0;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .search-box input {
        width: 100%;
        max-width: 300px;
    }

}

.club-list {
  
    gap: 10px;
}

.club-item {
    border: 1px solid #ddd;
    padding: 10px;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
}

.pagination {
    margin-top: 20px;
}

.pagination a, .pagination strong {
    margin: 0 5px;
    text-decoration: none;
}

.pagination a {
    color: blue;
}

.club-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
    padding: 10px;
    border-bottom: 2px solid #ccc;
    width: 90%;
}
.club-title h1 {
    margin: 0;
    font-size: 24px;
}
.club-title a {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #0073e6;
    text-decoration: none;
}
.club-title a:hover {
    text-decoration: underline;
}
.club-crest img {
    height: 60px;
    width: auto;
}


.player-wrapper-left {
    flex: 2;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.player-wrapper-left ul {
    list-style-type: none;
    padding: 0;
}

.player-wrapper-left li a{
    color: #fff;
    position: absolute;
    padding: 15px;;
}

.player-wrapper-left li {
    background-color: #2c3e50;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    height:50px;
}

.player-header {
    display: flex;
    align-items: center;
}

.player-title {
    flex: 1;
}

.player-title h1 {
    margin: 0;
    font-size: 2em;
    color: #2c3e50;
}

.player-title p {
    margin: 5px 0;
    font-size: 1em;
    color: #000;
    padding: 10px;
}

.player-title a {
  color: #000;
  font-size: 20px;
}



.player-title a:hover {
    text-decoration: underline;
}

.player-portrait img {
  
    border: 10px solid #EFEFEF;
    max-width: 150px;
}

.player-wrapper-right {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.player-wrapper-right:before {
    content: "Advertisements";
    display: block;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #7f8c8d;
}

.articles-block {
    margin: 0px;
}

.article-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}


.article-item h2 {
    margin: 0 0 0px;
    font-size:16px;
}

.article-item p {
    margin: 5px 0;
    font-size: 11px;
}

.article-item a {
    color: #000;
    text-decoration: none;
}

.article-item a:hover {
    text-decoration: underline;
}

.player_current_club{
    background: #EFEFEF;
    
    margin-right: -40px;
    padding:20px;
    margin-top:10px;
}
.player_current_club img{
    position: absolute;
}
.player_current_club .current_club{
    color: #000;
    vertical-align: middle;
    position: relative;
    padding: 0px 15px 7px 60px;
    font-size: 13px;
}
.view_on_wiki{
    font-size: 12px !important;
    text-align: right;
    float: right;
    padding: 10px 10px;
    margin-top: -24px;
}

/* Mobile Footer */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

.mobile-footer .footer-item {
    flex: 1;
    text-align: center;
}

.mobile-footer .footer-item a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.mobile-footer .footer-item i {
    font-size: 20px;
    display: block;
    margin: 0 auto 5px;
}

.mobile-footer .footer-item img {
    height: 25px;
    display: block;
    margin: 0 auto 1px;
}

@media (max-width: 768px) {
    .player-portrait img{
        width: 100px;
    }
    .player-title h1{
        width:220px;
    }

    .view_on_wiki{
        float:none;
        padding: 0;
    }
    .mobile-footer {
        display: flex;
    }
    main{
        padding:10px;
    }

    .player-card {
        margin-bottom: 5px;
    }

    .club-wrapper-left{
        width: 100%;
    }

    .club-wrapper-right{
        display: none;
    }

    .club-header{
        width: 95%;
    }

    .top-header .banner-ad {

        display: none;
    }
}

/* club wrapper */

.club-wrapper {
    padding: 10px;
    width: 90%;
}

.club-player-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

.club-player-link {
    text-decoration: none;
    color: inherit;
}

.club-player-card {
    width: 185px;
    height: 285px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    transition: transform 0.3s ease;
}

.club-player-card:hover {
    transform: scale(1.05);
}

.club-player-info {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    width: 100%;
}

.club-player-info h3 {
    margin: 0;
    font-size: 1.2em;
}

.club-player-info p {
    margin: 5px 0 0;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .club-player-card {
        width: 150px;
        height: 225px;
    }
}

@media (max-width: 480px) {
    .club-player-cards {
        overflow-x: scroll;
        flex-wrap: nowrap;
    }

    .club-player-card {
        min-width: 120px;
        height: 180px;
    }

    .club-player-info h3 {
        font-size: 1em;
    }

    .club-player-info p {
        font-size: 0.8em;
    }
}


/* club selection */

.select-club-wrapper {
    width: 380px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    
}

h2 {
    text-align: left;
    margin-bottom: 20px;
}

#club-search {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.club-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.club-list li {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.club-list li:hover {
    background-color: #f8f8f8;
}

.club-list img {
    margin-right: 10px;
    border-radius: 5px;
}


footer{
    color: #fff;
    font-size: 14px;
}

footer .title{
    padding:40px;
    float: left;
}



footer ul{
    list-style: none;
    color: #fff;
    width: 30%;
    float:left;
    padding-top:40px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    footer ul{
        list-style: none;
        color: #fff;
        width: 40%;
    }
    .club-list {
        display: table;
        width: 100%;
    }
}

footer ul:first{
    font-weight: bold;
}

.available-leagues ul{
    margin:0;
    padding: 0;
}

.available-leagues li{
    list-style: none;
}

.available-leagues li a{
    color: #000;
    padding: 20px;
    border: 1px solid #000;
    display: grid;
    margin-bottom:10px;
}

.league-section {
    margin-bottom: 30px;
}
.league-title {
    margin-bottom: 10px;
    font-size: 1.5em;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}
.club-list {
    width: 100%;
    border-collapse: collapse;
}
.club-list th, .club-list td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
.club-list th {
    background-color: #f5f5f5;
}
.club-list td img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
}
.club-list td a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}