.feature-container {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(168, 85, 247, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: var(--spacing-xl);
}

.feature-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-cyan);
    margin-bottom: var(--spacing-lg);
}

.input-group {
    margin-bottom: var(--spacing-lg);
}

.input-label {
    display: block;
    color: var(--color-gray-400);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.input-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: var(--spacing-md);
    color: var(--color-gray-100);
    font-family: var(--font-mono);
    transition: border-color var(--transition-base);
}

.input-field:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.textarea-field {
    width: 100%;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: var(--spacing-md);
    color: var(--color-gray-100);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    resize: vertical;
}

.textarea-field:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.button-group {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.preview-container {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: var(--spacing-md);
    min-height: 200px;
}

.code-output {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: var(--spacing-md);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-cyan);
    overflow-x: auto;
    white-space: pre;
    position: relative;
}

.copy-button {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--color-cyan);
    color: var(--color-bg);
    border: none;
    font-weight: bold;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.copy-button:hover {
    background: var(--color-purple);
}

.canvas-container {
    display: flex;
    justify-content: center;
    margin: var(--spacing-lg) 0;
}

.pixel-canvas {
    border: 2px solid rgba(236, 72, 153, 0.3);
    cursor: crosshair;
    background: var(--color-bg);
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.color-swatch {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid var(--color-gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.color-swatch.active {
    border-color: var(--color-pink);
    transform: scale(1.1);
}

.color-swatch:hover {
    border-color: var(--color-pink);
}

.color-picker-input {
    width: 100%;
    height: 48px;
    cursor: pointer;
    border: 2px solid rgba(236, 72, 153, 0.3);
    background: transparent;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.game-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(168, 85, 247, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: var(--spacing-lg);
}

.game-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-cyan);
    margin-bottom: var(--spacing-md);
}

.game-description {
    color: var(--color-gray-400);
    margin-bottom: var(--spacing-md);
}

.game-iframe {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.status-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(0, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: var(--spacing-lg);
}

.status-icon {
    color: var(--color-green);
    margin-bottom: var(--spacing-md);
}

.status-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-green);
    margin-bottom: var(--spacing-sm);
}

.status-label {
    color: var(--color-gray-400);
}

.endpoint-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.endpoint-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.endpoint-item:hover {
    border-color: var(--color-cyan);
}

.endpoint-item.healthy {
    border-color: rgba(16, 185, 129, 0.3);
}

.endpoint-item.error {
    border-color: rgba(239, 68, 68, 0.3);
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.method-badge {
    padding: var(--spacing-xs) var(--spacing-md);
    font-weight: bold;
    font-size: 0.75rem;
    color: white;
}

.method-get { background: var(--color-green); }
.method-post { background: var(--color-cyan); }
.method-put { background: var(--color-yellow); }
.method-delete { background: var(--color-red); }

.endpoint-path {
    color: var(--color-cyan);
    font-family: var(--font-mono);
    font-size: 1.125rem;
}

.endpoint-description {
    color: var(--color-gray-400);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.endpoint-meta {
    display: flex;
    gap: var(--spacing-lg);
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.endpoint-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.healthy {
    background: var(--color-green);
    animation: pulse 2s infinite;
}

.status-dot.error {
    background: var(--color-red);
}

.alert-box {
    padding: var(--spacing-md);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-top: var(--spacing-md);
}

.alert-text {
    color: var(--color-yellow);
    font-size: 0.875rem;
}

.alert-text strong {
    font-weight: bold;
}

#three-container {
    width: 100%;
    height: 600px;
    position: relative;
}

.three-info {
    text-align: center;
    color: var(--color-gray-400);
    margin-top: var(--spacing-md);
}