@font-face {
    font-family: chalet-london;
    src: url('./assets/chaletlondon.ttf');
}

@font-face {
    font-family: sign-painter;
    src: url('./assets/signpainter.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background: #000;
}

header {
    background: linear-gradient(90deg, #000 0%, #1a1a1a 50%, #000 100%);
    text-align: center;
    padding: 15px;
    font-size: xx-large;
    color: #3776bd;
    font-family: 'sign-painter';
    border-bottom: 3px solid #3776bd;
    box-shadow: 0 4px 20px rgba(55, 118, 189, 0.3);
    text-shadow: 0 0 10px #3776bd, 0 0 20px #3776bd;
}

#home {
    position: relative;
    background: url('./assets/bg.png') no-repeat center center;
    background-size: cover;
    height: 120vh;
    clip-path: polygon(0 0, 100% 0, 100% 91%, 0% 100%);
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(55,118,189,0.1) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

#home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, rgba(55, 118, 189, 0.03) 0px, transparent 1px, transparent 2px, rgba(55, 118, 189, 0.03) 3px),
        repeating-linear-gradient(90deg, rgba(55, 118, 189, 0.03) 0px, transparent 1px, transparent 2px, rgba(55, 118, 189, 0.03) 3px);
    z-index: 1;
    pointer-events: none;
}

#home .content {
    position: relative;
    padding: 10px;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    color: white;
    text-align: center;
}

#home .content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px #3776bd) 
            drop-shadow(0 0 40px rgba(55, 118, 189, 0.6)) 
            drop-shadow(0 0 60px rgba(55, 118, 189, 0.4));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px #3776bd) 
                drop-shadow(0 0 40px rgba(55, 118, 189, 0.6)) 
                drop-shadow(0 0 60px rgba(55, 118, 189, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 30px #3776bd) 
                drop-shadow(0 0 60px rgba(55, 118, 189, 0.8)) 
                drop-shadow(0 0 90px rgba(55, 118, 189, 0.6));
    }
}

.content h2 {
    font-family: sign-painter;
    letter-spacing: 3px;
    font-size: xxx-large;
    color: #3776bd;
    text-shadow: 0 0 10px #3776bd, 0 0 20px #3776bd, 0 0 30px #3776bd, 0 2px 10px rgba(0,0,0,0.8);
    animation: neonPulse 2s ease-in-out infinite;
}

.content p {
    font-family: chalet-london;
    margin: 10px;
    font-size: x-large;
    width: 40%;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    border-left: 3px solid #3776bd;
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(55,118,189,0.1) 0%, transparent 100%);
}

#play {
    height: 70vh;
    clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 90%);
    margin-top: -11vh;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(55,118,189,0.15) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.mySlides {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out, filter 0.5s ease;
}

.activeSlide {
    display: block;
    transform: translateX(0);
    z-index: 3;
}

.prevSlide {
    display: block;
    transform: translateX(-100%);
    z-index: 1;
}

.nextSlide {
    display: block;
    transform: translateX(100%);
    z-index: 2;
}

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 40px;
    width: 100%;
    z-index: 3;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #3776bd;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.active {
    background-color: #3776bd;
    box-shadow: 0 0 10px #3776bd, 0 0 20px #3776bd;
    transform: scale(1.2);
}

.slide-text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    right: 10%;
    color: white;
    text-align: left;
    z-index: 10;
}

.slide-text h2 {
    font-family: 'sign-painter', sans-serif;
    font-size: 3em;
    margin-bottom: 10px;
    color: #3776bd;
    text-shadow: 0 0 10px #3776bd, 0 0 20px #3776bd, 0 2px 10px rgba(0,0,0,0.8);
}

.slide-text p {
    font-family: 'chalet-london', sans-serif;
    font-size: 1.5em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    color: #fff;
}

.slide-text button {
    display: inline-block;
    outline: 0;
    cursor: pointer;
    border: 2px solid #3776bd;
    padding: 0 32px;
    margin: 5px 0;
    height: 45px;
    line-height: 41px;
    border-radius: 0;
    font-weight: 700;
    font-size: 16px;
    font-family: 'chalet-london', sans-serif;
    background: rgba(55, 118, 189, 0.1);
    color: #3776bd;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #3776bd;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.slide-text button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(55, 118, 189, 0.3), transparent);
    transition: left 0.5s ease;
}

.slide-text button:hover::before {
    left: 100%;
}

.slide-text button:hover {
    background: #3776bd;
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 20px #3776bd, 0 0 40px #3776bd;
    transform: scale(1.05);
}

#discord {
    position: relative;
    background: url('./assets/discordbg.png') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    margin-top: -7vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    clip-path: polygon(0 0, 100% 7%, 100% 100%, 0% 100%);
}

#discord::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 7%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(55,118,189,0.2) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.discord-content {
    width: 50%;
    text-align: center;
    position: relative;
    z-index: 2;
    color: white;
    font-family: 'chalet-london', sans-serif;
}

.discord-content h2 {
    width: 70%;
    margin: 0 auto;
    font-family: 'sign-painter', sans-serif;
    text-align: left;
    font-size: 3em;
    color: #3776bd;
    text-shadow: 0 0 10px #3776bd, 0 0 20px #3776bd, 0 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}

.discord-content p {
    text-align: left;
    margin: 0 auto;
    font-size: x-large;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    width: 70%;
    border-left: 3px solid #3776bd;
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(55,118,189,0.2) 0%, transparent 100%);
}

.discord-content button {
    display: inline-block;
    outline: 0;
    cursor: pointer;
    border: 2px solid #3776bd;
    padding: 0 32px;
    height: 45px;
    line-height: 41px;
    border-radius: 0;
    font-weight: 700;
    font-size: 16px;
    background: rgba(55, 118, 189, 0.2);
    color: #3776bd;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #3776bd;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.discord-content button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(55, 118, 189, 0.4), transparent);
    transition: left 0.5s ease;
}

.discord-content button:hover::before {
    left: 100%;
}

.discord-content button:hover {
    background: #3776bd;
    color: #000;
    text-shadow: none;
    transform: scale(1.05);
    box-shadow: 0 0 20px #3776bd, 0 0 40px #3776bd;
}

.discord-img{
    position: relative;
    z-index: 10;
    width: 50%;
}

#team {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 50%, #000 100%);
    color: white;
    text-align: center;
    padding: 50px 0;
    position: relative;
}

#team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, rgba(55, 118, 189, 0.02) 0px, transparent 1px, transparent 2px, rgba(55, 118, 189, 0.02) 3px),
        repeating-linear-gradient(90deg, rgba(55, 118, 189, 0.02) 0px, transparent 1px, transparent 2px, rgba(55, 118, 189, 0.02) 3px);
    pointer-events: none;
}

#team h2 {
    font-family: 'sign-painter', sans-serif;
    font-size: 3em;
    margin-bottom: 40px;
    color: #3776bd;
    text-shadow: 0 0 10px #3776bd, 0 0 20px #3776bd, 0 2px 10px rgba(0,0,0,0.8);
    position: relative;
    z-index: 1;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    border: 2px solid #3776bd;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(55,118,189,0.05) 100%);
    border-radius: 0;
    padding: 20px;
    width: 500px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(55, 118, 189, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #3776bd;
    box-shadow: 0 0 20px rgba(55, 118, 189, 0.5);
    transition: all 0.3s ease;
}

.card:hover img {
    box-shadow: 0 0 30px rgba(55, 118, 189, 0.8), 0 0 50px rgba(55, 118, 189, 0.5);
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-family: 'sign-painter', sans-serif;
    color: #3776bd;
    text-shadow: 0 0 10px #3776bd;
    position: relative;
}

.card p {
    font-family: 'chalet-london', sans-serif;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
}

footer{
    font-family: 'chalet-london', sans-serif;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(55, 118, 189, 0.5);
}

@media (max-width: 1200px) {
    .team-container {
        gap: 15px;
    }

    .card {
        width: 240px;
    }
}

@media (max-width: 1024px) {
    .content p {
        width: 60%;
        font-size: large;
    }

    .content h2 {
        font-size: xx-large;
    }
    .discord-content {
        width: 100%;
    }

    .discord-img {
        width: 100%;
        margin-top: 20px; 
    }
}

@media (max-width: 768px) {
    header {
        font-size: x-large;
    }

    .content h2 {
        font-size: x-large;
    }

    .content p {
        width: 80%;
        font-size: medium;
    }

    #home {
        height: 80vh;
    }
    #discord {
        flex-direction: column; 
        text-align: center;
    }

    .discord-content h2, .discord-content p {
        text-align: center;
    }

    .discord-content h2 {
        font-size: 2.5em;
    }

    .discord-content p {
        font-size: large;
        width: 90%; 
    }

    .discord-content {
        width: 100%;
        padding: 0 10px; 
    }

    .discord-img {
        padding-top: 30px;
        width: 90%;
        margin: 0 auto;
    }

    .team-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
    }
}

@media (max-width: 480px) {
    header {
        font-size: large;
        padding: 10px;
    }

    .content h2 {
        font-size: large;
    }

    .content p {
        width: 90%;
        font-size: small;
    }

    #home {
        height: 70vh;
    }

    #play {
        height: 50vh;
    }
}