
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        background: #10131b;
        color: #f1f3f9;
        font-family: Arial, sans-serif;
        min-height: 100vh;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 24px 7%;
        border-bottom: 1px solid #292e3b;
    }

    .header h1 {
        font-size: 25px;
        letter-spacing: -1px;
    }

    .header h1 span {
        color: #65a5ff;
    }

    nav {
        display: flex;
        gap: 10px;
    }

    .tab {
        background: transparent;
        color: #aeb5c5;
        border: none;
        padding: 10px 16px;
        cursor: pointer;
        border-radius: 8px;
        font-size: 14px;
    }

    .tab:hover,
    .tab.active {
        background: #252d3d;
        color: white;
    }

    main {
        width: 90%;
        max-width: 850px;
        margin: 100px auto;
    }

    section {
        text-align: center;
    }

    section h2 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    section > p {
        color: #aeb5c5;
        margin-bottom: 35px;
    }

    #searchForm {
        display: flex;
        gap: 10px;
        background: #1b2130;
        border: 1px solid #343d50;
        padding: 8px;
        border-radius: 14px;
    }

    #searchInput {
        flex: 1;
        min-width: 0;
        background: transparent;
        border: none;
        outline: none;
        color: white;
        font-size: 16px;
        padding: 12px;
    }

    #searchForm button {
        background: #438cff;
        color: white;
        border: none;
        padding: 12px 22px;
        border-radius: 9px;
        cursor: pointer;
        font-weight: bold;
    }

    #searchForm button:hover {
        background: #3078e8;
    }

    #results {
        margin-top: 35px;
        text-align: left;
    }

    .game-card {
        background: #1b2130;
        border: 1px solid #343d50;
        border-radius: 14px;
        padding: 25px;
        text-align: left;
    }

    .game-card p {
        color: #aeb5c5;
        margin: 12px 0;
    }

    #pokebonkArea {
        background: #252d3d;
        padding: 20px;
        border-radius: 10px;
        color: #aeb5c5;
    }

    footer {
        text-align: center;
        color: #737d91;
        padding: 25px;
        font-size: 13px;
    }

    [hidden] {
        display: none !important;
    }

    @media (max-width: 600px) {
        .header {
            padding: 18px 5%;
        }

        section h2 {
            font-size: 28px;
        }

        main {
            margin: 65px auto;
        }

        #searchForm {
            flex-direction: column;
        }

        #searchForm button {
            width: 100%;
        }
    }

.result {
    padding: 20px 0;
    border-bottom: 1px solid #343d50;
}

.result h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.result a {
    color: #65a5ff;
    text-decoration: none;
}

.result a:hover {
    text-decoration: underline;
}

.result p {
    color: #aeb5c5;
    line-height: 1.6;
    margin-top: 8px;
    overflow-wrap: anywhere;
}

#browserViewer {
    margin-top: 30px;
    text-align: left;
    border: 1px solid #343d50;
    border-radius: 12px;
    overflow: hidden;
    background: #1b2130;
}

.viewerHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    gap: 10px;
}

#closeViewer {
    background: #343d50;
    color: white;
    border: none;
    padding: 9px 14px;
    border-radius: 7px;
    cursor: pointer;
}

#siteViewer {
    display: block;
    width: 100%;
    height: 650px;
    border: none;
    background: white;
}
