body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo-image {
    width: 80px;
    height: auto;
}

.branding-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gpk-title {
    font-size: 2.5rem;
    margin: 0;
    color: #2c3e50;
    font-weight: 800;
}

.gpk-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
}

.intro-text {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.category-selector {
    margin-bottom: 1.5rem;
}

select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
}

button#generate-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s;
}

button#generate-btn:hover {
    background-color: #2980b9;
}

.question-display {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    position: relative;
}

#question-text {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0.5rem 0;
    text-align: center;
}

.question-tools {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1.4rem;
}

.question-tools span {
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

.question-tools span:hover {
    color: #000;
}

.history-section {
    margin-top: 2rem;
}

.history-section ul {
    padding-left: 1rem;
    color: #555;
}

.stats {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

.footer {
    margin-top: 3rem;
    text-align: center;
}

.footer a {
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .container {
        margin: 1rem;
        padding: 1rem;
    }

    .gpk-title {
        font-size: 2rem;
    }

    #question-text {
        font-size: 1.1rem;
    }
}