@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');

html {
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    background: black;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-variation-settings: "wght" 900, "wdth" 500;
    letter-spacing: -0.02em;
    font-size: 4.5rem;
    color: white;
    margin: 0 0 10px 0;
}

.hero .subtitle {
    font-variation-settings: "wght" 300, "wdth" 120;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 30px 0;
    letter-spacing: 0.1em;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: black;
}

main {
    position: relative;
    z-index: 3;
    background: white;
    color: black;
    padding: 80px 20px 80px 20px;
    box-sizing: border-box;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

footer {
    position: relative;
    z-index: 3;
    background: transparent;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 1);
}

.footer-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-wrapper p {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Main Content CSS*/
.project-section {
    margin-bottom: 50px;
}

.section-title {
    font-stretch: 130%;
    font-weight: 800;
    font-variation-settings: "wdth" 130, "wght" 800;
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: -0.01em;
    margin: 0 0 20px 0;
    color: #111;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 8px;
}

.project-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.project-info {
    flex: 1;
}

.project-name {
    font-weight: 800;
    font-stretch: 110%;
    font-variation-settings: "wdth" 110, "wght" 800;
    font-size: 1.6rem;
    margin: 0 0 10px 0;
}

.project-desc {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #2b2b2b;
    margin: 0 0 16px 0;
}

.badge-container {
    display: inline-block;
}

.playstore-badge img {
    height: 48px;
    display: block;
}

.project-logo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.platform-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.01);
}

.platform-text {
    display: flex;
    flex-direction: column;
}

.platform-card.spigot {
    background: rgba(239, 136, 35, 0.12);
    border: 1px solid rgba(239, 136, 35, 0.25);
    color: #bd6109;
    transition: background-color 0.2s ease;
}

.platform-card.spigot:hover {
    background: rgba(239, 136, 35, 0.24);
}

.platform-card.modrinth {
    background: rgba(48, 185, 87, 0.12);
    border: 1px solid rgba(48, 185, 87, 0.25);
    color: #177330;
    transition: background-color 0.2s ease;
}

.platform-card.modrinth:hover {
    background: rgba(48, 185, 87, 0.24);
}

.platform-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.platform-action {
    font-size: 0.9rem;
    font-weight: 600;
}

.platform-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: 16px;
}

.coming-soon {
    font-style: italic;
    font-size: 1rem;
    color: #555;
    margin: 16px 0 0 0;
}

@media (max-width: 680px) {
    .section-title {
        text-align: center;
    }

    .project-card {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.75);
    }

    .project-logo {
        width: 90px;
        height: 90px;
    }

    .link-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .platform-card {
        padding: 16px;
    }
}