* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #0d1117;
    color: #f8fafc;
    line-height: 1.6;
    min-height: 100vh;
    padding: 30px 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.accent-text {
    color: #00d2ff;
}

header p {
    color: #8b949e;
    font-size: 18px;
}

h2 {
    font-size: 28px;
    color: #00d2ff;
    margin-bottom: 20px;
}

h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

p {
    color: #8b949e;
}

a {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

button {
    width: 100%;
    background-color: #00d2ff;
    color: #0d1117;
    font-weight: bold;
    font-size: 15px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #00a8cc;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.catalog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pc-card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 24px;
    width: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pc-card:hover {
    transform: translateY(-8px);
    border-color: #00d2ff;
}

.pc-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.image-box {
    width: 100%;
    height: 250px;
    background-color: #0d1117;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-container {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 40px;
    max-width: 620px;
    margin: 30px auto;
    text-align: center;
}

.large-image-box {
    width: 100%;
    height: 500px;
    background-color: #0d1117;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
}

.large-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specs-list {
    list-style-type: square;
    text-align: left;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 20px 20px 20px 40px;
    margin-bottom: 25px;
}

.specs-list li {
    padding: 6px 0;
    color: #f8fafc;
}

.config-form {
    text-align: left;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #f8fafc;
    margin-bottom: 6px;
}

.form-group select {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    color: #f8fafc;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #00d2ff;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.button-group a button,
.button-group button {
    min-width: 130px;
}

footer {
    text-align: center;
    margin-top: 50px;
}

footer p {
    font-size: 14px;
    color: #8b949e;
}

.signature-box {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 14px;
    height: 100px;
    width: 100px;
    font-size: 13px;
    color: #00d2ff;
    border: 1px dashed #00d2ff;
    border-radius: 6px;
    background-color: rgba(0, 210, 255, 0.05);
}

.signature-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar {
    background-color: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #00d2ff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #f8fafc;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
    width: auto;
}

.nav-links li a:hover {
    color: #00d2ff;
}