body {
    background-color: var(--main-color);
}






.hero {
    background: linear-gradient(to right, #111111, black, #111111);
    width: 100%;
    height: 200px;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
}

.hero h1 {
    font-family: orbitron, sans-serif;
    text-shadow: white 0 0 40px;
    margin: 10px;
}

.hero p {
    font-family: "kanit", sans-serif;
    margin: 10px;
    font-size: 20px;
}




.section-header {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.section-header h2 {
    font-family: orbitron, sans-serif;
    font-size: 25px;
    position: relative;
    font-weight: 500;
}

.section-header h2::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, white, black);
    bottom: -7px;
    left: 0px;
}

.section-header p {
    font-family: kanit, sans-serif;
    font-size: 16px;
    font-weight: 300;
}




.cards-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.game-card {
    width: 240px;
    height: 180px;
    border: 2px solid #3A3A3A;
    border-radius: 20px;
    color: rgb(255, 255, 255);
}

.game-card .game-img {
    width: 100%;
    height: 50%;
    border-radius: 20px 20px 0 0;
    border-bottom: 2px solid #3A3A3A;
}

.game-card .game-content {
    width: 100%;
    height: 50%;
    border-radius: 0 0 20px 20px;
    background-color: #141414;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 5px 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.game-card .game-content h3 {
    font-size: 16px;
    margin-top: 4px;
}

.game-card .game-content p {
    font-size: 12px;
    color: #C5B9B9;
}

.platforms {
    display: flex;
    gap: 5px;
}

.platforms div {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}




.jam {
    padding: 40px 0 0 5%;
}

#alpha-core .game-img {
    background-image: url(../imgs/alpha-core.jpg);
    background-size: cover;
    background-position: center;
}

#cosmic-trade .game-img {
    background-image: url(../imgs/cosmic-trade.jpg);
    background-size: cover;
    background-position: center;
}




.main {
    padding: 0 5%;
}

.browser {
    padding: 0 5%;
}

.browser a,
.main a,
.jam a {
    text-decoration: none;
}

.browser .game-card,
.main .game-card,
.jam .game-card {
    transition: all 0.3s ease;
}

.browser .game-card:hover,
.main .game-card:hover,
.jam .game-card:hover {
    border: #A6A6A6 2px solid;
    box-shadow: rgba(255, 255, 255, 0.384) 0 0 10px;
}

.browser .game-card:hover .game-content,
.main .game-card:hover .game-content,
.jam .game-card:hover .game-content {
    background-color: #2F2F2F;
    transition: all 0.3s ease;
}

#space-impact .game-img {
    background-image: url(../imgs/space-impact.jpg);
    background-size: cover;
    background-position: center;
}

#last-day .game-img {
    background-image: url(../imgs/last-day.jpg);
    background-size: 120%;
    background-position: top;
}

#bandrita-shooter .game-img {
    background-image: url(../imgs/5791858532641606717.jpg);
    background-size: cover;
    background-position: center;
}

#switch-power .game-img,
#switch-power-browser .game-img {
    background-image: url(../imgs/power-switch.png);
    background-size: cover;
    background-position: center;
}




.plans {
    padding: 0px 5%;
}

.platforms .field {
    width: 130px;
    height: 26px;
    background-color: #262626;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
}

.plans .game-card .game-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: orbitron, sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

#ay-chan .game-img {
    background: linear-gradient(to right, #0C0073, #5F528D);
}

#meoham .game-img {
    background: linear-gradient(to right, #005930, #05CF60);
}

#elite-school .game-img {
    background: linear-gradient(to right, black, #454545);
}




.major {
    padding: 0 5%;
}

.major-header {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.major-header h2 {
    font-family: orbitron, sans-serif;
    font-size: 25px;
    position: relative;
    font-weight: 500;
}

.major-header h2::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, white, black);
    bottom: -7px;
    left: 0px;
}

.major-header p {
    font-family: kanit, sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.major-container {
    width: 1250px;
    height: 580px;
    border: 2px solid #3A3A3A;
    margin: 30px auto;
    border-radius: 20px;
    color: white;
}

.major-img {
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #3A3A3A;
    font-size: 36px;
    font-family: orbitron, sans-serif;
    font-weight: bold;
    background: linear-gradient(to right, #282828, #818181);
    border-radius: 20px 20px 0 0;
}

.major-content {
    height: 70%;
    background-color: #141414;
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding-left: 30px;
    font-family: Arial, Helvetica, sans-serif;
}

.major .title {
    font-size: 24px;
    font-weight: bold;
}

.major-content :not(:first-child, :last-child) {
    font-size: 16px;
    color: #B5B5B5;
}

.major .description {
    line-height: 1.5;
}

.major .statues {
    background-color: #262626;
    border: 2px solid #825656;
    border-radius: 10px;
    width: 316px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.major .statues :first-child {
    font-weight: bold;
    font-size: 18px;
}

.major .statues :last-child {
    font-size: 15px;
}

/* Games Page Media Queries */
@media (max-width: 1300px) {
    .major-container {
        width: 95%;
        height: auto;
        min-height: 580px;
    }

    .major .description {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .major-content {
        padding: 20px;
    }

    .major .description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .cards-container {
        justify-content: center;
    }

    .major-img {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .major .statues {
        width: 100%;
        max-width: 316px;
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
}