@font-face {
    font-family: 'Daggersquare';
    src: url(../Assets/WRLAfonts/DAGGERSQUARE.otf);
}

html, body {
    overflow-x: hidden;
}

body {
    background-image: url(Assets/WRLAbg.webp);
    background-size: 100%;
    background-repeat: repeat-y;
    padding: 0;
    margin: auto;
    font-size: 24px;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Navbar */
header {
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgb(0, 0, 0);
    box-shadow: 0 8px 15px #FFB500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    font-family: 'Daggersquare', sans-serif;
}

nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    padding: 0 1%;
    height: 90px;
    background-color: #000000;
}

nav .logo {
    float: left;
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

.headerpic {
    width: 100px;
}

nav .links {
    padding: 0;
    margin: 0;
    width: 75%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.on {
    color: #FFB500;
}

.off {
    color: white;
    display: block;
    padding: 1em 1em;
    font-size: 30px;
    text-decoration: none;
    line-height: 1;
}

.off:hover {
    color: #FFB500;
    background-color: #141414;
}

nav .links li {
    list-style: none;
}

#nav-toggle {
    position: absolute;
    top: -100px;
}

nav .icon-burger {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

nav .icon-burger .line {
    width: 30px;
    height: 5px;
    background-color: #fff;
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
}

/* Dropdown */
nav .links .dropdown {
    position: relative;
    text-align: center;
}

nav .links .dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav .links .dropdown .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

nav .links .dropdown .dropdown-menu a:hover {
    color: #FFB500;
    background-color: #141414;
}

/* Schedule */
.schedule-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 120px auto 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.schedule-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.match-list {
    display: flex;
    background-color: #1a1a1a;
    font-family: 'Daggersquare', sans-serif;
    color: #fff;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 15px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.match-list::-webkit-scrollbar {
    display: none;
}

.match-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 220px;
    padding: 15px;
    border-right: 1px solid #444;
    transition: background-color 0.3s ease;
}

.match-item:first-child {
    border-left: 1px solid #444;
}

.match-item:hover {
    background-color: #2a2a2a;
}

.match-day {
    font-size: 20px;
    text-align: center;
    padding-bottom: 10px;
    color: #FFB500;
    font-weight: bold;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 10px 0;
}

.match-teams img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.match-teams img:hover {
    transform: scale(1.1);
}

.match-teams .vs {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
}

.match-score {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    padding-top: 10px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(0 0 0);
    color: #fff;
    border: none;
    padding: 80px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 54px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.arrow:hover {
    background: #ffffff;
    color: #000;
}

.left {
    left: -0px;
}

.right {
    right: -0px;
}

/* Team Page */
h1 {
    font-family: 'Daggersquare', sans-serif;
    color: #ffffff;
    text-align: center;
    font-size: 80px;
    margin-bottom: -30px;
}

hr {
    width: 90%;
    border-color: #00CBFF;
    margin-top: 30px;
}

.Info {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Daggersquare', sans-serif;
}

.TeamInfo, .Players {
    background: #f5f5f500;
    padding: 15px;
    border-radius: 5px;
}

/* TeamInfo Sections */
.PicWL {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    justify-content: center;
}

.TeamLogo img {
    width: 100vw;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.Record {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.Wrec, .Lrec {
    font-size: 50px;
    padding: 10px 40px;
    color: #fff;
}

.GAS {
    display: flex;
    gap: 15px;
    margin-bottom: 75px;
}

.Goals, .Assists, .Saves {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 40px;
}

.GAS img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Players Sections */
.Player1, .Player2, .Player3 {
    margin: 0;
    display: flex;
    gap: 15px;
    background: #ffffff00;
    padding: 40px 10px;
    border-bottom: 1px solid #ffffff;
    justify-content: center;
}

.PLpic img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #00CBFF;
}

.PLinfo {
    flex: 1;
}

.PLname {
    font-size: 40px;
    font-weight: bold;
    margin-top: 30px;
    margin-left: 10px;
    margin-bottom: 20px;
    color: #fff;
}

.PLstats {
    display: flex;
    gap: 10px;
    color: #fff;
    font-size: 40px;
}

.PLstats img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.PLstats div {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
}

/* Footer */
footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 20px;
    font-family: 'Daggersquare', sans-serif;
    font-size: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px #FFB500;
}

.fc {
    width: 82%;
    margin: auto;
}

.toppon {
    height: 9vw;
    width: 25vw;
    margin-left: 3vw;
    margin-right: 3vw;
    background-image: url(../Assets/Uno.png);
    background-size: contain;
    background-color: transparent;
    cursor: pointer;
    border: none;
}

.toppon2 {
    height: 9vw;
    width: 25vw;
    margin-left: 3vw;
    margin-right: 3vw;
    background-image: url(../Assets/Uno2.png);
    background-size: contain;
    background-color: transparent;
    cursor: pointer;
    border: none;
}

.toppon3 {
    height: 5vw;
    width: 4vw;
    background-image: url(../Assets/Uno3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border: none;
}

.gg {
    text-decoration: none;
}

.toppon:hover, .toppon2:hover {
    transform: scale(1.03);
    background-color: #050505;
    border: 1px solid #FFFFFF;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 1075px) {
    nav .logo {
        float: none;
        width: auto;
        justify-content: center;
    }
    nav .links {
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 90px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        background-color: #141414;
        overflow: hidden;
        transition: all .5s ease-in-out;
        margin: 0;
        padding: 0;
    }
    nav .links a {
        font-size: 20px;
        padding: 1em;
    }
    nav :checked ~ .links {
        bottom: 0;
        top: 90px;
    }
    nav .icon-burger {
        display: block;
    }
    nav :checked ~ .icon-burger .line:nth-child(1) {
        transform: translateY(10px) rotate(225deg);
    }
    nav :checked ~ .icon-burger .line:nth-child(3) {
        transform: translateY(-10px) rotate(-225deg);
    }
    nav :checked ~ .icon-burger .line:nth-child(2) {
        opacity: 0;
    }
}

@media screen and (min-width: 1076px) {
    nav .links .dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (min-width: 1650px) {
    .Info {
        display: flex;
        gap: 20px;
    }
    .TeamInfo, .Players {
        flex: 1;
    }
}

@media (max-width: 1649px) {
    .Info, .TeamInfo, .Players, .PicWL, .GAS,
    .Player1, .Player2, .Player3, .PLinfo, .PLstats {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .Record {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .schedule-wrapper {
        width: 95%;
        margin-top: 100px;
    }
    .match-item {
        min-width: 180px;
        padding: 10px;
    }
    .match-day {
        font-size: 18px;
    }
    .match-teams img {
        width: 50px;
        height: 50px;
    }
    .match-teams .vs {
        font-size: 16px;
    }
    .match-score {
        font-size: 20px;
    }
    .arrow {
        padding: 65px 10px 70px 10px;
        font-size: 40px;
        background-color:#000;
    }
    .left {
        left: -0px;
    }
    .right {
        right: -0px;
    }
    h1 {
        font-size: 50px;
    }
    .PLpic img {
        width: 150px;
        height: 150px;
    }
    .PLname {
        font-size: 30px;
    }
    .PLstats {
        font-size: 30px;
    }
    .Wrec, .Lrec {
        font-size: 40px;
    }
    .Goals, .Assists, .Saves {
        font-size: 30px;
    }
    .GAS img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .match-item {
        min-width: 150px;
    }
    .match-day {
        font-size: 16px;
    }
    .match-teams img {
        width: 40px;
        height: 40px;
    }
    .match-score {
        font-size: 18px;
    }
}