/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #222222;
    color: white;
}

a {
    color: inherit;
}

.mobile {
    display: none;
}

.desktop {
    display: block;
}

@media (max-width: 768px) {

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 10px;
    width: 100%;
    background: #003300;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.logo {

    width: 50px;
    height: 50px;
    border-radius: 50%;
}


/* =========================================================
   LANDING VIDEO
========================================================= */

.landing-con {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    background: black;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.landing-dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.landing-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
}

.landing-overlay h1 {
    margin: 0;
    font-size: clamp(3rem, 10vw, 7rem);
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.landing-overlay p {
    font-size: 1.3rem;
    color: white;
    margin: 20px 0 30px;
}

.landing-button {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.landing-button:hover {
    background: lightblue;
    color: #000000;
}


/* =========================================================
   GENERAL CONTENT
========================================================= */

.content-wrap {
    width: 90%;
    margin: 0 auto;
}

.content-wrap-intro {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 80px;
}

.intro-section {
    background: #222222;
    padding: 100px 0;
}

.intro-content {
    width: 50%;
}

.intro-section h2 {
    margin-bottom: 40px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: right;
}

.intro-text p {
    text-align: right;
    font-size: 20px;
    line-height: 1.7;
    color: #cccccc;
}

.intro-image {
    width: 50%;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {

    .content-wrap-intro {
        flex-direction: column;
        gap: 40px;
    }

    .intro-content,
    .intro-image {
        width: 100%;
    }

    .intro-section {
        padding: 70px 0;
    }

    .intro-text p {
        text-align: center;
    }

    .intro-section h2 {
        text-align: center;
    }

}

/* =========================================================
   ANGLED GREEN TRANSITIONS
========================================================= */

.triangle-right {
    width: 100%;
    height: 120px;
    background: #003300;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    margin-bottom: -1px;
}

.triangle-left {
    width: 100%;
    height: 120px;
    background: #003300;

    clip-path: polygon(100% 0,
            100% 100%,
            0 100%);

    transform: scaleY(-1);
    margin-bottom: -1px;
}


/* =========================================================
   PROJECT SECTIONS
========================================================= */

.project-section {
    width: 100%;
    margin: 0;
    padding: 80px 0 100px;
    text-align: center;
}

.project-dark {
    background: #222222;
}

.project-green {
    background: #003300;
}

.project-heading {
    margin-bottom: 40px;
}

.project-heading h2 {
    margin: 0 0 15px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: white;
}

.project-heading span {
    color: #88ff88;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-description {
    max-width: 800px;
    margin: 0 auto 50px;
}

.project-description p {
    margin: 30px auto;
    font-size: 20px;
    line-height: 1.7;
    color: #cccccc;
}


/* =========================================================
   SINGLE MULTIVERSE VIDEO
========================================================= */

.single-video-container {
    position: relative;
    width: 90%;
    max-width: 1080px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.single-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================================
   MULTI-VIDEO SHOWCASE
========================================================= */

.video-showcase {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
}

.main-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000000;
}

.main-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.video-title {
    padding: 20px 0;
    background: white;
    color: black;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.listCon {
    width: 100%;
    margin-bottom: 20px;
}

.video-list {
    width: 98%;
    max-width: 1080px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    margin: 0 auto;
    padding: 10px;
    justify-content: center;
    background: #222222;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.video-item {
    width: calc(25% - 10px);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.02);
}

.video-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.video-item p {
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: bold;
    color: white;
}


/* =========================================================
   GAMES
========================================================= */

.games-section {
    width: 100%;
    margin: 0;
    padding: 80px 0;
    text-align: center;
}

.games-section h2 {
    margin: 0 0 30px;
    color: white;
    font-size: 38px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.container .box {
    flex: 0 1 calc(50% - 10px);
    max-width: 50%;
    padding: 20px;
    margin: 5px;
    border-radius: 10px;
    box-shadow: 0 0 10px #333333;
    text-align: center;
    background: #222222;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.container .box:hover {
    transform: scale(1.01);
}

.game-icons {
    width: 50%;
    height: auto;
}

.tt {
    background-color: #002200 !important;
    box-shadow: 0 0 10px #003300 !important;
}

.ws {
    background-color: #000022 !important;
    box-shadow: 0 0 10px #000033 !important;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;
    text-align: center;
    color: white;
    background-color: #222222;
    font-weight: bold;
}

.footer-content {
    padding: 20px;
}

.footer-content a {
    color: white;
}

.footer-content p {
    margin-bottom: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .project-section {
        padding: 70px 0 80px;
    }

    .video-showcase,
    .single-video-container {
        width: 90%;
    }

    .video-item {
        width: calc(50% - 10px);
    }

    .triangle-right,
    .triangle-left {
        height: 80px;
    }

    .project-heading span {
        font-size: 0.9rem;
    }

    .game-icons {
        width: 70%;
    }

}


@media (max-width: 600px) {

    .container .box {
        padding: 10px;
    }

}


@media (max-width: 480px) {

    .video-item {
        width: 100%;
    }

    .landing-overlay h1 {
        font-size: 3rem;
    }

    .landing-overlay p {
        font-size: 1rem;
    }

}

.install-button {
    width: 100%;
    text-align: center;
}

.install-button button {
    padding: 8px;
    border: none;
    border-radius: 8px;
    color: black;
    background-color: white;
}