
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0F0C29, #302B63, #24243e);
    color: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, #4A90E2, #FFC371);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

header p {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 10px;
}

.star-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png'), 
                url('https://images.gptkong.com/demo/sample2.png'), 
                radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0));
    background-repeat: no-repeat;
    background-position: center, right bottom, center;
    background-size: 20%, 15%, cover;
    z-index: -1;
    animation: starGlow 10s infinite alternate, moveStars 30s linear infinite;
}

@keyframes starGlow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

@keyframes moveStars {
    from { transform: translate(0, 0); }
    to { transform: translate(-10px, 5px); }
}

.tab-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.tab-button {
    background: #1E1E1E;
    color: #FFFFFF;
    border: none;
    padding: 15px 25px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-button.active {
    background: linear-gradient(90deg, #4A90E2, #FFC371);
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.5);
}

.tab-button:hover:not(.active) {
    transform: scale(1.05);
    background: #333;
}

.tab-content {
    display: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.tab-content.active {
    display: block;
}

article {
    font-size: 1rem;
    line-height: 1.8;
    color: #E0E0E0;
    margin-bottom: 40px;
}

article h2, article h3 {
    color: #4A90E2;
    font-weight: bold;
    margin-top: 30px;
}

article pre {
    background: #1E1E1E;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #FFC371;
}

article code {
    color: #FFC371;
    background: rgba(255, 195, 113, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}

article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
}

article th, article td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

article ul {
    list-style: none;
    padding: 0;
}

article li {
    background: rgba(255, 255, 255, 0.05);
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .tab-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    article pre {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .tab-container {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        margin: 5px 0;
    }
}

