@font-face {
    font-family: Kechus;
    src: url("./../fonts/Kechus.otf");
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: black;
    width: 100%;
    min-height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Kechus;
    font-size: 40px;
    color: white;
}

h1 {
    font-size: 100px;
}

canvas {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    width: 100%;
    height: 100%;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

header {
    width: 100%;
    padding-top: 0.5rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main {
    width: 100%;
    z-index: 4;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    position: relative;
}

.title {
    position: relative;
    z-index: 2;
}

header a {
    text-decoration: none;
    color: #1fb622;
    font-size: 30px;
    margin-left: 10px;
    margin-right: 10px;
    transition: opacity 0.2s ease;
}

header a:hover {
    opacity: .9;
}

.logo {
    display: flex;
    justify-content: space-around;
    color: #1fb622;
    align-items: center;
    cursor: default;
}

.logo:hover {
    opacity: 0.8;
}

.ascii-art {
    margin-right: 15px;
    cursor: default;
    font-size: 3px;
    color: #1fb622;
}

.title h1 {
    color: #1fb622;
}

.button {
    z-index: 1000;
    margin-top: 25px;
    display: inline-block;
    padding: 1px 20px 7px 25px;
    background: #1fb622;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
}

.button span {
    color: black;
}

.button:hover {
    color: #000;
    opacity: 0.76;
}

.earth {
    width: 650px;
    height: 700px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-ascii-art {
    overflow: hidden;
    position: absolute;
    cursor: default;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    line-height: 11px;
    color: #1fb622;
    opacity: 0.2;
    right: 0;
    pointer-events: none;
    text-shadow: 0 0 6px rgba(31, 182, 34, 0.3);
}

.discord {
    width: 100%;
    padding: 3rem 0;
    position: relative;
    z-index: 5;
}

.discord-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.discord .preview {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    max-width: 580px;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.discord .preview img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    border: 1px solid rgba(31, 182, 34, 0.3);
    box-shadow: 0 0 30px rgba(31, 182, 34, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discord .hero {
    flex: 0 1 580px;
}

.discord .hero h1 {
    font-size: 70px;
    color: #1fb622;
    margin-bottom: 10px;
}

.discord .hero p {
    max-width: 580px;
    width: 100%;
}

footer {
    margin-top: 80px;
    padding: 3rem 0 2.5rem 0;
    background-color: #000000;
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-logo {
    font-size: 40px;
    color: #1fb622;
    font-weight: 700;
}

.footer-sub {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.footer-links a {
    text-decoration: none;
    color: #1fb622;
    font-size: 28px;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.75;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(31, 182, 34, 0.2);
}

.footer-bottom p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-note {
    color: #1fb622 !important;
}

/* ==========================================================================
   Responsive Adaptability (Tablets & Mobile)
   ========================================================================== */

@media (max-width: 1200px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    main {
        padding: 4rem 0;
        min-height: 600px;
        position: relative;
        overflow: hidden;
    }

    .main-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

    .title {
        position: relative;
        z-index: 2;
        max-width: 650px;
    }

    .earth {
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        width: 650px;
        height: 650px;
        z-index: 1;
        pointer-events: none;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .hero-ascii-art {
        position: absolute;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        font-size: 8.5px;
        line-height: 9.5px;
        opacity: 0.22;
        pointer-events: none;
        user-select: none;
    }

    .discord {
        padding: 3rem 0;
        overflow: hidden;
    }

    .discord-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .discord .preview {
        max-width: 540px;
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }

    .discord .hero p {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    footer {
        padding: 3rem 0 2rem 0;
    }
}

@media (max-width: 768px) {
    * {
        font-size: 28px;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 34px;
    }

    header a {
        font-size: 26px;
        margin: 0 8px;
    }

    .ascii-art {
        font-size: 2.2px;
        margin-right: 8px;
    }

    main {
        padding: 3.5rem 0 3rem 0;
        min-height: 500px;
        position: relative;
        overflow: hidden;
    }

    .main-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        position: relative;
        min-height: 440px;
        gap: 0;
    }

    .title {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 64px;
    }

    .title h1 {
        font-size: 64px;
        margin-bottom: 16px;
        word-break: break-word;
    }

    .title p {
        font-size: 30px;
        max-width: 100%;
        margin-bottom: 14px;
    }

    .button {
        font-size: 1rem;
        padding: 10px 24px 12px 24px;
        margin-top: 22px;
        display: inline-block;
    }

    .earth {
        display: flex !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
        justify-content: center;
        align-items: center;
    }

    .hero-ascii-art {
        position: absolute;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        font-size: 6.2px;
        line-height: 7.2px;
        opacity: 0.4;
        pointer-events: none;
        user-select: none;
    }

    .discord {
        padding: 3rem 0;
        overflow: hidden;
    }

    .discord-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }

    .discord .preview {
        width: 100%;
        max-width: 480px;
        padding: 0;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .discord .preview img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
    }

    .discord .hero {
        flex: initial;
        width: 100%;
        max-width: 600px;
    }

    .discord .hero h1 {
        font-size: 54px;
        margin-bottom: 15px;
    }

    .discord .hero p {
        width: 100%;
        max-width: 100%;
        font-size: 28px;
        margin: 0 auto;
    }

    footer {
        margin-top: 60px;
        padding: 2.5rem 0 2rem 0;
        gap: 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }

    .footer-logo {
        font-size: 36px;
    }

    .footer-sub {
        font-size: 24px;
    }

    .footer-links {
        gap: 1.5rem;
    }

    .footer-links a {
        font-size: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.6rem;
    }

    .footer-bottom p {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    * {
        font-size: 26px;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    header {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 30px;
    }

    header a {
        font-size: 24px;
        margin: 0 6px;
    }

    main {
        padding: 2.5rem 0 2rem 0;
        min-height: 440px;
    }

    .main-container {
        min-height: 400px;
    }

    h1, .title h1 {
        font-size: 52px;
        margin-bottom: 12px;
    }

    .title p {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .button {
        font-size: 0.95rem;
        padding: 9px 20px 11px 20px;
        margin-top: 18px;
    }

    .hero-ascii-art {
        font-size: 5px;
        line-height: 5.8px;
        opacity: 0.4;
    }

    .discord {
        padding: 2rem 0;
    }

    .discord-container {
        gap: 2rem;
    }

    .discord .preview {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .discord .preview img {
        border-radius: 8px;
    }

    .discord .hero h1 {
        font-size: 46px;
        margin-bottom: 12px;
    }

    .discord .hero p {
        font-size: 25px;
    }

    .footer-logo {
        font-size: 32px;
    }

    .footer-sub {
        font-size: 22px;
    }

    .footer-links a {
        font-size: 24px;
    }

    .footer-bottom p {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    h1, .title h1 {
        font-size: 44px;
    }

    .title p {
        font-size: 23px;
    }

    .discord .hero h1 {
        font-size: 38px;
    }

    .discord .hero p {
        font-size: 22px;
    }

    .hero-ascii-art {
        font-size: 4.2px;
    }
}